• Hello!
    I am using the following code to create a dropdown box on my main page, whereby the viewer can get the archived entries by month.


    <?php _e('Archives:'); ?></h3>
    <form name="archiveform" action=""> <select name="archive_chrono" onchange="window.location = (document.forms.archiveform.archive_chrono[document.forms.archiveform.archive_chrono.selectedIndex].value);"> <option value=''>Select Month</option> <?php get_archives('monthly','','option'); ?> </select> </form>

    I have made 24 posts in the current month, but only 9 will show up on the page when the month is selected.

    Is there something wrong with my code? Is there anything else I should try so that all of the posts in a certain month will show?

    Thanks, in advance, for any help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • What’s your website? Lemme have a look, could just be the amount of posts you have per page on.

    Thread Starter bluqueen777

    (@bluqueen777)

    Thank you!
    Page is located at: http://www.eve-marie.com/faces/blog/

    While in the Admin area, if I set it to post, say 25 posts on a page, all the posts from that month (24) will be displayed. However, it will also display 25 posts on the page regularly.

    My ideal solution would be for 5 posts to be displayed on the page at the initial view, and then all of the archived pages (however many) to be displayed once the search was done.

    THANKS for your help!! 🙂

    The function you describe is the way WordPress is coded.

    This plugin will allow you to designate a different number of posts to display for various pages.
    http://mattread.com/archives/2005/03/custom-query-string-plugin/

    A plugin would be your best bet. On my site I have 9-10 posts per page on archives and 3 on the front page using this plugin.

    http://rephrase.net/miscellany/05/perpage.phps

    All I did was set the number of posts per page to 10, and then using the plugin I indicated I want 3 on the front page.

    Thread Starter bluqueen777

    (@bluqueen777)

    Thanks for the help!
    Basketball, I’m assuming I would load that into the plugins folder, right? Do I need to change any other code anywhere else?
    Thanks!

    Right into the plugins folder, activate and you only change that one integer 🙂

    nvm. looked at your site, glad you got it working.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘monthly archives – not all posts showing up’ is closed to new replies.