WordPress.org

Ready to get started?Download WordPress

Forums

JSON API
Return only a specific portion of POST (1 post)

  1. Allioli
    Member
    Posted 4 months ago #

    Hi, I'd like to modify the JSON and return ONLY some parts of the post according to the user request.
    I want this to return nothing: http://www.example.org/?json=1
    And this (or something similar) to return the content of a div with id "asdf" inside the post:
    http://www.example.org/?json=1&asdf

    Is this possible? May I use only "json_api_encode filter"? Thanks in advance. I'm such a newbie!

    https://wordpress.org/plugins/json-api/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags