Support » Plugins and Hacks » [Resolved] Viewing new post type

[Resolved] Viewing new post type

  • Hi, thank you so much for the plugin! I have what is probably a stupid question – I after a couple of hours of trying to make it work, I can’t figure out how to show all the new post types (like pulling all posts in a category).

    For example, let’s say I have http://www.domainname.com. I then create a post type called “puppies”. In that post type, I’ll create a post called “Adopt a Puppy”. I’m able to view the new post fine if I go to the direct link: domainname.com/puppies/adopt-a-puppy. My problem is that I’m trying to create a menu item that pulls everything under the “puppies” post type, but it gives me a 404 error when I go to domainname.com/puppies.

    I hope this makes sense and I hope someone can help me!



Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Michael Beckwith


    One thing you’ll want to check is seeing if you have the CPT set up to have archives. You should see a couple links that say “Advanced Label Options” and “Advanced Options”. You’ll want to click the “Advanced Options” one and make sure you have your post type sets “Has Archive” to true. It’s false by default.

    After that, you may want to configure your theme to have a different template file for the post type, for which it would be something like archive-puppies.php.

    How to Create a Custom Post Types Archive Page in WordPress

    The link above will have a bit more info for that part.

    Regarding the menu link, not sure how readily WP will recognize new post types, so you may have to a custom link to the archive url, which isn’t the end of the world.

    Plugin Author Michael Beckwith


    Just wanted to check and see if anything above helped resolve your issues.

    You’re so awesome, thank you. 🙂 But I decided to go a different route. My client’s needs are a little more flexible so I was able to do something simpler.

    Plugin Author Michael Beckwith


    Glad you found a solution somehow.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Viewing new post type’ is closed to new replies.