Giter Site home page Giter Site logo

pods-framework / pods-convert Goto Github PK

View Code? Open in Web Editor NEW
9.0 14.0 3.0 484 KB

Pods Convert is a plugin to convert a Pod type or Storage type to another.

License: GNU General Public License v2.0

PHP 100.00%
pods converter wordpress-plugin pods-addon

pods-convert's Introduction

=== Pods Convert ===
Contributors: sc0ttkclark, pglewis
Donate link: http://podsfoundation.org/donate/
Tags: pods, storage type, migrate, storage type, convert
Requires at least: 4.2
Tested up to: 4.6
Stable tag: 0.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Pods Convert is a plugin to convert a Pod type or Storage type to another.

== Description ==

Requires WP-CLI and access to the command line.

Run `wp pods-convert migrate --pod=your_pod`

Additional options can be:

* Change the pod type: `--new_type=post_type` (For example, when it was an Advanced Content Type "pod" before)
* Change the storage type: `--new_storage=meta` (For example, when it was Table-based storage "table" before)
* Change the pod name used for new pod: `--new_name=my_new_pod` (This will bypass the attempt to create a temporary pod / delete the old one, you will end up with two different pods which are identical and have the same content)
* Additional fields mapping: Coming soon
* Verbose logging in terminal: `--verbose`
* Currently only supports (and is tested against) Advanced Content Types converting to other pod types

`wp pods-convert migrate --pod=your_act --new_type=post_type --new_storage=meta --new_name=your_cpt`

The migration will create a temporary pod from the pod, migrate all items from that pod 100 at a time, then attempt to delete the pod and rename the temporary pod back to the original pod name.

== Future features ==

* Additional fields mapping (change which fields map to which fields)
* Convert from other content types to Advanced Content Types

== Installation ==

1. Unpack the entire contents of this plugin zip file into your `wp-content/plugins/` folder locally
1. Upload to your site
1. Navigate to `wp-admin/plugins.php` on your site (your WP Admin plugin page)
1. Activate this plugin

OR you can just install it with WordPress by going to Plugins >> Add New >> and type this plugin's name

== Changelog ==

= 0.1 - July 14th, 2015 =
* First release

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.