WordPress.org

Forums

JSON API
Page excerpts not returned in json result (2 posts)

  1. bennyhill
    Member
    Posted 1 year ago #

    I'm querying a page and it's children. All the child pages have a manual excerpt but when I query like this

    http://localhost/wordpress/api/get_page/?slug=about&children=1

    The child pages excerpt value is just a truncated version of the content field, not the manual excerpt I created.

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

  2. crazyraccoon
    Member
    Posted 1 year ago #

    I have the same problem. It appears that the excerpt returned in the JSON is always the one generated from the content. You should get the manual one, if it was set.

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic