Please help: Moving custom types from one WP theme to the next

12 replies
  • WEB DESIGN
  • |
hi everyone I have been using the Video theme by Templatic and I'm ready to move to the Premiere theme by Woo themes. Both have their own custom post types/ taxonomies and all my posts have been put into to this theme. Problem is once I switch themes none of my posts show up on the site or in the backend of wordpress, but when I reactivate the Video theme the posts show up once again both on the backend and as normal on the site....Please help me mix this!!!
#custom #moving #theme #types #wordpress
  • Profile picture of the author Patrick
    They will not appear coz the custom post types are built into the theme or plugin, so if you had a theme with a "custom" custom post type called xyz, it wont be there in the new theme.

    You can try and use this plugin...I have never used it but sounds like it would work..

    WordPress › Post Type Convertr « WordPress Plugins
    {{ DiscussionBoard.errors[7069229].message }}
  • Profile picture of the author sniper973
    thanks for the quick response. I already put that plugin in my folders as a last resort looks like i'm gonna be up all night converting them...Any tips to avoid this in the future? I really like the new woo theme i have but I don't want this hell all over again if I want to leave.
    {{ DiscussionBoard.errors[7069302].message }}
  • Profile picture of the author Istvan Horvath
    Actually, the custom post types are NOT "built into" themes or plugins.
    They are a feature introduced in WP 3.0+

    Read more: https://codex.wordpress.org/Post_Types

    And, FYI, any custom post type info can (and should) be copied over from the functions.php of a theme into the functions.php of another theme!

    Maybe because they being defined in the functions.php, people think the custom post types are "in the themes".

    In a similar way, the template files displaying custom post types can (and should) be re-worked for any theme in use.
    Signature

    {{ DiscussionBoard.errors[7069478].message }}
    • Profile picture of the author sniper973
      Thank you Istvan, can I ask where I can find out which parts of the function.php should I copy for the posts to show up?
      {{ DiscussionBoard.errors[7072219].message }}
      • Profile picture of the author Istvan Horvath
        Originally Posted by sniper973 View Post

        Thank you Istvan, can I ask where I can find out which parts of the function.php should I copy for the posts to show up?
        Not really... because it is there in the link I gave you above :rolleyes:
        Signature

        {{ DiscussionBoard.errors[7072595].message }}
        • Profile picture of the author sniper973
          thanks for pointing that out again.Even though I'm not at all experienced in anything like this. So I guess i'm still stuck because the link doesn't clearly point out what to move and what not... When i open the functions.php it clearly says "DON'T TOUCH THIS FILES CONTENTS UNLESS YOU ARE SURE OF WHAT YOU ARE DOING" ...I am grateful for you giving me a place to start though. If anyone can help me identify the codes I need to move I would be grateful as well. Thanks
          {{ DiscussionBoard.errors[7075399].message }}
          • Profile picture of the author Istvan Horvath
            Originally Posted by sniper973 View Post

            If anyone can help me identify the codes I need to move I would be grateful as well.
            Are you REALLY expecting that somebody would purchase that theme to see its functions.php file and tell you exactly what to copy over?

            When you are using a paid theme you can not expect insider coding help... unless another member has exactly the same theme + knows his way around WP template files.

            P.S. Paid themes should have their own support forums/tickets/email etc.
            Signature

            {{ DiscussionBoard.errors[7075906].message }}
        • Profile picture of the author sniper973
          At this point I'm willing to pay if I can get a little help. This will take way to long to get everything converted using the convert post plugin. Im going to put this on Fiverr.com any idea of how I should explain what I want done in the title ?
          {{ DiscussionBoard.errors[7075881].message }}
        • Profile picture of the author sniper973
          I have a temp login for my site. Plus I have Teamviewer.com account so that I could show someone my screen and exactly whats going on. I'm thinking if someone sees the file via teamviewer they could know it when they see it and just say "copy here to here" and be done that way....Istvan you seem to really know your way around these problems. I just want to be clear I'm no programmer or expert on writing files. What do you think would be a good next step in your opinion?
          {{ DiscussionBoard.errors[7076011].message }}
          • Profile picture of the author SteveJohnson
            Originally Posted by sniper973 View Post

            I have a temp login for my site. Plus I have Teamviewer.com account so that I could show someone my screen and exactly whats going on. I'm thinking if someone sees the file via teamviewer they could know it when they see it and just say "copy here to here" and be done that way....Istvan you seem to really know your way around these problems. I just want to be clear I'm no programmer or expert on writing files. What do you think would be a good next step in your opinion?
            Your only step - if you're not intimately familiar with WP and writing themes and plugins for it - is to hire someone that is. It's not nearly as simple as someone looking over your shoulder and telling you to 'copy this and past it there'.

            The Woo framework by itself is 1.8MB in 204 files.

            The day is long gone where someone could just poke around and look for a loop and change it around. Genesis, Woo, Thesis - all of these use special functions for displaying content, and modifying or even finding them can be like looking for a needle in a haystack.

            Why is it that you're wanting to change themes? Appearance? Features?
            Signature

            The 2nd Amendment, 1789 - The Original Homeland Security.

            Gun control means never having to say, "I missed you."

            {{ DiscussionBoard.errors[7076158].message }}
  • Profile picture of the author sniper973
    I'm moving from Video by Templatic to Premiere by Woo. They main reason is that Video is less compatible with certain plugins. Mainly plugins that gather thumbnails from youtube videos, also Woo theme has more widget areas and options. Woo looks cleaner as well. Video requires you to make most of your changes via CSS coding as where Woo offers a lot of its changes via backend menus. Only thing is losing my 200 posts which get decent traffic is NOT a option. I'm just going crazy dealing with these custom post types because this is my first time dealing with a site that is so heavily dependent on them. I would have never used them had I known it would be so hard to change themes.
    {{ DiscussionBoard.errors[7076309].message }}
  • Profile picture of the author sniper973
    I've been sitting here converting all my custom "Video" posts to regular posts, then switching themes and converting them back to custom post types in the Woo theme. Doing this one by one could take hours just to do a few posts... I feel like screaming because I know this is a easy fix like Istvan stated but I can't risk losing my site to a major error for any long length of time
    {{ DiscussionBoard.errors[7076325].message }}

Trending Topics