Beskrivning
WebToulouse Related Content Inserter lets you display a clean, customizable ”related content” block inline inside any post, page, or custom post type. Lightweight, no tracking, no premium upsell.
Key features
- Manual selection via sidebar metabox with AJAX search and drag-and-drop ordering.
- Automatic suggestions based on shared taxonomies (categories, tags, custom taxonomies).
- Six auto-insertion modes: disabled, before, after, middle, after the Nth paragraph, or every N paragraphs with a maximum cap.
- Shortcode
[wtrc_related_content]with full attribute support. - Native Gutenberg block with server-side rendering.
- Configurable accent bar color (5px left border) and background color via plain text fields (hex or rgb/rgba).
- Pale grey background, block layout with no
<ul>/<li>structure. - Works with any public post type (configurable in settings).
- Recursion-safe (won’t loop on the
the_contentfilter). - No tracking, no external requests, no premium upsell.
Shortcode attributes
[wtrc_related_content ids="12,34,56" limit="3" columns="2" title="Read also" accent_color="#e63946" bg_color="#f5f5f5" show_thumbnail="1" show_excerpt="1"]
PHP API
echo wtrc_render( [ 'limit' => 4, 'accent_color' => '#e63946' ] );
Support
Author: Philippe Cano — https://webtoulouse.fr/
Block
Detta tillägg tillhandahåller 1 block.
- Contenu lié
Installation
- Upload the
webtoulouse-related-content-inserterfolder to/wp-content/plugins/, or install via the Plugins screen in WordPress. - Activate the plugin through the Plugins menu.
- Go to Settings Related Content to configure post types, auto-insertion mode, colors, and display options.
- Edit any post / page / CPT and use the Related Content metabox in the sidebar to select items manually, or let automatic suggestions run.
Vanliga frågor
-
Does it work with custom post types?
-
Yes. Enable the desired post types in Settings Related Content.
-
How does the automatic suggestion algorithm work?
-
It looks for posts of the same type that share at least one term (category, tag, or custom taxonomy term) with the current post. Falls back to most recent posts of the same type if none are found.
-
Can I insert the block in the middle of an article?
-
Yes. Choose after the Nth paragraph to inject once, or every N paragraphs to inject multiple times (configurable maximum).
-
Is the plugin GDPR-compliant?
-
The plugin does not collect, send, or store any personal data. It makes no external HTTP requests.
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”WebToulouse Related Content Inserter” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”WebToulouse Related Content Inserter” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.0.0
- Initial release.