@ Cole
re: To do that I think we must locate the dropdown code and hard code that. Can you help locate where that is?
The code the renders the drop down can be found here in this file in this line.
As a suggestion. Rather than hard coding something here. Disable the select all option in the template and then put a link at the tip of the attorneys page for a back button to the “Our Attorneys” page.
To disable the select all option, add this str_select_all='' to the shortcode. That should remove it. To add the back link, if the theme has a button shortcode use that and put it above the [connections] shortcode on the attorneys page.
Hope that makes sense!
re: Secondly, our client is asking if we can filter the profiles by location, while maintaining their hierarchy. We’d either need top level categories by city or some way to filter by the existing location field while preserving hierarchy.
I think should be possible. Add an address to each entry. I’m guessing the locations are Austin and Houston. Just add the city to the address field or whole office address, but the key will be the city.
Now you can use URL/s like:
These are working links :) guessing a few entries do have addresses.
They should still be ordered according to the meta/key values assigned but filtered by city.
You could add these as links… I’ve seen other sites do the same… or you could add it as another drop down to the template. You could even get really creative and pull the locations (cities) straight from the db and render the select or links dynamically so it is not hard coded.
Hope that helps, let me know.
