Sauter la navigation

[Résolu] replace all custom posts, fields and taxonomies

This support ticket is created Il y a 4 années. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par davidm-13 Il y a 4 années.

Assisté par: Luo Yang.

Auteur
Publications
#1888491

Hi, What is the best way to replace all custom post and taxonomy data - ie. delete all data, and import new data.
I've have the new data in a csv file, which I successfully imported using the CSV Importer plugin to a localhost copy of the site.
Thanks for any help
David

#1888553

Hello,

I suggest you try these:
1) In your local original website:
Dashboard-> Toolset-> Export/import-> Types, export the setting files
Dashboard-> Tools-> Export, export the post data

2) In the target website:
Same as above, import the Types setting file and post data.

If you don't want any duplicated data, then delete all data in the target website first.

#1888565

Thanks Luo, Understand I need to manually delete all data before importing new.
Thought there might be an import setting to replace all data - ie delete all, import new.

Thanks
David