Offer ends in:
  
Black Friday: 40% off your first year: 40% off on annual plans. Use code with BF2026 at checkout. View Plugins
Install-Query-Monitor

Debugging with Query Monitor

Most of my plugins, including Contextual Related Posts, Top 10 and Better Search, run SQL queries to fetch information from the WordPress database. I usually tell many users who request support in the forums to install Query Monitor and check the SQL generated by the plugin. It also helps to run the queries in phpMyAdmin...
WP REST API Integration

WP REST API Integration

Since v3.1.0, Contextual Related Posts has included support for viewing the related posts via the WordPress REST API. The plugin registers the contextual-related-posts/v1 namespace to retrieve related posts for a particular post ID. Pro features also register specialized endpoints in this namespace for rendered HTML and block-editor previews. Since v4.5.0, the plugin also registers abilities through...
WZLogo-white-1

Customizing the output of Contextual Related Posts

Contextual Related Posts has several customization options available via the Settings page in WordPress Admin. You can access this via Settings » Related Posts. A typical HTML output for the plugin is below. The plugin also provides you with a set of CSS classes that allow you to style your posts. The main CSS classes...
Display related posts with CRP_Query

Display related posts with CRP_Query

Contextual Related Posts v3.0.0 introduced CRP_Query, which works as a wrapper for WP_Query. This brings all the power and flexibility of WP_Query to Contextual Related Posts. If you’re not familiar with WP_Query, I recommend reading docs. Standard Loop get_crp_posts() get_crp_posts() is a wrapper for CRP_Query and can be used to retrieve an array of related...
Contextual-Related-Posts-CLI

Contextual Related Posts CLI Overview

Contextual Related Posts CLI (CRP-CLI) offers an efficient way to manage Contextual Related Posts via the command line. This tool is part of Contextual Related Posts Pro starting from version 4.2.0. About WP-CLI WP-CLI is a set of command-line tools for managing WordPress installations. You can update plugins, configure multisite installations, and much more, all...
Contextual Related Posts Abilities API

Contextual Related Posts Abilities API

Contextual Related Posts 4.5.0 registers abilities with the WordPress Abilities API. The shared ability retrieves related posts; Contextual Related Posts Pro adds abilities to clear the cache and change a post’s exclusion status. Requirements The WordPress Abilities API toggle on the Features settings tab controls whether CRP registers its abilities. It is enabled by default....
WZLogo-white-1

Cache invalidation filters

Contextual Related Posts caches its related posts so that repeat visitors do not re-run the query. Since 4.5.0 the cache is kept fresh automatically when you save a post, and this page documents the filters that control that behavior. What happens when you save a post Saving a post does two things: Both parts skip...
Server Load Threshold Setting in Contextual Related Posts Pro

Server Load Threshold Setting in Contextual Related Posts Pro

The Server Load Threshold setting was introduced in Contextual Related Posts Pro v4.2.0 and exists for one simple reason: your database should stay responsive, even when traffic spikes. This setting lets you define how busy is too busy. You can find this setting under the Performance tab in the Related Posts settings page. What this...
Troubleshooting Related Posts do not display

Troubleshooting Related Posts do not display

When you install Contextual Related Posts, the related posts should automatically display at the end of posts and pages. However, in some cases this might not display. Below are a few options to troubleshoot this. If none of these work, please create a ticket in the support forums with your site URL and output of...
crp-440-elementor-widget

Page Builder Integrations for Contextual Related Posts Pro

Contextual Related Posts Pro v4.4.0 adds native “Related Posts (CRP)” elements for three popular page builders: WPBakery Page Builder, Elementor, and Bricks Builder. Each integration is experimental: the underlying rendering is stable (it reuses the shortcode), but the builder-side controls are new and feedback is welcome while they settle in. WPBakery Page Builder If WPBakery...
Lazy Loading Related Posts

Lazy Loading Related Posts

Lazy loading, introduced in Contextual Related Posts Pro v4.3.0, defers rendering the related posts until the visitor is about to scroll them into view. The page is served without running the related posts query, and the list is fetched in the background via the REST API. Why lazy load? The trade-off: the related posts links...