Topaz Related Posts
Related posts that understand your content. YARPP migration in one click.
On posts without shared tags, YARPP got 17% of suggestions on topic. We got 100%.
Specification
- Price
- Free, GPL
- Version
- 0.1.0
- Requires
- WordPress 6.5+, PHP 8.1+
- Tested up to
- WordPress 7.1
- Instead of
- YARPP
- AI
- Not used
- Key number
- 100% on-topic vs YARPP 17%
See the idea work, right here.
A small working preview of what the plugin does, on sample data, in your browser. Nothing is sent anywhere.
Pick the post a reader is on
“You may also like” under “Why your bread crust is pale”
In our lab test on 60 such posts: 100% on topic for this plugin, 17% for YARPP’s default settings.
Topaz Related Posts vs the alternatives.
Measured in our lab with the same data where there is a number; features from each plugin’s own page otherwise.
| Feature | Topaz Related PostsTopazWp · free | YARPPdefault settings | Contextual Related Posts |
|---|---|---|---|
| On-topic results when posts have no tags | 100% | 17% | 100% |
| Database queries per page view (cached) | 0 | 13–15 | 13 |
| Keeps [yarpp], yarpp_related() and theme templates | Yes | — | No |
| Imports YARPP settings | Yes | — | No |
| Background indexing, WP-CLI | Yes | Partly | Partly |
60 posts, top 5 results each, cache flushed before every query. With 10,000 posts, related posts are computed in about 50 ms once and then served from cache. “—” means not applicable or not checked.
What you get.
What it does
Topaz Related Posts shows readers the posts that are actually about the same thing, using a fast relevance index (BM25) built from titles, content, categories and tags. It works in English, Polish, German and most other languages written with letters.
Moving from YARPP? The plugin reads your YARPP settings, shows exactly what will be copied, and imports them in one click. After you deactivate YARPP, your theme keeps working:
[yarpp]shortcodes,yarpp_related(),yarpp_related_exist(),yarpp_get_related()and the olderrelated_posts()/related_entries()/related_pages()template tags,- your theme's
yarpp-template-*.phpfiles.
Features
- Related posts block,
[related_posts]shortcode and automatic display below posts. - Layouts: list, list with thumbnails, cards, or your own theme template.
- Filters: post types, excluded categories and tags, required shared taxonomies, only older posts, only recent posts, password-protected posts on or off, minimum relevance.
- Background indexing in small batches, so large sites never time out. WP-CLI:
wp related-posts index,wp related-posts related <id>,wp related-posts import-yarpp. - Results are cached per post and refreshed when content or settings change.
- No external services. Nothing leaves your site.
How it compares
Measured in a test lab with the same posts (October 2026). "Hard" posts share no categories or tags, so only the text says what they are about:
- Relevance on hard posts: 100% of suggestions on topic. YARPP with default settings: 17% (it weighs only categories and tags). Contextual Related Posts: 100%.
- Database queries per page view: 0 extra queries once results are cached; 8 when computing (YARPP 13–15, Contextual Related Posts 13).
- Large sites: with 10,000 posts, related posts are computed in about 50 ms the first time a post is viewed and then served from cache (0.2 ms, 1 query). The index is built in the background, about 7 ms per post.
- Your theme keeps working after YARPP:
[yarpp],yarpp_related()andyarpp-template-*.phpfiles are handled.
How we checked it.
Automated on every release in an offline lab. The numbers are copied from the latest runs.
automated tests: 60 unit and integration, 11 in a real browser
full regression on WordPress 7.1, 6.5 and multisite (2026-10-12)
Plugin Check errors and warnings, including experimental checks
issues found by independent code reviews and fixed, each with a regression test
automated WCAG 2.1 A/AA check of every screen, no serious issues
PHP versions in static analysis and coding standards, both clean
Performance10,003 published posts
- index 10003 posts: 71.1 s (7.1 ms/post), peak memory 117 MB
- related posts on 10003 posts, not cached: median 51.8 ms, p95 63.3 ms, 19.0 queries
- related posts, cached: 0.20 ms, 1.0 queries per page view
- index size: 50.8 MB
No AI. Nothing leaves your site.
How it works
A local relevance index (BM25) over titles, text, categories and tags, cached per post.
AI
Not used. Everything runs on your server.
What leaves your site
Nothing. The plugin makes no outside requests.
Common questions.
Will my theme break when I deactivate YARPP?
No. With "Handle YARPP shortcodes, template tags and templates" enabled (the default after import), the YARPP functions and shortcode keep working and use this plugin's results.
Does it use AI or send my content anywhere?
No. Relevance is computed on your own server from your own content.
How do I add related posts to a block theme?
Add the "Related Posts" block to your single post template in the Site Editor.
Does it work in my language?
Yes. Words are compared after simple normalisation that works for most languages written with letters; it has been tested with English, Polish and German posts. Languages without spaces between words (Chinese, Japanese) are not supported yet.
Will it slow down my site?
No. The index is built in the background in small batches, results are cached per post and refreshed only when posts or settings change. Visitors never wait for indexing.
Can I use my old YARPP templates?
Yes. Choose "Theme template" as the layout and pick your yarpp-template-*.php file; it receives the related posts the same way YARPP passed them.
What happens to my data when I delete the plugin?
The index tables and settings are removed unless you tick "Keep settings and index when the plugin is deleted". Posts are never changed.
Installation
1. Install and activate the plugin.
2. Go to Settings → Related Posts. Indexing starts automatically in the background; "Index next batch now" speeds it up.
3. If you used YARPP, review the "Migrate from YARPP" section and click "Import and deactivate YARPP".
Works well with.
Topaz Table of Contents
A table of contents with zero JavaScript. Your LuckyWP links stay the same.
Topaz Link Checker
Find broken links without slowing your site. Fix them in one click.
Topaz Internal Links
Internal link suggestions from your own words, while you write. Free.



