WordPress.org

Ready to get started?Download WordPress

Forums

JSON API
Category custom fields not retrieved by Json (1 post)

  1. eleonoraz
    Member
    Posted 2 years ago #

    Hi,
    I'm using Advanced Custom Fields 3.2.7 and I've added two custom fields to my categories.
    As you can see in the picture, the two fields are "latitudine" e "longitudine".
    I added them creating the rule "Taxonomy is equal to Categories" and setting the two fields.

    In the "New Category" page I see them correctly and they get correctly saved and displayed.
    But when I try to retrieve the custom fields using JSON they don't get retrieved.
    Custom fields created with your plugin get correctly retrieved in articles but not in categories, even if I use the same URL to recall them.

    The URL I use for articles is:
    http://www.mywebsite.com/?p=140&json=1&custom_fields=fieldname

    I'm using JSON API (http://wordpress.org/extend/plugins/json-api/), but I've tried with other plugins with no success.

    Could you please help me?

    Thanks,
    E.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic