We help IT Professionals succeed at work.

Wordpress Import = Invisible Categories...??!!

Adam
Adam asked
on
386 Views
Last Modified: 2014-05-18
Hello,

I recently exported my blog posts from my Wordpress site (running the latest version and using the default Wordpress importer/exporter) and imported it on a new site I've set up locally. Everything seems fine however, when I try to edit a post or add a post, all of my categories appear to be invisible in my category list. The categories definitely still exist as I can see them on the Categories page (and in my database for that matter) but not on an add/edit post page.

Additionally, even though my posts appear to have still kept their categories from my old site (I can still see the appropriate categories checked off), nothing is showing up on the front end of my site.

Categories invisible!!!
Really have no idea where to begin troubleshooting this. I've tried creating new sites, importing/exporting a bunch of times, etc. Any help would be extremely helpful! Thanks.
Comment
Watch Question

Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
Did you try disabling permalinks?

Author

Commented:
Thanks for the response Jason. Permalinks were disabled when I first imported my posts and I enabled custom permalinks afterward and didn't notice a difference.

What would that do out of curiosity? I can give it a try again but my site will definitely need permalinks enabled.
Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
What would that do out of curiosity?

It was kind of a last gasp attempt to reset the categories.  My suspicion is that the import got effed up somehow but I was hoping that turning permalinks off, then back on would somehow jolt the system into recognizing your categories. It doesn't actually effect that system but it does invoke a couple of functions that might have done something.

Obviously not.

What happens if you edit a category and change the label and slug?

Author

Commented:
Thanks Jason. I just tried disabling permalinks and re-enabling again but no luck.

Changing the category name or slug doesn't seem to do anything either. I can see the change in the category page (Posts > Categories):

Posts > Category List
But when I go back to either add or edit a post, I still see this:

Post Categories
Its very odd. And again, I've tried the import/export a handful of times and have used a few plugins to do the job...same result.
Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
, I've tried the import/export a handful of times and have used a few plugins to do the job...same result.

I'm stumped.  Try a direct database transfer following these instructions:

https://www.experts-exchange.com/Web_Development/Blogs/WordPress/A_10258-How-To-Move-A-WordPress-Site.html

Author

Commented:
Thanks Jason. Yeah, not really sure how to move further either. I was trying to avoid doing a direct database transfer as I've already gone ahead and made a bunch of changes to my transferred site that I'll have to redo if I took this approach.

Not sure if this helps narrow things down but I recently created a custom post type that included categories as a taxonomy. After adding a bunch of categories, the exact same issue occurred—none are appearing in the category list within a post. Sigh...

I guess I'll keep digging online. Unfortunately, haven't had any luck finding anyone with the same problem.
Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
It might be a conflict with the CPT.  Try re-declaring it with something other than categories (maybe CPT-categories to differentiate).

Author

Commented:
Hey Jason. Sorry for the delayed response. The CPT category actually has its own name so there shouldn't be a conflict there. The samples I showed above were for regular blog posts using the default Category setup in Wordpress.

I actually went ahead and decided to try creating a new site from scratch and re-imported my posts again. I came to the conclusion that something in my theme must be causing this. When I use one of Wordpress's default themes, the categories show up. When I activate mine, they disappear.

Not really sure if there is anything else really you can do to help. I'm going to start with my functions.php file and start commenting out functions to see what happens. Hopefully I'll get to the bottom of this!

Thanks again for your help.
Jason C. LevineDon't talk to me.
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Jason C. LevineDon't talk to me.
CERTIFIED EXPERT

Commented:
Out of curiosity, which theme is it?
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
I managed to solve my problem but appreciated Jason's help so I'm awarding him the points.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.