Title: custom_fields syntax
Last modified: August 21, 2016

---

# custom_fields syntax

 *  [sirMuffles](https://wordpress.org/support/users/sirmuffles/)
 * (@sirmuffles)
 * [12 years ago](https://wordpress.org/support/topic/custom_fields-syntax/)
 * I was following a post on [http://alexbachuk.com/wordpress-and-phonegap-part3/](http://alexbachuk.com/wordpress-and-phonegap-part3/)
   and I am trying to find out how to call custom_fields in my content. I have included
   the custom field like so: ‘[http://www.mysite.com/?json=get_recent_posts&custom_fields=store-icon&#8217](http://www.mysite.com/?json=get_recent_posts&custom_fields=store-icon&#8217);
   how would I go about inserting that into my html. The alexbachuk.com post uses
   handlebars to parse the json so the post title is output as {{title}} and thumbnail
   as {{thumbnail}}. Is there a way to output custom_fields in a similar manner?
 * [https://wordpress.org/plugins/json-api/](https://wordpress.org/plugins/json-api/)

The topic ‘custom_fields syntax’ 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/)

## Tags

 * [custom_fields](https://wordpress.org/support/topic-tag/custom_fields/)

 * 0 replies
 * 1 participant
 * Last reply from: [sirMuffles](https://wordpress.org/support/users/sirmuffles/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/custom_fields-syntax/)
 * Status: not resolved