admin管理员组文章数量:1122846
I'm not new to WordPress but I have a question for the Fullsite Editing / Gutenberg api.
We have a custom template (Single View => Post-Type) designed in the editor as a block theme. And now I want to get the redendered HTML from this template for a specific ID of a post.
So when I request the I got a not the default post template block rendered content html but the post_content rendered content. So my question is how can I access the detail element (single view) from a custom post type rendered in HTML. So we in classic themes i can easily get this rendered content with get_template_part and the ID of the post.
So how can I access the rendered html content for a single view from a post.
本文标签: rest apiGet rendered HTML single view from post template
版权声明:本文标题:rest api - Get rendered HTML single view from post template 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736302136a1931427.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论