Support » Plugin: Pods - Custom Content Types and Fields » New “featured post” pod not showing on Home page

  • Resolved collectivelyme

    (@collectivelyme)


    Hi,

    I’m having trouble getting my new pod to come up on my home page. I have created a pod to replicate a normal post but have renamed it “featured post” and plan on creating 2 more pods (mini post & sponsored post) so I can keep all my different post types separate.

    How do I get these posts to show up in my feed? They don’t show up under the categories I have selected either.

    I’m sure its probably something super simple, I’m just missing it.

    Thanks for your help.

    Mardi

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jim True

    (@jimtrue)

    Custom Post Types don’t show up in the regular ‘posts’ flow in WordPress without some additional code, because WordPress specifically only allows ‘post’ in it’s Main WP Query (this is the pre_get_posts filter).

    You can add your posts to this query using the method described in this doc page:

    https://docs.pods.io/code-snippets/modifying-pre_get_posts-categories-tags-show-custom-post-types/

    This will make it show up for Category and Tag (the WP Default).

    Personally, I’d just create a Custom Taxonomy for the ‘featured, mini and sponsored’ because those would be easier to target (and you can associate them to ‘post’, since you’re still dealing with ‘posts’.

    If you tag a post ‘featured’ it will be presented in the Featured/Sticky position in some themes, but you’ll really need to reach out to your theme developer to see how they configure ‘featured’ posts.

    collectivelyme

    (@collectivelyme)

    Hi @jimtrue Jim,

    Thank you for your help & advice.
    I really appreciate it.

    Mardi

    Plugin Author Jim True

    (@jimtrue)

    Good luck and you’re welcome 😉

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘New “featured post” pod not showing on Home page’ is closed to new replies.