Title: Widget Menuizer
Author: cornershop
Published: <strong>20 de setembre de 2014</strong>
Last modified: 3 de desembre de 2025

---

Buscar complements

![](https://ps.w.org/widget-menuizer/assets/banner-772x250.png?rev=1681383)

![](https://ps.w.org/widget-menuizer/assets/icon.svg?rev=1681383)

# Widget Menuizer

 Per [cornershop](https://profiles.wordpress.org/cornershop/)

[Baixar](https://downloads.wordpress.org/plugin/widget-menuizer.zip)

 * [Detalls](https://ca-valencia.wordpress.org/plugins/widget-menuizer/#description)
 * [Ressenyes](https://ca-valencia.wordpress.org/plugins/widget-menuizer/#reviews)
 *  [Instal·lació](https://ca-valencia.wordpress.org/plugins/widget-menuizer/#installation)
 * [Desenvolupament](https://ca-valencia.wordpress.org/plugins/widget-menuizer/#developers)

 [Suport](https://wordpress.org/support/plugin/widget-menuizer/)

## Descripció

Anything you can do with a widget can now be done inside your menus!

Widget Menuizer makes WordPress menus even more powerful, allowing for easy creation
of custom “mega menus” and other fanciness without completely overhauling the menu
management system into something unrecognizable.

Upon activation, navigate to the menu management screen under _Appearance > Menus_,
and you’ll find a new option for _Sidebars_ under the familiar Pages, Posts, Links,
Categories and Tags list. Here, you can view all the sidebar regions that exist 
in your currently-active theme. Simply check a box to add a sidebar into your menu
the same way you would for any other menu item.

Once in your menu, you’ll see a new option for “Container Element,” which specifies
which HTML tag is wrapped around the sidebars that are output into the menu.

While running Widget Menuizer you also get the ability to define new sidebar regions
right from the _Appearance > Widgets_ admin screen (when using WordPress prior to
5.8, or 5.8 in conjection with the Classic Widgets plugin), so you can easily create
new regions just for including in your menus without having to write any custom 
code for your theme.

Note for users of WordPress 5.8 and above: This plugin still works for injecting
regions into menus, but you need to run the “Classic Widgets” plugin in order to
create new Widget Areas via the admin.

**Important:** Because it’s possible to put menu widgets inside sidebars, you may
see a warning notice if the sidebar region you’ve put in your menu contains a menu
widget. This is because you may have inadvertently created a recursion: if the menu
contained in your sidebar is the same menu your sidebar is placed in, you’ll have
an infinite loop that will do bad, bad things. So be careful.

**New in 1.0** Widget Menuizer now gives site administrators the ability to control
the direction widgets flow within the menu, either horizontally or vertically.

**New in 0.6:** Widget Menuizer now provides a way for site administrators to create
new Sidebars on the fly from the Widget admin! Now you can create new sidebars for
use in your menus without having to edit your theme files or use some other plugin
to let you register new sidebars.

## Captures

 * [[
 * After installation and activation, “Sidebars” should appear as an option in the
   menu management screen.
 * [[
 * Adding a sidebar region from the left-hand column will add it the menu, with 
   several sidebar-specific menu options, including Label Display and Container 
   Element.
 * [[
 * Options for displaying the menu item’s “Navigation Label” — in many cases it’ll
   be best to set as “None”.
 * [[
 * Options for the HTML5 element used to contain the sidebar region. What you choose
   here depends on your theme and CSS; you will probably want to set this to whatever
   wrapper element the sidebar is usually displayed within for optimal appearance.
   Regardless, you’ll probably need to add some CSS to get it looking exactly how
   you want.

## Instal·lació

 1. Upload the `widget-menuizer` directory to your plugins directory (typically wp-
    content/plugins)
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Visit Appearance > Menus to add sidebars to your menus (you might have to go into
    Screen Options to show the Sidebars option)

## PMF

### Why would I want to do this?

The menu system in WordPress is a powerful but underutilized feature. “Menus” aren’t
limited to just regular navigation menus, for example — they can also be great for
things like social media icon links.

But the WordPress menu system is also somewhat limited, in that it generally only
offers options for links to individual posts (of all types), categories and tags,
in addition to a fairly generic “Link” option. If you wanted to have a nice rich
dropdown menu that showed some images, descriptions, or anything beyond just a link,
you had to resort to something drastic.

With Widget Menuizer, it’s easy to build “megu menus” that have whatever you want
in them, because the Widget system itself is so incredibly flexible. With this plugin,
you can put anything you can put into a widget into a menu — which is just about
anything at all.

### Why am I seeing an ‘infinite loop’ warning in my menuized sidebar?

Because sidebars can contain menus and menus can now contain sidebars, it’s possible
to accidentally create a problem where WordPress gets stuck in a loop outputting
a menu inside a sidebar inside a menu inside a sidebar… etc. The warning message
simply indicates that your sidebar contains a menu widget and thus _might_ cause
such a recursion. At this time, Widget Menuizer can’t actually tell if your sidebar
contains the exact same menu the sidebar has been placed into — just that there’s
some menu in it somewhere.

If the menu widget your sidebar contains is for a different menu than the one your
sidebar is living in, you can safely ignoring the warning. If it’s the same menu,
however, you’ll need to make an adjustment or you’ll break your site!

### I changed themes and my sidebar disappeared from my menu. What gives?!

Because the contents of sidebar regions are tied to particular themes (different
themes have different regions, after all), if you place a sidebar that belongs to
one theme into your menu, and then change themes, the sidebar will not be shown 
in your menu. _Only sidebars from the active theme can be displayed._

If you’re using a child theme and its regions are defined in the parent, everything
should work fine — so long as you configured the _contents_ of those regions in 
the currently-active (child) theme.

### I don’t see ‘Sidebars’ as an option in the left-hand column of the Edit Menus page after activating this. Where is it?

In the upper right corner of your window, click on ‘Screen Options’ and make sure
the Sidebars box is checked.

### How can I create a sidebar specifically for use in a menu that doesn’t appear elsewhere in my theme? All my theme’s sidebars are used elsewhere.

Now with version 0.6 of Widget Menuizer, when you go to _Appearance > Widgets_, 
you have the option to “Add a New Sidebar.” Use the form to create as many new sidebar
regions as you want, which you can then insert into your menus like any other sidebars.
These sidebars you create won’t appear elsewhere on your site, so they’re ideal 
for populating custom menus.

### How can I make my child menu items show on hover?

If your theme doesn’t natively support showing child menu items on hover, we’ve 
got you covered! Starting with version 1.0, in the WordPress admin you can go to
Settings > Widget Menuizer and check the “Show on Hover?” option.

## Ressenyes

![](https://secure.gravatar.com/avatar/3099fedbf9ac7e1f03a1f8fffb36647f1b6fdc691b998c0a48b544d2f6b09e52?
s=60&d=retro&r=g)

### 󠀁[Menu inactive](https://wordpress.org/support/topic/menu-inactive/)󠁿

 [egocefalo](https://profiles.wordpress.org/egocefalo/) 13 de novembre de 2022

This sidebar cannot be displayed as it is not from the currently active theme. The
sidebar it’s from the active theme, also the plugin generated sidebars give the 
same error. Looked on support for a fix, found a topic with the same exact problem
with no answers and closed. So…

![](https://secure.gravatar.com/avatar/e3e603e096a0e29751af85f45357a1331db67adfa044409f7ae02cec58e3833c?
s=60&d=retro&r=g)

### 󠀁[Simple. Perfect. Powerful.](https://wordpress.org/support/topic/simple-perfect-powerful/)󠁿

 [creativeincomeopportunities](https://profiles.wordpress.org/creativeincomeopportunities/)
28 de febrer de 2021 1 reply

I was going a little squirrelly as I needed to get widget content from another plugin
into a custom menu system I was building. While a short-code was available, I couldn’t
figure out how to easily get it into the menu system. I was about to set into another
lengthy coding session to make my requirements operational but then thought I can’t
be alone with this need. A quick search for ‘WordPress widget in menu’ brought me
here. Why this isn’t a default option in WordPress is beyond me, as it instantly
bridges the gap between sidebars, widgets and menus. This plugin instantly gave 
me access to building far more complicated and useful menu systems. The fact it 
allows me to create my own sidebars for inclusion in the menu system is icing on
the cake, as I can create unique groupings of widgets to include, without changing
the structure of existing work. Thank you Ben Byrne for creating and sharing this
extremely useful code. Cheers, Robin Ellins – Electric Applesauce

![](https://secure.gravatar.com/avatar/255796f8d07dac9ecae9a09ff89446067594186279dc2336fdd31e2b22c7b268?
s=60&d=retro&r=g)

### 󠀁[fantastic!](https://wordpress.org/support/topic/fantastic-2294/)󠁿

 [lawphoto](https://profiles.wordpress.org/lawphoto/) 20 de novembre de 2019

just put on my new site. works well.just what i needed. running wp Version 5.3

 [ Llegir totes les 6 ressenyes ](https://wordpress.org/support/plugin/widget-menuizer/reviews/)

## Col·laboradors i desenvolupadors

«Widget Menuizer» és programari de codi obert. La següent gent ha col·laborat en
este complement.

Col·laboradors

 *   [ cornershop ](https://profiles.wordpress.org/cornershop/)
 *   [ Xavier Serrano ](https://profiles.wordpress.org/xavierserranoa/)
 *   [ kenjigarland ](https://profiles.wordpress.org/kenjigarland/)

[Traduïx «Widget Menuizer» a la teua llengua.](https://translate.wordpress.org/projects/wp-plugins/widget-menuizer)

### T’interessa el desenvolupament?

[Revisa el codi](https://plugins.trac.wordpress.org/browser/widget-menuizer/) , 
dona una ullada al [repositori SVN](https://plugins.svn.wordpress.org/widget-menuizer/)
o subscriu-te al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/widget-menuizer/)
per [RSS](https://plugins.trac.wordpress.org/log/widget-menuizer/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

#### 1.1.3

 * Fixed an issue in v1.1.2 that could cause fatal errors, depending on whether 
   or not other plugins modified the load order of WordPress code files.

#### 1.1.2

 * Fixed a PHP warning regarding `_load_textdomain_just_in_time`.

#### 1.1.1

 * Fixed a bug that caused the Sidebars option not to appear on the Appearance >
   Menus screen.

#### 1.1.0

 * Fixed a conflict with the Advanced Custom Fields plugin that caused fields added
   to menu items not to appear on the Appearance > Menus screen.

#### 1.0.1

 * Bugfix: Checking existence of classes before defining them to avoid potential(
   but rare) fatal error.

#### 1.0

 * OOP refactoring of the whole codebase.
 * Introduced Admin Settings page under Settings > Widget Menuizer.
 * Added horizontal/vertical widget arrangement control.

#### 0.6

 * Introduced a new feature letting site administrators create new Sidebars from
   the widgets admin
 * Cleaned up some code

#### 0.5.8

 * Adding missing CSS class to correct appearance of settings sections in the WordPress
   menu editor

#### 0.5.7

 * Changing ‘Title Display’ to ‘Label Display’ to be more consistent with the element(‘
   Navigation Label’) it refers to

#### 0.5.6

 * Registering the metabox with the list of regions later in the hopes of catching
   any regions defined in the wrong hook
 * Eliminating an E_NOTICE-level error during output of $output being undefined

#### 0.5.5

 * Changing ‘attr_title’ from a textfield into an option to set where (or whether)
   to display the title. Also adding a ‘none’ option to the container.

#### 0.5

 * Initial public release.

## Meta

 *  Versió **1.1.3**
 *  Última actualització **fa 4 mesos**
 *  Instal·lacions actives: **700+**
 *  Versió de WordPress: ** 3.9.2 o posterior **
 *  Provat fins a **6.9.4**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/widget-menuizer/)
 * Etiquetes
 * [menus](https://ca-valencia.wordpress.org/plugins/tags/menus/)[sidebars](https://ca-valencia.wordpress.org/plugins/tags/sidebars/)
   [widgets](https://ca-valencia.wordpress.org/plugins/tags/widgets/)
 *  [Vista avançada](https://ca-valencia.wordpress.org/plugins/widget-menuizer/advanced/)

## Valoracions

 4.3 out of 5 stars.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/widget-menuizer/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/widget-menuizer/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/widget-menuizer/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/widget-menuizer/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/widget-menuizer/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/widget-menuizer/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/widget-menuizer/reviews/)

## Col·laboradors

 *   [ cornershop ](https://profiles.wordpress.org/cornershop/)
 *   [ Xavier Serrano ](https://profiles.wordpress.org/xavierserranoa/)
 *   [ kenjigarland ](https://profiles.wordpress.org/kenjigarland/)

## Suport

Tens alguna cosa a dir? Necessites ajuda?

 [Vore els fòrums de suport](https://wordpress.org/support/plugin/widget-menuizer/)