• Resolved webavant

    (@webavant)


    I added two files to my theme:

    • page-test.php
    • header-test.php

    Page-test.php is the only file that calls get_header(‘test’), but somehow some other templates are including header-test.php, even though they are calling get_header() with no parameters.

Viewing 1 replies (of 1 total)
  • Thread Starter webavant

    (@webavant)

    I had forgotten to change the template name in the php comment. It was getting priority when I saved a page with the conflicted template.

Viewing 1 replies (of 1 total)

The topic ‘Unexpected Template Called’ is closed to new replies.