• You are here: 
  • Home
  • I updated to WordPress 2.3!

I updated to WordPress 2.3!

Posted on September 25th, 2007 by Richard Catto 3,227 views

I really wanted to get the new tag feature, you know. I just had to have it!

To display tags for a post, one needs to update the theme. I got it working for a single post (single.php), but can’t get the index.php page to display them on the front page.

Here’s my template code (same for both index.php and single.php)

<?php the_content(); ?>
<?php wp_link_pages(); ?>
<?php the_tags("Tags: ", ", ", ""); ?>

This works for single.php and displays the tags directly under the content, but NOT for index.php. Does anyone know how to make this work?

[EDIT] Okay, fixed! Please make sure that you replace all instances of start_wp() with the_post().

Source for fix:
the_tags() does not output anything if the_post() is not called

Tags: , , , , , , ,
Filed under 2.3 |

2 Responses to “I updated to WordPress 2.3!”

  1. Richard Catto Says:
    September 25th, 2007 at 11:09

    Now, of course, the big task starts. I have to go through all my posts and pare down the categories I used to one or two, and add a bunch of tags instead. Then I have to delete all the superfluous categories. And along the way, I have to find a new SEO plugin which will use tags to populate the meta keywords field with tags rather than categories.

    Anyone know of such a plugin?

  2. Richard Catto Says:
    September 25th, 2007 at 19:07

    The latest All in One SEO Pack seems to generate the required meta tags from the 2.3 tags.

    Get it here:
    http://wordpress.org/extend/plugins/all-in-one-seo-pack/

Leave a Reply

You must be logged in to post a comment.

Switch to our mobile site

close
Afrigator