Joy
Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.
I looked at that but for some reason it wasn’t working…but I just tried it again and it’s fine.
Thank you.
Is there any snippet for this available? Thank you.
Go into your CPT settings. It may be something like: Dashboard > GeoDirectory > Place Settings
There is a section labeled, “Predefined Fields”, drag and drop the “Get Directions Link” item and adjust the display settings to your needs.
Great, thank you!
Great, thanks for confirming.
We’ve actually disabled Google Maps and the page is still crawling along. 🙁
Okay, do you think you can have a peek at the page that I’ve mentioned above and see if the lag times is related to the google maps? My tests indicate that this is the reason for the slowdown, but the site owners say that they haven’t made any changes that would suddenly create this issue.
I appreciate it.
Is there a way to limit how much listings appear on the map? It seems to lag severely even when I try to switch to the homepage map. Any advice on this?
Thank you.
Yes it is because we aren’t using the GD homepage.
If you set server side map markers they do not work.
I was making changes? Not sure what that means.
The page listed above has the problem, https://findlocalgarages.co.uk/find-a-car-centre/
Are you sure? I don’t use this snippet and the map cluster works fine when the settings are set to ‘client side’, but once I change to ‘server side’ (as suggested for the size of the directory) the clustering no longer works.
I don’t believe that the page I provided to you is considered a listing page. In the page you shared, it seems that they are referring to the map in the sidebar on the listing detail page. Please advise, thank you.
This reply has been marked as private.Thanks for the quick response. I looked at this before – I thought it only applies if you are putting the link in the description? It will work in the sidebar as well?
its the code that is in the links that is provided earlier by stiofan.
function _my_website_link_output(){ global $post; $cf = (array)geodir_get_field_infoby('htmlvar_name', 'geodir_website', $post->post_type); if(!empty($cf)){ echo geodir_cf_url('','detail',$cf ); } }
Thank you.
-
AuthorPosts