WordPress.org

Ready to get started?Download WordPress

Forums

JSON API
custom_fields syntax (1 post)

  1. sirMuffles
    Member
    Posted 2 months 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/

Reply

You must log in to post.

About this Plugin

About this Topic