#40765 closed defect (bug) (worksforme)
Not able to get contents after more tag.
| Reported by: | mukeshbeniwal | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Posts, Post Types | Version: | 4.7.4 |
| Severity: | normal | Keywords: | reporter-feedback |
| Cc: | Focuses: |
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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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_restvalue to true./wp-json/wp/v2/api/trips/148
Can you please explain exactly how to reproduce the issue?
Thank You.