WordPress.org

Ready to get started?Download WordPress

Forums

List category posts
Can't display posts for custom content types (4 posts)

  1. ecoevolver
    Member
    Posted 1 year ago #

    Hi there,

    I've created a custom post type, "pods" and created 60 of them. Each Pod is assigned to a category, "Pod". Regardless of whether I use:
    [catlist name=pod] or [catlist id=39,62,63]
    Nothing is returned.

    If I try:
    [catlist name=blog]

    the plugin works as expected. Is there something funky with custom post types and this plugin?

    Thanks very much!!

    http://wordpress.org/extend/plugins/list-category-posts/

  2. Frank
    Member
    Posted 1 year ago #

    Try using the post_type attribute like this:
    [catlist id=39,62,63 post_type=customtype]

    Cheers.

  3. ecoevolver
    Member
    Posted 1 year ago #

    Hi Frank,

    Thanks very much for the heads up about "post_type".
    I tried
    [catlist id=39,62,63 post_type=customtype]
    And
    [catlist name=pods post_type=customtype]

    Neither worked.
    Any other thoughts?

    Cheers,

  4. Frank
    Member
    Posted 1 year ago #

    Sorry, I wasn't clear enough. The post_type in your case is the custom content type pods. So try again:
    [catlist id=39,62,63 post_type=pods]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.