When creating dynamic templates for your posts you may want to show related items at the bottom of the post. You can easily do this with any Total grid or Carousel module via the Advanced Query setting like such:
By adding related=1 to your custom query the theme will automatically pull posts from the same category as the current post or primary category (defined in Yoast SEO) and exclude the current post from the loop.
Choose your related taxonomy
By default the related query function will locate items from the same category, however, you can actually choose what taxonomy to display related items from if you preferred to display related by tags or a custom taxonomy. To do this, simply define a taxonomy parameter in the Query tab with a value equal to your taxonomy name. So, in the example below the query will locate items from the same Tags as the current post.