Widget to Display listings from more than one CPT on Directory Homepage

This topic contains 5 replies, has 3 voices, and was last updated by  Adeniyi Omikunle 7 years, 8 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #280578

    Adeniyi Omikunle
    Expired Member
    Post count: 56

    Hi

    The widgets I see when I installed Geodirectory can only display one CPT at a time. So I am forced to displayed each CPT separately. For example, I have a CPT called Dive Centre and another one called Liveaboard. For now I can only display the listing from each separately but we wish to combine them on the homepage of the directory.
    Is there a way to display listings from multiple CPTs instead of separating them?

    Thanks

    #280581

    Paolo
    Site Admin
    Post count: 31206

    With GD widgets there is not I’m sorry, all have separate custom DB tables. If you use another WP custom post type widget that queries the regular wp tables, in that case you’ll be able to show title and featured images of listings coming from all CPTs, but not any of their custom fields.

    Thanks

    #280729

    Adeniyi Omikunle
    Expired Member
    Post count: 56

    Hello

    Thank you for your response but I do not understand what you mean by – in that case you’ll be able to show title and featured images of listings coming from all CPTs, but not any of their custom fields
    How do I do this?

    Thanks

    #280893

    Guust
    Moderator
    Post count: 29970

    Have a look at something like this: https://wordpress.org/plugins/custom-post-type-widgets/
    Other WP plugins will not display any GD data except title and featured images as per Paolo’s post.

    PS: You can add more than one Popular Post widget to your homepage, one for each CPT.

    #282252

    Adeniyi Omikunle
    Expired Member
    Post count: 56

    Thank you very much. I will give it a try.

    #285691

    Adeniyi Omikunle
    Expired Member
    Post count: 56

    Just to give a feedback that might be helpful to other people.
    I found out that the Custom Post Type widget you recommend can only display one CPT at a time so it did not work for me. However, I found out that Ultimate Posts Widgets allows multiple CPT selection.
    Thanks

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

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

Open Support Ticket