Forums

Custom Content Type Manager
Posts of custom post type return 404 & do not display in a (4 posts)

  1. JB Christy
    Member
    Posted 1 year ago #

    I've been a software engineer for 30 years, but am fairly new to WordPress, so please forgive me if I stumble around a bit.

    I've created a custom post type, Press, with several custom fields. I used the Press menu on the admin panel to create a few posts of the new post type, and the form appears to save correctly. However, when I click 'View Post' from the edit form (after publishing) I get a 404. Also, when I look at all posts of type Press in the admin panel, no posts show up in the list. At the top of the screen where I can select by status, it says 'All (4) | Published (3) | Draft (1)' so it seems to know that I've created 4 posts of this post type. But in the list it says 'No press found'. See screenshot here.

    FYI, I did create a single-press.php template in my theme using the template code provided by the plugin, but it 404's without loading the template.

    Don't know if it helps, but my site is at ss.jbchristy.com. It requires http authentication while under development. You can use username guest / password welcome for a little while.

    Thanks in advance for your help!

    http://wordpress.org/extend/plugins/custom-content-type-manager/

  2. JB Christy
    Member
    Posted 1 year ago #

    FYI, I've checked the database and indeed there are 3 published posts and 1 draft post with post_type='press'. I also confirmed that wp_postmeta contains all the appropriate custom fields for each of those posts. So the posts are in the database, but viewing them singly 404's and they don't show up in the list on the admin panel. Why? What do I need to do?

  3. JB Christy
    Member
    Posted 1 year ago #

    Doesn't appear anyone cares, but just for the record, I deleted the type and all posts, and recreated the type and now things work. Don't know why they didn't work before, but recreating from scratch seemed to fix it.

  4. fireproofsocks
    Member
    Plugin Author

    Posted 10 months ago #

    Sorry for the delayed response, I was not receiving notifications from WP :( Believe me, I care a lot, but family matters have sniped my online time, and holy smokes, I thought WP was sending me notifications for this. Grumble.

    I think this may have been a glitch in a specific version? What you described was the most basic aspect of the functionality, so it should have been working. If not, I'll update the unit tests. For the record, if it's a bug, file it in the bug-tracker: http://code.google.com/p/wordpress-custom-content-type-manager/issues/list Google at least notifies me when someone posts there.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic