Mevabi – Related Posts Inline

Description

Mevabi – Related Posts Inline lets you automatically insert related posts directly inside your post content — not just at the bottom. Keep readers engaged by surfacing relevant content right where their attention is.

Key Features

  • Two placement modes — Insert related posts at the end of the content, or distribute them inline evenly throughout paragraphs.
  • Three modern layouts — Choose the style that fits your theme:
    • Design 1 · Solid + Arrow — Full-color card with a large right-hand arrow CTA. Section title displayed above the box.
    • Design 2 · Grey · Centered — Subtle light-grey card, centered text, section title inside the box. No arrow.
    • Design 3 · Image + Arrow — Same as Design 1 but with the featured image displayed on the left side of the card.
  • Fully clickable cards — The entire card area is a single link; no awkward partial click zones.
  • Per-design color customization — Every color (background, hover, title, excerpt, arrow, section label, border, border-radius) is individually configurable via native color pickers in the admin.
  • Optional post excerpt — Show a short, clean text excerpt (shortcodes and HTML stripped automatically). If the post begins with a shortcode it is skipped and the first real text paragraph is used instead.
  • Typography controls — Set font sizes (in any CSS unit) for the section title, post title, and excerpt independently.
  • Match by category or tags — Choose which taxonomy drives the “related” logic.
  • Link target — Open related post links in the same tab or a new tab (with proper rel="noopener noreferrer").
  • Section title — Define a custom heading shown above (or inside) each related posts block.
  • 1–3 posts — Display one, two, or three related posts per block.
  • Lightweight — No jQuery, no external libraries; vanilla JS + a single small CSS file.

Privacy

This plugin does not collect, store, or transmit any personal data.

Screenshots

  • Design 1 – Solid color card with arrow CTA, title above the box.
  • Design 2 – Light grey card, centered text, title inside the box.
  • Design 3 – Solid color card with featured image on the left and arrow CTA.
  • Admin – General settings tab.
  • Admin – Design & Colors tab with live color pickers.
  • Admin – Typography tab.

Installation

  1. Upload the mevabi-related-posts-inline folder to the /wp-content/plugins/ directory, or install via Plugins Add New in your WordPress admin.
  2. Activate the plugin through the Plugins menu.
  3. Go to Settings Related Posts Inline to configure the plugin.

FAQ

Will related posts show on pages, archives, or custom post types?

No. Related posts are injected only on single blog posts (is_single()), in the main query loop.

What happens if a post has no matching category or tag?

No block will be shown. The content is returned unmodified.

What happens if the content has fewer than two paragraphs and inline mode is selected?

The plugin automatically falls back to appending the block at the end of the content.

Does Design 3 require a featured image?

No. If a related post has no featured image the card is displayed without the image column.

Is the excerpt safe from shortcode execution?

Yes. All shortcode tags are stripped with a regex before the text is sanitized, so no shortcode is ever executed inside the excerpt area.

Can I use this plugin on a multisite installation?

Yes. Settings are stored per-site using the standard WordPress options API.

Reviews

ഈ പ്ലഗിന് റിവ്യൂകൾ ഒന്നുമില്ല.

Contributors & Developers

“Mevabi – Related Posts Inline” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • Initial release.