Stiofan O'Connor
Forum Replies Created
-
AuthorPosts
-
August 7, 2017 at 3:03 pm in reply to: Confusion between cities and neighbourhoods in London #390124
You are welcome Andrew 🙂
It should be all good, we do something very similar for countries which Google has no regions for, so this method is tried and tested.Feel free to leave us a review if you have not already, it helps us grow! 🙂
https://wordpress.org/support/plugin/geodirectory/reviews/?rate=5#new-postThanks,
Stiofan
Hi Abel,
Your subscription runs out on the 13th, once it runs out simply buy the 1 year subscription 🙂
Thanks,
Stiofan
August 7, 2017 at 2:53 pm in reply to: Confusion between cities and neighbourhoods in London #390120Added and also i updated the code a bit so it will use the area name as the hood.
add_action('geodir_add_listing_geocode_js_vars','_my_london_fixx',11); function _my_london_fixx(){ ?> if(getState=='Greater London' && getCity != 'London'){ window.neighbourhood = getCity; getCity = 'London'; } <?php }Check now 🙂
Stiofan
August 7, 2017 at 2:28 pm in reply to: Confusion between cities and neighbourhoods in London #390111Hi Andrew,
How/where did u add it? Code looks good to me.
I suggest the “code snippets” plugin to add the code.If you need help just post wp-admin in a private reply and i’ll apply it.
Thanks,
Stiofan
Try this
.geodir_more_info.geodir_contact .geodir-i-contact{ padding-left: 0; color: transparent; margin-right: -22px; }Stiofan
Hi Nithi,
1. Not at the moment, it will decide depending on the users location, we have considered adding this as an option.
2. Not sure what you mean here? Would you just not remove it if you did not need it?
Stiofan
Thanks for letting us know 🙂
That should not remove the icon, if you can link me to your site i will check, it might be the case if you are not suing fontawesom icon, i can give you different CSS.
Stiofan
August 7, 2017 at 12:54 pm in reply to: Activating DIVI Theme presents 502 Bad Gateway Error? #390091Check the error log, it should tell you what is going on.
Thanks,
Stiofan
August 7, 2017 at 12:44 pm in reply to: Confusion between cities and neighbourhoods in London #390088Hi Andrew,
Thanks for the feedback, i’m not sure we all view it the same way from the outside but if you want to consider all of Greater London as the City of London then please try adding this code snippet.
add_action('geodir_add_listing_geocode_js_vars','_my_london_fix',10); function _my_london_fix(){ ?> if(getState=='Greater London'){ getCity = 'London'; } <?php }Let me know how you get on.
Thanks,
Stiofan
August 7, 2017 at 11:41 am in reply to: Confusion between cities and neighbourhoods in London #390077Yes London is a very confused part of the world, we need to find a defined way to list things.
I am unfamiliar with those areas you mention but you also have things like “Croydon” which is part of greater london but i would consider its own town, where does that fall under for you?Stiofan
How about a pure CSS solution?
.geodir_more_info.geodir_contact .geodir-i-contact{ visibility: hidden; max-width: 15px; display: inline-flex; } .geodir_more_info.geodir_contact .geodir-i-contact i{ visibility: visible; }Stiofan
Thanks for letting us know, i have never seen any one report that but i will keep an eye out for it in future, maybe disabling it during import and then reactivating it after could work for you.
Stiofan
Yes you could hide it with CSS,or there is a setting in GD>General>User deleted posts go to trash? If you have this ticked the listings will just go to trash and can be restored at a later date.
Stiofan
Great! 🙂
-
AuthorPosts