Archives List on Front Page (3 posts)

  1. belpurple
    Posted 8 years ago #


    How to show 'archive entries' after the recent post on the front page?
    Anyone know what is the plugin/script using in Kennysia.com?

    Looking for your help and reply,
    Thank you!

  2. MichaelH
    Posted 8 years ago #

    In your theme's index.php file you would need to determine 'what is the first (or latest post)' then display the archives with the template tag, wp_get_archives().

    So before [The Loop]] set:


    Then inside The Loop put your code:

    <div><?php wp_get_archives('type=daily&limit=15'); ?></div>
    <?php } ?>

    Stepping into Templates
    Stepping into Template Tags
    Editing Files
    Template Hierarchy

  3. harknell
    Posted 8 years ago #

    If you don't quite want to get all code-ish, you can add my AWSOM Archive plugin and simply put a code where you want the archive to show up. You can set what type of archive you want from the admin area. And now it can do other types of archives besides drop down ones, so you can list links and such.

Topic Closed

This topic has been closed to new replies.

About this Topic