If you have already declared custom post types and taxonomy in PHP you can use Types to manage them.
To convert custom post types and taxonomies you have to:
- Remove the PHP that declared these custom types. Normally, you would remove them from
functions.phpin the theme. Once you do this, all your custom data will appear to have vanished. Do not worry. It just is not shown.
- Add it using Types. Make sure that you use the exact same slug. The description can be different but the slug is crucial. If it is different, the old content will not be shown.
Now you should see all of your content.
To convert custom fields you have to:
- Create custom field groups. You should leave them blank (without adding any fields). This is because we will go and add the existing fields to them.
- Go to Toolset -> Custom Fields and click the Post Field Control button. On the Post Field Control page, find the fields you are interested in. On each field’s row click on Change assignment and, in the pop-up dialog box that appears, select the corresponding group you created in the first step. Then, for each one of the desired fields, click on the Change type link and select the option you find appropriate.
Your custom files will now be under Types control.