• Due to a translation error of my theme, i need to overwrite something in a php file, my php file is located this way : /assets/template-tags.php

    I tried to simply copy/paste my template-tags.php file in my child theme after creating an assets folder and puts my file into but it seems my child file is not loaded and still load the parent file.

    However, i did the same action for another php file and it works perfectly…

    (ps : i didn’t change any file/folder name or something like this)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You need to look at where the function (that you want to override) is called and then override it there. Can you give a specific example of the change you want to make?

    Thread Starter Morka

    (@morka)

    It’s not a function,it’s an html text, for the comment list, it’s writing :
    Mr XXX SAYS :
    I would like to translate the ‘says’ in french

    Thread Starter Morka

    (@morka)

    And, if possible, i got an issue while i try to respond as a comment… my comment-title don’t change to comment-title reply, for exemple, ‘Repply’ Don’t change for ‘Repply to %s’ when i click on repply…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Child theme don't load php template’ is closed to new replies.