Filter Places by the Package they are in

This topic contains 5 replies, has 3 voices, and was last updated by  Alex Rollin 4 years, 7 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #506457

    Adam Engel
    Full Member
    Post count: 36

    I’ve found a couple of mentions of this on your support forum but, not an easy solution.

    https://wpgeodirectory.com/support/topic/sorting-listings-by-package/

    We have 4 levels/packages setup within GD. We want the listings from one level to show on a page using a shortcode filter based upon the package ID.

    Is there another way to do this without creating a custom plugin?

    #506527

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    we offer the built in option to sort the Custom Post Types on archive pages by Package ID. That is the only built in option and anything else would require a customization, or a custom plugin as you say.

    #510315

    Adam Engel
    Full Member
    Post count: 36

    We’ve found a developer for the customization/custom plugin.

    He’s studied your plugin extensively, but is unclear how to achieve this result.

    Can you provide a brief overview of how he’ll achieve this?

    Any direction is appreciated.

    #510696

    Naveen Giri
    Moderator
    Post count: 1559

    Hi Adam,

    You can do this in two ways.

    1. either by creating custom shortcode with custom post query included.
    you can get package of places from wp_geodir_post_packages table.
    for creating custom shortcode you can use
    https://codex.wordpress.org/Shortcode_API

    2. you can also custom archive page query or query of any page with pre hooks. checkout below to get detail on it.
    https://www.ibenic.com/extending-wp-query-custom-queries-tables/

    Thanks

    #511677

    Adam Engel
    Full Member
    Post count: 36

    Hello Naveen,

    I think we are going to have to change developers on this project. I don’t believe he is able to help us with this task. Could you recommend someone that might have knowledge of doing this? We need to get this running soon and are willing to pay for time to help filter items on our website. 🙂

    Happy Friday,

    Adam

    #511766

    Alex Rollin
    Moderator
    Post count: 27815

    You can find GD Experts here:

    https://geodirectoryexperts.com

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