Support » Plugin: Simple Custom Post Type Archives » [Plugin: Simple Custom Post Type Archives] Custome Post Type Archive showing all posts

  • 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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jake Goldman

    (@jakemgold)

    10up Engineer

    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.

    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.

    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Simple Custom Post Type Archives] Custome Post Type Archive showing all posts’ is closed to new replies.