WordPress.org

Ready to get started?Download WordPress

Forums

parent page not showing up in child theme (1 post)

  1. rich123123
    Member
    Posted 11 months ago #

    I have a child theme which is working correctly

    Parent pages such as the header.php are in the child and we have hooks filters and actions working fine including .js files we are initializing from the child theme

    We read from wp docs on child them that any file in the parent theme can be used in the child theme. We have a php file that we want to add a jqueary function too which does work from our functions.php file in child theme to the parent php file. We have put the parent file in the child theme and it does not work.

    The only diff on this file is it is in a different directory with in the root of the parent theme directory and the file is nested two subdirectories down from its root directory which is a sub directory of the parent theme directory

    We have structured the location of the file in the child theme exactly as the parent file is in the parent and also tested it just under the child theme. In either case wp is not picking up this child file like it is with our child them header - functions and style.css files

    Is there any way to force wp to see this child in a nested subdirectory

    Thanks
    Rich

Reply

You must log in to post.

About this Topic