{"id":408078,"date":"2024-09-15T08:00:00","date_gmt":"2024-09-15T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/posts-block-lite\/"},"modified":"2024-09-24T08:05:00","modified_gmt":"2024-09-24T08:05:00","slug":"posts-block-lite","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/posts-block-lite\/","title":{"rendered":"Posts Block Lite"},"content":{"rendered":"<p>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.<\/p>\n<p>Upgrade to Pro at <a href=\"https:\/\/troytempleman.com\/wordpress\/blocks\/posts-block\/\" rel=\"nofollow ugc\">https:\/\/troytempleman.com\/wordpress\/blocks\/posts-block\/<\/a>.<\/p>\n<h4>Features<\/h4>\n<ul>\n<li>Responsive<\/li>\n<li>Settings\n<ul>\n<li>Block alignment<\/li>\n<li>Layout<\/li>\n<li>List<\/li>\n<li>Grid<\/li>\n<li>Carousel   <\/li>\n<li>Text alignment<\/li>\n<li>Post type <strong>[Pro]<\/strong> <\/li>\n<li>Number of posts<\/li>\n<li>Order by<\/li>\n<li>Order<\/li>\n<li>Number of columns<\/li>\n<li>Column gutter width <\/li>\n<li>Display featured image<\/li>\n<li>Display title<\/li>\n<li>Add heading to title<\/li>\n<li>Title heading<\/li>\n<li>Display author<\/li>\n<li>Display date<\/li>\n<li>Display excerpt<\/li>\n<li>Maximum number of words in excerpt<\/li>\n<li>Display content<\/li>\n<li>Display link<\/li>\n<li>Link text<\/li>\n<li>Carousel<\/li>\n<li>Display dots<\/li>\n<li>Display arrows<\/li>\n<li>Infinite<\/li>\n<li>Speed<\/li>\n<li>Slides to show<\/li>\n<li>Slides to scroll<\/li>\n<\/ul>\n<\/li>\n<li>Styles\n<ul>\n<li>Color\n<ul>\n<li>Text<\/li>\n<li>Background<\/li>\n<li>Link<\/li>\n<li>Carousel dots <strong>[Pro]<\/strong> <\/li>\n<li>Carousel dots hover <strong>[Pro]<\/strong> <\/li>\n<li>Carousel arrows <strong>[Pro]<\/strong> <\/li>\n<li>Carousel arrows hover <strong>[Pro]<\/strong> <\/li>\n<\/ul>\n<\/li>\n<li>Typography\n<ul>\n<li>Font family<\/li>\n<li>Font size<\/li>\n<li>Appearance<\/li>\n<li>Line height<\/li>\n<li>Letter spacing<\/li>\n<li>Text decoration<\/li>\n<li>Letter case<\/li>\n<\/ul>\n<\/li>\n<li>Dimensions\n<ul>\n<li>Padding<\/li>\n<li>Margin<\/li>\n<li>List post padding <strong>[Pro]<\/strong><\/li>\n<li>List post margin <strong>[Pro]<\/strong><\/li>\n<li>Grid post padding <strong>[Pro]<\/strong>  <\/li>\n<li>Grid post margin <strong>[Pro]<\/strong>     <\/li>\n<li>Carousel post padding <strong>[Pro]<\/strong><\/li>\n<li>Carousel post margin <strong>[Pro]<\/strong><\/li>\n<li>Featured image padding <strong>[Pro]<\/strong><\/li>\n<li>Featured image margin <strong>[Pro]<\/strong><\/li>\n<li>Title padding <strong>[Pro]<\/strong><\/li>\n<li>Title margin <strong>[Pro]<\/strong><\/li>\n<li>Meta padding <strong>[Pro]<\/strong><\/li>\n<li>Meta margin <strong>[Pro]<\/strong><\/li>\n<li>Excerpt padding <strong>[Pro]<\/strong><\/li>\n<li>Excerpt margin <strong>[Pro]<\/strong><\/li>\n<li>Content padding <strong>[Pro]<\/strong><\/li>\n<li>Content margin <strong>[Pro]<\/strong><\/li>\n<li>Link padding <strong>[Pro]<\/strong><\/li>\n<li>Link margin <strong>[Pro]<\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>Variations <strong>[Pro]<\/strong>\n<ul>\n<li>List <strong>[Pro]<\/strong> <\/li>\n<li>Grid <strong>[Pro]<\/strong> <\/li>\n<li>Carousel <strong>[Pro]<\/strong> <\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h4>Demo<\/h4>\n<p><a href=\"https:\/\/troytempleman.com\/wordpress\/blocks\/posts-block\/\" rel=\"nofollow ugc\">https:\/\/troytempleman.com\/wordpress\/blocks\/posts-block\/<\/a><\/p>\n<h4>HTML<\/h4>\n<p>Posts Block Lite will output a Posts block with the following HTML structure:<\/p>\n<pre><code><ul class=\"wp-block-tt-posts wp-block-tt-posts-6\">\n    <li class=\"wp-block-tt-posts-post\">\n        <div class=\"wp-block-tt-posts-post-featured-image\u201d>\n            <img class=\u201cwp-block-tt-posts-post-thumbnail\u201d src=\u201c#\u201d>\n        <\/div>\n        <h3 class=\"wp-block-tt-posts-post-title\">\n            <a href=\u201c#\u201d>Title<\/a>\n        <\/h3>\n        <div class=\"wp-block-tt-posts-post-meta\">\n            <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>\n        <\/div>\n        <div class=\"wp-block-tt-posts-post-excerpt\">Excerpt<\/div>\n        <a class=\"wp-block-tt-posts-post-link\" href=\u201c#\u201d>Read more<\/a>\n    <\/li>\n<\/ul>\n<\/code><\/pre>\n<h3>Support<\/h3>\n<p>If you need help with Posts Block Lite, please submit a ticket on the <a href=\"https:\/\/wordpress.org\/support\/plugin\/posts-block-lite\" rel=\"ugc\">Support<\/a> forum.<\/p>\n<h3>Donate<\/h3>\n<p>If you like Posts Block Lite and would like to support it\u2019s future development, how about <a href=\"https:\/\/www.buymeacoffee.com\/troytempleman\" rel=\"nofollow ugc\">buying me a coffee<\/a>?<\/p>\n<h3>Contribute<\/h3>\n<p>If you would like to contribute to the development of Posts Block Lite, the repository is located on <a href=\"https:\/\/github.com\/troytempleman\/posts-block-lite\" rel=\"nofollow ugc\">GitHub<\/a>.<\/p>\n<h3>License<\/h3>\n<p>Posts Block Lite is released under the <a href=\"https:\/\/www.gnu.org\/licenses\/gpl-2.0.html\" rel=\"nofollow ugc\">GNU General Public License, version 2 (GPLv2)<\/a>.<\/p>\n<h3>Requirements<\/h3>\n<ul>\n<li>WordPress 6.0 or greater<\/li>\n<li>PHP version 7.4 or greater<\/li>\n<li>MySQL version 5.7 or greater or MariaDB version 10.3 or greater.<\/li>\n<\/ul>\n<h3>Credits<\/h3>\n<ul>\n<li><a href=\"https:\/\/github.com\/WordPress\/gutenberg\/tree\/trunk\/packages\/block-library\/src\/latest-posts\" rel=\"nofollow ugc\">WordPress\/gutenberg\/packages\/block-library\/src\/latest-posts on GitHub<\/a><\/li>\n<li><a href=\"https:\/\/kenwheeler.github.io\/slick\/\" rel=\"nofollow ugc\">Slick<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>A block that displays posts in a list, grid or carousel.<\/p>\n","protected":false},"author":65,"featured_media":408100,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Posts Block Lite - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"A block that displays posts in a list, grid or carousel."},"footnotes":""},"categories":[1],"tags":[288,1571,8487,542,473],"class_list":["post-408078","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-block","tag-carousel","tag-latest-posts","tag-posts","tag-recent-posts"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/408078","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=408078"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/408078\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/408100"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=408078"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=408078"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=408078"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}