Functions File in a Child theme
-
I have not been able to execute any commands in my Child them functions file.
I would like to cover some of the basics please:
Must the Child theme functions file be renamed ie “it must be called something-functions.php’? There seems to be some confusion as to the best practice here!
Since this is a Child of TwentyTen does the functions file have to begin with or include the following code?
add_action( ‘after_setup_theme’, ‘the_name_of_the_childtheme_setup’ );function the_name_of_the_childtheme_setup() {
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Functions File in a Child theme’ is closed to new replies.