Trouble Migrating from Theme with Custom Post Formats
-
Hello,
I have a site built using the X Theme from Theme.co. In it, I’ve created a lot of posts (250+) as the “Video” Custom Post Format… which Theme.co adds a bunch of custom meta fields to. One of those fields is called “_x_video_embed” and it’s where you put the iFrame code for the video embed. It’s then used by the appropriate theme file to display the video at the top of the post, in place of where the Featured Image would go.
All well and good.
But now I’m thinking about changing themes. And the theme I want to switch to has NO IDEA about that custom meta field, so the posts just display as standard posts with the Featured Image showing… and no video.
HELP!
Without having to manually go into each post using the current theme and extracting the video ID from the iFrame code, switching to the “Standard” post format, and embedding the proper video code INSIDE the post… what can I do?
Is there a way to automate the extraction of the custom meta field (it’s all been HTML-encoded, so the “<” and “>” and other HTML items have been encoded to “<” and “>”, further complicating the mess)?
I appreciate any direction you can provide… as right now, I’m totally stumped, and looking at having to manually edit 250+ posts (YIKES!).
Thanks so much
- The topic ‘Trouble Migrating from Theme with Custom Post Formats’ is closed to new replies.