Directory / plugin

Lightweight Related Posts BCTeam

v2.0.0 · by Blog Cutter AI

Show related posts by category and tag. Auto-display, Gutenberg block, and shortcode. Built for WordPress 7.1.

About this plugin

Lightweight Related Posts BCTeam adds a related posts section to your site without extra scripts, remote APIs, or tracking.

It is tested with WordPress 7.1, including the always-iframed post editor and Block API version 3.

What it does

  • Matches posts by category, tag, both, either, or a specific category
  • Fills empty slots with latest or random posts so the section stays useful
  • Shows automatically after content or just before comments
  • Adds a Gutenberg block with live preview and sidebar controls
  • Adds the [lwrpbct_related] shortcode and a theme template tag
  • Lets you hide the section on any single post
  • Caches results and clears the cache when you save a post or settings

Layouts and design

  • Five layouts: card grid, list, compact, mosaic, and image overlay
  • Modern, minimal, and classic styles
  • 1–4 columns, accent color, image size, and excerpt length
  • Responsive on phones and tablets, with reduced-motion support

Ways to display

  1. Turn on auto-display in Settings Related Posts
  2. Insert the Related Posts block in the editor
  3. Use [lwrpbct_related num="4" layout="grid"]
  4. Call <?php lwrpbct_the_related_posts(); ?> in a theme template

Developers can filter lwrpbct_query_args and lwrpbct_related_html.

Plugin tags