[resolved] Custom post child defaults to index.php (2 posts)

  1. philjohns24
    Posted 3 years ago #

    Hi all,

    I have created a custom post type and set it as hierarchical=>true and for it to feature page-attributes so that I can specify child and parents.

    The custom post type is called services, I have a single-services.php template set up which is being used correctly for the parent custom posts however if I try and view a child custom post it tries to use the index.php file.

    How can I make the child custom posts use the single-services.php template too?



  2. philjohns24
    Posted 3 years ago #

    Please delete, issue fixed by clearing cache and updating permalinks.

Topic Closed

This topic has been closed to new replies.

About this Topic