Popular Post View with Custom Field

This topic contains 3 replies, has 3 voices, and was last updated by  nicholasroseland 6 years, 7 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #424968

    nicholasroseland
    Expired Member
    Post count: 34

    Hello,

    Is there a way to add a custom field as a parameter in Popular Post View widget?

    Here’s what I’m trying to achieve: https://caribbean.fyi/explore-caribbean/aruba/
    Scroll to Aruba Comforts. I want to display listings from the CPT-Accommodations but only for a specific destination (in this case Aruba). We have a custom field set up for destinations, which is being used in Advanced Search.(https://caribbean.fyi/accommodations/)

    Maybe there’s another widget for this?

    #425009

    Guust
    Moderator
    Post count: 29970

    You should be able to do that on the GD Location pages, using the Popular Post widget filtered by location.

    Thanks

    #425046

    Alex Rollin
    Moderator
    Post count: 27815

    It is not possible to filter based on custom fields, but some shortcodes/widgets will filter based on tags as well as categories.

    In some cases, when this is used extensively, then tags/keywords are hidden in the frontend editor and used more extensively to control filtering in widgets. This is then much more of an admin function, and not something that can usually be adjusted or set by end users.

    #425297

    nicholasroseland
    Expired Member
    Post count: 34

    Thank you, Alex, GD Listings shortcode worked for me.

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount