Skip to content

Modules

The Related Posts module shows posts that share a category, tag or other taxonomy term with the post being viewed, in a grid or a list.

The Related Posts module shows posts that are related to the post the visitor is reading. Relation is based on a taxonomy you choose, such as category or tag. Place it in a single post template or inside a post.

The module picks published posts that share at least one term with the current post, and leaves out the current post. If the current post has no terms in the chosen taxonomy, the module shows the latest posts instead. If nothing is found, it shows "No related posts found."

Content

Query

  • Post Type: Post or Page. The default is Post.
  • Max. Related Posts: The maximum number of posts to show. The default is 3.
  • Order: Ascending or Descending. The default is Descending.
  • Order By: Date, Title, Random, Comment Count or Menu Order. The default is Date.
  • Relation Taxonomy: The taxonomy slug used to find related posts, for example category or post_tag. The default is category.

Elements

  • Hide Image: Off by default.
  • Image Size: Thumbnail, Medium, Medium Large, Large or Full. The default is Medium.
  • Hide Title: Off by default.
  • Hide Category: On by default, so categories are hidden until you turn this off.
  • Hide Excerpt: Off by default. The excerpt is trimmed to 20 words.
  • Hide Author: Off by default.
  • Hide Date: Off by default.

Design

Layout

  • Layout: Grid or List. The default is Grid.
  • Columns: The number of columns in the grid. The default is 3.
  • Column Gap and Row Gap: The spacing in the grid. Both default to 20px.
  • List Gap: The spacing between items in the list layout. The default is 20px.

Content, Title, Content Text and Meta

The Content group sets the padding of the text area. The Title, Content Text and Meta groups style those elements and set their top spacing (Title Spacing Top, Excerpt Spacing Top, Meta Spacing Top).