The functions.php file is there because one of the modifications I have to do is changing the footer, which I was attempting to do as per these instructions. Referenced article in that link says, “Unlike style.css, the functions.php of a child theme does not override its counterpart from the parent. “
So, the functions.php file that I have in the child theme is:
<?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() {
$imgUrl = url::file_loc('img');
$output = '<div class="copyright">Copyright ? [the-year] [site-link] Powered by: <a href="//www.company.com/website-optimization-design.html"> <img title="Website Optimization" src="'. $imgUrl . 'images/logo130.png" alt="Website Optimization" width="130"/></a></div><!-- .copyright -->';
echo do_shortcode( $output );
}
<link rel="author" href="https://plus.google.com/111599818756142119126/posts" />
?>
(I had to strip out the URL-specific stuff to keep Google from snagging this forum string, but you can inbox me for details.)