How do I make a fubctions.php?
-
Hey,
in the last time I tried to put things in the functions.php of my child theme but I think that I didn’t wrote it correctly.
This is the complete content of my funbctions.php:<?php add_filter('tc_menu_display', 'acub_menu_display'); function acub_menu_display($output) { echo preg_replace('| class="dropdown-toggle" data-toggle="dropdown" data-target="#"(.+?)<b |', ' class="a-stripped" $1</a><a href="#" class="dropdown-toggle a-caret" data-toggle="dropdown" data-target="#"><b ', $output, -1); } add_filter('tc_logo_title_display', 'your_logo_display'); function your_logo_display($output) { return preg_replace('/brand span3/', 'brand span10 offset1', $output, -1); } add_filter('tc_credits_display', 'my_custom_credits'); function my_custom_credits(){ $credits = 'Impressum'; $newline_credits = ''; return ' ?>
Does someone know what I did wrong so the functions.php doesn’t work?
Thanks ??
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How do I make a fubctions.php?’ is closed to new replies.