Support » Fixing WordPress » Single Custom Post Type Displaying as Part of Main Blog

  • subpopular


    I have a custom post type named ‘Volunteer Openings’ and I’m using a custom page template called “Volunteer” to display a list of those custom posts. The volunteer page is a child of another page called “Get Involved”. Everything works fine when I go to /get-involved/volunteer/ – all my volunteer openings are listed.

    The problem is when I click on one of the posts, it takes me to volunteer-openings/custom-post-title instead of get-involved/volunteer/custom-post-title. I also have a breadcrumb plugin and current nav styling that shows the single custom post being listed under my “Recent News” section – which I use for the main blog.

    I’ve tried changing the rewrite slug on the custom post type to match the permalink structure but no matter what, whenever I display a single custom post it shows the page as being a child of the Recent News section, instead of being a child of “Volunteer”.

Viewing 1 replies (of 1 total)
  • Off the top of my head:

    Have you resaved permalinks, checked .htaccess is rewritable?

    Have you set the new post type to be hierarchical?

    Have you disabled the plugin temporarily?

Viewing 1 replies (of 1 total)
  • The topic ‘Single Custom Post Type Displaying as Part of Main Blog’ is closed to new replies.