WordPress.org

Forums

JSON API
Getting custom post types (2 posts)

  1. kompresor
    Member
    Posted 2 years ago #

    Can the plugin be modified to provide info on custom post types?

    http://wordpress.org/extend/plugins/json-api/

  2. Dave van Hoorn
    Member
    Posted 2 years ago #

    You might want to read the 'other notes' section. This plugin already does what your looking for:

    http://www.yourdomain.com/api/get_recent_posts?post_type=yourcustomposttype&dev=1

    Change 'yourcustomposttype' to your custom post type. Good luck!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • JSON API
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic