WordPress.org

Forums

JSON API
custom_fields syntax (1 post)

  1. sirMuffles
    Member
    Posted 1 year ago #

    I was following a post on 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' 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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic