Your address will show here +12 34 56 78

Home Forums WP ESTATE – Real Estate WordPress Theme FORUM Cities and County/state relations Reply To: Cities and County/state relations

#109096

Hi,
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_edit-property_area_columns', 'ST4_columns_head');

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/

Thank you
Camelia