Editing Footer Credit in WordPress 4.0.1
-
Hi Customizr Team,
I don”t know if the footer credit of customisr theme installed on WordPress version 4.0.1 is not editable by this snippet that I copied in functions.php of my child theme.
‘ <?php
add_filter(‘tc_credits_display’, ‘my_custom_credits’);
function my_custom_credits(){
$credits = ‘Developed by ICT Centre’;
$newline_credits = ‘My site‘;
return ‘· ? ‘.esc_attr( date( ‘Y’ ) ).’ ‘.esc_attr(get_bloginfo()).’ · ‘.($credits ? $credits : ‘Urban Interiors’).’ ·’.($newline_credits ? $newline_credits.’ ·’ : ”).’ ‘;
}
?> ‘But other customizr theme users are confessing the code above works for them.
Even I also tried this code in the functions.php of my child theme
‘<?php
add_filter(‘tc_credits_display’, ‘my_custom_credits’);
add_filter(‘tc_credits_display’, ‘my_custom_credits’);
function my_custom_credits(){
return ‘<div class=”span4 credits”><p>ADD YOUR TEXT HERE</p></div>’;
}
?> ‘It still didn’t change the footer credit. Is it because I am using a new version of wordpress/
Thanks for the anticipated and urgent reply.
- The topic ‘Editing Footer Credit in WordPress 4.0.1’ is closed to new replies.