WordPress After reading John P.'s note on "Homepage Excerpts Increase Pageviews" in his "45 Ways to Power Up Your Blog" article and after soliciting the views of my own readers with "10 Ways To Power Up My Blog", I decided to play with the WordPress "<!–more–>" tag and see what the excerpts look like. I was in for a rude awakening, but not until after I'd messed with it for a short time. More on that in a minute.


Checking The References

The first thing I did was insert the tag in a post and look at the result. Ewww! I didn't like it at all. The code in my theme adds a space and the " »" character onto the end of it. I didn't want to edit the theme because I don't know how many files I'd have to edit and upload. Not only that, I didn't like the fact that I was stuck with only ONE way of doing it. So I "Googled" for more information.

I read the information presented at the WordPress Codex page, "Customizing the Read More", and still didn't find what I wanted. I then stumbled across the post, "But wait, there’s more!" at the WordPress.com blog.

That was the ticket! According to that post, WordPress should have had this feature available since version 2.1 (and I'm on 2.5). It turns out, if you put in the tag like "<–more Continue reading –>", it displays only "Continue reading". You have to be careful to surround the optional text with one space on each side, but the not the preceding text.

It Breaks A Plugin

I'm using the DualFeeds plugin to provide both a full and a partial feed at the same time. It doesn't recognize the customized tag.

I checked the Full Text Feed plugin and it appears to have a regular expression that can handle it. It looks like Stephen needs to fix his though. Until then, I'm out of luck.

I could hack the DualFeeds plugin to work the way I want it to, but I'd much prefer to wait until Stephen fixes it himself.

But Will I Use It?

I'm strongly considering it. I don't like the slow-loading time of 5 long posts on the front page. I could easily fit 10 posts and still have it shorter by using well-crafted excerpts.

Right now, however, all I can do is sit back and wait.