Title: [Plugin: JSON API] Custom Content Types
Last modified: August 19, 2016

---

# [Plugin: JSON API] Custom Content Types

 *  [megamarkharris](https://wordpress.org/support/users/megamarkharris/)
 * (@megamarkharris)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-json-api-custom-content-types/)
 * hey Dan, just wanted to say I added support to your plugin for calling custom
   content types. I am using it to deliver JSON to Android apps, and wanted to be
   able to create content types that would feed to the app without showing on the
   site.
 * Can I submit this to you for inclusion? It’s a very simple condition in one file.
 * LOVE this plugin. Saved me hours in writing my own!!!!!
 * [http://wordpress.org/extend/plugins/json-api/](http://wordpress.org/extend/plugins/json-api/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [dphiffer](https://wordpress.org/support/users/dphiffer/)
 * (@dphiffer)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-json-api-custom-content-types/#post-1558114)
 * Hi Mark,
 * This is great to hear! I have some big changes in the works for my forthcoming
   1.0 release. Please take a look at trunk version and see if your changes can 
   be integrated there:
 * You can view the code here:
    [https://plugins.trac.wordpress.org/browser/json-api/trunk](https://plugins.trac.wordpress.org/browser/json-api/trunk)
 * Or check it out using svn:
    svn co [http://plugins.svn.wordpress.org/json-api/trunk](http://plugins.svn.wordpress.org/json-api/trunk)
   json-api
 * That said, I’m happy to accept code submissions. You can email me at: dan(a)phiffer.
   org
 * Thanks,
    -Dan
 *  Plugin Author [dphiffer](https://wordpress.org/support/users/dphiffer/)
 * (@dphiffer)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-json-api-custom-content-types/#post-1558162)
 * Update: 1.0 released. I still haven’t looked into custom post types or taxonomies(
   or menus), but I’m interested in including them.
 *  Thread Starter [megamarkharris](https://wordpress.org/support/users/megamarkharris/)
 * (@megamarkharris)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/plugin-json-api-custom-content-types/#post-1558243)
 * Cool, I have been hacking on Android all week, but will check out the trunk and
   new version in the next couple of days.
 * Thanks!!!!
 *  [kientran](https://wordpress.org/support/users/kientran/)
 * (@kientran)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-json-api-custom-content-types/#post-1558298)
 * I saw in the changelog that support has been added.
 * While it works for for many of the functions, unfortunately it doesn’t seem there’s
   a function to directly get a custom post type. Neither get_post or get_page work
   for this purpose.
 * For semantics, it should work properly on get_posts.
 * Looking though the trunk code, I’m not sure why the get_post function is filtering
   out only on actual “post” types.
 *  [flaviowd](https://wordpress.org/support/users/flaviowd/)
 * (@flaviowd)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-json-api-custom-content-types/#post-1558490)
 * Hi Dan and MegaMarkHarris.
 * I really want to know how to expose data in json format for custom post types.
 * I´m working on my final project at my college and I´m using custom post types
   to create a specific type of content.
 * My project is to use WP as tool to manage Thesis and Dissertations, so Custom
   Posts will be realy helpful to struct data for this kind of content, like Author,
   Title, Abstract, keywords, etc.
    I´m researching about dublin core ([http://dublincore.org/](http://dublincore.org/))
 * Tks and Congratulations.
 * Flávio Araújo
    Brazil

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: JSON API] Custom Content Types’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/json-api.svg)
 * [JSON API](https://wordpress.org/plugins/json-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-api/)
 * [Active Topics](https://wordpress.org/support/plugin/json-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-api/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [flaviowd](https://wordpress.org/support/users/flaviowd/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-json-api-custom-content-types/#post-1558490)
 * Status: not resolved