Title: WP-REST-API Menus
Author: jcdev518
Published: <strong>19. 3. 2018</strong>
Last modified: 26. 3. 2018

---

Prohledat pluginy

Plugin **nebyl testován na 3 nejnovějších verzích WordPressu.** Nemusí už být tedy
podporován a u novějších verzí WordPressu může mít problémy s kompatibilitou a může
být nestabilní.

![](https://ps.w.org/wp-rest-api-menus/assets/icon-128x128.jpg?rev=1842417)

# WP-REST-API Menus

 Autor: [jcdev518](https://profiles.wordpress.org/jcdev518/)

[Stáhnout](https://downloads.wordpress.org/plugin/wp-rest-api-menus.zip)

 * [Podrobnosti](https://cs.wordpress.org/plugins/wp-rest-api-menus/#description)
 * [Hodnocení](https://cs.wordpress.org/plugins/wp-rest-api-menus/#reviews)
 *  [Instalace](https://cs.wordpress.org/plugins/wp-rest-api-menus/#installation)
 * [Vývojáři](https://cs.wordpress.org/plugins/wp-rest-api-menus/#developers)

 [Podpora](https://wordpress.org/support/plugin/wp-rest-api-menus/)

## Popis

This plugin adds „routes“ or „endpoints“ to WP REST API that allows for retrieval
of
 menu data as JSON.

Updated port of „WP-REST-API V2 Menus“ by Claudio La Barbera (http://www.claudiolabarbera.
com)

**Usage**

**Get all registered menus:**

    ```
    GET /wp-menus/v1/menus
    https://yourwpsite.com/wp-json/wp-menus/v1/menus
    ```

**Get menu data as JSON from menu slug:**

    ```
    GET /wp-menus/v1/menus/{slug}
    https://yourwpsite.com/wp-json/wp-menus/v1/menus/{slug}
    ```

Gets the contents of a registered menu by its „slug“.

When assigning a menu a location in /wp-admin/nav-menus.php?action=locations
 the
slug is the name of the menu in lowercase and without any spaces like a post slug.

If your menu name is Main Menu:
 https://yourwpsite.com/wp-json/menus/v1/wp-menus/
main-menu

## Instalace

There are no requirements other than WordPress and one active menu. Installation
is simple:

 1. Upload the `wp-rest-api-menus` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‚Plugins‘ menu in WordPress

## Nejčastější dotazy

  Installation Instructions

There are no requirements other than WordPress and one active menu. Installation
is simple:

 1. Upload the `wp-rest-api-menus` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‚Plugins‘ menu in WordPress

  How do I use this plugin?

It creates a JSON interpretation of any „registered“ menu mainly for front-end use.
If you have any questions feel free to contact me: https://www.amorphouswebsolutions.
com/contact/

## Recenze

Pro tento plugin nejsou žádné recenze.

## Autoři

WP-REST-API Menus je otevřený software. Následující lidé přispěli k vývoji tohoto
pluginu.

Spolupracovníci

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

[Přeložte “WP-REST-API Menus” do svého jazyka.](https://translate.wordpress.org/projects/wp-plugins/wp-rest-api-menus)

### Zajímá vás vývoj?

[Prohledejte kód](https://plugins.trac.wordpress.org/browser/wp-rest-api-menus/),
podívejte se do [SVN repozitáře](https://plugins.svn.wordpress.org/wp-rest-api-menus/),
nebo se přihlaste k[ odběru protokolu vývoje](https://plugins.trac.wordpress.org/log/wp-rest-api-menus/)
pomocí [RSS](https://plugins.trac.wordpress.org/log/wp-rest-api-menus/?limit=100&mode=stop_on_copy&format=rss).

## Přehled změn

#### 1.0

 * Requires PHP 5.6x at the very least.

## Meta

 *  Verze **1.0**
 *  Poslední aktualizace **před 8 roky**
 *  Aktivních instalací **80+**
 *  Verze WordPressu ** 4.7.0 nebo novější **
 *  Testováno až do WordPressu **4.9.29**
 *  Verze PHP ** 5.6 nebo novější **
 *  Jazyk
 * [English (US)](https://wordpress.org/plugins/wp-rest-api-menus/)
 * Štítků
 * [JSON](https://cs.wordpress.org/plugins/tags/json/)[json rest api](https://cs.wordpress.org/plugins/tags/json-rest-api/)
   [menus](https://cs.wordpress.org/plugins/tags/menus/)[wp-api](https://cs.wordpress.org/plugins/tags/wp-api/)
   [wp-rest-api](https://cs.wordpress.org/plugins/tags/wp-rest-api/)
 *  [Podrobnosti](https://cs.wordpress.org/plugins/wp-rest-api-menus/advanced/)

## Hodnocení

Zatím nebyly zadány žádné recenze.

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

[Zobrazit všechny recenze](https://wordpress.org/support/plugin/wp-rest-api-menus/reviews/)

## Spolupracovníci

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

## Podpora

Potřebujete pomoc?

 [Fórum podpory](https://wordpress.org/support/plugin/wp-rest-api-menus/)

## Dary

Chtěli byste podpořit vývoj tohoto pluginu?

 [ Přispět na tento plugin ](https://amorphouswebsolutions.com/plugins)