Filters for listings with shortcode

This topic contains 4 replies, has 2 voices, and was last updated by  tabiLabs Inc 4 years, 8 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #541727

    tabiLabs Inc
    Full Member
    Post count: 83

    Hi,

    I have used the shortcode to display listing on a page on my site. Is it possible to add filters to change the listings dynamically?

    For example, I have a bunch of hotels listed. Above the grid, I would like the user to be able to filter the results (All, Luxury, Mis-range, Budget) via a drop-down, and then have the grid only show relevant items.

    Is that possible?

    #541748

    Alex Rollin
    Moderator
    Post count: 27815

    You can try our GD CPT Listings element. You can find it in the widgets, blocks, or shortcode builder. GD Listings doesn’t have a filter like that, but GD CPT Listings might be closer to what you are looking for.

    #541757

    tabiLabs Inc
    Full Member
    Post count: 83

    Just tried it but not really what I’m looking for.

    It does allow you to change CPTs, but I want to filter different categories within the CPT itself.

    I got it working with a plugin called The Grid:
    (Filter by hotel category)
    https://www.accessible-japan.com/wheelchair-accessible-hotels-tokyo/

    While it works, It does not display GD ratings. Also, I would rather do it natively with GD shortcodes and get rid of an extra plugin…

    #541770

    Alex Rollin
    Moderator
    Post count: 27815

    Sorting is only available on the archive pages with GD Loop, as far as GD Widgets are concerned.

    #541776

    tabiLabs Inc
    Full Member
    Post count: 83

    OK. Thank you.

    Maybe something for a future update 🙂

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
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount