[wp-trac] [WordPress Trac] #40765: Not able to get contents after more tag.

WordPress Trac noreply at wordpress.org
Thu Apr 18 18:07:48 UTC 2024


#40765: Not able to get contents after more tag.
-------------------------------+-------------------------
 Reporter:  mukeshbeniwal      |       Owner:  (none)
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Posts, Post Types  |     Version:  4.7.4
 Severity:  normal             |  Resolution:  worksforme
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+-------------------------

Comment (by nazarov24):

 Use the ?_embed parameter: By appending ?_embed to your request URL,
 WordPress will include additional embedded data like the full content of
 the post.

 For example:
 /wp-json/wp/v2/posts/{id}?_embed
 Use the fields parameter: You can specify the fields you want to include
 in the response. For full content, you would use content.rendered.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/40765#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list