WordPress.org

Ready to get started?Download WordPress

Forums

Archives only Show part of post (17 posts)

  1. jafer
    Member
    Posted 9 years ago #

    This is a quick question (ya, right). If I click on the categories link, it shows me all posts in that categories, but it's like an excerpt. It shows so much and then it gives a ... - without a link or "more" to see the rest of the post.

    Is there a way for me to fix this? I'm using 1.5.

    Thanks for your help.

  2. Kafkaesqui

    Posted 9 years ago #

    The Kubrick (default) theme uses the_excerpt() tag for category and archive pages. Open archive.php for that theme (found in wp-content/themes/default/) in a text editor and where you find this:

    <div class="entry">
    <?php the_excerpt() ?>
    </div>

    Change it to this:

    <div class="entry">
    <?php the_content() ?>
    </div>

  3. jafer
    Member
    Posted 9 years ago #

    Thank you so much Kakfa :)

  4. jafer
    Member
    Posted 9 years ago #

    Ooops, sorry for the misspelling... I'm not dyslexic (BoN)

  5. wiredkiwis
    Member
    Posted 9 years ago #

    The above handy tip from Kafkaesqui works in the default 1.5 search.php too!
    just change the the_excerpt to the_content and your search results will include and links :)

  6. moshu
    Member
    Posted 9 years ago #

    Why would you want to "torture" your visitors if they look for something on your page and it is found in 102 posts... to wait until all the 102 posts are fully</e> displayed???
    A title and an excerpt is completely enough to take a look - and decide whether I want to go further. It is just common sense and respect for the time of your readers.
    2c.

  7. moshu
    Member
    Posted 9 years ago #

    Ah, no more edit... only "fully" was supposed to be italic.

  8. Kafkaesqui

    Posted 9 years ago #

    You display 102 posts in search results? Wow, that is torture... ;)

  9. moshu
    Member
    Posted 9 years ago #

    Me? I don't even blog lately :)
    But, unfortunately many bloggers set their site to have too many, way tooooo many posts even on their index page, which I find very, very annoying. I have to confess, if my scrollbar is getting smaller and smaller while downloading the page, and it gets close to 1 cm or so, I quickly hit the Stop and Back buttons.

  10. wiredkiwis
    Member
    Posted 9 years ago #

    moshu:

    well when i have too many posts showing up i can always change it back eh :)

    was just mucking around and thought someone might use it

  11. wiredkiwis
    Member
    Posted 9 years ago #

    closing the /em didnt work either :D

    ps: i dont have a scrollbar, 102 posts or any worries about speed but i guess if your on 28k it would be a pain :P

    your points taken though :)

  12. moshu
    Member
    Posted 9 years ago #

    No, I am on cable, quite fast. It's just my personal preference: hate long-long pages.

  13. wiredkiwis
    Member
    Posted 9 years ago #

    You've got me wondering now

    Can the search function be told how many results to be shown,
    10 or 20 per page?
    (kinda like google)

    That way if you did find 100+ results you could thin the search down a bit without loading a big page.

    ps: I'm not that fond of long pages either.

  14. moshu
    Member
    Posted 9 years ago #

    Well, in WP 1.5 the number of results (excerpts) shown is exactly the number of posts you set in the General Options > Reading.

  15. Kafkaesqui

    Posted 9 years ago #

    "Can the search function be told how many results to be shown,
    10 or 20 per page?"

    http://wordpress.org/support/topic.php?id=24031#post-136906

  16. wiredkiwis
    Member
    Posted 9 years ago #

    Damn Kafkaesqui, your good

    Thats a great plugin too, couldn't get any easier

    Thanks again

  17. chuckblue
    Member
    Posted 9 years ago #

    when it displays the excerpt, click on the title of the post to see the entire post.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.