WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm copying over a site from a former developer. I've installed a new instance of wordpress and database on new server, copied all but the wp-config from old server to new, but in admin it does not show the custom post types that are showing in old admin. I would think that these settings are in the functions.php, but I'm copying that over. Shouldn't they show? How can I make this work?

Thanks so much!

share|improve this question
Did you activate the theme that was used at the previous site? – Rob Vermeer Feb 23 '12 at 22:11
What plugins were used in the previous site? – Webord Feb 23 '12 at 22:14
Yep activated. I moved two other sites over in this fashion that had custom post types... didn't work there either so just used a pluging to re-create them. This third on had 10 (!) custom post types (geesh) with a bunch of additional categories linked to post-types. It's a mess. Webord... alot of plugins but nothing for custom post types on the original site. – Todd Feb 23 '12 at 22:48
up vote 0 down vote accepted

the custom post types won't show until you call register_post_type.


this was either done in a plugin or the theme that you were previously using. if you are no longer using those you will have to activate it again yourself. i suggest making it a plugin (and possibly even an mu-plugin)

share|improve this answer
Hi and thanks! I'm sure it's not a plugin but here is a list that are used for reference (below). Shouldn't that move over if I'm copying all files (in wp-content, wp-admin and wp-includes as well as root files except wp-config because I want it attached to my database) ? Thnks again! Plugins used: Google Analytics Google XML Sitemaps Gravity Forms JF3 Maintenance Redirect jQuery Colorbox Pronamic Google Maps Quick Cache Relevanssi (Dramatically improves the performance & speed of your site! Also compatible with WordPress® Multisite/Networking.) Search Everything WordPress SEO WP-Cufón – Todd Feb 23 '12 at 22:50
afaik, none of those plugins have to do w/ CPTs. if it wasn't a plugin, then it must've been the old theme that registered the post type. have you activated the same theme you were using? i don't like themes registered post types for exactly this reason. i still recommend moving all the post types/taxonomies to a plugin so this doesn't happen again. – helgatheviking Feb 23 '12 at 23:02
I agree with you, I just don't understand how to make it work. I'm not that great with taxonomies... really confuses me. – Todd Feb 23 '12 at 23:16
Yes activated the same theme. So not sure why it wouldn't show. – Todd Feb 23 '12 at 23:17
that usually means that it is time to quit and have a glass of wine. if you can search the contents of the theme, look for register_post_type and register_taxonomy – helgatheviking Feb 24 '12 at 0:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.