Relate Posts to Products & Products to Posts

Home Forums Product Support Forums Related Posts Pro for WordPress Support Relate Posts to Products & Products to Posts

This topic contains 3 replies, has 2 voices, and was last updated by  Ernest Marcinko 3 years, 6 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #4966

    toderash
    Participant

    I would like to display related posts AND products (Woocommerce) for each post/product page. I have set up the plugin and have it returning posts of the same type (posts-posts, products-products), but all of the places where I can select post types only show *custom* types, excluding posts, pages, and attachments.

    How can I get the plugin to display related posts of different types? I thought perhaps there would be an action hook where I could change this, but there weren’t any examples in the knowledge base.

    #4970

    Ernest Marcinko
    Keymaster

    Hi!

    I’m not sure if I understand correctly, but if you want to show both posts and products within the same related posts pro instance, then all you need to do is select which post types you want on the Content Options panel: https://i.imgur.com/I1fSiFt.png

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #4974

    toderash
    Participant

    Okay, that’s helpful – I must have missed that in the *many* plugin options!

    What I would like is to have 2 related posts and 2 related products, but I can’t control how many of each post type is returned within a single instance. I gather that I should just use 2 separate instances to get what I want.

    #4981

    Ernest Marcinko
    Keymaster

    Well, in that case I rather recommend using 2 instances if you can.

    The search for related posts is done within 1 database query, so only the total number is adjustable per instance.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.