Supreme Listing & Search Page Map

This topic contains 8 replies, has 4 voices, and was last updated by  Roman 6 years, 10 months ago.

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

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #411265

    Roman
    Buyer
    Post count: 232

    Hi,

    I’ve recently come across some user experience problem in Supreme theme, that my website visitors encounter. Usually, if the user is the first time on my website and he lands on a listing category page, he tries to find locations he’s interested in right away on the map because it’s so big, beautiful and attractive. He doesn’t realize that the map shows the pins only of the first 12 results. And apparently, some of them leave the website being sure that it doesn’t have what they came for.

    Is there a way to make the map show all the search/listing results at once, so that visual people could find what they want right there?

    #411269

    Kor
    Moderator
    Post count: 16516

    Hi Roman,

    You can display more than 12 listings by configuring the settings in WP > Settings > Reading > Blog pages show at most. Or you can create a link to a custom page that displays all the listings for a single CPT using a shortcode https://wpgeodirectory.com/docs/core-shortcodes/#listing

    Well, let us know how it goes.

    Thanks!

    #411272

    Roman
    Buyer
    Post count: 232

    Hi Kor,

    Unfortunately, you misunderstood. I don’t want to display more than 12 listing on a single page, all I want is the MAP to show all pins at once for reasons I’ve explained above.

    #411280

    Kor
    Moderator
    Post count: 16516

    Hi Roman,

    Thanks for your clarification. You can achieve this by creating a new empty page and use this shortcode below.

    [gd_listing_map width=100% height=300 category="0"]

    Here is more info regarding the parameters. https://wpgeodirectory.com/docs/core-shortcodes/#listing

    Thanks!

    #411282

    Roman
    Buyer
    Post count: 232

    Sorry, I guess I was not clear again.

    I don’t need a new page with just a map.

    I need Supreme theme to return it’s regular listing and search pages as is: Listings on the left + Map on the right

    Listings on left show 12 results as they do right now, so no changes are necessary here.

    But Map on the right should show ALL pins from all results for this query (not just those 12). This is important because most users look at the map and think that website has only 12 locations and they don’t bother scrolling down to find page navigation numbers, they just leave.

    #411300

    Alex Rollin
    Moderator
    Post count: 27815

    Hello!

    The Listing map, when used on the Listing pages, displays the number of posts as set by the WP Blog “Posts per page” settings, as Kor mentioned. This is by design, and there are no workarounds; changing the behavior would be a customization. You can, however, as Kor stated, add a map to a different page.

    All that said, a member did provide a snippet that you could try; the snippet overrrides that WordPress setting:

    https://wpgeodirectory.com/support/topic/show-all-listings-on-map/#post-16449

    This snippet is not recommended, though. There are several other maps that display ‘all’ including the Home page map and the Location pages, but the listing page and your site’s performance may be seriously impacted by the snippet mentioned above.

    #411308

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hello,

    This is something we will be looking into in the near future.
    For now please set this option to show paging also at the top
    GD>Design>Search>Show advanced pagination details>Before.

    Thanks,

    Stiofan

    #411360

    Roman
    Buyer
    Post count: 232

    Hi Stiofan, it would be great if you could add such functionality. Thanks a lot.

    #411361

    Roman
    Buyer
    Post count: 232

    Thanks, Alex, I’ve tried the code you’ve mentioned and it seems to be working fine for now. Not exactly the way I wanted it, but I guess it will be ok before the number of listings grows too high.
    I’ll stick to it until there is a better solution.

    Thank you.

Viewing 9 posts - 1 through 9 (of 9 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