Questo plugin non è stato testato con le ultime 3 versioni principali (major releases) di WordPress. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

ng-wp-rest

Descrizione

Easy to use plugin for displaying prettier json data for menus, widgets and sidebars.

I’ve got an idea/fix for the template

If you would like to contribute to this template then please fork it and send a pull request. I’ll merge the request if it fits into the goals for the template

Installazione

  1. Upload ng-wp-rest to the /wp-content/plugins/ directory.
  2. That is it this plugin just defines some simple rest endpoints for you blog.

FAQ

Installation Instructions
  1. Upload ng-wp-rest to the /wp-content/plugins/ directory.
  2. That is it this plugin just defines some simple rest endpoints for you blog.
How does it work?

Simply install it and visit the endpoints defined

Menus

  • http://{url}/wp-json/ng-menu-route/v2/menus/{id}
  • http://{url}/wp-json/ng-menu-route/v2/menus
  • http://{url}/wp-json/ng-menu-route/v2/menu-locations/header-menu
  • http://{url}/wp-json/ng-menu-route/v2/menu-locations

Widgets

  • http://{url}/wp-json/ng-widget-route/v2/widgets/{id}
  • http://{url}/wp-json/ng-widget-route/v2/widgets

Sidebars

  • http://{url}/wp-json/ng-sidbar-route/v2/sidebars/{id}
  • http://{url}/wp-json/ng-sidebar-route/v2/sidebars

Custom Post Types

  • http://{url}/wp-json/ng-post-type-route/v2/post-types/{name}
  • http://{url}/wp-json/ng-post-type-route/v2/post-types/

Meta Fields for sidebars shows on Post and Page default endpoints

  • "meta-fields":
    {
    "sidebar":["Right Sidebar"]
    }

Recensioni

Leggi la recensione di 1

Contributi e sviluppo

“ng-wp-rest” è un software open source. Le persone che hanno contribuito allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

Traduci “ng-wp-rest” nella tua lingua.

Ti interessa lo sviluppo?

Esplora il Codice segui il Repository SVN iscriviti al Log delle Modifiche. Puoi farlo tramite RSS con un lettore di feed.

Changelog (registro delle modifiche)

1.0

  • 02-21-2018
  • Initial release

1.2.1

  • 02-24-2018
  • Updates to endpoints and small bug fix

1.2.2

  • 02-24-2018
  • Custom post types bug fix

1.5.0

  • 03-26-2018
  • Custom post types fix
  • Separated Code into more classes