Home Plugins wp featured menus
WP Featured Menus logo

WP Featured Menus

by Topher on WordPress.org

Provides a metabox on posts and pages listing existing WordPress Menus.

(0)
The Featured Menus meta box when you do not have any Menus created in WordPress.

The Featured Menus meta box when you do not have any Menus created in 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:

 $meta['_wp_featured_menu'][0] ) );
?>

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

 $meta['_wp_featured_menu'][0] ) );
    }
?>
Active installations10+
Weekly downloads
7+16.67%
Version1.3.1
Last updated8/21/2015
WordPress version3.0
Tested up to4.3.34
Tags
featuredmenuspagesposts