Gerelateerde Berichten door Taxonomie


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 your (child) theme.

plugin documentatie

Plugin kenmerken:

  • 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.
  • Search for related posts in single or multiple taxonomies and post types.
  • Exclude or include terms and posts.
  • Limit the search of related posts by date or number.
  • Use your own HTML templates for display of the related posts.
  • Gebruik de WordPress REST API om gerelateerde berichten te verkrijgen (opt-in component)
  • Gebruik een permanente cache voor de gerelateerde berichten. (opt-in component)
  • Use plugin functions in your theme templates to display related posts yourself.
  • Use Filters to change the default behavior of the plugin.
  • Extensive plugin documentatie.
  • Highly Adjustable!
  • Follows WordPress coding standards and plugin best practices.

Volg deze plugin op GitHub.

Zie de FAQ om gerelateerde berichten automatisch te laten zien achter de postinhoud zonder de shortcode of widget te gebruiken.

Standaard gebruik van de shortcode is:


Shortcode attributen zijn:

  • post_id
  • taxonomies
  • post_types
  • posts_per_page
  • order
  • orderby
  • before_shortcode
  • after_shortcode
  • title
  • show_date
  • before_title
  • after_title
  • terms
  • include_terms
  • exclude_terms
  • exclude_posts
  • format
  • image_size
  • columns
  • caption
  • link_caption
  • limit_posts
  • limit_year
  • limit_month
  • related
  • public_only
  • include_self
  • post_class

Voorbeeld om 10 gerelateerde berichten te tonen in plaats van de standaard 5.

[related_posts_by_tax posts_per_page="10"]

Zie de documentatie voor meer informatie over deze attributen.



  • The Widget
  • Twenty Fifteen screenshot. Related posts in the sidebar and after post content
  • Twenty Twelve screenshot. Post thumbnails (after post content) and the widget
  • Twenty Thirteen screenshot. Post thumbnails (after post content) and the widget


  • Unzip de folder.
  • Upload the related-posts-by-taxonomy folder naar de /wp-content/plugins map.
  • Activeer de Gerelateerde berichten door taxonomie plugin.
  • Dat was het, nu ben je klaar om de widget en de shortcode te gebruiken


Voor meer informatie over deze plugin zie de plugin documentatie (Engels).
Om deze plugin aan te passen zie de plugin recepten pagina (Engels).

Installatie instructies
  • Unzip de folder.
  • Upload the related-posts-by-taxonomy folder naar de /wp-content/plugins map.
  • Activeer de Gerelateerde berichten door taxonomie plugin.
  • Dat was het, nu ben je klaar om de widget en de shortcode te gebruiken
Kan ik de lay-out voor de gerelateerde berichten veranderen?

Ja. Zie deze sectie van de documentatie om zelf de gerelateerde berichten te stylen.

Hoe kan ik gerelateerde berichten automatisch toevoegen achter de bericht inhoud?

Zie Gerelateerde berichten toevoegen na de postinhoud (Engels).

Kan ik berichten of termen opnemen of uitsluiten met de widget of shortcode

Yes. For the widget see this filter and for the shortcode see the attributes terms, include_terms, exclude-terms and exclude_posts.

Kan ik mijn eigen standaardinstellingen voor de shortcode instellen?

Ja. Zie: Uw eigen standaardinstellingen voor de shortcode instellen (Engels)

The widget only lets you choose “all taxonomies” or a single taxonomy. Can I make it use multiple specific taxonomies?

Ja. Zie deze filter hoe je dat kan bewerkstelligen

Is this plugin GDPR compliant?
  • This plugin doesn’t process, share, send or retain any user data.
  • This plugin doesn’t track (user) data for analytics (or for any other reason).
  • This plugin doesn’t save or read cookies.
  • This plugin doesn’t use 3rd party libraries.

Read this article why plugin authors cannot guarantee 100% compliance.

Please contact a GDPR consultant or law firm with this information to assess if this plugin is compliant.


The best plugin and the best support

I love that the plugin configuration is not done from the back office, but from a shortcode that I can configure and put anywhere, configuring the shortcode parameters.
On the other hand highlight the support, in a day two doubts solved with a lot of efficiency.
Thank you!!!

Perfectly Perfect

Yes, it works. I add the shortcode to my ad plugin for placement after the last paragraph and Bam! Works amazingly well. And yes, the posts are related with the most related at the top of the list.

Excellent plugin

This is the related posts plugin I’ve been looking for. Powerful, flexible, extremely customizable thanks to plenty of parameters to set up. I use it in association with an ad insertion plugin to manage the position. Excellent job.

Excellent related post plugin! Developer friendly.

Excellent related post plugin! Spend a couple of days finding a good one, and many are either missing relevant features, no longer updated or way to bloated. Related Posts by Taxonomy simply nailed it, working fantastic out of the box, outputs perfect valid code and with its well documented selectors its a breeze to style to your likening. Took me 10 minutes and 4 lines of CSS and I had related and relevant posts in my blog post footer exactly like I wanted it.


Lees alle 61 beoordelingen

Bijdragers & ontwikkelaars

“Gerelateerde Berichten door Taxonomie” is open source software. De volgende personen hebben bijgedragen aan deze plugin.


“Gerelateerde Berichten door Taxonomie” is vertaald in 5 talen. Dank voor de vertalers voor hun bijdragen.

Vertaal “Gerelateerde Berichten door Taxonomie” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.



  • Enhancement
    • Add ability to show the post date after the post title
    • Allow getting post fields from the cache
    • Add new filter to filter all related post permalinks
    • Add new tests for the post type feature (GitHub)
  • Bug fixes
    • (minor) Add post classes after retrieving posts from the cache
    • (minor) Return an error if invalid taxonomies or post types was requested with the WP Rest API


  • Enhancement
    • Prepare plugin for gutenberg blocks
    • Add ‘terms’ parameter for shortcode and widget
    • Add GDPR information to readme.txt
    • deprecate functions (with back compatibility)
      • km_rpbt_related_posts_by_taxonomy()
      • km_rpbt_get_default_args()
      • km_rpbt_related_posts_by_taxonomy_validate_ids()
      • km_rpbt_related_posts_by_taxonomy_template()
      • km_rpbt_post_title_link()
      • km_rpbt_get_related_post_title_link()
      • km_rpbt_related_posts_by_taxonomy_widget()
  • Bug fixes
    • (minor) Add missing filter pre_related_posts before cache queries
    • (minor) Add missing properties to related posts returned by the cache


  • Enhancement
    • Add post classes with filters or as a shortcode or widget argument
    • Move included current post to the top of the stack by default


  • Enhancement
    • Add public_only parameter to not display private related posts from the current author.
    • Add include_self parameter to include the current post in the related posts.
    • Add filter pre_related_posts to override the related posts query.
  • Bug fixes
    • Fix duplicate gallery IDs breaking the column layout of WordPress galleries. Props: @sonamel


  • Enhancement
    • Add support to disable the shortcode or widget for this plugin
    • Add support to update all plugin settings with one filter.

For older changelog versions see the changelog.txt file