Editing functions.php in child theme
-
I want to change the twentyeleven_body_classes so that I can get rid of .singular in my template that I made.
I have made a new functions.php file in my child folder and I am having trouble overwriting twentyeleven_body_classes because it seems like the child functions.php file is called before the parent. If that is the case I am not sure how to remove a filter and add mine. I basically just want to add ‘&& ! is_page_template( ‘my-new-template.php’ )’ into the if statment so that my new template is exempt from getting the .singular class added to it.
Thanks.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Editing functions.php in child theme’ is closed to new replies.