Kinetic Pulse
  • Home
  • Services
  • Portfolio
  • Blog
  • Terms
  • Contact

Custom Post Types glitch in WordPress 3.1

March 10, 2011

I love the fact that you can now create Custom post Types in WordPress since v3.0.
I can now offer clients the ability to create entities in their WP sites that are actually relevant to their site (eg Case Studies, Team Members etc) without having to give lengthy training sessions in how to tag posts a certain way to make them show on certain pages etc etc.

BUT I recently upgraded ro 3.1 a WP site that had been working fine with these Custom Post Types for months now, and they suddenly stopped working.

By stopped working I mean:
1) The permalinks no longer worked – each post was just using the default permalink settings for posts (and not my slug I had set up in register_post_type)
2) Even stranger, in the Admin panel each post in the custom post list was greyed out, un-editable! Couldn’t even delete them! The only option available was “view” and that didn’t work because of the problem I mentioned above.

I discovered the solution by creating a new post of my custom post type – and yes the permalinks worked – and I could edit/delete it as normal. Woo hoo!

Looking in the database I discovered why:
Custom post type names need to be LOWERCASE!

Once I had changed this in my register_post_type function AND updated my database so that all custom post types had the new name, it seems to work ok now.

I guess the custom post types in WordPress are still in beta after all!

Share

Facebook Google+ Twitter Pinterest Email

Back to Blog

Testimonials

It’s been fab working with you – we love the site and certainly going to recommend you!
James DaviesThirty Eight Degrees North
Amazing and brilliant, Kinetic Pulse have lifted a dream to reality, Highly recommended and great if you are total novice, they know their stuff…Thanks again
Annie LindridgeSalt Yourself Out
Thanks so much for all your work on this, really appreciated. It’s come on in leaps and bounds since you took over.
Pete KewRedwood Strip Curtains
Thank you guys so much for all that you’ve done helping us to create a really awesome website!! We get such great feedback – everyone loves it & we couldn’t be prouder! Look forward to working with you again soon!
Wild Thyme PlantsWild Thyme Plants
Thank you for all of your hard work its looks fab and I am over the moon with it!
Amanda MercerAmanda Mercer Ceramics
Absolutely fantastically professional web developer – I would highly recommend!!! Thank you so much Kinetic Pulse!
Tania MarstonDoris Designs
I like it.  I like it a lot !!!

 You have interpreted what I wanted to achieve perfectly considering what you have to play with i.e not redoing the whole thing in the process.

Fiona Simmons-MooreSouth Gloucestershire Parents & Carers

Twitter

@HMRCcustomers Will do - thanks for the swift response

Last year from Kinetic Pulse's Twitter

@HMRCcustomers I've submitted Self Assessment repayment requests multiple times over the past 6 months (always waiting 4 weeks between) and never has anything happened. There seems to be no way of tracking or chasing them either. Now, of all times, this is important

Last year from Kinetic Pulse's Twitter

Apologies to all clients who have had website issues today. There was a major outage for our hosting company @cloudabove but, as always, they have been fantastically open and transparent about what's going on and are working hard to restore service.

About a year ago from Kinetic Pulse's Twitter

@thegrapesbath @bathdrummer Thanks - looking forward to opening night!

About 2 years ago from Kinetic Pulse's Twitter

woobox.com/tjkbms/k1orue

About 3 years ago from Kinetic Pulse's Twitter

Copyright 2021 Kinetic Pulse