WordPress.org

Ready to get started?Download WordPress

Forums

Custom post type parent (1 post)

  1. Jeroenrs
    Member
    Posted 1 year ago #

    Hi guys,

    Question: I've made a custom post type called 'Work'. The page that is showing these custom post types (page-work.php) displays my portfolio, and when I click on an item, it opens single-work.php. This page's parent, however, is index.php, not page-work.php.

    Is there a way to make page-work.php a parent of single-work.php? Am I making any sense?

    Thanks,
    Jeroen

Topic Closed

This topic has been closed to new replies.

About this Topic