Quick WordPress Tip: Playing with More

Teli Adlam —  August 17, 2007

More tag example While working with a friend of mine, she had noticed that some other blogs were able to customize the text people see to read an extended entry. By default, when you use the built in “more” tag with WordPress, people will see (more…) or whatever’s customized in the theme template; however, there’s a quick and easy way that you can override it.

Before WordPress 2.1, you’d need a plugin to accomplish this, but now all you need to do is add a bit of text in the more comment tag. Write your blog entry as usual, add the break where you want it, then switch to the code editor (if you’re using WYSIWYG), and add the text you wish to use for the extended entry link after “more” — just make sure there’s a space after the word “more”.

Example: <!--more Show me the rest, please-->

When you publish your blog entry, instead of (more…), the reader will see “Show me the rest, please”. That’s all there is to it, but bear in mind this tip will only work for WordPress 2.1 and above.

Teli Adlam

Posts

10 responses to Quick WordPress Tip: Playing with More

  1. Thank you for the tip, but for some reason it did not work.

  2. Hi Rose,
    Glad to see you around here.

    Make sure that your blog is running WP 2.1 or above. Also, make sure there is a space between the word ‘more’ and the text you want to display and make sure that you enter the tag in the ‘code’ view if you’re using the WYSIWYG editor.

    Hope that helps,
    ~ Teli

  3. Nice tip! We have a couple of verbose bloggers on our company group blog and a custom tag lets a bit of their personality and style come through. Thanks!

  4. I don’t really advise people to use the “more” tag, instead edit their theme and put “the_excerpt” where “the_content” is… then write a meaningful excerpt with every post.

    The reasoning behind this is that in your RSS feeds (which is the main people read your blog) the more link cuts off your feed.

    I really enjoy your site and hope you check out mine as well.

  5. Or, if having a post cut off due to the more tag in the RSS is an issue, the blogger can just install a small plugin which negates it and have the best of both worlds. :)

    Full Text Feed

    ~ Teli

  6. Also wanted to add something else:

    The reasoning behind this is that in your RSS feeds (which is the main people read your blog) the more link cuts off your feed.

    Not entirely accurate. There are still many people who do not know what an RSS feed is, how one works, or have a feed reader and don’t really care to learn about it.

    As much as we’d prefer to have all or a majority of our readers using our feeds, it’s important to note that there are many who would prefer updates via e-mail or would simply like to check back to the site of their own accord.

    ~ Teli

  7. @Teli, my point was that the goal of any blogger should be to provide full text to everyone that wants/needs it… regardless of their reading style (feed, email, or web).

    Just thought people should be aware of the default implications of the more tag.

  8. Ok lets say you use the excerpt instead of the more option, is there anyway of getting a “read more” instead of the [...]

    Thanks

  9. Hi Jermayn,
    If you’re using the template tag <?php the_excerpt(); ?> to display your excerpt, then not without modifying the WP core files or using a plugin.

    One such plugin is The Excerpt Reloaded; I haven’t tested it with WP 2.3, however, from some of the comments it seems to be compatible.

    ~ Teli

  10. Hi Teli! Thank you for the cool tip. I’ll definitely give it a try.

    I’d love to ask you a question, but I think it may be a little off-topic.

    When publishing excerpts, is it the “more” tag or the “optional excerpt” that dictates what will appear in your feed?

    If you visit my feed, it displays the optional excerpts, but when I look at my feed in my Feedburner Dashboard or in Google Reader, my feed shows the excerpts created with the “more” tag.

    Could you please explain to me why this is happening? And whether I can control it? (I’d like to have the “optional excerpt” versions appear on my category and archive pages, and the “more tag” version in my feed and on the front page of my blog).

    Any help is very much appreciated!