• Hi,

    I am new to WordPress and not sure if this is a bug or … a feature! πŸ™‚
    I have a website using WP and have set it up to only display 10 posts on the main page (default settings). I have a left menu with the standard get_calendar() function and monthly archives.

    What I have noticed is that when I click on the archive links it still only displays 10 posts… I have now 11 post in MARCH but cannot see the 11th one.

    How can you display ALL posts from a given month?
    My webpage is: http://www.astrofrog.com
    You need to select the frog with a star in the main page to enter.

    Thanks,
    Bugs.

Viewing 4 replies - 1 through 4 (of 4 total)
  • By default, WP 1.5 is set to follow the “number of posts to display” you choose in the options. So if you set it to show 5 posts, then it’ll show 5 posts on your main page, and on your archives/category pages. I’m not sure of what the correct php would be to have it show all, but typically you’d just include a prev/next link at the bottom so that way you’d only be showing X number of posts/page.

    Something like this would add the prev/next links:

    <div class="direction">
    <div class="alignleft"><?php posts_nav_link('','','&laquo; Older Entries') ?></div>
    <div class="alignright"><?php posts_nav_link('','Newer Entries &raquo;','') ?></div>
    <br style="clear: both" />

    You could also try searching the forums as I’m sure this question has been asked before.

    You’ll be wanting the perpage plugin:
    http://rephrase.net/miscellany/05/perpage.phps
    Oh, and welcome to WP too πŸ™‚

    Thread Starter bugs

    (@bugs)

    Thanks for your help! will be updating tonight!
    I am just amazed more and more everyday with WP… coming from Greymatter is a shock! πŸ™‚

    Cheers,
    Bugs.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Archives bugs?’ is closed to new replies.