Custom Title for Posts

I know that almost everyone probably has some SEO plugin or package that already replaces the title per post, but I got this request from Katie because her SEO package for some reason or another did not have custom titles. She didn’t want to change the SEO plugin to a different one, since it was already established. She asked if I could write a plugin for this, but lo behold, it was as easy as customizing your header.php file in your theme. Granted, every time you change your theme, you will need to edit your header file, however, it’s so easy, it’s not even funny. Here’s the code segment, and the documentation is within the comments.

/*
* Custom title for Katie. Make sure you have a custom field in your
*     posts called "title" in order for the
*     custom title to show up. Replace the line:
*            wp_title( '|', true, 'right' );
* with everything within the Custom Title code. It's that easy.
*/
$custom_title = get_post_meta($wp_query->post->ID, 'title', true);
if (empty($custom_title)) {
wp_title( '|', true, 'right' );
} else {
echo $custom_title . " | ";
}
// END Custom Title Code

WordPress 3.0 and Expression Engine 2.0

I’m very happy to say that my WordPress sites are all upgraded to 3.0. But I have to admit that as a major point release, it doesn’t show much. I’m not saying there weren’t major upgrades, because there were. The merge of WordPress and WordPress MU is a major accomplishment. Kudos to the Automattic team for this. I’ve been waiting for this since I started using WordPress back in 1.2. However, it’s a disappointment that I will probably have to reinstall my WordPress on my websites to get it working the way I want. While this is not a big deal, it does pose this question:

WordPress 3.0 or ExpressionEngine 2.0?

I’ve gone and upgraded my license for EE 2.0 only because Leslie Camacho, President of Ellislab has said that the release of ExpressionEngine 2.1 is “near”. That’s very encouraging to me. So I’ve set up my test site and I’m familiarizing myself with all the new features of 2.0. There are some things I won’t really know how they turn out until I go live, (such as spam comments and how well EE 2 handles them), however it seems pretty encouraging.

The control panel for WP 3 is pretty much the same as 2. There are no real big surprises here. This is a good thing in my opinion. The control panel for EE 2 is very different from 1, but at the same time, very familiar to veterans of 1. I’d say there are improvements, and there are things that probably didn’t need to be changed. I have yet to explore a lot of the new version.

More to follow.