Post Template – core/post-template
Contains the block elements used to render a post, like the title, date, featured image, content or excerpt, and more.
Use the Post Template block to format the content returned by the Query Loop block.
- The Post Template block is an inner block of Query Loop – core/query.
- Use the block inserter to insert blocks for each post found for the Query block.
- eg Post Title – core/post-title, Post Content – core/post-content, Post Excerpt – core/post-excerpt, Post Date – core/post-date
- It has no settings other than Advanced Additional CSS class(es).
- The Post Template block was previously known as the Query Loop block.
- It had to be renamed since the Query block was retitled to Query Loop.