Stiofan O'Connor
Forum Replies Created
-
AuthorPosts
-
December 23, 2016 at 4:38 pm in reply to: Location switcher slow response time – need assistance #329783
There was a setting to remvoe google fonts, i have disabled it now, please check.
Stiofan
I have set this for you now 🙂
Thanks,
Stiofan
Hi YC,
You would use that filter like this:
add_filter('geodir_show_listing_info','_my_listing_extra_info',10,2); function _my_listing_extra_info($html,$fields_location){ $html = '###start###'.$html.'###end###'; return $html; }Thanks,
Stiofan
December 23, 2016 at 4:16 pm in reply to: Location switcher slow response time – need assistance #329740Please give it a try now.
I added made some small changes to the code but the main changes are i have set the popular post widget to only show featured listings, it can really be anything but it needs to somehow filter the listings by something otherwise it’s querying all 200k listings and then applying the filtering on them just to get maybe 5 listings.
It is hard to list 200k markers on a map, we spent alot of time on the queries so you can but the final stage of caching the queries is not implemented fully which would make this much faster and allow you to show more selected cats on load.
GD Booster seemed to be having problems so i moved you to wpsuper cache and autoptimize, you don’t see the full benefit of these until you are browsing the site logged out, you will need to disable maintenance to test.
Thanks,
Stiofan
Hi Ben,
Can you provide wp-admin details and i will check your settings.
Thanks,
Stiofan
December 23, 2016 at 10:49 am in reply to: How to change text and set address on map ( Add-listing ) #329659if your server does not have php shorttags enabled that could throw an error.
This code is tested:
add_filter('geodir_codeaddress','_my_set_address_street_zip',10,1); function _my_set_address_street_zip($codeAddress){ $codeAddress = $codeAddress ." address = jQuery('#post_address').val(); address = address + ',' + country + ',' + zip; "; return $codeAddress; }Thanks,
Stiofan
December 22, 2016 at 5:57 pm in reply to: Location switcher slow response time – need assistance #329297I restricted the home map to only show one cat on first load, also i rebooted the server as there seemed to be some stuck mysql proccesses, can u check it now.
Thanks,
Stiofan
Please provide FTP info and i will check the server logs.
Thanks,
Stiofan
December 22, 2016 at 5:34 pm in reply to: How to change text and set address on map ( Add-listing ) #329293try this code snippet: (not tested)
add_action('geodir_add_listing_codeaddress_before_geocode','_my_set_address_street_zip'); function _my_set_address_street_zip(){ ?> address = jQuery('#post_address').val(); address = address + ',' + country + ',' + zip; <?php }Stiofan
December 22, 2016 at 5:08 pm in reply to: How can avoid booter include inline script in compression #329258Hello,
Can you show me the prob and i’ll give you the code to resolve?
Stiofan
Hi Ike,
WordPress makes it very easy to make pages and templates in a modular way but that theme just does not do it the right way, it’s not that integration can’t be done it’s just that each page type would need its own template made up which would not be the case if they had done things the WP way.
If your purchase was in the last 30 day and you are not happy then you qualify for a refund 🙂
Please let me know if you would like me to process a refund for you or if you want me to try and make up the templates for the theme.
Thanks,
Stiofan
You just have to enter “Lingfield” in the near box and not click th eautocompleat, thats why when you are in a locations it is highlighted and prefixed with “IN” so you know its only listings “IN” that location..
Stiofan
Hi Mark,
You are selecting the location “Lingfield city” which has no listings in it so you will never see any listings no matter how far you set the distance as it will only show listings from that location only. If you search just for “Lingfield” and not select the city then you will see results.
Thanks,
Stiofan
No probs, glad it’s resolved 🙂
Stiofan
Please check now, you had a few problems like the google maps api being added by divi builder and ubermenu also. The location switcher was not on the page. Also you actually have no listings in Lingfield…
Stiofan
-
AuthorPosts