Title: WP Featured Menus
Author: Topher
Published: <strong>23. juni, 2014</strong>
Last modified: 21. august, 2015

---

Søg plugins

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://s.w.org/plugins/geopattern-icon/wp-featured-menus.svg)

# WP Featured Menus

 Af [Topher](https://profiles.wordpress.org/topher1kenobe/)

[Download](https://downloads.wordpress.org/plugin/wp-featured-menus.1.3.1.zip)

 * [Detaljer](https://da.wordpress.org/plugins/wp-featured-menus/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/wp-featured-menus/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/wp-featured-menus/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/wp-featured-menus/#developers)

 [Support](https://wordpress.org/support/plugin/wp-featured-menus/)

## Beskrivelse

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](https://wordpress.org/plugins/wp-featured-menus/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] ) );
        }
    ?>
    ```

## Skærmbilleder

[⌊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.⌉[

The Featured Menus meta box when you _do not_ have any Menus created in WordPress.

[⌊The Featured Menus meta box when you do have Menus created in WordPress.⌉⌊The 
Featured Menus meta box when you do have Menus created in WordPress.⌉[

The Featured Menus meta box when you _do_ have Menus created in WordPress.

## Installation

This section describes how to install the plugin and get it working.

 1. Upload the `wp-featured-menus` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Create new or Edit a Post.

## FAQ

  Why don’t you have more questions here?

I haven’t been asked any yet. 🙂

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“WP Featured Menus” er open source-software. Følgende personer har bidraget til 
dette plugin.

Bidragsydere

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

[Oversæt “WP Featured Menus” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/wp-featured-menus)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/wp-featured-menus/),
tjek [SVN repository](https://plugins.svn.wordpress.org/wp-featured-menus/), eller
abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/wp-featured-menus/)
via [RSS](https://plugins.trac.wordpress.org/log/wp-featured-menus/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.3.1

Check for WP 4.0

#### 1.3

 * Minor code validation changes. No change in UI or functionality

#### 1.2

 * ONE MORE variable change. Last one, I promise.

#### 1.1

 * change meta key name to not start with _wp
 * change main class name to not start with WP

#### 1.0

 * Initial release.

## Meta

 *  Version **1.3.1**
 *  Senest opdateret **11 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 3.0 eller højere **
 *  Testet op til **4.3.34**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/wp-featured-menus/)
 * Tags
 * [featured](https://da.wordpress.org/plugins/tags/featured/)[menus](https://da.wordpress.org/plugins/tags/menus/)
   [pages](https://da.wordpress.org/plugins/tags/pages/)[posts](https://da.wordpress.org/plugins/tags/posts/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/wp-featured-menus/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Din anmeldelse](https://wordpress.org/support/plugin/wp-featured-menus/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/wp-featured-menus/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/wp-featured-menus/)