• i’d like to add something in my sidebar that lists the most recent 50 posts…is there a plugin or something that can list out X number of recent posts? or list of X number of random posts?

Viewing 8 replies - 1 through 8 (of 8 total)
  • https://mtdewvirus.com/code/wordpress-plugins/
    Recent Posts.

    50 is quite a bit…..

    Thread Starter webtodd

    (@webtodd)

    well maybe not 50, but some number. thanks

    I am just posting a theory here, not trying to disagree with Podz.

    50 Depends on the situation. How many is the choice of the blogger. Some people use WordPress for purposes other than diary/rants. It can be used as an online-accessible database. For this purpose it may be useful to list 50 or more headlines. For example, a site which catalogs sports scores (and there are more than 50 games in a week); or a site which catalogs song lyrics (and your band has more than 50 songs).

    I have a blog that has a page that lists ALL the post titles. It’s much more than 50… more like 140+ and climbing. My readers find it useful. You can do it if you want to.

    If you want to list a LOT, you should consider:
    1. wp-cache, ensure that page is being cached.
    2. maybe go with CG-FeedRead or other RSS-pull approach. Internally caches, generates raw HTML, so it’s fast.

    -d

    Thread Starter webtodd

    (@webtodd)

    thanks everyone.

    dgold,

    what are you using to display all posts?

    davidchait,

    how do i check wp-cache?

    I use basically this code (from Kafkaesqui) in a Page Template to display all my posts in alphabetical order

    <?php query_posts('orderby=title&order=asc&showposts=-1'); ?>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <li><a href="<?php the_permalink() ?>" rel="bookmark" title="Link for <?php the_title(); ?>"><?php the_title(); ?></a></li>
    <?php endwhile; ?>
    <?php endif; ?>

    I think you can change the options on the query-posts line, to get 50 posts…

    Thread Starter webtodd

    (@webtodd)

    would kg archives plugin work for this?

    https://katesgasis.com/2005/05/01/kg-archives-plugin/

    i’m looking for the answer to this too.
    i want to list only the 20 most recent PAGES (not posts) in my sidebar.
    how do we do this?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘how to list recent 50 posts in sidebar?’ is closed to new replies.