Home › Forums › WP ESTATE – Real Estate WordPress Theme FORUM › Cities and County/state relations
This topic contains 1 reply, has 2 voices, and was last updated by Camelia Support Team – WP Estate 2 years, 5 months ago.
Hi I’m trying to figure out how to make the County/state related to the cities and how how to add them and filtering them.
For example I’m trying to have it like this:
— Child Neighborhood
—- Second Child Neighborhood
But I can see that you have them separated.
the County/State taxonomy doesn’t have any relation to the the city taxonomy which seems pointless.
I really need this how can I achieve this please?
Thank you for your message.
Please see my reply:
I recommend you to take as example the relation between our taxonomies State-Area.
property.php line 967 –
these are the filters and functions used to sort areas by city
// Tie area with city
add_action( 'property_area_edit_form_fields', 'property_area_callback_function', 10, 2);
add_action( 'property_area_add_form_fields', 'property_area_callback_add_function', 10, 2 );
add_action( 'created_property_area', 'property_area_save_extra_fields_callback', 10, 2);
add_action( 'edited_property_area', 'property_area_save_extra_fields_callback', 10, 2);
add_filter('manage_property_area_custom_column','ST4_columns_content_taxonomy', 10, 3);
Hope this will help.
Please use our support system if you wish our assistance – this is a general interest forum where clients can share their custom solutions if they wish to.
Client support is here – http://support.wpestate.org/
You must be logged in to reply to this topic.