Dropdown Multi Widget


Description

This widget allows you to insert both post & categories to your dropdown menu. You can include:

  • Pages
  • Categories
  • Links
  • Homepage link
  • Login/logout links
  • and Register/Site Admin links in your menu.
PLEASE NOTE: This widget comes together with the dropdown menu widget. It will be installed when you install the dropdown menu widget. Just check your “Available Widgets” page and you will see them there.

Download the plugin.

If you like this plugin, you may also like my other wordpress plugins:

If you like this plugin you can donate using the button below:


Thanks for your support!

  • Ken Dawes Jun 4, 2010

    Hi,
    Great plugin!
    I’m trying out your Dropdown Multi Widget and am finding that even though I have added 2 pages to the “do not display in menu” in the dropdown set-up area, they are still showing up in the menu.
    Any clues?

    Thanks!
    Ken

  • r0bal Aug 24, 2010

    where do I have to put to add Archives to this menu?

    • r0bal Aug 24, 2010

      ?php wp_get_archives(‘type=daily&limit=15′);

      • shailan Aug 24, 2010

        Add this to the end of functions.php file in your theme folder. You will see it in Editor under appearance.

        function add_archives(){
        $args = array(‘type=daily&limit=15′);
        echo ‘<li><a href=”#” rel=”nofollow”>Archives</a><ul>’;
        wp_get_archives( $args );
        echo ‘</ul></li>’;
        } add_action(‘dropdown_list_after’, ‘add_archives’);

        • r0bal Aug 24, 2010

          But it gives me this on my web page:
          function add_archives(){ $args = array(‘type=monthly′); echo ‘
          Archives
          ’; wp_get_archives( $args ); echo ‘
          ’; } add_action(‘dropdown_list_after’, ‘add_archives’);

          and the link is not in dropdown menu…

      • shailan Aug 24, 2010

        You need to put this code before the closing “?>”
        So it will run as php.

        Also it won’t work for dropdown multi.
        I advice upgrading to wp3 and using wordpress nav-menu support to build your menus. You can then add anything you like.

        • r0bal Aug 24, 2010

          I don’t understand this wp3 menus. I tried to make one, but I couldn’t manage to add dropdown archive menu into it… or even dropdown blogroll links…

  • awariat Oct 6, 2010

    hi very nice widget
    one question : i dont want to have main bar as links -what should i edit.

  • Lop Jan 20, 2011

    Hi there,

    Firstly, great plugin! Unfortunately I can’t quite get it to work as I would like! I’m currently using the ‘LightWord’ theme and have 7 seperate buttons running across the top of the page. These are all created under 1 menu item called ‘Main menu tabs’.

    When I view the ‘header.php’ code, I see the code for the home button and can append it with your code so a drop down appears. When I do this all other buttons appear within a drop down on that button.

    My question is how can I make all the other buttons running across the top drop down menus? I can only seem to get it to work on that single button?

    Any help appreciated,

    Rgds,
    Lop

  • Enrico Feb 10, 2011

    Hi Shailan, thanks a lot for this nice plugin, its simply awesome.

    Can i know how select pages AND categories to menu, like the widget? I think can be usefull this feature, if anyone use (like me) only one menu for pages and categories at same line.

    • shailan Feb 10, 2011

      If you want to include pages & categories side-by-side, you can use Dropdown Multi Widget. If you want to add categories as a dropdown like my navigation now, here is a function to achieve this:

      function add_categories(){
      	echo "\n\t<li><a href=\"#cat\">Categories</a><ul class=\"children\">";
      		wp_list_categories('title_li=&');
      	echo "\n\t</ul></li>";
      	}
      } add_action('dropdown_list_after', 'add_categories');

      Put that function to functions.php and it will add categories as a dropdown to the end of your list.

  • Enrico Feb 10, 2011

    Thanks shailan, i solved the problem. Now, i have other problem, using your plugin. Dropdown menu got covered by flash banner (im using WP Bannerize for my banner). Can you solve it? Please watch this screenshot, i can’t give you my link because im working on my test blog in local server.

    Ty a lot.

    http://img832.imageshack.us/i/menuhz.jpg/

    • shailan Feb 11, 2011

      To make dropdown appear in front of a flash object, object tag must have <param name="wmode" value="opaque"> [and] if <embed> tag exists, it must have wmode="opaque" attribute. This is needed for all overlaying plugins like dropdowns, lightbox etc.

      I hope that solves your problem.

  • Enrico Feb 11, 2011

    I solved the problem making different banner position, but i think maybe a good thing fix it. :)

    Bye

  • Lauren Kelly Jul 25, 2011

    Hi, I’m building the website on MAMP, so it’s not online now. I’m using a custom template and have inserted the dropdown menu as a widget. The parent pages are showing up, but the children are not. They are showing up in the code, but not on the actual page. Any suggestions?

Reply