I understand the advantage of child themes and would really like to use them. But I almost always run into a snag I can’t handle and go back to my old bad practice of editing the main files.
Thank you for including a child theme in this distribution. I have it activated and for some things I was able to do my editing there. I hit a snag when I wanted to change some code in functions.php.
I was trying to get rid of the gravitar images that were showing up with author names. I thought if I eliminated get_avatar from function path_author_box() at line 400 of functions.php, that would do the trick. So I copied and edited just the path_author_box() in the child functions.php. That didn’t work, and I don’t remember the error.
Even eliminating get_avatar from the main file didn’t get rid of the gravitar images. I finally tracked down all instances of get_avatar and eliminated the difficulty.
What is the right way to make a change in the child functions.php so it will work?
BTW, I’m using this theme in a pro bono installation, and I can’t afford the $29 to get the documentation.
- The topic ‘Path-Child and Functions.php’ is closed to new replies.