Support » Fixing WordPress » ‘MORE’ only on index page, not categories or archives?

  • I’d like to have the ‘MORE …’ tag working only on the index page, so that visitors can skim through to see if there’s anything of interest.

    If they go deeper into the site and get hooked and start clicking on the categories or archives I’d like to have the full post displayed. The ‘more…’ tag (<!–more–> more accurately) can get very frustrating when you’re hooked and reading.

    I’ve done a lot of looking but can’t find anything but am sure the code must be very simple.

    As I’m not yet competent at php can anyone help me out?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Little bump?

    I’m not positive on this, but I believe you would need to use the_excerpt tag on your index.php and then use the_content tag on your archives and single templates.

    oriecat’s suggestion will work if you’re not using the more quicktag, in that it will show the first N words from your post (or the actual excerpt) on your index.php, and the full content elsewhere.

    To use the more quicktag and still get what you’re after… I’ve been, now and again, working out the kinks on an update to my the_excerpt Reloaded plugin. One of the changes to it will let you do this. Give me a day or so to release it for testing.

    Thankyou both for your reply.

    I shall consider oriecat’s method. It might be simple, not sure what drawbacks there are (probably none!)

    Though I might want to use the excerpts for other functions? Still confused.

    Anyhow,Kafkaesqui, been to your link but can’t see any evidence that plug in has been updated? Unless I missed it. Will look again later.


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘‘MORE’ only on index page, not categories or archives?’ is closed to new replies.