Including/Excluding via page template when templates in subdirectory

Support MB Include Exclude Including/Excluding via page template when templates in subdirectory

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4058
    storedesignprostoredesignpro
    Participant

    Include exclude does not work when page templates are placed inside a directory and not the in root folder of the template. WordPress supports placing page templates into folders but this cannot be used with the plugin also.

    #4062
    Anh TranAnh Tran
    Keymaster

    Hi,

    If you put the page template in a subfolder page-templates, you need to use 'include' => 'page-templates/name.php' instead of just name.php.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Including/Excluding via page template when templates in subdirectory’ is closed to new replies.