Simple Custom Post Type Archives
Custome Post Type Archive showing all posts (4 posts)

  1. Tiger33
    Posted 5 years ago #

    Hi there

    i'm testing out this fantastic plugin but sadly i've got a problem I've got a custom post type (using the GD CPT plugin )

    now when i create the type-movie.php (movie is the custom post type) and try and view the http://www.blogname.com/movie page

    it is showing my custom type-movie page but not filtering down to just that post type - instead its showing all posts

    any ideas what could be causing this?

  2. Jake Goldman
    10up Engineer
    Plugin Author

    Posted 5 years ago #

    No... but my money would be on the GD CPT plug-in. Not sure how it implements custom post types, but this plug-in is strictly designed for WordPress 3.0's built in custom post type implementation.

    There are a few plug-ins that just "wrap" that implementation, like Custom Post Type UI. Not sure about GD CPT.

  3. Max Chirkov
    Posted 5 years ago #

    Hi there,

    I'm using Simple Custom Post Type UI. I was considering writing my own custom implementation, but after looking into the plugin's code I realized it's just a UI wrapper (just like you mentioned it), so there is really no reason re-creating the wheel.

    Now, I'm trying to use your plugin with the mentioned above and I can't seem to figure out why it doesn't work. The conditions in the is_scpta_post_type() are satisfied, is_custom_post_type_archive() returns true as well... but my page gets broken after the header and navigation loads, right in the post content area. I also checked the HTML source for the body classes and I don't see any custom classes to be added by the scpta_body_classes()...

    I tried adding the additional templates, but that outputs broken pages the same way as the index.php.

    The fact that my custom post archive page doesn't return 404, already tells me that something works, but I don't know where exactly it breaks. Any ideas on what I should look into?

    P.S. I followed you FAQ and re-saved permalinks just to be sure.

  4. fadingdust
    Posted 4 years ago #

    I had a 404 problem for pages, but not the is_tax() views. Turns out the plugin wasn't supplying a value for the rewrite:
    'rewrite' => array('slug' => '')
    ..like it should be like this: 'rewrite' => array('slug' => 'designtype').

    Another mildly-related problem was the first argument to both 'register_post_type' & 'register_taxonomy' must be lowercase.

    Hope that's reasonably helpful.. likely not an exact solution

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Custom Post Type Archives
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic