Skip to content

How to Show Related Custom Posts on a Custom Post Types Page? (Based on Taxonomy)

Table Of Content

A “you might also like” block at the bottom of a single post keeps visitors on the site longer, but it needs to actually match on something relevant to the current post.

Dynamic Listing’s Related Post mode reads the post currently being viewed and queries other posts that share its category, tag, taxonomy, or both.

For the full settings tour of the Dynamic Listing widget, see Dynamic Listing Widget Settings Overview.

Requirement – This widget is a part of The Plus Addons for Elementor Pro, make sure it’s installed & activated to enjoy all its powers.

Before You Start

  • Prerequisite: Elementor (free) installed and active.
  • Edition: Dynamic Listing is a Pro widget – it needs The Plus Addons for Elementor Pro installed and its license activated. It will not appear in the free plugin.
  • Widget to enable: go to The Plus Addons > Widgets, search for Dynamic Listing and turn its toggle on.

Steps

  • Add the Dynamic Listing widget to a single-post template (Theme Builder), or directly on a single post.
  • Set Post Listing Types to Related Post.
Post listing types set to related post

Set Related Post Type to Category, Tags, Taxonomy (a custom taxonomy on the post type) or Both (category and tags together) to control what “related” is matched on.

Related post type set to category

Settings Overview

SettingWhat it doesDefault
Post Listing TypesRelated Post reads the currently-viewed post’s terms.Page Listing
Related Post TypeWhat the match is based on: category, tags, taxonomy or both.Both

Related Docs

Not verified

So you know exactly what has and has not been checked:

  • Behavior when the current post has no category or tag assigned at all (empty related block vs. falling back to a general query) was not specifically tested.

Related Frequently Asked Questions

Related Docs