Posted on 6 August, 2009 By Kim Woodbridge 26 Comments

Using the WordPress More Tag to Control Content Displayed on Front Page

 
Share

Please Sir, Can I have some more? (by TravelJunkieoz)

Most WordPress Themes are set up to display the full post on the front page rather than the excerpt. If you display a number of articles on the front page, such as the 10 that are in the default WordPress settings, this can make for a very long front page.

I like to use the More tag to display the first paragraph or so and then have a link that says Continue or Keep Reading. And what is nice about using the More tag is that you don’t have to edit any templates – it is right on the toolbar in both the html and visual editors.

The index page of a WordPress template, index.php, displays the article posts with

<?php the_content('continue'); ?>

or

<?php the_excerpt(); ?>

I find it is usually the first.

Whatever comes in the ‘continue’ part is what the link will say when you use the More tag. Some say Keep Reading or Read More of this Article. But it can say anything you want, such as “Read On, If You Dare Sucker!”.

In the html editor there is a simple button that says more.

htmlmore

In the visual editor is a little icon that looks like a ripped piece of paper that says “Insert More Tag” when you hover over it.

more

Wherever you place this tag in your post is where the break on the front page will be. This gives you control over how the article appears and keeps you from having full posts on the front page.

The more link contains a CSS class so you can do all sorts of nifty things when styling it, like using an image. But this will have to wait for another post.

Do you use the More tag? Why or why not?

photo credit: _TravelJunkieoz


Related Posts:
  • How to Style the Read More Link in WordPress
  • (Anti) Social-Lists 5/24/09
  • WordPress – How To Create a Static Front Page
  • 3 Ways to Add “Dummy” Content When Developing a WordPress Site
  • How to add a RSS Feed to a Post or Page Using a WordPress Shortcode
  • Posted In : WordPress Tips
    If you enjoyed this post, please subscribe to my RSS Feed. You can also connect with my Facebook page or follow me on Twitter.



    26 Responses to “Using the WordPress More Tag to Control Content Displayed on Front Page”

    Trackbacks/Pingbacks
    1. How to Style the Read More Link in WordPress | (Anti) Social Development
    Leave a Comment
    You may use: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .

    CommentLuv Enabled

    Recent Comments

      • Ari Herzog: Agreed on the updates/inbox snafu. I rarely see page updates and I know where they are! .-= Ari Herzog´s last blog .....
      • jayson: Kim, Love the themes. I am looking to update the theme on my site to something more appropriate. My site is all abou...
      • vered: "I wish more people would use this. I think it’s silly when I get updates for things occuring in Kansas and California –...
      • Dennis Edell @ Direct Sales Marketing: I was speaking generally, not specifically this month. how exactly do you work things? .-= Dennis Edell @ Direct Sales M...
      • Lucy Beer: Unfortunately I think next to no-one actually sees those "Updates". They're buried in a subsection of the inbox and I do...
      • Kim Woodbridge: Hi Marbella - Thanks! I had a great time....
      • Kim Woodbridge: Hi Julie - I'll probably try kayaking again next summer but I don't know if I will become much of a kayaker - I had a di...
      • Kim Woodbridge: Hi Vered - If you ever get the chance, you should go. It's like a different world - it's so quiet and peaceful....

    About

    Kim Woodbridge is an accomplished Information and Technical Consultant specializing in the entire implementation of a WordPress based website including installation, theme design, upgrades, unique customizations and ongoing site maintenance.

    Wordpress Services

    • Installation, upgrades and maintenance
    • Conversion of existing html and css templates
    • Theme and plugin recommendations
    • CSS customizations
    • Troubleshooting and tweaks for unique situations
    • Customization for individual blogging goals and needs
    • Training and advice