search bar under map gone after update?

This topic contains 14 replies, has 4 voices, and was last updated by  Alex Rollin 4 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #484363

    myusername
    Expired Member
    Post count: 47

    hi, previous to the update, we had a search bar under the map which is now gone. Can you advise how i can get it back? I’ve scoured through all settings.

    old map

    #484401

    Paolo
    Site Admin
    Post count: 31206

    Before the home page was built with widgets, now with shortcodes or blocks.

    You just need to add back the gd_search shortcode in the home page content: https://wpgeodirectory.com/docs-v2/geodirectory/design-elements/

    Hope this helps.

    Thanks

    #484477

    myusername
    Expired Member
    Post count: 47

    this helps, but can you identify which short code will bring that search box back?

    #484482

    myusername
    Expired Member
    Post count: 47
    This reply has been marked as private.
    #484519

    Alex Rollin
    Moderator
    Post count: 27815

    To customize you can contact a GD expert here:

    https://geodirectoryexperts.com/

    #486236

    myusername
    Expired Member
    Post count: 47

    Hi Paolo/Alex, in the main post image, there is a layer that allowed users to sort by category, any suggestions how i can get that back?

    [gd_map width="100%" height="400px" zoom="2" map_type="directory" marker_cluster="1"][gd_search]

    this is what I have right now

    Thanks!

    #486415

    Paolo
    Site Admin
    Post count: 31206

    What you are using for the map should have category filters. If you provide a link and admin credentials we’ll check what the problem is.

    Thanks

    #486451

    myusername
    Expired Member
    Post count: 47
    This reply has been marked as private.
    #486493

    Alex Rollin
    Moderator
    Post count: 27815

    Needs cat_filter=”1″
    Site is coming along!

    #486515

    myusername
    Expired Member
    Post count: 47
    This reply has been marked as private.
    #486543

    myusername
    Expired Member
    Post count: 47

    I removed the filter as it created an issue on the home page where “recent listings” wouldn’t show, also as per the PM above in blue, it looked really off being a small box in the middle of the map compared to the image that I started this post with:

    I just made some changes, but this is what was there before:

    [gd_map width="100%" height="425px" maptype="ROADMAP" zoom="0" map_type="directory" post_settings="1" cat_filter="1" marker_cluster="1"] [gd_search]
    #486548

    myusername
    Expired Member
    Post count: 47

    looks like my issue is the same as this: this post

    I tried clearing cache and still have my bar showing like this:

    (dont know why pic isnt loding)

    #486581

    Kor
    Moderator
    Post count: 16516

    Hi there,

    Thanks for your reply. Try using the custom CSS code below and see if it helps.

    .geodir-map-wrap .map-category-listing {
        width:100%!important;
        max-width:100%!important;
    }
    
    .map_category {
        width: auto!important;
    }
    #486635

    myusername
    Expired Member
    Post count: 47

    Thank you! this worked perfect!

    There are 2 issues that have started now after adding cat_filter=”1″

    1. recent listings on home page; I now have to refresh the page, sometimes up to 5 times to get the recent listings on the page to show.

    2. post_type_filter=’true’ – seems to me that the inverse option to what is shown on the map is highlighted, would be better to have the option thats shown on the map highlighted. How can I fix that?

    Thanks again for all your hard work and efforts!

    #486691

    Alex Rollin
    Moderator
    Post count: 27815

    1. Recently viewed uses a sort f browser history, so, yes, you have to view 5 listings before it shows 5 listings.
    2. You can adjust the shortcode or visit the custom post types tab to change the order of the post types.
    GD – Settings – Post Types – choose one to be last, edit it, set it to 100, repeat with lower numbers counting down to first post type.

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

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

Open Support Ticket