Conversation
supportI have a main menu setup in wordpress, and it shows up in my theme just fine. When I try to use your plugin (with v2 of WP API), it returns the menus, but when I try and get a specific menu, the items array is empty (even though the “count” property reports 24). Below is the JSON response I receive. Other than setting up a menu and assigning it as the “Primary Menu” is there anything else I need to do to get my menu items to show up in the API response? { "ID": 19, "name": "Main Menu", "slug": "main-menu", "description": "", "count": 24, "items": [], "meta": { "links": { "collection": "http:\/\/192.168.99.100:8080\/wp-json\/wp\/v2\/menus\/", "self": "http:\/\/192.168.99.100:8080\/wp-json\/wp\/v2\/menus\/19" } } } https://wordpress.org/plugins/wp-api-menus/
+1 – I have the exact same issue on WP 4.4.1 and WP API v2.
I reposted this issue on the Github repo .
I’ve submitted a pull request for this here: https://github.com/unfulvio/wp-api-menus/pull/20/files
Hello! dobbler31 , thank you for your fix! Could you please or someone to update version of this plugin to add users ability to install the updated version right from wp, i.e. https://downloads.wordpress.org/plugin/wp-api-menus.1.2.1.zip
I’ve updated the code / merged PRs on the Github repo https://github.com/unfulvio/wp-api-menus anyone reading this thread could you check it out from the master branch and let me know if issues are solved for all of you? thank you
+1 – I have the exact same issue on WP 4.4.1 and WP API v2.
I reposted this issue on the Github repo .
I’ve submitted a pull request for this here: https://github.com/unfulvio/wp-api-menus/pull/20/files
Hello! dobbler31 , thank you for your fix! Could you please or someone to update version of this plugin to add users ability to install the updated version right from wp, i.e. https://downloads.wordpress.org/plugin/wp-api-menus.1.2.1.zip
I’ve updated the code / merged PRs on the Github repo https://github.com/unfulvio/wp-api-menus anyone reading this thread could you check it out from the master branch and let me know if issues are solved for all of you? thank you