Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#40765 new defect (bug)

Not able to get contents after more tag.

Reported by: mukeshbeniwal Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.4
Component: Posts, Post Types Keywords: reporter-feedback
Focuses: Cc:


I am not able to get full content of a post, I am getting till the more tag with a link to the post, but I want the complete content of post. Is there any way to get full contents?

Currently I am using the following path to get post:


Change History (1)

#1 @subrataemfluence
3 years ago

  • Keywords reporter-feedback added

Welcome to Trac and thank you for creating the ticket.

I tried to reproduce the issue:

  1. By editing an existing post and adding a "Read More" link in content
  2. Modified Custom Post Type, adding Excerpt field and updating post by adding an excerpt to it

In both cases the "content" key returned to full content in JSON. The only difference I used my custom post type by turning show_in_rest value to true.


Can you please explain exactly how to reproduce the issue?

Thank You.

Note: See TracTickets for help on using tickets.