Support » Themes and Templates » Overriding parent theme’s files

  • Resolved Ryan McCue

    (@rmccue)


    Is it possible to override a parent theme’s files? I need to override the parent theme’s functions.php and then call it afterwards (I can handle the second part myself).

    Is there any way to do this while still using a parent theme or should I just create the templates and have them call the parent theme’s files myself?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Joni

    (@jonimueller)

    uh forgive my ignorance but what is a parent theme?

    might need more explanation.

    you want to disable a function and then reenable it?

    As you can see on The codex, adding a Template section to the comment header loads all the files except the style.css from the parent theme (which is specified by the Template section).

    I’m wondering if I can override the parent theme’s functions.php from my theme (I’m willing to contribute a core patch if needed).

    Fixed, thanks to Viper007Bond on #wordpress

    mmahoney

    (@mmahoney)

    Will you please post or link to the solution here? I’m looking for the same thing.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Overriding parent theme’s files’ is closed to new replies.