Set meta key for a query that is based on a CPT stored in a table

[ad_1]

You could use https://github.com/pods-framework/pods-convert for this. It’s a plugin that adds a new WP-CLI command that you can use to convert a pod to a new content type or content storage option.

For CPTs, converting from table-based storage to meta-based storage will bring over all of those fields from the table for each post (1 row per post) into the postmeta table (1 row per field value per post).

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer