SEO Services Minneapolis, Internet Marketing Twin Cities

SEO Expert Minneapolis & Internet Marketing Consultant Twin Cities

Onward Internet Marketing Logo

Reinhardt – WordPress 3.1 released

The newest release of the WordPress CMS – Reinhardt – is available.
There are many great features to this release and perhaps a couple of cautions.

There’s a new admin bar, to keep the dashboard and numerous admin functions just one click away, whenever you’re logged into your site. Using this admin bar makes adding new content, dealing with comments, updating plugins and themes available from anywhere within your site.

Then there’s updates to custom post types. I had brazenly used capitals in the names of my custom post types, and after updating to version 3.1, I could no longer edit them. Others have complained about getting 404 errors from custom post type pages after the update. If you use custom post types on a WordPress site, I strongly recommend immediately going to the permalinks setting and saving your settings.

The Reinhardt release of WordPress does NOT allow for custom post types to be named with any capital letters. If you have done this, as I had, you will need to rename them with all lower case names. If you find you can no longer edit custom posts, chances are that you, too, have named you custom post types with a capital letter or two. Regaining the ability to edit these custom posts is just a bit more involved. There are three steps to fixing this that need to be accomplished. The first step is too change your custom post type names within the functions.php file of your theme. Do this in two places, first in the register_post_type function, and the second is in the declaration your rewrite parameter within the $args.

The second step is to update all the existing custom posts within your database. I found this edit to functions.php from dennis_f. I works, but then leaves extra code in functions.php. I went directly to the database and ran the updates there.

The third step is to update any template files within your theme. I have several that referenced the custom post types, and each needed to be updated with the new name of the custom post type. Look at the top of the loop, where the post_type is declared.

Email This Post Email This Post