Title: WP Featured Menus
Author: Topher
Published: <strong>23 birželio, 2014</strong>
Last modified: 21 rugpjūčio, 2015

---

Ieškoti įskiepiuose

Šis įskiepis **nebuvo išbandytas su 3 vėliausiomis WordPress versijomis**. Jis tikriausiai
nėra prižiūrimas ir palaikomas, todėl gali neveikti su naujausiomis WordPress versijomis.

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

# WP Featured Menus

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

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

 * [Informacija](https://lt.wordpress.org/plugins/wp-featured-menus/#description)
 * [Atsiliepimai](https://lt.wordpress.org/plugins/wp-featured-menus/#reviews)
 *  [Diegimas](https://lt.wordpress.org/plugins/wp-featured-menus/#installation)
 * [Kūrimas](https://lt.wordpress.org/plugins/wp-featured-menus/#developers)

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

## Aprašymas

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] ) );
        }
    ?>
    ```

## Ekrano nuotraukos

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

## Diegimas

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.

## DUK

  Why don’t you have more questions here?

I haven’t been asked any yet. 🙂

## Atsiliepimai

Įskiepis neturi atsiliepimų.

## Programuotojai ir komandos nariai

“WP Featured Menus” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės
surašyti toliau.

Autoriai

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

[Išverskite “WP Featured Menus” į savo kalbą.](https://translate.wordpress.org/projects/wp-plugins/wp-featured-menus)

### Domina programavimas?

[Peržiūrėkite kodą](https://plugins.trac.wordpress.org/browser/wp-featured-menus/),
naršykite [SVN repozitorijoje](https://plugins.svn.wordpress.org/wp-featured-menus/),
arba užsiprenumeruokite [kodo pakeitimų žurnalą](https://plugins.trac.wordpress.org/log/wp-featured-menus/)
per [RSS](https://plugins.trac.wordpress.org/log/wp-featured-menus/?limit=100&mode=stop_on_copy&format=rss).

## Pakeitimų istorija

#### 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.

## Metainformacija

 *  Version **1.3.1**
 *  Atnaujinta **prieš 11 metų**
 *  Aktyvių instaliacijų **10+**
 *  WordPress versija ** 3.0 ar naujesnė **
 *  Ištestuota iki **4.3.34**
 *  Kalba
 * [English (US)](https://wordpress.org/plugins/wp-featured-menus/)
 * Žymos
 * [featured](https://lt.wordpress.org/plugins/tags/featured/)[menus](https://lt.wordpress.org/plugins/tags/menus/)
   [pages](https://lt.wordpress.org/plugins/tags/pages/)[posts](https://lt.wordpress.org/plugins/tags/posts/)
 *  [Daugiau](https://lt.wordpress.org/plugins/wp-featured-menus/advanced/)

## Įvertinimai

No reviews have been submitted yet.

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

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

## Autoriai

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

## Pagalba

Turite pastabų? Reikia pagalbos?

 [Peržiūrėti pagalbos forumą](https://wordpress.org/support/plugin/wp-featured-menus/)