{"id":292479,"date":"2026-03-27T07:18:01","date_gmt":"2026-03-27T07:18:01","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/lightweight-related-posts-bcteam\/"},"modified":"2026-09-08T19:20:44","modified_gmt":"2026-09-08T19:20:44","slug":"lightweight-related-posts-bcteam","status":"publish","type":"plugin","link":"https:\/\/kaa.wordpress.org\/plugins\/lightweight-related-posts-bcteam\/","author":23447953,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0.0","stable_tag":"trunk","tested":"7.1","requires":"6.3","requires_php":"7.4","requires_plugins":null,"header_name":"Lightweight Related Posts BCTeam","header_author":"Blog Cutter AI","header_description":"Ultra-lightweight related posts widget using WP_Query by tags and categories. Shows 3-5 posts automatically below content. Zero bloat, production-ready. Template function, shortcode [lwrpbct_related], Gutenberg block.","assets_banners_color":"35475e","last_updated":"2026-09-08 19:20:44","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/blogcutter.com","header_plugin_uri":"https:\/\/blogcutter.com\/lightweight-related-posts-bc","header_author_uri":"https:\/\/blogcutter.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":435,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"2.0.0":"<p>WordPress 7.1 support, a new settings screen, smarter matching, and extra layouts. Your existing settings are kept and new options are filled in with defaults.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3492393,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3492393,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3492393,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3492393,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"lwrpbct\/related-posts":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"lwrpbct\/related-posts","version":"2.0.0","title":"Related Posts","category":"widgets","icon":"excerpt-view","description":"Display related posts by category or tag.","keywords":["related","posts","similar"],"textdomain":"lightweight-related-posts-bcteam","usesContext":["postId","postType"],"attributes":{"useDefaults":{"type":"boolean","default":true},"num":{"type":"number","default":4},"orderby":{"type":"string","default":"date_desc"},"cols":{"type":"number","default":3},"layout":{"type":"string","default":"grid"},"title":{"type":"string","default":""},"matchMode":{"type":"string","default":"category_or_tag"},"hideImage":{"type":"boolean","default":false},"hideDate":{"type":"boolean","default":false},"hideCategory":{"type":"boolean","default":false},"hideDescription":{"type":"boolean","default":false},"dateFormat":{"type":"string","default":"short"}},"supports":{"html":false,"align":["wide","full"],"spacing":{"margin":true,"padding":true},"color":{"background":true,"text":false}},"editorScript":"lwrpbct-block-editor","editorStyle":"lwrpbct-editor","style":"lwrpbct-frontend"}},"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3492393,"resolution":"1","location":"assets","locale":"","width":709,"height":605},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3492393,"resolution":"2","location":"assets","locale":"","width":695,"height":608},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3492393,"resolution":"3","location":"assets","locale":"","width":612,"height":461},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3492393,"resolution":"4","location":"assets","locale":"","width":443,"height":472}},"screenshots":[]},"plugin_section":[],"plugin_tags":[610,148076,247,1089,80],"plugin_category":[54],"plugin_contributors":[257396],"plugin_business_model":[],"class_list":["post-292479","plugin","type-plugin","status-publish","hentry","plugin_tags-categories","plugin_tags-gutenberg","plugin_tags-performance","plugin_tags-related-posts","plugin_tags-shortcode","plugin_category-security-and-spam-protection","plugin_contributors-blgctterai","plugin_committers-blgctterai"],"banners":{"banner":"https:\/\/ps.w.org\/lightweight-related-posts-bcteam\/assets\/banner-772x250.png?rev=3492393","banner_2x":"https:\/\/ps.w.org\/lightweight-related-posts-bcteam\/assets\/banner-1544x500.png?rev=3492393","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/lightweight-related-posts-bcteam\/assets\/icon-128x128.png?rev=3492393","icon_2x":"https:\/\/ps.w.org\/lightweight-related-posts-bcteam\/assets\/icon-256x256.png?rev=3492393","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/lightweight-related-posts-bcteam\/assets\/screenshot-1.png?rev=3492393","caption":""},{"src":"https:\/\/ps.w.org\/lightweight-related-posts-bcteam\/assets\/screenshot-2.png?rev=3492393","caption":""},{"src":"https:\/\/ps.w.org\/lightweight-related-posts-bcteam\/assets\/screenshot-3.png?rev=3492393","caption":""},{"src":"https:\/\/ps.w.org\/lightweight-related-posts-bcteam\/assets\/screenshot-4.png?rev=3492393","caption":""}],"raw_content":"<!--section=description-->\n<p>Lightweight Related Posts BCTeam adds a related posts section to your site without extra scripts, remote APIs, or tracking.<\/p>\n\n<p>It is tested with <strong>WordPress 7.1<\/strong>, including the always-iframed post editor and Block API version 3.<\/p>\n\n<h4>What it does<\/h4>\n\n<ul>\n<li>Matches posts by category, tag, both, either, or a specific category<\/li>\n<li>Fills empty slots with latest or random posts so the section stays useful<\/li>\n<li>Shows automatically after content or just before comments<\/li>\n<li>Adds a Gutenberg block with live preview and sidebar controls<\/li>\n<li>Adds the <code>[lwrpbct_related]<\/code> shortcode and a theme template tag<\/li>\n<li>Lets you hide the section on any single post<\/li>\n<li>Caches results and clears the cache when you save a post or settings<\/li>\n<\/ul>\n\n<h4>Layouts and design<\/h4>\n\n<ul>\n<li>Five layouts: card grid, list, compact, mosaic, and image overlay<\/li>\n<li>Modern, minimal, and classic styles<\/li>\n<li>1\u20134 columns, accent color, image size, and excerpt length<\/li>\n<li>Responsive on phones and tablets, with reduced-motion support<\/li>\n<\/ul>\n\n<h4>Ways to display<\/h4>\n\n<ol>\n<li>Turn on auto-display in <strong>Settings \u2192 Related Posts<\/strong><\/li>\n<li>Insert the <strong>Related Posts<\/strong> block in the editor<\/li>\n<li>Use <code>[lwrpbct_related num=\"4\" layout=\"grid\"]<\/code><\/li>\n<li>Call <code>&lt;?php lwrpbct_the_related_posts(); ?&gt;<\/code> in a theme template<\/li>\n<\/ol>\n\n<p>Developers can filter <code>lwrpbct_query_args<\/code> and <code>lwrpbct_related_html<\/code>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/<\/code><\/li>\n<li>Activate <strong>Lightweight Related Posts BCTeam<\/strong><\/li>\n<li>Go to <strong>Settings \u2192 Related Posts<\/strong><\/li>\n<li>Choose matching, layout, and whether to auto-display<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20it%20work%20with%20wordpress%207.1%3F\"><h3>Does it work with WordPress 7.1?<\/h3><\/dt>\n<dd><p>Yes. The block uses API version 3, <code>block.json<\/code>, and <code>usesContext<\/code> so it works in the iframed post editor. Styles are loaded with <code>editorStyle<\/code> \/ <code>style<\/code> handles instead of admin-only CSS.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20the%20block%20editor%3F\"><h3>Does it work with the block editor?<\/h3><\/dt>\n<dd><p>Yes. Search for \u201cRelated Posts\u201d. You can use the plugin defaults or override layout, count, and matching on that block only.<\/p><\/dd>\n<dt id=\"can%20i%20use%20it%20with%20a%20page%20builder%3F\"><h3>Can I use it with a page builder?<\/h3><\/dt>\n<dd><p>Yes. Use the shortcode, or keep auto-display on for single posts.<\/p><\/dd>\n<dt id=\"what%20if%20a%20post%20has%20no%20related%20category%20or%20tag%3F\"><h3>What if a post has no related category or tag?<\/h3><\/dt>\n<dd><p>Use the fallback setting: latest posts, random posts, or show nothing.<\/p><\/dd>\n<dt id=\"will%20it%20slow%20the%20site%20down%3F\"><h3>Will it slow the site down?<\/h3><\/dt>\n<dd><p>Queries use <code>WP_Query<\/code> with <code>no_found_rows<\/code>. Results are cached in transients and refreshed when content or settings change.<\/p><\/dd>\n<dt id=\"can%20i%20hide%20related%20posts%20on%20one%20article%3F\"><h3>Can I hide related posts on one article?<\/h3><\/dt>\n<dd><p>Yes. Open the post and check <strong>Hide related posts on this entry<\/strong> in the Related Posts box.<\/p><\/dd>\n<dt id=\"does%20it%20phone%20home%20or%20add%20credits%20on%20the%20front%20end%3F\"><h3>Does it phone home or add credits on the front end?<\/h3><\/dt>\n<dd><p>No. There is no tracking, and no required \u201cpowered by\u201d link.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Declared compatibility with WordPress 7.1<\/li>\n<li>Rebuilt the Gutenberg block on Block API v3 with <code>block.json<\/code> and iframe-safe editor code<\/li>\n<li>Added matching modes, fallback fill, exclude lists, and post-type targeting<\/li>\n<li>Added five layouts, three visual styles, accent color, and author \/ read-more options<\/li>\n<li>Added transient cache, per-post hide control, and a modern tabbed settings screen<\/li>\n<li>Moved styles out of inline HTML and fixed version \/ sanitization issues<\/li>\n<li>Requires WordPress 6.3+<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Fixed category matching so the current post is excluded<\/li>\n<li>Latest posts first with a random fallback<\/li>\n<li>Added date format selection<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>WordPress.org compliance updates<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Show related posts by category and tag. Auto-display, Gutenberg block, and shortcode. Built for WordPress 7.1.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/kaa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/292479","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kaa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/kaa.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/kaa.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=292479"}],"author":[{"embeddable":true,"href":"https:\/\/kaa.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/blgctterai"}],"wp:attachment":[{"href":"https:\/\/kaa.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=292479"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/kaa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=292479"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/kaa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=292479"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/kaa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=292479"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/kaa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=292479"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/kaa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=292479"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}