The correct filename is functions.php
, plural! Without that ‘s’, the theme loader just ignores your file.
You say you added a CSS stylesheet with no changes. Let’s make sure we’re on the same page here. Your child theme style.css
should not have any actual CSS directives on it, it shouldn’t be more than a couple dozen lines at most, consisting of a data header in comment form that names the theme and specifies the parent template. The only actual code should be an @import url()
line referencing the parent’s style.css file.
It kind of sounds like you copied the entire twentytwelve stylesheet. No need for that, the import line takes care of that.
In summary, your child theme should have two files, the style.css mentioned, and functions.php with an ‘s’. The functions.php file should contain ( besides the opening <?php
) a copy of twentytwelve_comment()
function declaration with the first printf()
block commented out.
You can make a screenshot.png file as well so your theme has a picture in the theme menu, not mandatory but nice.
Activate your child theme.
The comment author name should now disappear.
Beware of the names showing up elsewhere, such as in the “Recent Comments” widget. Editing widgets is more involved than child themes, but it isn’t too bad. Let me know if you need to do this.
As for messing around until something breaks, that’s a good way to learn! Just be sure you can revert to functional files when thing go bad. It helps to at least have half a clue about what you’re doing, but I’ve discovered interesting things while being completely clueless about something ??