eldricoJuly 23, 2015 at 10:58 am #116655
I’d like to know how we can add a list of cities in bulk? I did’nt find any solution in the forum and I guess it should be a common need with a template for renting/buying property anywhere in the world, no?
Thanks for your help,
Thank you for the comment. From other clients experience you can import a list of cities or a list of areas with any plugin that supports import xml and import for custom taxonomies.
But the attachment of an area to city can be done only by editing area and attach to city.
I found these 2:
https://wordpress.org/plugins/jc-importer/ – for xml and cvs and allows to import for custom taxonomy only
https://wordpress.org/plugins/wp-ultimate-csv-importer/ – for cvs and allows to import for custom taxonomy only.
The attachment of an area to a city is done by saving the area to city in WordPress. The correlation is with code and you would need to follow these technical instructions to get the exact structure of the database. We use standard wordpress database structure but to see the exact layout, please consider below instruction:
in property.php is saved with
update_option( "taxonomy_$t_id", $term_meta );
$t_idis taxonomy id.
you should print_r get_option( “taxonomy_$t_id”); to see how data is stored
And then create the xml/import based on the database structure and the cities/areas you need to import.
AnnaCamelia Support Team - WP EstateJuly 23, 2015 at 1:13 pm #116674
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.