WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Overriding parent theme's files (6 posts)

  1. Ryan McCue
    Member
    Posted 6 years ago #

    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?

  2. Joni
    Member
    Posted 6 years ago #

    uh forgive my ignorance but what is a parent theme?

  3. whistler2020
    Member
    Posted 6 years ago #

    might need more explanation.

    you want to disable a function and then reenable it?

  4. Ryan McCue
    Member
    Posted 6 years ago #

    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).

  5. Ryan McCue
    Member
    Posted 6 years ago #

    Fixed, thanks to Viper007Bond on #wordpress

  6. mmahoney
    Member
    Posted 6 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic