This plugin is outdated and might not be supported anymore
WP Featured Menus

WP Featured Menus

By Topher
Details
View on WordPress

This plugin provides a metabox on posts and pages listing existing WordPress Menus. The end user is allowed to choose one and make it associated with the post or page via meta data.

Practically speaking, Featured Menus work exactly like Featured Images. The Post or Page and Featured Menu are merely attached, and you must use a template tag or WordPress functions to render the Menu.

Please see Other Notes for examples.

Usage

Page or Post meta has a key called _wp_featured_menu. A very simple way to render the menu is like this:

<?php
    $meta = get_post_custom();
    wp_nav_menu( array( 'menu' => $meta['_wp_featured_menu'][0] ) );
?>

A better way might be to test for the value first:

<?php
    $meta = get_post_custom();
    if ( is_numeric( $meta['_wp_featured_menu'][0] ) ) {
        wp_nav_menu( array( 'menu' => $meta['_wp_featured_menu'][0] ) );
    }
?>

Details

Plugin code:
wp-featured-menus
Plugin version:
1.3.1
Author:
Outdated:
Yes
WP version:
3.0 or higher
PHP version:
or higher
Test up to WP version:
4.3.34
Total installations:
10
Last updated:
2015-08-21
Rating:
Times rated:
0
featured
menus
pages
posts