WebDevStudios / custom-post-type-ui

Admin UI settings for creating custom post types and taxonomies in WordPress
https://webdevstudios.com
GNU General Public License v2.0
627 stars 143 forks source link

WP-CLI + REST API support #385

Open tw2113 opened 8 years ago

tw2113 commented 8 years ago

What can we add here? Possible ideas below.

WP-CLI

JSON import from file Trigger JSON export to file. Get Code to file Migrate between sites? command that prompts for all parameters we support. Constructs our data to save and injects into option.

Endpoint to create a post type or taxonomy and have it save to settings.

tw2113 commented 7 years ago

Created wpcli branch, and have support already for import from file and export to file. Woo!

tw2113 commented 7 years ago

Add multisite support for both network level settings, as well as import/export to/from specific network sites.

tw2113 commented 7 years ago

wp cptui migrate post types or taxonomies. -flag to delete old? or do so by default -utilize existing functions

tw2113 commented 6 years ago

Single site import/export has been implemented and pushed in to release160. All other ideas need to be implemented still. Moving issue off of 1.6.0 to retain but not list as pending 1.6.0 issues

tw2113 commented 6 years ago

We merged in what we had for WP-CLI. We also had one change related to the REST API settings, to help make sure Gutenberg has some enhanced compatibility.

Still going to leave open for further consideration

jdnichollsc commented 4 years ago

Can you add the url of the rest api from UI of the plugin?

tw2113 commented 4 years ago

@jdnichollsc not quite following what you're requesting here. Are you referring to say I'm in a terminal/cli window for Site 1, and want to import some CPTUI settings from Site 2? A way to say "go to this endpoint on Site 2 and get this information" ?