custom edits to footer.php causes footer to disappear
-
I made a child theme form using Version: 3.0.13 of the Customizr theme. I put the following code in the child footer.php file to customized the footer credits per the instructions on the theme creator’s site. The result is my entire footer is disappearing–the rss feed and facebook icon plus my custom credits line.
Below is the code in my child footer.php file.<?php add_filter('tc_credits_display', 'my_custom_credits'); function my_custom_credits(){ $credits = 'Developed by: <a href="https://www.winebrennerdesigns.com">Winebrenner Designs</a>'; $newline_credits = ''; return ' <div class="span4 credits"> <p> · © '.esc_attr( date( 'Y' ) ).' <a href="'.esc_url( home_url() ).'" title="'.esc_attr(get_bloginfo()).'" rel="bookmark">'.esc_attr(get_bloginfo()).'</a> · '.($credits ? $credits : 'Designed by <a href="https://www.themesandco.com/">Themes & Co</a>').' ·'.($newline_credits ? '<br />· '.$newline_credits.' ·' : '').'</p> </div>'; }
The site is: https://www.winebrennerdesigns.com/bethel761/
Thanks in advance!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘custom edits to footer.php causes footer to disappear’ is closed to new replies.