• Resolved corrinarusso

    (@corrinarusso)


    Hi guys – I would like to over-write the template-tags.php file in the /themes/rookie/inc/ folder.

    I was hoping to create the /inc folder under my /theme/rookie-child/ path, however it does not work.

    Is there a way I can modify the template-tags.php file and continue to automatically update the rookie parent theme when new releases come out ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter corrinarusso

    (@corrinarusso)

    Plugin Contributor Savvas

    (@savvasha)

    Hi @corrinarusso ,

    Unfortunately template-tags.php is called directly from functions.php so you can not override it. BUT you can override each and every function inside template-tags.php. Did you try that?

    Thanks,
    Savvas

    • This reply was modified 5 years ago by Savvas. Reason: possible solution
    Thread Starter corrinarusso

    (@corrinarusso)

    Thanks @savvasha

    Yes, I will use the functions file in my child.
    Thanks for the reply!

    Plugin Contributor Savvas

    (@savvasha)

    You are welcomed ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Include Files ? Child Theme’ is closed to new replies.