Skip to content

Instantly share code, notes, and snippets.

@chrismccoy
Last active October 28, 2024 06:18
Show Gist options
  • Save chrismccoy/c0096824ef9f98387bfa to your computer and use it in GitHub Desktop.
Save chrismccoy/c0096824ef9f98387bfa to your computer and use it in GitHub Desktop.
WordPress REST API Resources
Disable REST Api without Plugins
https://rudrastyh.com/wordpress/disable-rest-api.html
Add featured image & alt text to WP REST API
https://allisontarr.com/2021/10/13/add-featured-image-alt-text-to-wp-rest-api/
Allow ALL cross origin requests to WordPress REST API
https://github.com/Shelob9/rest-all-cors
WordPress theme using Rest API and Vue.js
https://github.com/rtCamp/VueTheme
WordPress Post from Front End using REST API and Vue.js
http://jimfrenette.com/2017/01/post-from-front-end-wp-api-vuejs/
An offline-first SPA using Vue.js, the WordPress REST API and Progressive Web Apps
https://github.com/bstavroulakis/vue-wordpress-pwa
A next-generation WordPress theme built with the Rest API and Angular
https://github.com/bkirby989/WallaceTheme
Starter package for working with the WordPress REST API in an object-oriented fashion
https://github.com/inpsyde/WP-REST-Starter
Strapping React.js on a WordPress Backend: WP REST API Example
https://snipcart.com/blog/reactjs-wordpress-rest-api-example
Gets WP Posts via REST API
https://gist.github.com/bueltge/14c8eb4397352156de86ede1f9020a3f
How to make an Internal REST Request
https://gist.github.com/joehoyle/e7321570525af6daeae2
Post Likes using the REST API
https://gist.github.com/joehoyle/794e88a3a5d1ea39991a8e42e7ce5af7
How to Query Multiple Post Types with one Request using the WordPress REST API
https://torquemag.io/2017/08/how-to-query-multiple-post-types-with-one-request-to-the-wordpress-rest-api/
Using the Wordpress REST API without an extra http request
https://torquemag.io/2017/04/using-the-wordpress-rest-api-without-an-extra-http-request/
WordPress REST API Extension to allow query multiple post types
https://github.com/elevati/wp-api-multiple-posttype
Disable WP REST API requests for logged out users
https://gist.github.com/danielbachhuber/8f92af4c6a8db784771c
Decoupled APP powered by WordPress REST API built in Angular
https://github.com/caldera-learn/decoupled-wordpress-angular
ACF Fields which use the WordPress Rest API to load data
https://github.com/lucasstark/acf-api-fields
Basics of Angular with the WordPress REST API
https://torquemag.io/2016/02/basics-of-angularjs-with-the-wordpress-rest-api/
Batch endpoint for the WordPress REST API
https://gist.github.com/joehoyle/44a71a2e458b05c22a10
Writing a WP REST API Endpoint in 2 Minutes
https://tomjn.com/2017/01/23/writing-wp-rest-api-endpoint-2-minutes/
A simple WordPress theme built with the WP REST API and AngularJS
https://github.com/jekkilekki/theme-resting
Introduction to Vue.js with the WordPress REST API
https://torquemag.io/2017/02/introduction-vuejs-wordpress-rest-api/
Using Vue.js Components with the WordPress REST API
https://torquemag.io/2017/02/using-vuejs-components-wordpress-rest-api/
Demo mobile app using WordPress REST API
https://github.com/scottopolis/wp-rest-api-demo
Expose Post Formats in WP REST API
https://github.com/kucrut/wp-bridge-post-formats
WP REST API endpoint for menus
https://github.com/kucrut/wp-bridge-menus
Powerful framework plugin for turning your WordPress theme into an isomorphic JavaScript application using the REST API
https://github.com/10up/nodeifywp
Twenty Sixteen theme as an isomorphic React.js application
https://github.com/10up/twentysixteenreact
Add the full size featured image URL to the REST API output
https://gist.github.com/deviodigital/1ff3a9f588394dfdbea6
Add a Featured image to post data and auto-populate in ACF Raw with the REST API
https://gist.github.com/kdpuvvadi/61de0393b3ecf66ba4e3
Adding more fields to the REST API Output
https://gist.github.com/JO-WTF/a5d51291b48bb6c31dfba41e2e62fb36
Whitelist embedded links in the REST API responses
https://gist.github.com/rhurling/e91ddb7b25ccc297508b
Including custom meta field in the WP API JSON response
https://gist.github.com/Kuzmanov/1bd17ffd4b15c4eb6730b71cba387075
Widget & Sidebar Endpoints for the WordPress REST API v2
https://gist.github.com/rhurling/1963f01ed39ee911528c
A WordPress plugin that filter WP REST API items to your requirement.
https://github.com/bueltge/WP-REST-API-Filter-Items
Simple React + REST API plugin
https://github.com/versionpress/rest-plugin-test
Creating a WordPress Theme using the REST API and Vue.js
https://deliciousbrains.com/creating-a-wordpress-theme-using-the-rest-api-and-vue-js/
WP REST API : Customizing Default Endpoints and Adding New Ones
https://deliciousbrains.com/wp-rest-api-customizing-endpoints-adding-new-ones/
Using the WordPress REST API in a mobile app part 2
https://apppresser.com/ionic-2-wordpress-wp-api/
An isomorphic JavaScript client for the WordPress REST API
https://github.com/WP-API/node-wpapi
WooCommerce Subscriptions REST API Endpoint Documentation
https://gist.github.com/thenbrent/b65bcc3e9619f560c6bce77622ff5b5c
An extension for the WP REST API that exposes endpoints for sidebars and widgets
https://github.com/martin-pettersson/wp-rest-api-sidebars
Batch endpoint for the WP REST API
https://gist.github.com/joehoyle/44a71a2e458b05c22a10
Adds an endpoint to the WordPress REST API for searching via SearchWP
https://github.com/CalderaWP/searchwp-api-route
How to Build Custom Endpoints for WP REST API
https://www.shaunjohnston.com/2015/12/build-custom-endpoints-for-wp-rest-api/
Extra WordPress REST API Endpoints and Functionalities
https://github.com/kucrut/wp-bridge
How to Make an internal REST request
https://gist.github.com/joehoyle/e7321570525af6daeae2
A tiny demo REST API theme built for the WordPress VIP Workshop
https://github.com/jacklenox/Regular
Comparing WordPress REST API Performance to admin-ajax.php
https://deliciousbrains.com/comparing-wordpress-rest-api-performance-admin-ajax-php/
Course on the WP REST API
https://code.tutsplus.com/series/introducing-the-wp-rest-api--cms-896
A list of all of the filters available in the WP REST API v2
https://gist.github.com/BraadMartin/cd90bcfeca80e1f8f558
Laravel package for the Wordpress JSON REST API
https://github.com/Cyber-Duck/laravel-wp-api
Enable Strict Mode for the REST API
https://gist.github.com/rmccue/184a2329a922f6b4350d
How to add Custom Fields to the REST API
https://www.gavick.com/blog/adding-custom-fields-in-the-wordpress-rest-api
Expose Advanced Custom Fields Endpoints
https://github.com/airesvsg/acf-to-rest-api
Course on Building a WordPress-Powered Front End With the WP REST API and AngularJS: Bootstrapping, Routing, and Services
http://code.tutsplus.com/series/building-a-wordpress-powered-front-end-with-the-wp-rest-api-and-angularjs--cms-1032
Combine Posts from Multiple Sites using the REST API
http://torquemag.io/2016/07/combine-wordpress-sites-rest-api-php/
Starter package for working with the WordPress REST API in an object-oriented fashion
https://github.com/inpsyde/WP-REST-Starter
A Key & Token Auth based system for the WordPress REST API
https://github.com/chriscct7/wp-api-key-token-auth
Submit WordPress Posts from the Front-End with the WP-API
https://apppresser.com/wp-api-post-submission/
Demo plugin using wp.Backbone.View and the WP JSON REST API v2
https://github.com/brianhogg/wp-backbone-view-rest-api-demo
A Swift iOS application that demonstrates using WordPress API
https://github.com/pierrem/WordPress-API-Demo
Using AngularJS and JSON API to retrieve WordPress content
http://amielucha.com/angularjs-json-rest-api-with-wordpress/
A WordPress REST API White Paper
https://hmn.md/wordpress-rest-api-white-paper/
Prepares WordPress objects, using the REST API, without a separate HTTP request.
https://github.com/Shelob9/rest-format
A JavaScript client for the WordPress JSON API
https://github.com/kadamwhite/wordpress-rest-api
Common access and security filters for the WordPress REST API
https://github.com/Shelob9/jp-rest-access
Client for creating and updating posts via the WordPress REST API via the WordPress HTTP API
https://github.com/Shelob9/jp-wp-api-rest-api-client
Cache for WordPress REST API
https://github.com/Shelob9/jp-rest-cache
Using the WordPress REST API in a mobile app
https://apppresser.com/using-wordpress-rest-api-mobile-app/
AJAX Media Upload using the REST API
http://www.roysivan.com/ajax-media-upload-jquery-wp-api/
Adding Custom Routes to the WordPress REST API
http://torquemag.io/2015/06/adding-custom-routes-wordpress-rest-api/
Working with post meta data with the WordPress REST API
http://torquemag.io/2015/07/working-with-post-meta-data-using-the-wordpress-rest-api/
Creating a mobile app with the REST API and React Native
https://deliciousbrains.com/creating-mobile-app-wp-api-react-native/
WordPress REST API Experiment
http://codepen.io/ahmadawais/pen/aORdVV
WordPress REST API Basics
https://kinsta.com/blog/wordpress-rest-api-basics/
How to use the WordPress REST API
http://premium.wpmudev.org/blog/using-wordpress-rest-api/
The Ultimate Guide to the WordPress REST API
http://torquemag.io/2015/09/the-ultimate-guide-to-the-wordpress-rest-api-an-ebook-by-josh-pollock/
JavaScript API for WordPress
http://wpcomjs.com/
The WordPress REST API
https://poststatus.com/wordpress-json-rest-api/
Working with Taxonomies using the REST API
http://torquemag.io/2014/10/working-taxonomies-using-json-rest-api/
Building Themes With AngularJS and WP REST API
https://1fix.io/angularjs-wp-rest-api/
The adventure of building my first Angular app with the WordPress REST API
http://braginteractive.com/the-adventure-of-building-my-first-angular-app-with-the-wordpress-rest-api/
A simple WordPress theme implemented using the WP Rest API
https://github.com/rase-/rest-api-theme
WordPress theme built with Backbone.js using the new WP REST API
http://trevan.co/front-end-wordpress-theme/
An untechnical guide to the WordPress REST API
http://torquemag.io/2015/11/an-untechnical-guide-to-the-wp-rest-api-a-free-white-paper-for-non-developers/
AngularJS Wordpress Theme - used for building single page client side applications using WordPress
https://github.com/royboy789/Angular-Wordpress-Theme
A WordPress starter theme built off _s and the JSON REST API Backbone client.
https://github.com/tlovett1/_s_backbone
basic wp theme based on angular js
https://github.com/tarex/Angular-WordPress-Theme
A presentation theme that uses the REST API
https://github.com/jacklenox/picard-present
AngularJS And WP REST API WordPress Theme
https://github.com/1fixdotio/angularjs-demo-theme
A bare-bones AngularJS blog app designed to work with the Wordpress JSON REST API.
https://github.com/michaelbromley/angular-wordpress-seed
A WordPress theme built with Backbone that uses front-end routing.
https://github.com/trevanhetzel/backbone-wp
WP-API Photo Blog Theme
https://github.com/mattheu/mph-photos
Feelingrestful WordPress React JS theme
https://github.com/humanmade/feelingrestful-theme
Angular app that uses the WP REST API
https://github.com/braginteractive/ngWP
A WordPress theme powered by the WordPress REST API and Vue.js
https://github.com/gilbitron/wp-rest-theme
AngularJS and WordPress co-existing
https://github.com/studioraygun/angularwp
A react-based recipe theme for WordPress
https://github.com/ryelle/Anadama-React
Starter SPA front-end backed by the WordPress REST API
https://github.com/shelob9/josie
A stripped down example of a WordPress theme that uses Backbone.js
https://github.com/tollmanz/backbone-wordpress-theme
@kptcs
Copy link

kptcs commented May 27, 2018

Please share rest api resources for woocommerce as well.

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment