Altering, adding, changing, removing footer credits
-
Does anyone know if the instructions for altering/adding the footer copyright and powered by text provided by press customizr at this link are no longer valid?
Altering/Adding Footer Credits
My reason for asking is because I followed the instructions on that page and the original credits still remain.
I downloaded the child theme they provide and copied this code to the child theme functions.php file:
add_filter('tc_credits_display', 'my_custom_credits', 20); function my_custom_credits(){ $credits = 'MyWebsiteName'; $newline_credits = 'MyWebsiteName'; return ' <div class="span6 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.presscustomizr.com/">Press Customizr</a>').' ·'.($newline_credits ? '<br />· '.$newline_credits.' ·' : '').'</p> </div>'; }
One thing I’m wondering is if I was supposed to include any additional PHP code. I just copied the code as provided, assuming that if some other php code was required they would have included it.
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Altering, adding, changing, removing footer credits’ is closed to new replies.