-
AuthorPosts
-
September 5, 2022 at 8:48 am #1363871
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!
September 5, 2022 at 10:03 am #1363879Hey 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,
IsmaelSeptember 7, 2022 at 3:53 am #1364146Epic, 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!
September 7, 2022 at 7:41 am #1364158 -
AuthorPosts
- The topic ‘map Portfolio custom post type to Portfolio Items’ is closed to new replies.
