Home Forums Air WordPress Theme child theme interface-functions.php not overriding the original

This topic contains 1 reply, has 2 voices, and was last updated by  BWSM 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #15024


    I’ve created a child theme and made a modification to the interface-functions.php file to show the image file names in the gallery of a certain category.
    The code works perfectly, but it works only if I add it in the original theme folder, while if I place in the child-theme folder it’s ignored. I created the full directory path, but it seems to be ignored.
    I have other files in other subfolders working perfectly.

    Thank you




    The interface-functions.php can not be covered, because it is function.
    It is not all files that can be covered in child theme, the files in “template” folder and part of roots folder.

    I suggest you replace the function() instead of whole file. refer this post: https://code.tutsplus.com/tutorials/a-guide-to-overriding-parent-theme-functions-in-your-child-theme–cms-22623

    Bwsm – uiueux.comTwitterFacebook

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Join Newsletter(FREE)

Subscribe to our newsletter to receive news & updates. We promise to not spam you, super promise!