Ding Hua
Forum Replies Created
-
AuthorPosts
-
No. Refer a) free-package-is-feature-set-to-no.png , feature is set to no.
When I create new post with free package , it shows up as featured.attached picture for free-package-is-feature-set-to-no.png
Hi Stiofan,
Yes.
I have created two custom fields select with option value.html variable are
mrt_line_ss ( for region)
mrt_station_ss (for city)
Rgds,
YCHi Stiofan,
I want to use it for sorting and searching.
And Region and City are separate and not together.Region ( MRT LINE)
City (MRT station)Refer sorting.png for sorting ( i manually key in and test – to autofill hidden city and region fields later )
Refer search.png for searching ( i manually key in and test – to autofill hidden city and region fields later)For searching , how to make it selection dropdown list using existing custom location value ?
Rgds,
YCDecember 25, 2016 at 6:18 am in reply to: function file missing when click Places with Admin log in #330280Hi Stiofan,Guust,
After I clear my browser cache , it was working fine.
Strange.
Sorry about that.
Thanks.
Rgds,
ycDecember 25, 2016 at 2:25 am in reply to: function file missing when click Places with Admin log in #330231Hi Stiofan,
It only happens when you try to view all post for Hotels(places) CPT.
Refer attached file and follow 1(hotels),2(hotels)
You will get this error 3(error).Rgds,
YCHi Stiofan,
Yes , the one you mentioned.
Do you want a dropdown in the main search form? If so you would have to add a select input and input all the city/region names exactly and a user could then select from the dropdown, and in the add listing we could hide the input and just add a snipped of php to save the region or city value on save.Thanks.
Rgs,
YCDecember 24, 2016 at 1:46 pm in reply to: function file missing when click Places with Admin log in #330103This reply has been marked as private.December 23, 2016 at 11:24 am in reply to: How to change text and set address on map ( Add-listing ) #329664Hi Stiofan,
This new code is working fine.
Thanks.Rgds,
YCDecember 23, 2016 at 6:06 am in reply to: How to change text and set address on map ( Add-listing ) #329565Hi Stiofan,
The code is not working. It even bream my entire website and could’t log in anymore.
I need to delete the code snippet plugin folder to solve it.
And I cannot install again same code snippet plugin, all my other code snippet currently using are gone.
I got to use another variant code snippet plugin for others.Pls give me the correct one.
Rgds,
YCDecember 22, 2016 at 4:02 am in reply to: How to change text and set address on map ( Add-listing ) #328704Hi Stiofan,
Pls try this address
Block 515 Woodlands Drive 14 Singapore 730515
refer attached file geo-directory-not-able-to-get-map-location.png , Geo Directory unable to get correct map location and Zero_result error come out for the address “Block 515 Woodlands Drive 14 Singapore 730515.And the map location,log/lat is not showing in correct place.
For the same address I tried below three methods , all works and google map able to return map location accurately .
1) key in address “Block 515 Woodlands Drive 14 Singapore 730515” in google map , found working.refer attached file same-address-postal-code-country-on-google-map-ok.png
2) api query using the whole address “Block 515 Woodlands Drive 14 Singapore 730515”, found working , refer api-query-for-the-same-address-postal-code-country-ok.png
3) api query using only country and postal code , found working , refer to api-query-with-postal-code-and-country-only.pngSo not sure why Geo directory is not able to locate the correct map location for the same address and having Zero_Result error message.
Rgds,
YCPls include this in next release. Thanks.
Hi Giri,
Thanks a lot.
It works.Rgds,
YCHi Giri,
Thanks.
I am using main theme Geo Directory Starter Theme.
I don’t have child theme.
I just need to modify Directory Starter Theme theme functions.php , right ?After adding this , where can I configure exclude CPT categories list ?
Rgds,
YCDecember 20, 2016 at 5:11 am in reply to: How to change text and set address on map ( Add-listing ) #327456Hi Paolo,
It just work.
Look at my my-setting.png.
There are two setting I ticked.Disable set address on map from changing address fields
Disable move map pin from changing address fieldsThis two setting make sure it won’t break my custom location by the values of region and city from api return.Because locations are not known by the Google API and this prevent breaking my custom location.
It works perfectly as it suggest and meet what users need.
The only problem now is api query. It seems like api query is not using postal code that user enter.
api query only use address and some of the address in Singapore are not know by google map api.That is why I requesting option to configure api to use only postal code and country to query like below(postal,country) which return accurate map location in Singapore from google map.
http://maps.googleapis.com/maps/api/geocode/json?address=732895,Singapore
Rgds,
YC -
AuthorPosts