Menu

WordPress Tutorials

A curated resource for learning WordPress

Menu
  • Home
  • Gutenberg
  • WordPress Development
    • REST API
    • Hooks & Filters
  • WordPress Basics
  • WordPress Performance
  • WordPress Tutorials
    • Genesis
  • Contact
Browse: Home → Create Your Own WordPress Rest Endpoints

Create Your Own WordPress Rest Endpoints

As the REST API is still relatively new there might be some endpoints that don’t currently exist such as getting the post archives where you would normally use the function wp_get_archives. This function will return a list of months with the post count next to that month. In this tutorial we’re going to create our own WordPress endpoint that returns a list of months along with the post count with…

Read Full Tutorial
Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin
January 25, 2017 REST API, WordPress Development Paulund
Previous Previous Post

Unit Testing Custom WordPress REST API Endpoints

Next Next Post

A Developer’s Introduction to the Twenty Seventeen Theme

Copyright © 2016 WordPress Tutorials & more!

Powered by WordPress and Neutro