{"id":167679,"date":"2022-12-19T04:28:03","date_gmt":"2022-12-19T04:28:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/related-post-slider-block\/"},"modified":"2022-12-20T08:29:55","modified_gmt":"2022-12-20T08:29:55","slug":"related-post-slider-block","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/related-post-slider-block\/","author":20742022,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.2","stable_tag":"1.0.2","tested":"6.1.10","requires":"5.9","requires_php":"7.0","requires_plugins":"","header_name":"Related Post Slider Block","header_author":"Thong Truong","header_description":"Related post slider carousel dynamic Gutenberg block.","assets_banners_color":"","last_updated":"2022-12-20 08:29:55","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/thongtruong.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1230,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"thongtruong","date":"2022-12-19 04:27:35"},"1.0.1":{"tag":"1.0.1","author":"thongtruong","date":"2022-12-19 08:12:16"},"1.0.2":{"tag":"1.0.2","author":"thongtruong","date":"2022-12-20 08:29:55"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":{"rpsb\/related-post-slider-block":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":2,"name":"rpsb\/related-post-slider-block","version":"1.0.2","title":"Related Post Slider Block","category":"widgets","icon":"list-view","description":"A truly WYSIWYG, responsive and dynamic related post carousel slider Gutenberg block","supports":{"html":false,"align":["full","wide"]},"attributes":{"display":{"type":"object","default":{"displayFeaturedImage":true,"displayCategory":true,"displayMeta":true,"displayExcerpt":true,"displayDotsIndicator":true,"displayArrowsIndicator":true,"displayReverseOrder":false}},"excerptLength":{"type":"number","default":125},"totalPostsToShow":{"type":"integer","default":9},"postsPerSlide":{"type":"integer","default":4},"breakpoints":{"type":"array","default":[{"device":"desktop","breakpointSettings":{"breakpoint":1024,"settings":{"slidesToShow":3,"slidesToScroll":1,"infinite":true,"dots":true}}},{"device":"tablet","breakpointSettings":{"breakpoint":768,"settings":{"slidesToShow":2,"slidesToScroll":1,"infinite":true,"dots":true}}},{"device":"mobile","breakpointSettings":{"breakpoint":480,"settings":{"slidesToShow":1,"slidesToScroll":1,"infinite":true}}}]},"carouselPadding":{"type":"object","default":{"top":"30px","right":"30px","bottom":"30px","left":"30px"}},"carouselMargin":{"type":"object","default":{"top":"50px","bottom":"50px"}},"itemPadding":{"type":"object","default":{"top":"10px","right":"10px","bottom":"10px","left":"10px"}},"itemMargin":{"type":"object","default":{"top":"30px","right":"30px","bottom":"30px","left":"30px"}},"linkSlideItemBorder":{"type":"boolean","default":true},"flatSlideItemBorder":{"type":"object","default":{"color":"transparent","style":"none","width":"0"}},"splittedSlideItemBorder":{"type":"object","default":{"top":{"color":"transparent","style":"none","width":"0"},"right":{"color":"transparent","style":"none","width":"0"},"bottom":{"color":"transparent","style":"none","width":"0"},"left":{"color":"transparent","style":"none","width":"0"}}},"slideItemBorderRadius":{"type":"object","default":{"top":"0","right":"0","bottom":"0","left":"0"}},"slideItemShadow":{"type":"object","default":{"offsetX":0,"offsetY":24,"blurRadius":48,"spreadRadius":0,"shadowColor":"rgba(193,203,220,0.4)"}}},"textdomain":"related-post-slider-block","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/index.css"}},"tagged_versions":["1.0.0","1.0.1","1.0.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2835792,"resolution":"1","location":"assets","locale":"","width":552,"height":1071},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2835792,"resolution":"2","location":"assets","locale":"","width":547,"height":1083},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2835792,"resolution":"3","location":"assets","locale":"","width":549,"height":728},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2835792,"resolution":"4","location":"assets","locale":"","width":554,"height":491},"screenshot-5.png":{"filename":"screenshot-5.png","revision":2835792,"resolution":"5","location":"assets","locale":"","width":271,"height":793},"screenshot-6.png":{"filename":"screenshot-6.png","revision":2835792,"resolution":"6","location":"assets","locale":"","width":2308,"height":1084},"screenshot-7.png":{"filename":"screenshot-7.png","revision":2835792,"resolution":"7","location":"assets","locale":"","width":2308,"height":991}},"screenshots":{"1":"Display control panel","2":"Responsive control panel","3":"Dimension(padding, margin) control panel","4":"Slide item border control and border radius control in Style control panel","5":"Slide item box shadow control in Style control panel","6":"The Related Post Slider Block in the editor","7":"The Related Post Slider Block on frontend"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1220,786,216489,148769,611],"plugin_category":[50],"plugin_contributors":[215447],"plugin_business_model":[],"class_list":["post-167679","plugin","type-plugin","status-publish","hentry","plugin_tags-block","plugin_tags-carousel","plugin_tags-related-post-carousel-slider","plugin_tags-related-post-slider","plugin_tags-slider","plugin_category-media","plugin_contributors-thongtruong","plugin_committers-thongtruong"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/related-post-slider-block.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/related-post-slider-block\/assets\/screenshot-1.png?rev=2835792","caption":"Display control panel"},{"src":"https:\/\/ps.w.org\/related-post-slider-block\/assets\/screenshot-2.png?rev=2835792","caption":"Responsive control panel"},{"src":"https:\/\/ps.w.org\/related-post-slider-block\/assets\/screenshot-3.png?rev=2835792","caption":"Dimension(padding, margin) control panel"},{"src":"https:\/\/ps.w.org\/related-post-slider-block\/assets\/screenshot-4.png?rev=2835792","caption":"Slide item border control and border radius control in Style control panel"},{"src":"https:\/\/ps.w.org\/related-post-slider-block\/assets\/screenshot-5.png?rev=2835792","caption":"Slide item box shadow control in Style control panel"},{"src":"https:\/\/ps.w.org\/related-post-slider-block\/assets\/screenshot-6.png?rev=2835792","caption":"The Related Post Slider Block in the editor"},{"src":"https:\/\/ps.w.org\/related-post-slider-block\/assets\/screenshot-7.png?rev=2835792","caption":"The Related Post Slider Block on frontend"}],"raw_content":"<!--section=description-->\n<p>Upon activating this plugin, you will not see any new menu page inside WP admin dashboard. Instead, this plugin adds a dynamic block straight to the block editor. You can then use the block settings sidebar to customize and edit everything related to the block.<\/p>\n\n<p>This block picks the posts that have the same category\/categories of the current post and display them in a carousel slider.<\/p>\n\n<p>To insert and use the block, inside the post editor, underneath the main post content (or any position you wish), type '\/related', you should see the block called 'Related Post Slider Block'. Choose and insert it to the post editor.<\/p>\n\n<p>Here are the controls that you can customize and edit:\n\u2705 Display controls:\n    - Toggle on\/off featured image for each slide.\n    - Toggle on\/off category badge for each slide.\n    - Toggle on\/off meta info(author, published date) for each slide.\n    - Toggle on\/off excerpt for each slide.\n    - Display slide items in ASC\/DESC order.\n    - Number of total posts to display.\n    - Number of posts per slide.\n\u2705 Responsive controls (desktop, tablet, mobile).\n\u2705 Dimension controls:\n    - Carousel padding\/margin\n    - Slide item padding\/margin\n\u2705 Style controls:\n    - Slide item border control\n    - Slide item border radius control\n    - Slide item box shadow control<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/related-post-slider-block<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Edit a post and type '\/related' to choose the Related Post Slider Block and begin editting.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='what%20are%20the%20slide%20items%20to%20be%20displayed%3F'><h3>What are the slide items to be displayed?<\/h3><\/dt>\n<dd><p>The slide items are related posts which are in the same category\/categories of the current post.<\/p><\/dd>\n<dt id='can%20i%20hide%20the%20featured%20image%20for%20all%20slide%20items%3F'><h3>Can I hide the featured image for all slide items?<\/h3><\/dt>\n<dd><p>Yes<\/p><\/dd>\n<dt id='what%20can%20i%20hide%2Fdisplay%20for%20each%20slide%20item%3F'><h3>What can I hide\/display for each slide item?<\/h3><\/dt>\n<dd><p>You can hide\/display everything inside the slide item, except the post title.<\/p><\/dd>\n<dt id='what%20if%20i%20forgot%20to%20set%20featured%20image%20for%20a%20post%3F'><h3>What if I forgot to set featured image for a post?<\/h3><\/dt>\n<dd><p>The featured image will not be displayed for that specific slide item without any error.<\/p><\/dd>\n<dt id='can%20i%20display%20the%20slide%20items%20in%20reverse%20order%3F'><h3>Can I display the slide items in reverse order?<\/h3><\/dt>\n<dd><p>Yes, you can display the slide items in default DESC or ASC order with the toggle control 'Reverse order' in 'Display' control panel.<\/p><\/dd>\n<dt id='what%20are%20the%20maximum%20and%20minimum%20number%20of%20posts%20can%20be%20displayed%20each%20slide%3F'><h3>What are the maximum and minimum number of posts can be displayed each slide?<\/h3><\/dt>\n<dd><p>The mininum is 1 post and the maximum is 4 posts each slide.<\/p><\/dd>\n<dt id='can%20i%20have%20different%20number%20of%20posts%20per%20slide%20for%20each%20device%28desktop%2C%20tablet%2C%20mobile%29%3F'><h3>Can I have different number of posts per slide for each device(desktop, tablet, mobile)?<\/h3><\/dt>\n<dd><p>Yes, you can define the number of posts per slide (min is 1 and max is 4) for up to 3 device breakpoints, which are desktop, tablet and mobile.<\/p><\/dd>\n<dt id='can%20i%20edit%20the%20breakpoints%3F'><h3>Can I edit the breakpoints?<\/h3><\/dt>\n<dd><p>Yes, you can edit the breakpoints by putting a desired width number for 3 breakpoints inside 'Responsive' panel control.<\/p><\/dd>\n<dt id='how%20many%20breakpoints%20are%20there%20by%20default%3F'><h3>How many breakpoints are there by default?<\/h3><\/dt>\n<dd><p>There are 3 breakpoints for desktop, tablet and mobile by default.<\/p><\/dd>\n<dt id='is%20there%20an%20option%20to%20add%20more%20breakpoints%3F'><h3>Is there an option to add more breakpoints?<\/h3><\/dt>\n<dd><p>Currently you can't add new breakpoints.<\/p><\/dd>\n<dt id='what%20if%20the%20post%20has%20more%20than%20one%20category%3F'><h3>What if the post has more than one category?<\/h3><\/dt>\n<dd><p>The slide item will display all categories assigned to the post. Each category is separated by the symbol \"|\".<\/p><\/dd>\n<dt id='can%20i%20have%20custom%20styling%20for%20the%20dot%20and%20arrow%20indicators%3F'><h3>Can I have custom styling for the dot and arrow indicators?<\/h3><\/dt>\n<dd><p>This featured is in development.<\/p><\/dd>\n<dt id='when%20i%20create%20a%20new%20post%20and%20insert%20the%20slider%2C%20an%20error%20appears%20which%20said%20%22this%20block%20has%20encountered%20an%20error%20and%20cannot%20be%20previewed.%22.%20how%20to%20fix%20this%3F'><h3>When I create a new post and insert the slider, an error appears which said \"This block has encountered an error and cannot be previewed.\". How to fix this?<\/h3><\/dt>\n<dd><p>No, this is not a bug and is a known behavior. When you create a new post, please follow these steps if you encounter the error again:\n    1. Assign categories for the post\n    2. Click Publish\/Update\/Save draft when you finish editing the post\n    3. Delete the slider block you've inserted before\n    4. Reinsert the slider block\nThe slider should now be functional as normal.<\/p><\/dd>\n<dt id='the%20slider%20doesn%27t%20display%20on%20frontend%20althought%20works%20normally%20in%20the%20post%20editor%3F'><h3>The slider doesn't display on frontend althought works normally in the post editor?<\/h3><\/dt>\n<dd><p>If the slider in the post editor appears and is functional but not on the frontend, please make sure jQuery is enabled for your WordPress site.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Add 1 faq<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Update plugin short description<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"A truly WYSIWYG, responsive and dynamic related post carousel slider Gutenberg block.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/167679","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=167679"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/thongtruong"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=167679"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=167679"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=167679"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=167679"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=167679"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=167679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}