WP Manifestindependent plugin directory
manifest / content / relevant-recent-posts

Relevant Recent Posts

Adds WordPress shortcodes for recent posts lists.

by Infinitnet · github.com/infinitnet/relevant-recent-posts · website

1stars
31release downloads
≈10active sites
0forks

Install

The author publishes release zips, so WP-CLI can install straight from GitHub:

wp plugin install https://github.com/infinitnet/relevant-recent-posts/releases/download/v1.4/relevant-recent-posts-v1.4.zip

Declares an update source (https://github.com/infinitnet/relevant-recent-posts), so updates arrive through the plugin's own updater.

Readme

Relevant Recent Posts

Adds WordPress shortcodes for recent posts lists.

Purpose

The Relevant Recent Posts plugin enhances your WordPress site by providing a simple yet flexible way to display lists of recent posts. It's particularly useful for bloggers and content-focused websites, where showcasing related or recent content can improve SEO, user engagement, and site navigation.

Installation

  1. Download the latest release.
  2. Upload and install the plugin zip file under Plugins > Add New Plugin > Upload Plugin.
  3. Activate the plugin.

Available Shortcodes

  • [recentposts]: Displays the 10 most recent posts from the same category as the current post.
  • [recentposts count=5]: Changes the number of displayed posts. Replace 5 with your desired number.
  • [recentposts scope=global]: Displays recent posts from all categories.
  • [recentposts date=modified]: Sorts posts by the last modified date instead of the published date.
  • [recentposts class=example-class]: Applies a custom CSS class (example-class) to the list for styling. Replace example-class with your own class name.
  • [recentposts nonav]: Removes <nav> tags from the posts list.
  • You can combine multiple parameters, like [recentposts date=modified scope=global count=5 class=example-class].

Usage

Add the shortcode [recentposts] to any post, page, or widget where you want to display the list of recent posts. Customize its behavior using the available parameters.

Support

For support, feature requests, or bug reports, please visit the GitHub issues page.

Contributions

Contributions to the plugin are welcome. Please fork the GitHub repository and submit a pull request.

Changelog

  • 1.2: Fix: cache key has to include category ID.
  • 1.1: Transient caching logic and cache clearing improved.
  • 1.0: Initial release.

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
v1.4 Jun 6, 2024 relevant-recent-posts-v1.4.zip 6
v1.3 Jan 2, 2024 relevant-recent-posts-v1.3.zip 5
v1.2 Dec 28, 2023 relevant-recent-posts-v1.2.zip 7
v1.1 Dec 27, 2023 relevant-recent-posts-v1.1.zip 8
v1.0 Dec 27, 2023 relevant-recent-posts-v1.0.zip 5

Active-site estimate ≈10 comes from the median of recent superseded releases. Method.