• Resolved jasonliv

    (@jasonliv)


    Hi there, is it possible to concatenate a custom post type with an extended product post type? I have a publication custom post type for books that aren’t written by us, and using PODS, I’ve extended the products post types for those that are in our store. Both post types have custom author, publish_date & publisher fields, and I’m hoping to create a combined list of the two.

    Is it possible to use $x = pods( $pod_type, $params); and have two custom post types for $pod_type?

    My end point is that clicking on a publication record would take you to the publication page, and clicking on one of our books would take you to the page in the store.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jasonliv

    (@jasonliv)

    Hi Paul, I saw you’ve been on, does this mean that my query isn’t possible? If not, I’ll get my hands dirty with the loop. ??
    cheers, Jason

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @jasonliv

    To my knowledge the Pods query always acts from a single Pod type. Though this is merely a where query param so you might be able to override this.

    In any case, the WordPress loop would be just as sufficient here as it already supports multiple post types out-of-the-box. You can still use Pods fields and functions for the results.

    Cheers, Jory

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Concatenate 2 custom post types’ is closed to new replies.