الوصف
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/
المكوّنات
تقدّم هذه الإضافة مكوّن واحد (1).
- Contenu lié
التنصيب
- 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.
الأسئلة المتكررّة
-
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.
المراجعات
لا توجد مراجعات لهذه الإضافة.
المساهمون والمطوّرون
“WebToulouse Related Content Inserter” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.
المساهمونترجمة ”WebToulouse Related Content Inserter“ إلى لغتك.
مُهتم بالتطوير؟
تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.
سجل التغييرات
1.0.0
- Initial release.