YARPP – Yet Another Related Posts Plugin
by YARPP 4.8 (1,163 reviews)

YARPP – Yet Another Related Posts Plugin

The best WordPress plugin for displaying related posts. Simple and flexible, with a powerful proven algorithm and inbuilt caching.

YARPP ranks #400 among WordPress.org plugins with 100,000+ active installations, is #11 of 1,059 in the Advertising category, a 4.8/5 rating from 1,163 reviews, and was last updated Nov 12, 2024. Data from WordPress.org, refreshed twice daily — see methodology.

Tested up to WP 6.7.7 (Current: 7.1)
v5.30.11 Current Version v5.30.11
Updated 1 year ago Last Update on 12 Nov, 2024
Refreshed 12 hours ago Last Refreshed on
#11 of 1,059 in Advertising Top 1% by installs Downloads -23% this week No update in over a year
View on WordPress.org
Rank
#400
No change
Active Installs
100K+
-27.2%
KW Avg Position
16
0.3 worse
Downloads
8M
+61 today
Support Resolved
0%
No change
Rating
96%
Review 4.8 out of 5
4.8 (1,163 reviews)

Next Milestone 200K

Total Progress 36.3%
100K+ 200K+
114
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 63,688 more installs to reach 200K+

Rank Changes

380 390 400 410 420 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
380 391 401 412 422 01-09-2026 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
Current #400
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

50 100 150 200 250 300 350 400 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
50 100 150 200 250 300 350 400 01-09-2026 02-09-2026 03-09-2026 04-09-2026 05-09-2026 06-09-2026 07-09-2026 08-09-2026 09-09-2026 10-09-2026 11-09-2026 12-09-2026 13-09-2026 14-09-2026 15-09-2026 16-09-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

4.8
1,163 reviews
Overall 96%
5
1,049 (90%)
4
57 (5%)
3
15 (1%)
2
7 (1%)
1
35 (3%)

Support Threads Overview

Resolved
Unresolved
1
Total Threads
0
Resolved
1
Unresolved
0%
Resolution Rate

TL;DR

AI summary of the plugin's readme

YARPP is for WordPress site owners and bloggers who want to surface related content to visitors. It automatically finds and displays related posts, pages, and custom post types based on titles, content, tags, categories, and taxonomies, helping increase pageviews and time on site.

  • Customizable related content algorithm
  • Inbuilt caching
  • Custom templates and styles
  • Block Editor (Gutenberg) support
  • [yarpp] Shortcode
  • Widget placement option
  • REST API support
  • WooCommerce support

Frequently Asked Questions

Common questions about YARPP – Yet Another Related Posts Plugin

In Wordpress, go to "Settings" and "Related Posts (YARPP)" and make sure "The Pool" is checked in the "Screen Options" section at the top of the page. In "The Pool" section, check the box next to "Show only posts from the past X months."
In WordPress, go to "Settings" and "YARPP" and make sure "Algorithm" is checked in the "Screen Options" section at the top of the page. In the "Algorithm" section, configure the dropdown boxes next to "Titles," "Bodies," "Categories," and "Tags."
Sorry, but specifying related posts, displaying related posts from external WordPress sites, and pulling content from the Comments section are all outside the scope of YARPP at this time.
Some WordPress themes treat the home page as an archive or a "page." Go to "Settings" then "Related Posts (YARPP)" and view the "Automatic Display Options" section. Make sure "Pages" and "Also display in archives" are not checked.
Option 1: On the edit post page, uncheck “Display Related Posts” in the YARPP box. Be sure to update or publish to save your changes. Option 2: Add <!--noyarpp--> to the HTML code of any post to prevent related posts from displaying. Option 3: Use the noyarpp filter. For example: // Disable YARPP Automatic Display in specific categories function yarpp_disable_categories() { // Examples of in_category usage: https://codex.wordpress.org/Function_Reference/in_category if ( in_category( array( 'my_category_1_slug', 'my_category_2_slug' ) ) ) { return true; } } add_filter( 'noyarpp', 'yarpp_disable_categories' ); These solutions only work if you are using "Automatic Display" in the "Display Options" section. If you are programatically calling yarpp_related(), the shortcode [yarpp] from PHP code or the YARPP Block, you will need to do your own conditional checks. I'm using the Thumbnails display in YARPP 4+. How do I override the style of the text that displays? The title only shows two lines, the font is larger than I'd like, I'd like to center the thumbnails, etc. If you're familiar with CSS, you can override any YARPP styles by editing your theme's style.css file, or any other CSS file you may have created that loads after the YARPP one. To edit your theme's CSS file, go to "Appearance" then "Editor" and then click style.css in the right sidebar. Add changes at the bottom of the file and click "Save." If you do edit this file, just make sure you add !important after each style declaration, to make sure they'll override the YARPP rules. Some common overrides that YARPP users have added are: /* Reduces the title font size and displays more than two title lines */ .yarpp-thumbnail {height: 200px !important;} .yarpp-thumbnail-title {font-size:0.8em !important; max-height: 4em !important} /* Centers the thumbnail section */ .yarpp-related-widget {text-align:center !important;} Once you save any CSS changes, empty your browser's cache and reload your page to see the effect.
If you use YARPP to show related products and want to exclude products that are sold out, use the following code snippet: function yarpp_custom_wp_query($query) { if(isset($query->yarpp_cache_type)){ $query->set('post_type', 'product'); $meta_query = [ 'relation' => 'AND', [ 'key' => '_stock_status', 'value' => ['instock','onbackorder'], 'compare' => 'IN', ] ]; $query->set('meta_query', $meta_query); } return $query; } add_filter('pre_get_posts', 'yarpp_custom_wp_query', 100); Note: this filter applies after the related items were already calculated, so when it filters out an item you will see fewer related items than you requested. You can similarly filter WordPress' meta queries to include/excluded posts from YARPP's related results.
As of YARPP v5.19.0, YARPP usually defaults to using WordPress' default thumbnail size. This can be changed to another thumbnail size using the YARPP setting "Thumbnail Size". However, if you used YARPP before v5.19.0, or your theme defines a "yarpp-thumbnail" size, the default is the "yarpp-thumbnail". To change "yarpp-thumbnail" size, add the following to your theme's functions.php file with appropriate width and height variables: add_image_size( 'yarpp-thumbnail', $width, $height, true );
Each time you change YARPP's thumbnail dimensions like this, you will probably want to have WordPress regenerate appropriate sized thumbnails for all of your images. We highly recommend the Regenerate Thumbnails plugin for this purpose. Note: if you don't use YARPP's thumbnail size, you might want to avoid generating it for newly uploaded images to save space. To do that add the following code snippet to your theme's functions.php file: add_filter( 'yarpp_add_image_size', "__return_false" );
By default, if an appropriately sized thumbnail is not available in WordPress, a larger image will be served and will be made to fit in the thumbnail space via CSS. Sometimes this means images will be scaled down in a weird way, so it is not ideal. What you really want is for YARPP to serve appropriately-sized thumbnails. There are two options for doing so: First, you can use the Regenerate Thumbnails plugin to generate all these thumbnail-sized images in a batch process. This puts you in control of when this resizing process happens on your server (which is good because it can be processor-intensive). New images which are uploaded to WordPress should automatically get the appropriate thumbnail generated when the image is uploaded. Second, you can turn on a feature in YARPP to auto-generate appropriate size thumbnails on the fly, if they have not yet been created. Doing this type of processing on the fly does not scale well, so this feature is turned off by default. But if you run a smaller site with less traffic, it may work for you. Simply add define('YARPP_GENERATE_THUMBNAILS', true); to your theme's functions.php file.
YARPP's thumbnail view requires that a WordPress "featured image" be set for each post. If you have many posts that never had a featured image set, we recommend the plugin Auto Post Thumbnail, which will generate post thumbnails for you.

Sign In / Register

You need to sign in or register to use this feature.