Featured listings across multiple CPT

This topic contains 4 replies, has 2 voices, and was last updated by  Paolo 7 years, 3 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #361973

    Richard Davies
    Buyer
    Post count: 118

    Hey I would like to show featured listings across all my custom post types, not just the one?
    How would it be best for me to achieve this?

    Also, I have edited the listing detail page slightly, and when a user previews there listing before finishing, the changes I have made to the listing detail dont show, but appear on the listing after preview.

    Its mainly the big image at the top which is not showing on the preview page 🙂

    details are below if you need to check

    Cheers

    #361974

    Richard Davies
    Buyer
    Post count: 118
    This reply has been marked as private.
    #362104

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    Each custom post type uses separate DB tables.

    There is no way to do that without building a custom widget that joins all the tables to query them.

    We didn’t build it, because similar queries would slow down the website considerably.

    We don’t need to check, you need to write the code correctly to do something similar, here you find an example: https://wpgeodirectory.com/support/topic/image-instead-of-slider-not-showing-in-preview-page/#post-361483

    Let us know how it goes,

    Thank you

    #362242

    Richard Davies
    Buyer
    Post count: 118

    Hey Paolo,

    Thanks for this, I have sorted it now 🙂

    Is there a way I can pull in the most recently updated/latest ones out of all the CPT? limited to 10 or something.

    Thanks for your help 🙂

    #362288

    Paolo
    Site Admin
    Post count: 31206

    There is not for the exact samd reason,

    Thanks

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket