Split search results

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

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

Open Support Ticket
  • Author
    Posts
  • #429142

    Frank Oberpichler
    Expired Member
    Post count: 18

    There are eight regions on our page. For each region we have created a subpage. How can we organize a search to show only results from the regions?
    Currently all results of the whole page are shown, even if you are on the subpages.
    Thank you

    #429160

    Alex Rollin
    Moderator
    Post count: 27815

    Subpage?

    Location pages are created automatically.

    Near search ‘IN’ a region happens automatically once the user has selected the region, such that listings within the cities within the regions are searched.

    Do you want to show us how you have it setup now?

    Are you already using the full location in the URL?

    https://wpgeodirectory.com/docs/core-permalinks/#url

    #429176

    Guust
    Moderator
    Post count: 29970

    From https://wpgeodirectory.com/docs/troubleshooting-guide/

    Adding these shortcodes to any WP page will give you a good overview of what GD pages have been created and their correct URL:
    [gd_advanced_search]
    [gd_login_box]
    [gd_cpt_categories]
    [gd_location_switcher]

    Thanks

    #429376

    Frank Oberpichler
    Expired Member
    Post count: 18
    This reply has been marked as private.
    #429377

    Guust
    Moderator
    Post count: 29970

    Best practice is not to use locations like Bonn and Koln etc as kategories.

    To create a search with locations and kategories, have a look at https://wpgeodirectory.com/docs/gd-search/

    If you post your WP admin details, then we can show you a bit better.

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