WordPress.org

Ready to get started?Download WordPress

Forums

Drop Down Archives (2 posts)

  1. ethanator
    Member
    Posted 7 years ago #

    I am looking to have a drop down menu listing the archives of my blog by month. I found out how to do it for categories in the codex but cant figure out archives by month. Any help would be great. thanks so much.

  2. chaaban
    Member
    Posted 7 years ago #


    <li id="archives">Archives:
    <ul>
    <li><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=''>By Month</option>
    < ?php get_archives('','','option', 1); ?>
    </></select>
    </form>
    </li>
    </ul></li>

Topic Closed

This topic has been closed to new replies.

About this Topic