Related Posts by Taxonomy

Related Posts by Taxonomy Install Statistics

26
159.09%
Today: 70 Yesterday: 44 All-time: 268,897 downloads
Related Posts by Taxonomy Icon

Try plugin: Related Posts by Taxonomy

We'll create fresh WordPress site with Related Posts by Taxonomy installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About Related Posts by Taxonomy

Display a list of related posts on your site based on the most terms in common. Supports thumbnails, shortcodes, a widget and more.

68


4


2


0


1

updated: 7 months ago
since: 11 years ago
author: keesiemijer

Description

Quickly increase your readers’ engagement by adding related posts in the sidebar or after post content with a widget or shortcode.

Posts with the most terms in common will display at the top!

This plugin is capable of finding related posts in multiple taxonomies and post types. Include or exclude terms from the search for related posts. Change the look and feel by using your own templates in a (child) theme.

plugin documentation

Plugin features:

  • Widget and Shortcode.
  • Display related posts as post thumbnails, links, excerpts or full posts.
  • Small Footprint. Doesn’t slow down your site!
  • Automatic display of related posts after the post content.
  • Exclude or include terms and posts.
  • Search for related posts in single or multiple taxonomies and post types.
  • Limit the search for related posts by date, number or post meta.
  • Use your own HTML templates for display of the related posts.
  • Extensive plugin documentation.
  • Follows WordPress coding standards and plugin best practices.
  • Highly Adjustable!

For the following features you need to be somewhat familiar with WordPress hooks. The plugin documentation has many examples to help you along.

Extended features:

  • Use a persistent cache for the related posts query. (opt-in feature)
  • Use the WordPress REST API to get related posts. (opt-in feature)
  • Load related posts after the whole page has loaded (with Ajax). (opt-in feature)
  • Use plugin functions in your theme templates to display related posts yourself.
  • Use Filters to change the default behavior of the plugin.

Follow this plugin on GitHub.
Search the code reference

See the FAQ to have related posts automatically display after the post content without using the shortcode or widget.

Default usage for the shortcode is:

[related_posts_by_tax]

Attributes for the shortcode are:

  • post_id
  • taxonomies
  • post_types
  • posts_per_page
  • order
  • orderby
  • before_shortcode
  • after_shortcode
  • title
  • show_date
  • before_title
  • after_title
  • include_terms
  • include_parents
  • include_children
  • exclude_terms
  • exclude_posts
  • format
  • gallery_format
  • image_size
  • columns
  • caption
  • link_caption
  • limit_posts
  • limit_month
  • meta_key
  • meta_value
  • meta_compare
  • meta_type
  • public_only
  • include_self
  • post_class

Example to show 10 related posts instead of the default 5.

[related_posts_by_tax posts_per_page="10"]

See the documentation for more information about these attributes.

Translations