WordPress.org

Ready to get started?Download WordPress

Forums

Custom Content Type Manager
Custom post types not showing up in Category view (6 posts)

  1. AFX
    Member
    Posted 2 years ago #

    So, I've set up my custom post type, I made sure to enable categories for it, created a category, created a post and added it to the category. Everything is fine so far, and it shows the category below the post, however it does not show any custom posts within the actual categories.

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

  2. fireproofsocks
    Member
    Plugin Author

    Posted 2 years ago #

    Is the post published? I had some difficulties with this with WP 3.0.1 due to how WP failed to handle things. My solution was to write my own functions for retrieving posts in a category -- see some of the functions included in my other plugin: http://code.google.com/p/wordpress-summarize-posts/

  3. AFX
    Member
    Posted 2 years ago #

    Sorry, I'm new to WordPress. I've installed the Summarize Posts plugin but I have no idea how to go about making it display things properly.

    Also, has no one else been having this issue with 3.1.4? I wonder why it's just me...

  4. fireproofsocks
    Member
    Plugin Author

    Posted 2 years ago #

    This type of thing has been a constant nag with WP, not just in version 3.1.4 ... WP's built-in functions are pretty half-assed when it comes to retrieving posts, and when it comes to custom post types, it's completely off the radar with lots of crufty behavior in my experience.

    Sorry I'm pretty slammed so I can't walk you through this outside of a paying gig, but in a nutshell, it's not always a simple matter to retrieve your posts from a given category. My docs pretty much suck right now, but here's what you want to look at: http://code.google.com/p/wordpress-summarize-posts/wiki/FunctionReference

    It's probably not going to be a viable solution for you if this is your first go at WP unless you're one of the rare cats with extreme patience and a PHP spidey-sense. Sorry... my docs are practically non-existant with this and that plugin is really only usable for a seasoned dev who is willing to file bugs and test things as they go... I'm working to integrate this with the CCTM plugin, but again, I can only prioritize the dev work inside of paying gigs, otherwise I'd code myself out of house and home...

  5. AFX
    Member
    Posted 2 years ago #

    Well, I was just about to get back on my site to figure out how to make Summarize Posts work and I saw there were some updates, so I updated to WP 3.4 and Custom Content Type Manager 0.9.3.1. Now everything is suddenly working as intended. Was this a change made in the plugin or was this WP fixing the problem on their end? Either way, everything is being displayed in categories now. :)

  6. fireproofsocks
    Member
    Plugin Author

    Posted 2 years ago #

    Yeah, I pushed out version 0.9.3.1 today as a direct response to this issue (in the bug tracker). It was a change made in the plugin, yes. I still can't believe the lengths the WP core has gone to make custom post types as difficult and unwieldily as possible. o_o

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic