Support » Plugin: Custom Post Type UI » Idea is good, bug no support is not good

  • A client of mine who doesn’t know PHP was using this code. I spent hours debugging it, trying to figure out why there was 404 errors for my custom post type list pages (not the single). Finally I decided to get rid of the plugin. To save myself some time, I exported the code and added to the theme functions file. Upon doing so I found a few problems:

    'rewrite' => array('slug' => '')
    should be
    'rewrite' => array('slug' => 'post-type-slug','with_front' => false),

    You also need to add a new option:
    'has_archive' => true

    These to me our a big flaw. You should be able to treat custom post types as posts and have an individual listing page. After adding these two items the 404 errors went away and I was able to use my custom archive-post-type.php file.

    I hope this helps at least one person because I know I was very frustrated after wasting so much time trying to figure out what was wrong.

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


    8 months late, but cases like this are good to report on the support tab, we don’t regularly comb through the reviews, but we do the support forum. That way, we can be made aware of issues and get them resolved.

Viewing 1 replies (of 1 total)
  • The topic ‘Idea is good, bug no support is not good’ is closed to new replies.