Support » Plugin: List category posts » Pods Custom Post Types Not Working

  • Resolved slimbaby

    (@slimbaby)


    I am working on a site that deals with Battle Rap. The site is for a Rap Battle league (BullPen Battle League) which has battlers that are officially part of this league and others who have been guests. I need to display a list of only those battlers who are part of the league (“Bulls”) on a page called “The Bulls”. I have created a custom post type called “Battler” using the Pods Framework. In this custom post type I have some of them added to a category I created called “Official Bull”.

    I then placed the shortcode on the page called “The Bulls” like so:
    [catlist name=”official-bull”]

    This displays nothing on the front end. I have tried changing the category from the custom post type area created in Pods (Battler -> Category) to the regular WordPress post area (Post -> Category) and it still shows nothing.

    If you check out the page you can see that I have placed a red border around the area where the list should show that is empty.

    I saw one other thread about a similar issue (with custom post types) but it didn’t help me in my situation.

    Am I missing something? Any help is appreciated!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Fernando Briano

    (@fernandobt)

    Hi slimbaby,
    By default the plugin only shows posts with the “post” post type. So to show your posts, you have to specify the “battler” post type. Try this code:
    [catlist post_type="battler" name="official-bull"]
    If the Pods Framework creates standard WordPress custom post types, this should work.
    Let me know how it goes,
    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Pods Custom Post Types Not Working’ is closed to new replies.