more-link cuts of following content in get_page_index and get_post_index (3 posts)

  1. qwerasdf
    Posted 3 years ago #

    When I use a more link in the content of a page or a post and query a JSON with get_page_index or get_post_index the content in the JSON contains only the content in front of the more link, the content following the more-link is missing.

    When I use e.g. get_post&post_id=123 or get_page&page_id=123 the content in the JSON contains the complete content.

    From my point of view the missing content for the first examples is a bug.


  2. archon810
    Posted 3 years ago #

    Same problem discovered here. Full content should definitely come back here rather than the excerpt before the <!--more--> tag.

  3. archon810
    Posted 3 years ago #

    Actually, I don't think it's a bug - it works the same way it does on the main site and respects the excerpt rules.

    My developer was simply not aware of this, so content with the more link was coming back and not refreshed using the get_post call.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic