footer credit date modification
-
how do i modify the date on the footer credits
so it becomes manual
instead of 2016 i want 2015-2016
using the normal code
add_filter('tc_credits_display', 'my_custom_credits', 20); function my_custom_credits(){ $credits = ''; $newline_credits = ''; 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>'; }
thanks
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘footer credit date modification’ is closed to new replies.