{"id":192221,"date":"2024-09-15T17:58:31","date_gmt":"2024-09-15T17:58:31","guid":{"rendered":"https:\/\/en-ca.wordpress.org\/plugins\/posts-block-lite\/"},"modified":"2024-09-24T00:05:13","modified_gmt":"2024-09-24T00:05:13","slug":"posts-block-lite","status":"publish","type":"plugin","link":"https:\/\/gl.wordpress.org\/plugins\/posts-block-lite\/","author":3134467,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1.3","stable_tag":"0.1.3","tested":"6.6.5","requires":"6.0","requires_php":"7.0","requires_plugins":null,"header_name":"Posts Block Lite","header_author":"Troy Templeman","header_description":"A block that displays posts in a list, grid or carousel.","assets_banners_color":"4e4e4e","last_updated":"2024-09-24 00:05:13","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.buymeacoffee.com\/troytempleman","header_plugin_uri":"https:\/\/github.com\/troytempleman\/posts-block-lite","header_author_uri":"https:\/\/troytempleman.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":564,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.1.0":{"tag":"0.1.0","author":"troytempleman","date":"2024-09-24 00:05:13"},"0.1.1":{"tag":"0.1.1","author":"troytempleman","date":"2024-09-24 00:05:13"},"0.1.2":{"tag":"0.1.2","author":"troytempleman","date":"2024-09-24 00:05:13"},"0.1.3":{"tag":"0.1.3","author":"troytempleman","date":"2024-09-24 00:05:13"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3152313,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3152313,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":3152313,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3152318,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3152318,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"tt\/posts":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":2,"name":"tt\/posts","version":"0.1.3","title":"Posts","category":"widgets","description":"A block that displays posts in a list, grid or carousel.","keywords":["latest posts","recent posts","posts","block","carousel"],"textdomain":"posts","attributes":{"layout":{"type":"string"},"textAlign":{"type":"string"},"numberOfPosts":{"type":"number","default":5},"orderBy":{"type":"string","default":"date"},"order":{"type":"string","default":"desc"},"columns":{"type":"number","default":1},"displayFeaturedImage":{"type":"boolean"},"displayTitle":{"type":"boolean","default":true},"titleHasHeading":{"type":"boolean"},"titleHeading":{"type":"number","default":3},"displayDate":{"type":"boolean"},"displayAuthor":{"type":"boolean"},"displayExcerpt":{"type":"boolean"},"excerptLength":{"type":"number","default":55},"displayContent":{"type":"boolean"},"displayLink":{"type":"boolean"},"linkText":{"type":"string","default":"Read more"},"displayCarousel":{"type":"boolean"},"displayCarouselDots":{"type":"boolean","default":true},"displayCarouselArrows":{"type":"boolean","default":true},"carouselInfinite":{"type":"boolean","default":true},"carouselSpeed":{"type":"number","default":300},"carouselSlidesToShow":{"type":"number","default":3},"carouselSlidesToScroll":{"type":"number","default":3}},"supports":{"anchor":true,"align":true,"className":false,"color":{"gradients":true,"link":true,"__experimentalDefaultControls":{"background":true,"text":true,"link":true}},"html":false,"spacing":{"margin":true,"padding":true,"__experimentalDefaultControls":{"padding":true}},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}}},"editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/style-index.css","render":"file:.\/render.php"}},"tagged_versions":["0.1.0","0.1.1","0.1.2","0.1.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3152313,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3152313,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3152313,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3152313,"resolution":"4","location":"assets","locale":""},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3152313,"resolution":"5","location":"assets","locale":""},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3152313,"resolution":"6","location":"assets","locale":""},"screenshot-7.png":{"filename":"screenshot-7.png","revision":3152313,"resolution":"7","location":"assets","locale":""}},"screenshots":{"1":"Posts block added from the block inserter.","2":"Posts block variations <strong>[Pro]<\/strong>.","3":"Posts block with default settings.","4":"Posts block with list view settings.","5":"Posts block with grid view settings.","6":"Posts block with carousel settings.","7":"Posts block on the front end."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1220,786,4978,166,1083],"plugin_category":[50],"plugin_contributors":[224338],"plugin_business_model":[],"class_list":["post-192221","plugin","type-plugin","status-publish","hentry","plugin_tags-block","plugin_tags-carousel","plugin_tags-latest-posts","plugin_tags-posts","plugin_tags-recent-posts","plugin_category-media","plugin_contributors-troytempleman","plugin_committers-troytempleman"],"banners":{"banner":"https:\/\/ps.w.org\/posts-block-lite\/assets\/banner-772x250.png?rev=3152318","banner_2x":"https:\/\/ps.w.org\/posts-block-lite\/assets\/banner-1544x500.png?rev=3152318","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/posts-block-lite\/assets\/icon.svg?rev=3152313","icon":"https:\/\/ps.w.org\/posts-block-lite\/assets\/icon.svg?rev=3152313","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/posts-block-lite\/assets\/screenshot-1.png?rev=3152313","caption":"Posts block added from the block inserter."},{"src":"https:\/\/ps.w.org\/posts-block-lite\/assets\/screenshot-2.png?rev=3152313","caption":"Posts block variations <strong>[Pro]<\/strong>."},{"src":"https:\/\/ps.w.org\/posts-block-lite\/assets\/screenshot-3.png?rev=3152313","caption":"Posts block with default settings."},{"src":"https:\/\/ps.w.org\/posts-block-lite\/assets\/screenshot-4.png?rev=3152313","caption":"Posts block with list view settings."},{"src":"https:\/\/ps.w.org\/posts-block-lite\/assets\/screenshot-5.png?rev=3152313","caption":"Posts block with grid view settings."},{"src":"https:\/\/ps.w.org\/posts-block-lite\/assets\/screenshot-6.png?rev=3152313","caption":"Posts block with carousel settings."},{"src":"https:\/\/ps.w.org\/posts-block-lite\/assets\/screenshot-7.png?rev=3152313","caption":"Posts block on the front end."}],"raw_content":"<!--section=description-->\n<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\n<p>Upgrade to Pro at <a href=\"https:\/\/troytempleman.com\/wordpress\/blocks\/posts-block\/\">https:\/\/troytempleman.com\/wordpress\/blocks\/posts-block\/<\/a>.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Responsive<\/li>\n<li>Settings\n\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><\/li>\n<li>Styles\n\n<ul>\n<li>Color\n\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><\/li>\n<li>Typography\n\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><\/li>\n<li>Dimensions\n\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><\/li>\n<\/ul><\/li>\n<li>Variations <strong>[Pro]<\/strong> \n\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><\/li>\n<\/ul>\n\n<h4>Demo<\/h4>\n\n<p><a href=\"https:\/\/troytempleman.com\/wordpress\/blocks\/posts-block\/\">https:\/\/troytempleman.com\/wordpress\/blocks\/posts-block\/<\/a><\/p>\n\n<h4>HTML<\/h4>\n\n<p>Posts Block Lite will output a Posts block with the following HTML structure:<\/p>\n\n<pre><code>&lt;ul class=\"wp-block-tt-posts wp-block-tt-posts-6\"&gt;\n    &lt;li class=\"wp-block-tt-posts-post\"&gt;\n        &lt;div class=\"wp-block-tt-posts-post-featured-image\u201d&gt;\n            &lt;img class=\u201cwp-block-tt-posts-post-thumbnail\u201d src=\u201c#\u201d&gt;\n        &lt;\/div&gt;\n        &lt;h3 class=\"wp-block-tt-posts-post-title\"&gt;\n            &lt;a href=\u201c#\u201d&gt;Title&lt;\/a&gt;\n        &lt;\/h3&gt;\n        &lt;div class=\"wp-block-tt-posts-post-meta\"&gt;\n            &lt;span class=\"wp-block-tt-posts-post-meta-date\"&gt;Posted &lt;time class=\"wp-block-tt-posts-post-meta-date-time\" datetime=\"2023-11-01T12:00:00+00:00\"&gt;November 1, 2023&lt;\/time&gt;&lt;\/span&gt;\n        &lt;\/div&gt;\n        &lt;div class=\"wp-block-tt-posts-post-excerpt\"&gt;Excerpt&lt;\/div&gt;\n        &lt;a class=\"wp-block-tt-posts-post-link\" href=\u201c#\u201d&gt;Read more&lt;\/a&gt;\n    &lt;\/li&gt;\n&lt;\/ul&gt;\n<\/code><\/pre>\n\n<h3>Support<\/h3>\n\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\">Support<\/a> forum.<\/p>\n\n<h3>Donate<\/h3>\n\n<p>If you like Posts Block Lite and would like to support it's future development, how about <a href=\"https:\/\/www.buymeacoffee.com\/troytempleman\">buying me a coffee<\/a>?<\/p>\n\n<h3>Contribute<\/h3>\n\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\">GitHub<\/a>.<\/p>\n\n<h3>License<\/h3>\n\n<p>Posts Block Lite is released under the <a href=\"https:\/\/www.gnu.org\/licenses\/gpl-2.0.html\">GNU General Public License, version 2 (GPLv2)<\/a>.<\/p>\n\n<h3>Requirements<\/h3>\n\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\n<h3>Credits<\/h3>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/WordPress\/gutenberg\/tree\/trunk\/packages\/block-library\/src\/latest-posts\">WordPress\/gutenberg\/packages\/block-library\/src\/latest-posts on GitHub<\/a><\/li>\n<li><a href=\"https:\/\/kenwheeler.github.io\/slick\/\">Slick<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>Posts Block Lite can be installed in one of the following four ways:<\/p>\n\n<h4>Automatic<\/h4>\n\n<p>To install with the built-in plugin installer:<\/p>\n\n<ol>\n<li>Login to your WordPress site at <strong>domain.com\/wp-admin<\/strong>, where <strong>domain.com<\/strong> is the domain of your WordPress site.<\/li>\n<li>On the <strong>Dashboard<\/strong> page, in the left menu, click <strong>Plugins<\/strong>.<\/li>\n<li>On the <strong>Plugins<\/strong> page, click <strong>Add New Plugin<\/strong>.<\/li>\n<li>On the <strong>Add Plugins<\/strong> page, in the <strong>Search plugins...<\/strong> field, type <strong>Posts Block Lite<\/strong>.<\/li>\n<li>In the <strong>Search Results<\/strong>, locate <strong>Posts Block Lite<\/strong>, click <strong>Install Now<\/strong> and <strong>Activate<\/strong>.<\/li>\n<\/ol>\n\n<h4>Upload<\/h4>\n\n<p>To install with a .zip file:<\/p>\n\n<ol>\n<li>Login to your WordPress site at <strong>domain.com\/wp-admin<\/strong>, where <strong>domain.com<\/strong> is the domain of your WordPress site.<\/li>\n<li>On the <strong>Dashboard<\/strong> page, in the left menu, click <strong>Plugins<\/strong>.<\/li>\n<li>On the <strong>Plugins<\/strong> page, click <strong>Add New Plugin<\/strong>.<\/li>\n<li>On the <strong>Add Plugins<\/strong> page, click <strong>Upload Plugin<\/strong>.<\/li>\n<li>Click <strong>Choose File<\/strong>, locate the <strong>.zip file<\/strong> and click <strong>Open<\/strong>. <\/li>\n<li>Click <strong>Install Now<\/strong>.<\/li>\n<li>On the <strong>Installing Plugin from uploaded file<\/strong> page, click <strong>Activate<\/strong>.<\/li>\n<\/ol>\n\n<h4>Manual<\/h4>\n\n<p>To install with a SFTP client:<\/p>\n\n<ol>\n<li>If you have a <strong>.zip file<\/strong>, unzip it with archiving software such as <a href=\"https:\/\/www.winzip.com\/\">WinZip<\/a> or <a href=\"https:\/\/apps.apple.com\/us\/app\/archive-utility\/id1409613331\">Archive Utility<\/a>.<\/li>\n<li>In a <strong>SFTP client<\/strong> such as <a href=\"https:\/\/winscp.net\/\">WinSCP<\/a> or <a href=\"https:\/\/filezilla-project.org\/\">FileZilla<\/a>, connect to your WordPress site directory on your server.<\/li>\n<li>In the <strong>unzipped files<\/strong>, copy the <strong>posts-block-lite<\/strong> folder and paste on your server, in your site\u2019s <strong>wp-content\/plugins<\/strong> folder.<\/li>\n<li>Login to your WordPress site at <strong>domain.com\/wp-admin<\/strong>, where <strong>domain.com<\/strong> is the domain of your WordPress site.<\/li>\n<li>On the <strong>Dashboard<\/strong> page, in the left menu, click <strong>Plugins<\/strong>.<\/li>\n<li>On the <strong>Plugins<\/strong> page, locate <strong>Posts Block Lite<\/strong> and click <strong>Activate<\/strong>.<\/li>\n<\/ol>\n\n<h4>Theme<\/h4>\n\n<p>To install in your theme instead of a plugin:<\/p>\n\n<ol>\n<li><p>If you have a <strong>.zip file<\/strong>, unzip it with archiving software such as <a href=\"https:\/\/www.winzip.com\/\">WinZip<\/a> or <a href=\"https:\/\/apps.apple.com\/us\/app\/archive-utility\/id1409613331\">Archive Utility<\/a>.<\/p><\/li>\n<li><p>In the <strong>unzipped files<\/strong>, copy the <strong>posts-block-lite<\/strong> folder and paste in your site\u2019s theme folder, such as <strong>wp-content\/themes\/your-theme\/inc\/posts-block-lite\/<\/strong>, where <strong>your-theme<\/strong> is your theme folder.<\/p><\/li>\n<li><p>In the <strong>unzipped files<\/strong>, copy the <strong>posts-block-lite<\/strong> folder and paste in your site\u2019s theme folder, such as <strong>wp-content\/themes\/your-theme\/inc\/posts-block-lite\/<\/strong>, where <strong>your-theme<\/strong> is your theme folder.<\/p><\/li>\n<li>In a <strong>code editor<\/strong> such as <a href=\"https:\/\/code.visualstudio.com\/\">Visual Studio Code<\/a> or <a href=\"https:\/\/notepad-plus-plus.org\/\">Notepad++<\/a>, open your theme's <strong>functions.php<\/strong> file.<\/li>\n<li>In your <strong>functions.php<\/strong> file, add the path from Step 2, such as <strong>require get_stylesheet_directory() . '\/inc\/posts-block-lite\/posts-block-lite.php';<\/strong>.<\/li>\n<li>Save and close your <strong>functions.php<\/strong> file.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='what%20are%20posts%3F'><h3>What are posts?<\/h3><\/dt>\n<dd><p>Posts are dynamic and time-based content typically used for blogs, news, events, etc. Posts are usually listed in reverse chronological order, can be tagged, categorized and commented on.<\/p><\/dd>\n<dt id='how%20do%20i%20install%20posts%20block%20lite%3F'><h3>How do I install Posts Block Lite?<\/h3><\/dt>\n<dd><p>Please see <strong>Installation<\/strong> section.<\/p><\/dd>\n<dt id='how%20do%20i%20add%20a%20posts%20block%3F'><h3>How do I add a Posts block?<\/h3><\/dt>\n<dd><ol>\n<li>Login to your WordPress site at <strong>domain.com\/wp-admin<\/strong>, where <strong>domain.com<\/strong> is the domain of your WordPress site.<\/li>\n<li>On the <strong>Dashboard<\/strong> page, in the left menu, click <strong>Posts<\/strong> or <strong>Pages<\/strong>.<\/li>\n<li>On the <strong>Posts<\/strong> or <strong>Pages<\/strong> page, either click <strong>Add New<\/strong>, search for and\/or click the desired post or page title.<\/li>\n<li>In the <strong>block editor<\/strong>, either:\n\n<ul>\n<li>Click the block inserter <strong>+<\/strong> icon in the top toolbar<\/li>\n<li>Click the block inserter <strong>+<\/strong> icon to the right of an empty block, or<\/li>\n<li>Click the block inserter <strong>+<\/strong> icon between blocks<\/li>\n<\/ul><\/li>\n<li>In the block inserter pop-up modal window, search for and\/or click <strong>Posts<\/strong> to add a Posts block.<\/li>\n<\/ol><\/dd>\n<dt id='how%20do%20i%20edit%20a%20posts%20block%3F'><h3>How do I edit a Posts block?<\/h3><\/dt>\n<dd><ol>\n<li>Login to your WordPress site at <strong>domain.com\/wp-admin<\/strong>, where <strong>domain.com<\/strong> is the domain of your WordPress site.<\/li>\n<li>On the <strong>Dashboard<\/strong> page, in the left menu, click <strong>Posts<\/strong> or <strong>Pages<\/strong>.<\/li>\n<li>On the <strong>Posts<\/strong> or <strong>Pages<\/strong> page, search for and\/or click the desired post or page title.<\/li>\n<li>In the <strong>block editor<\/strong>, click the desired <strong>Posts<\/strong> block.<\/li>\n<li>In the block toolbar above, select the desired block alignment, layout, text formatting and\/or other options. <\/li>\n<li>In the settings sidebar, in the <strong>Block<\/strong> tab:\n\n<ul>\n<li>In the <strong>Settings<\/strong> tab, select the desired settings.  <\/li>\n<li>In the <strong>Styles<\/strong> tab, select the desired <strong>Color<\/strong>, <strong>Typography<\/strong> and\/or <strong>Dimensions<\/strong> settings.<\/li>\n<\/ul><\/li>\n<\/ol><\/dd>\n<dt id='how%20do%20i%20setup%20a%20development%20environment%3F'><h3>How do I setup a development environment?<\/h3><\/dt>\n<dd><ol>\n<li>Install WordPress on a local server such as <a href=\"https:\/\/localwp.com\/\">Local<\/a>, <a href=\"https:\/\/www.docker.com\/\">Docker<\/a>, <a href=\"https:\/\/www.mamp.info\/\">MAMP<\/a> or <a href=\"https:\/\/www.apachefriends.org\/\">XAMPP<\/a>.<\/li>\n<li>To install Posts Block Lite on your local site, see <strong>Installation<\/strong> section.<\/li>\n<li>If node.js is not already installed locally, go to <a href=\"https:\/\/nodejs.org\/\">https:\/\/nodejs.org\/<\/a> to install.<\/li>\n<li>In a <strong>Command Line Interface (CLI)<\/strong> such as Command Prompt or Terminal, navigate to the <strong>posts-block-lite<\/strong> folder. For example, <strong>cd localhost\/your-site\/wp-content\/plugins\/posts-block-lite<\/strong>.<\/li>\n<li>To install project dependencies, type <strong>npm install<\/strong>.<\/li>\n<li>In the <strong>posts-block-lite<\/strong> folder, edit the desired file or files.<\/li>\n<li>To create or update the production <strong>build<\/strong> directory, type <strong>npm run build<\/strong>. For other commands, type <strong>npm run<\/strong>.<\/li>\n<\/ol><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1.3 - September 22, 2024<\/h4>\n\n<ul>\n<li>Added: Translators in <code>src\/render.php<\/code>.<\/li>\n<li>Updated: Version in <code>build\/block.json<\/code> and <code>src\/block.json<\/code>.<\/li>\n<li>Updated: Version in <code>package.json<\/code> and <code>posts-block-lite.php<\/code>.<\/li>\n<li>Updated: Stable tag and changelog in <code>readme.md<\/code> and <code>readme.txt<\/code>.<\/li>\n<\/ul>\n\n<h4>0.1.2 - September 15, 2024<\/h4>\n\n<ul>\n<li>Changed: Text domains from <code>posts-block<\/code> to <code>posts-block-lite<\/code>.<\/li>\n<li>Changed: <code>json_encode<\/code> to <code>esc_attr( wp_json_encode )<\/code> in <code>build\/render.php<\/code> and <code>src\/render.php<\/code>.<\/li>\n<li>Changed: <code>wp_kses_post<\/code> filter from <code>$posts<\/code> to <code>$content<\/code> in <code>build\/render.php<\/code> and <code>src\/render.php<\/code>.<\/li>\n<li>Updated: Version in <code>build\/block.json<\/code> and <code>src\/block.json<\/code>.<\/li>\n<li>Updated: Version in <code>package.json<\/code> and <code>posts-block-lite.php<\/code>.<\/li>\n<li>Updated: Stable tag and changelog in <code>readme.md<\/code> and <code>readme.txt<\/code>.<\/li>\n<\/ul>\n\n<h4>0.1.1 - May 20, 2024<\/h4>\n\n<ul>\n<li>Added: Code to prevent direct file access in <code>build\/render.php<\/code> and <code>src\/render.php<\/code>.<\/li>\n<li>Added: Security improvement by adding <code>wp_kses_post<\/code> filter to <code>$block_content<\/code> in build\/render.php<code>and<\/code>src\/render.php`.<\/li>\n<li>Changed: Function names from <code>posts_block_*<\/code> to <code>posts_block_lite_*<\/code> in <code>posts-block-lite.php<\/code>.<\/li>\n<li>Changed: Text domains from <code>posts-block-lite<\/code> to <code>posts-block<\/code>.<\/li>\n<li>Removed: <code>src\/slick\/config.rb<\/code><\/li>\n<li>Updated: Version in <code>build\/block.json<\/code> and <code>src\/block.json<\/code>.<\/li>\n<li>Updated: Version in <code>package.json<\/code> and <code>posts-block-lite.php<\/code>.<\/li>\n<li>Updated: Stable tag and changelog in <code>readme.md<\/code> and <code>readme.txt<\/code>.<\/li>\n<\/ul>\n\n<h4>0.1.0 - November 15, 2023<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"A block that displays posts in a list, grid or carousel.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/gl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/192221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/gl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/gl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=192221"}],"author":[{"embeddable":true,"href":"https:\/\/gl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/troytempleman"}],"wp:attachment":[{"href":"https:\/\/gl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=192221"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/gl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=192221"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/gl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=192221"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/gl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=192221"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/gl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=192221"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/gl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=192221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}