I'm getting an unexpected T_STRING error, so I must have missed a quote or something in the function.php:
//Unlike style.css, the functions.php of a child theme does not override the parent functions.php __ It is loaded immediately before and in addition to the parent’s functions.php.
<?php
// Remove old copyright text
add_action( 'init' , 'mh_remove_copy' , 15 );
function mh_remove_copy() {
remove_action( 'attitude_footer', 'attitude_footer_info', 30 );
}
// Add my own copyright text
add_action( 'attitude_footer' , 'mh_footer_info' , 30 );
function mh_footer_info() {
$output = '<div class="copyright">'.'Copyright © [the-year] [site-link] Powered by: <a href="<?php echo "http://www.thatcompany.com/topicpage.html"; ?>"><img title="Client Service Group" src="<?php echo url::file_loc('img'); ?>images/logo130.png" alt="Client Service Provided" width="130"/></a></p> '.'</div><!-- .copyright -->';
echo do_shortcode( $output );
}
Error statement is:
Parse error: syntax error, unexpected T_STRING in /home/content/k/a/l/kalosplastics/html/blog/wp-content/themes/attitude-child/functions.php on line 14
with line 14 in the above code being this argument:
$output = '<div class="copyright">'.'Copyright © [the-year] [site-link] Powered by: <a href="<?php echo "http://www.thatcompany.com/topicpage.html"; ?>"><img title="Client Service Group" src="<?php echo url::file_loc('img'); ?>images/logo130.png" alt="Client Service Provided" width="130"/></a></p> '.'</div><!-- .copyright -->';