WordPress.org

Ready to get started?Download WordPress

Forums

Drop-Down Menus for v1.5 (11 posts)

  1. omar
    Member
    Posted 9 years ago #

    Way back on 02/13/04, Myke115 wrote:

    "...I want to add a drop down menus for displaying large lists of links such as archives, blogroll, etc. Does anyone know what code I should add to make a drop down menu? I'm really at the beginning of learning to style but I do learn quickly. I'm not wanting to mess things up so I'd really like advice before I stick the code in. Also would it need to be in the .css sheet or on the template?"

    I'm using v1.5, but the same question applies. Specifically, I want a drop-down menu for pages, archives, and catagories. Any idea where to go for pointers or advice on how to proceed?
    Thanks!

  2. Marc
    Member
    Posted 9 years ago #

    This is for 1.2 but look in the comments section for a guide on 1.5

    http://typedby.com/archives/2004/06/14/drop-down-plugin-for-wp-links-manager/

  3. iand
    Member
    Posted 9 years ago #

    For archives:
    <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 wp_get_archives('format=option'); ?>
    </select>
    </form>

    For cats:
    http://typedby.com/archives/2004/06/22/dropdown-plugin-with-ability-to-exclude/

    For pages:
    Pass..

  4. billsaysthis
    Member
    Posted 9 years ago #

    This archive code worked great for me, thanks!!

  5. ultrazero
    Member
    Posted 8 years ago #

    IanD's archive drop down code worked great for me also.

    Is there a way to make the fonts in the drop down menu consistent with the rest of my site?

  6. Beel
    Member
    Posted 8 years ago #

    Probably already is, at least with the rest of your forms:

    form { blah-blah-blah }

  7. patjepayer
    Member
    Posted 8 years ago #

    What do I have to change, when using the Archive code, to
    let it show the Post titles?? instead of the month?

  8. TerranceDC
    Member
    Posted 8 years ago #

    OK. This is an old thread, so I'm hoping someone will actually read this. Otherwise I'll have to post a new thread and have someone tell me to search the old threads.

    I've given the plugin a try and it's great. But I can't figure out how to control the witdh of the drop down, so that it doesn't spill over my sidebar. I checked the comments in the original post, and someone asked the same question. The answer was that there's a way to do it in CSS, but there was no indication as to how. My CSS knowledge is intermediate, but nothing I tried worked.

    So has anyone used this and succesfully controlled the width with CSS? If so, please tell me HOW.

  9. iand
    Member
    Posted 8 years ago #

    I use drop-downs and the css I use is:
    select {
    width: 160px;
    }

    A link to your site would be helpful too.

  10. TerranceDC
    Member
    Posted 8 years ago #

    I'll give that a try. I've since deactivated the plugin, but the link to my site is http://www.republicoft.com.

  11. TerranceDC
    Member
    Posted 8 years ago #

    That worked. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.