I’m switching a site from an old theme that uses a “Portfolio” custom post type (post_type=dt_portfolio) to Enfold. Is there a way to map that dt_portfolio post type from the old theme to Enfold, to make those posts become “Portfolio Items” in Enfold?
I’ve been trying to achieve this through the Custom Post Ttype UI plugin per these instructions https://www.wpbeginner.com/wp-tutorials/how-to-exportimport-custom-post-types-in-wordpress and I can get the custom post type from the old theme to show up in the admin sidebar/left menu, but I can’t use it in the Masonry or Portfolio Grid elements — that custom post type is not available in those elements. I need to somehow make those posts / that custom post type available in those elements.
The site I’m working on is here: https://msmusicstg.wpengine.com/
Thanks!
Hey sky19er,
Thank you for the inquiry.
There is a plugin that can convert a post from a particular post type to another, please check the link below.
// https://wordpress.org/plugins/post-type-switcher/
Did you reregister the old post type in the Enfold site before importing the posts?
// https://developer.wordpress.org/reference/functions/register_post_type/
Best regards,
Ismael
Epic, Ismael — you continue to be “the man”! I actually duplicated this site and switched the theme to and enfold, so I didn’t import the posts – they were already there from the duplication. So using the CPT UI plug-in to register those posts worked to register them, and then using the post type switcher plug-in you suggested worked to convert them to enfold portfolio entries — perfect! Thanks again!