Title: Menu In Menu
Author: wizzud
Published: <strong>2016년 4월 2일</strong>
Last modified: 2016년 4월 2일

---

플러그인 검색

![](https://ps.w.org/menu-in-menu/assets/banner-772x250.png?rev=1385572)

이 플러그인은 **최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다**. 워드프레스의
좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 
있을 수 있습니다.

![](https://ps.w.org/menu-in-menu/assets/icon-256x256.png?rev=1385572)

# Menu In Menu

 작성자: [wizzud](https://profiles.wordpress.org/wizzud/)

[다운로드](https://downloads.wordpress.org/plugin/menu-in-menu.1.0.0.zip)

 * [세부사항](https://ko.wordpress.org/plugins/menu-in-menu/#description)
 * [평가](https://ko.wordpress.org/plugins/menu-in-menu/#reviews)
 *  [설치](https://ko.wordpress.org/plugins/menu-in-menu/#installation)
 * [개발](https://ko.wordpress.org/plugins/menu-in-menu/#developers)

 [지원](https://wordpress.org/support/plugin/menu-in-menu/)

## 설명

This plugin enables a Custom Menu to “include” any other Custom Menu, so groups 
of items that get repeated across multiple menus can be defined just once and then
included into any other menu at will.

If you have a set of menu items that you repeat across several menus, it can be 
a bit of a pain when
 one of that set needs updating and you have to go through 
all your menus changing each one.

This plugin allows you to define the subset of items as a separate menu, and then
include that menu
 into any other menu. If you then need to maintain one of the 
items in the subset, you only need to update one menu, and the change automatically
gets reflected in all the other menus that include that subset!

It’s as easy to use as adding a Post, Page, Category or Tag to your menu…

With the plugin activated, go to your Menus page in admin.
 As well as being able
to add Posts, Categories, etc, to your menu, you should now see a metabox for **
Navigation Menus** which has checkboxes for each of your defined Menus (if you don’t
see the metabox, check your Screen Options settings at the top of the page). All
you need to do is create your submenu (as you would any other menu), open the menu
you want to insert the new submenu into, select the submenu from the Navigation 
Menus metabox, Add it, and position it. Save and you’re done!

The inserted Menu _replaces_ the Navigation Menu item in the menu. You can insert
multiple instances of the
 same submenu into one menu, and you can include a submenu
into as many other menus as you need.

#### Perpetual Loops

The one thing that the plugin guards against is getting into a never-ending loop:
it won’t prevent you
 setting one up (see FAQs as to why), but it _will not_ output
any submenu that has itself as an antecedent.

For example, you can set up menus such that Menu A includes Menu B, which includes
Menu C. Fine, no problem.
 However, if you were to also add Menu B into Menu C as
a Navigation Menu item, then no matter which menu you choose to output, you have
a potential loop (… B, includes C, includes B, includes C, … and so on).

If WP_DEBUG is enabled, the plugin will print a warning wherever it has taken action
to prevent a loop condition.
 This behaviour can be changed by hooking into a filter(
see FAQs).

#### Frontend Only

The plugin only performs the menu replacement at the frontend of WordPress (ie. 
not on Admin pages).
 This behaviour can be changed by hooking into a filter (see
FAQs), but please ensure that you do **not** enable it for the Menus admin page!

## 스크린샷

[⌊Navigation Menus metabox⌉⌊Navigation Menus metabox⌉[

Navigation Menus metabox

## 설치

Install and activate via ‘Plugins > Add New’ in your WP Admin.

## FAQ

If you have a question or problem that is not covered here, please use the [Support forum](https://wordpress.org/support/plugin/menu-in-menu).

  Why can’t I see the Navigation Menus metabox on the Menus page?

Check your Screen Options (top of the page). Screen Options give you the ability
to turn off/on metaboxes,
 and it’s possible that Naviagtion Menus is turned off:
just activate the checkbox in Screen Options and the Navigation Menus metabox should
appear (assuming the plugin is activated, of course).

  Why isn’t an included menu appearing in the menu I put it in?

It’s possible that the inclusion might have created a perpetual loop, and the plugin
won’t allow that – it
 simply refuses to output any menu that is contained within
itself (ie. has itself as an antedecent). If you enable WP_DEBUG you will see a 
message _if_ the plugin has taken action to prevent a perpetual loop. If it’s not
a perpetual loop situation then it may be that another plugin is getting in the 
way. And that is a lot harder to resolve!

  Why doesn’t the plugin stop me setting up a perpetual loop?

Because they have the potential to be used deliberately.
 Take an example where 
Menu A includes Menu B, and Menu includes Menu A. If you output Menu A, you’ll get
Menu A with Menu B included. If you output Menu B, you’ll get Menu B with Menu A
included. They may be occasions where this is useful.

  How do I resolve an unintended perpetual loop?

Enable WP_DEBUG and check the message produced by the plugin. Part of the message
gives the names of menus
 that have included one another, the last one being the
one that would have caused the loop. Somewhere preceding it you should see the same
menu name. The first name was the menu that was requested to be displayed, and it
included the 2nd, which in turn included the 3rd, etc. You can use this to determine
how you need to restructure your menus so as to avoid any perpetual loops.

  Can I prevent the notification of a perpetual loop, while keeping WP_DEBUG enabled?

Yes, there’s a filter you can hook into. Add the following code (modified to suit)
to your theme’s
 functions.php (or wherever you feel is more appropriate)…

    ```
    add_filter( 'mim_notify_recursion', your_function_name );
    function your_function_name( $notify ) { return false; }
    ```

By default, `$notify` is **false** _unless_ WP_DEBUG is enabled.

  Can I get notification of perpetual loops without having to enable WP_DEBUG?

This is the flip side of the previous question,
 and you simply need to return **
true** – instead of false – from a ‘mim_notify_recursion’ filter (see above).

  Can I enable the menu replacement for Admin pages?

Yes, there’s a filter you can hook into. Add the following code (modified to suit)
to your theme’s
 functions.php (or wherever you feel is more appropriate)…

    ```
    add_filter( 'mim_expand_menus', your_function_name );
    function your_function_name( $expand, $current_screen ) {
      //ex. enables everywhere except Menus admin page...
      return $expand || empty( $current_screen ) || $current_screen != 'nav-menus';
    }
    ```

By default, `$expand` is **true** _unless_ running Admin.

## 후기

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

### 󠀁[Works well with latest WordPress](https://wordpress.org/support/topic/works-well-with-latest-wordpress/)󠁿

 [Enterprise Branding](https://profiles.wordpress.org/enterprisebranding/) 2020년
3월 25일

I just want to share that this plugin still works well with the latest Wordpress,
and I have been using it for quite some time.

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

### 󠀁[Awesome! Should be in core WordPress](https://wordpress.org/support/topic/awesome-should-be-in-core-wordpress/)󠁿

 [datafeedr](https://profiles.wordpress.org/datafeedrcom/) 2018년 6월 20일

This is so useful and I was surprised that this didn't already exist in core. Thanks
for building it!

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

### 󠀁[Thank you!](https://wordpress.org/support/topic/thank-you-1296/)󠁿

 [Anonymous User 15122127](https://profiles.wordpress.org/anonymized-15122127/) 
2017년 3월 21일

Have been looking for something like this for a long time. Perfect for large sites
with multiple editors.

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

### 󠀁[Works beautifully](https://wordpress.org/support/topic/works-beautifully-82/)󠁿

 [edmonds_bob](https://profiles.wordpress.org/edmonds_bob/) 2016년 9월 3일

I am using Menu in Menu in a fairly simple situation, and so far, it works perfectly.
The idea of a menu actually built from subset menus is a very powerful one, and 
ultimately, a huge time saver. I wish this plugin had existed years ago — it would
have saved me many hours of work. A big 'Thank you!' to all the developers.

 [ 모든 4 평가 읽기 ](https://wordpress.org/support/plugin/menu-in-menu/reviews/)

## 기여자 & 개발자

“Menu In Menu”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

 *   [ wizzud ](https://profiles.wordpress.org/wizzud/)

[자국어로 “Menu In Menu”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/menu-in-menu)

### 개발에 관심이 있으십니까?

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/menu-in-menu/)는, [SVN 저장소](https://plugins.svn.wordpress.org/menu-in-menu/)
를 확인하시거나, [개발 기록](https://plugins.trac.wordpress.org/log/menu-in-menu/)
을 [RSS](https://plugins.trac.wordpress.org/log/menu-in-menu/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 변경이력

#### 1.0.0

 * Initial release

## 기초

 *  버전 **1.0.0**
 *  최근 업데이트: **10년 전**
 *  활성화된 설치 **200+**
 *  워드프레스 버전 ** 4.3 또는 그 이상 **
 *  다음까지 시험됨: **4.5.33**
 *  언어
 * [English (US)](https://wordpress.org/plugins/menu-in-menu/)
 * 태그:
 * [menu](https://ko.wordpress.org/plugins/tags/menu/)
 *  [고급 보기](https://ko.wordpress.org/plugins/menu-in-menu/advanced/)

## 평점

 별 5점 만점에 5점.

 *  [  4/5-별점 후기     ](https://wordpress.org/support/plugin/menu-in-menu/reviews/?filter=5)
 *  [  0/4-별점 후기     ](https://wordpress.org/support/plugin/menu-in-menu/reviews/?filter=4)
 *  [  0/3-별점 후기     ](https://wordpress.org/support/plugin/menu-in-menu/reviews/?filter=3)
 *  [  0/2-별점 후기     ](https://wordpress.org/support/plugin/menu-in-menu/reviews/?filter=2)
 *  [  0/1-별점 후기     ](https://wordpress.org/support/plugin/menu-in-menu/reviews/?filter=1)

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

[모든  리뷰 보기](https://wordpress.org/support/plugin/menu-in-menu/reviews/)

## 기여자

 *   [ wizzud ](https://profiles.wordpress.org/wizzud/)

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/menu-in-menu/)

## 기부

이 플러그인이 발전하도록 도우시겠습니까?

 [ 이 플러그인에 기부하기 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KP2LVCBXNCEB4)