daily gadgets, computers, and electronic news
01/07
2006

[CA] Title – Create Custom Title For WP Page

Sponsored Links

Wordpress Logo

I’ve been using the Optimal Title plugin for a while now, and I’m quite satified with it. However, on one of my blog, I need to customize the title of the page, and that’s why I decided to develop my own page title plugin for Wordpress. I call this baby [CA] Title.

How It Works

>

First of all, the plugin works by taking the pre-defined format of each page type (like frontpage, single, archive, etc), replace the tag, and finally print the result. You can change the format from the Options – CA-Title page. I have also included the default format which is SEO-ready.

Requirement

Since this is a WordPress plugin, of course you need WordPress :) Currently tested under version 2.0.3. However, the plugin should work with other version as well.

Installation

1-Click Install: -
Manual Install:

CA-Title Activated

Usage

Once you activated the plugin, go to the Options page and continue to CA-Title setting page.

CA-Title Activated

As you can see, you can customize the format of each page type. Modify if necessary and don’t forget that you can also add the tag on the right if needed.

When you’re done, save the setting. Now modify your template and change the TITLE tag (usually found on Header template).

Save and see the result :)

You might ignore Category Page setting as the Archive Page setting will automatically override it when the plugin called.

Tips/Tricks

  • Display UTW Tags.
    That’s right, the plugin fully supports Ultimate Tag Warrior (tested with v3.1) plugin. You can use %tag% tag to display the current tag set on the Title which is useful when you have created Tag archive template. But before that, you have to do a little modification to UTW. Open ultimate-tag-warrior.php, find UTW_ShowCurrentTagSet function and change it to the following:

    function UTW_ShowCurrentTagSet($formattype, $format="", $limit = 0, $display = true) {
    global $utw;
    $format = $utw->GetFormat($formattype, $format);
    if ($display) echo $utw->FormatTags($utw->GetCurrentTagSet(), $format, $limit);
    else return $utw->FormatTags($utw->GetCurrentTagSet(), $format, $limit);
    }

    Save and you’re done :)
    For example, take a look at this page.

To Do

  • More tag

Version History

v0.1 – July 2nd, 2006

  • Initial release
[CA] Title – Create Custom Title For WP Page is written by cosa and posted under WordPress , , , , . If you like it, you might consider subscribing to our feed, follows us on Twitter, or receive our latest posts via email. Or else, you could also or store it to your favourite social bookmark sites. Further information about this article can be found.

No Comments »

No comments yet.

Leave a comment