• WordPress MenuBar Plugin
    by ShibaShake on

    The Shiba Menubar plugin extends native WordPress custom menus so that you may add page trees, category trees, and archives. You may then render your menubar using a variety of drop-down menu scripts and skins.

    February 26th, 2011 – Release 1.2

    • Updated for WordPress 3.1.
    • Added styles for popular WordPress themes Suffusion and Atahualpa.

    Key Features of the Shiba Menubar Plugin

    • Lets you add category, page, and archive trees to your native WordPress custom menus.
    • Displays drop-down menus using a variety of menubar scripts including MenuMatic, Tinydropdown, and Sexydropdown.
    • Easily apply different design skins to your drop-down menu through the Appearance >> Shiba Menus screen.
    • Currently, the plugin only displays horizontal menus. In the future I will add in options to display vertical menus.

    Drop-Down Menu Types

    The advantage of both Tinydropdown and Sexydropdown is that their associated javascripts are tiny. Menumatic uses MooTools so it has a larger javascript footprint, but it also has some great drop-down menu effects, and it follows some of the best practices in drop-down menu design.

    Create and Assign a Menubar

    The menubar interface is just the standard Menus interface that comes with WordPress native (since 3.0).

    1. To create a menubar, go into Appearance >> Menus.
    2. Add in a menu name and hit the Create Menu button. This will create the menu object and now you may add elements to it.
    3. To add category, page, or archive trees simply go to the Custom Links menu and enter categories, pages, or achive as the URL. Also enter a Label of your choice.
    4. Once you are done, click on the Add to Menu button. This will add the archive tree to your menubar.
    5. Add other menubar elements. Once you are done remember to click on the Save Menu button to save your menubar.
    6. Now you may assign the menubar to your blog. There are two ways to achieve this:
      • Theme Locations – Some themes provide special theme menubar locations. Often these areas are highly styled. If Theme Locations are supported, it will show up on the Theme Locations interface on the Appearance >> Menus screen. Just assign your new menubar using the Theme Locations interface and click on Save.
      • Custom Menu Widget – WordPress native also comes with a Custom Menu Widget. You may also assign your menubar by dropping this widget in the proper widget area within your theme.

    Theme Menubar Style

    Most themes already have highly styled menubar areas. As a result, the plugin menubar may not display properly due to style collisions between theme and plugin.

    Here is a simple trick to remove all theme CSS stylings so that the Shiba Menubar skins are properly applied -

    <script type="text/javascript" >
    jQuery('#access').attr("id","new-access");
    </script>
    

    In the code above, CSS stylings for the TwentyTen menubar are removed by reassigning the menubar div (#access) to something else (#new-access).

    Here is an example of the TwentyTen theme using the Menumatic script and Black menubar skin.

    The Shiba Menubar Plugin has inbuilt style conditions for the following themes (i.e., the plugin will work out of the box for the themes below) -

    Other themes may require some tweaking.

    Future Work

    • Add vertical menus.
    • Set menubar entries to be fixed or variable width.
    • Set menubar skin on a widget by widget level.
    • Allow certain categories, pages, or archives to be excluded.

    Shiba Menubar Plugin Updates

    • Shiba Menubar 1.1

      October 29th, 2010

      • Added two new drop-down menu scripts – Tinydropdown and Sexydropdown.
      • Added menubar skinning capabilities. You can now apply different skins to your menubar.
      • Easily change menubar scripts and skins through the Appearance >> Shiba Menus screen.

    Download Shiba Menubar Plugin

    Related Articles

    8 Comments
    1. Hi. I have installed your menubar plugin and thank you – I love that it allows a category drop down tree! Just what I was looking for.

      I would like to leave the background of the menubar just as pink (to match my branding) so I have selected “none” there. Is there some way I can tweak the Text colour? It is currently displaying in BRIGHT BLUE which is somewhat awkward to read and I would love to see just plain old black here :) I tried adjusting in the plugin editor but ended up deactivating the plugin.. I have reverted back and reactivated but not sure how to proceed.

      Thanks in advance for the help!!

      8:12 pm on January 18th, 2012 Reply
      • Currently the menubar links simply default to the link color of the theme. You can use CSS to change the link color. For example -
        .shiba-menubar a { color: #000; }

        10:31 am on January 23rd, 2012 Reply
    2. Hi
      will you tell me how to remove menu bar in my blog.it was in built menu bar in the theme.and iam removed the custom menu bar in blog but it always displaying.

      please feel fre to give currect suggestion for me and your blog information is awsome. i like it very much.

      10:32 am on May 20th, 2011 Reply
      • That would depend on what theme you are using and how they implement menubars.

        If the theme is using the standard menus within WordPress (under Appearance >> Menus), then simply go in there, create an empty menubar and assign that to the theme.

        Otherwise, you can also use CSS to suppress the menubar from being shown (by using display:none or visibility:hidden. However, it will be more efficient to comment out the menubar code from the relevant theme PHP file.

        10:49 am on May 27th, 2011 Reply
    3. fwunder

      Just to follow up…

      I realized I do not need the WP menubar plugin.

      If I “view widget set” from “edit widget set” everything looks perfect. When I go back to published pages/posts, menubar does not appear but by sidebar widget settings do.

      Thanks.

      4:22 pm on March 20th, 2011 Reply
      • fwunder

        Following up on my followup.

        It seems (in my case) I am failing the Menubar Widget test:

        if ($shiba_theme->num_widgets['Menubar'])

        If I comment that test out of header.php, the menubar displays correctly. Thanks for listening! ;)

        6:47 am on March 21st, 2011 Reply
    4. fwunder

      Hi!

      Absolutely the most creative stuff yet I have seen with WordPress! Kudos.

      I am having a problem with Menu Bars. I installed the theme Shiba Theme, Shiba Menubar Plugin, Shiba Widgets.

      WordPress 3.1.

      I figured I needed the Menubar plugin also? I install that and it keeps saying “To complete your installation, please create the folder wp-content/plugins/menubar-templates and upload at least one Menubar template”

      I must be missing something, because I can’t can’t any menubar to show up.

      Probably something simple I am missing?

      Thanks.

      2:30 pm on March 20th, 2011 Reply

    Leave a Reply

    Your email address will not be published.

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

    search button search button
    rss