#40765 closed defect (bug) (worksforme)
Not able to get contents after more tag.
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.7.4 |
Component: | Posts, Post Types | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
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:
/wp-json/wp/v2/posts/{id}
Change History (2)
#2
@
4 years ago
- Milestone Awaiting Review deleted
- Resolution set to worksforme
- Status changed from new to closed
Hello @mukeshbeniwal,
I'm closing this ticket. However, if the problem persists today, please feel free to reopen with step-by-step details on how to reproduce (so we can investigate). Cheers.
Note: See
TracTickets for help on using
tickets.
Welcome to Trac and thank you for creating the ticket.
I tried to reproduce the issue:
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./wp-json/wp/v2/api/trips/148
Can you please explain exactly how to reproduce the issue?
Thank You.