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.
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 features:
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:
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_idtaxonomiespost_typesposts_per_pageorderorderbybefore_shortcodeafter_shortcodetitleshow_datebefore_titleafter_titleinclude_termsinclude_parentsinclude_childrenexclude_termsexclude_postsformatgallery_formatimage_sizecolumnscaptionlink_captionlimit_postslimit_monthmeta_keymeta_valuemeta_comparemeta_typepublic_onlyinclude_selfpost_classExample 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.