WordPress.org

Ready to get started?Download WordPress

Forums

Archive dropdown (2 posts)

  1. teccus
    Member
    Posted 7 years ago #

    I have a drop down list where it lists the archives by month. Whenever a selection is made it displays the correct post but the drop down list reverts to the top value 'By Month'.

    Is there anyway I can add 'selected' in the <option> tag so it keeps the option which was selected, selected in the drop down?

    Thanks.

  2. teccus
    Member
    Posted 7 years ago #

    Well.. anyone? I'm sure it isn't that hard.

Topic Closed

This topic has been closed to new replies.

About this Topic