Support » Plugins » Dropdown Blogroll for 2.1

  • Resolved lauralohr

    (@lauralohr)


    I have searched high and low to find dropdown blogroll code that uses wp_list_bookmarks. I am currently using the dropdown_get_links function, but it is not perfect in 2.1 (links are not updating from the admin menu and can only be updated in the sql database).

    Does anyone have any idea how to do this? I have tried so many different variations and I cannot seem to got right.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter lauralohr

    (@lauralohr)

    By the way, my blog is: http://www.lauralohr.com

    I am currently using the following code:

    <!-- Begin - Links I am Reading -->
    	   <div class="right-widget-title">Links I am Reading</div>
        <div class="right-widget">
    <type="text/javascript">
    <form name="Links_I_am_Reading">
            <select name="menu" onchange="MM_jumpMenu('parent',this,0)">
       <option value="">Select Link</option>
      <?php dropdown_get_links( 4, 'name','-1') ?>
      </select>
       </form></div>
       <!-- End -Links I am Reading -->

    I got close with this code, but I could not get everything to roll up:

    <!-- Begin - Links I am Reading -->
    <div class="right-widget-title">Links I am Reading</div>
        <div class="right-widget">
        <?php _e(''); ?>
       <ul><li>
    
    <form name="Links_I_am_Reading">
    <select name="menu" onchange="MM_jumpMenu('parent',this,0)">
    <?php wp_list_bookmarks('&categorize=1&category=25&orderby=name'); ?>
    
       <option value=""></option>
    
    </select>
    </form>
    
    </div>
       <!-- End -Links I am Reading -->
    Thread Starter lauralohr

    (@lauralohr)

    Bump.

    I too am looking for an easy way to show blogrolls links as a dropdown in 2.3.

    Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    There is basically no easy way to do this. The wp_list_bookmarks function was made to produce a list, not an option menu.

    Well I managed to get a list to show using this code, but need to figure out how to do the onChange thingy:

    <form name="Links">
    <select name="List" style="width: 170px;">
    <option value="">Select Link</option>
    <?php wp_list_bookmarks('before=<option>&after=</option>'); ?>
    </select>
    </form>
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Dropdown Blogroll for 2.1’ is closed to new replies.