Posts Block Lite adds a Posts block to the block editor inserter that can be added to display posts in a list, grid or carousel.
Upgrade to Pro at https://troytempleman.com/wordpress/blocks/posts-block/.
https://troytempleman.com/wordpress/blocks/posts-block/
Posts Block Lite will output a Posts block with the following HTML structure:
<ul class="wp-block-tt-posts wp-block-tt-posts-6">
<li class="wp-block-tt-posts-post">
<div class="wp-block-tt-posts-post-featured-image”>
<img class=“wp-block-tt-posts-post-thumbnail” src=“#”>
</div>
<h3 class="wp-block-tt-posts-post-title">
<a href=“#”>Title</a>
</h3>
<div class="wp-block-tt-posts-post-meta">
<span class="wp-block-tt-posts-post-meta-date">Posted <time class="wp-block-tt-posts-post-meta-date-time" datetime="2023-11-01T12:00:00+00:00">November 1, 2023</time></span>
</div>
<div class="wp-block-tt-posts-post-excerpt">Excerpt</div>
<a class="wp-block-tt-posts-post-link" href=“#”>Read more</a>
</li>
</ul>
If you need help with Posts Block Lite, please submit a ticket on the Support forum.
If you like Posts Block Lite and would like to support it’s future development, how about buying me a coffee?
If you would like to contribute to the development of Posts Block Lite, the repository is located on GitHub.
Posts Block Lite is released under the GNU General Public License, version 2 (GPLv2).