Location module + dependant taxonomy dropdown snippet
-
Hello Greg,
i’m opening a separate topic for another question.
I’ve managed to add into the wordpress database, all the italian Region>Province>City data. So that city has the province as parent, and provinces have their region as parent.
Everything wors good, i can use the autocomplete feature in the search form from the “Maps and Locations” addon and the adverts get correctly linked.
What is driving me crazy, is that i have 8000 entries in the dropdown menu for Location. This is causing the website to be reaaaaallly slow in loading pages where the location dropdown is present. Also the client browser stops worinkg for 5-10 seconds while opening the menu.
I’ve tryied to adapt the snippet “dependant taxonomy dropwdown” that i already use for categories, but unfortunately i had some problems. As you may imagine, i’ve messed up the code in the “Maps & Locations” but shouldn’t be the right thing to do probably.
For the little i was able to try, making the dropdown dynamic really makes the page load much quicker, and solves client browser problems.
Can you suggest a clean implementation or another solution?
Thanks a lot,
have a nice day.Stefano
The topic ‘Location module + dependant taxonomy dropdown snippet’ is closed to new replies.