Footer credit question
-
Hi all, I’m trying to edit the footer credit by using the formula provided by cutomizrpress. I’ve added the lines below to my functions.php, but have been getting Parse error: syntax error, unexpected ‘6’ (T_LNUMBER) in /home/arecoper/public_html/wp-content/themes/arecoperf-child/functions.php on line 4.
I tried adding my credits in $credits and $newline_credits, but it was giving me an error as well. The input below was from another source. Regardless, it’s not working at all. At a loss here so it would be amazing if someone can give me a hand
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’ ) ).’ ‘.esc_attr(get_bloginfo()).’ · ‘.($credits ? $credits : ‘Areco Perforating Technology Inc. All Rights Preserved’).’ ·’.($newline_credits ? ‘<br />· ‘.$newline_credits.’ ·’ : ”).'</p> </div>’;
}The page I need help with: [log in to see the link]
- The topic ‘Footer credit question’ is closed to new replies.