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 a (child) theme.
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.
- Exclude or include terms and posts.
- Search for related posts in single or multiple taxonomies and post types.
- Limit the search for related posts by date, number or post meta.
- Use your own HTML templates for display of the related posts.
- Extensive plugin documentation.
- Follows WordPress coding standards and plugin best practices.
- Highly Adjustable!
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:
- Use a persistent cache for the related posts query. (opt-in feature)
- Gebruik de WordPress REST API om gerelateerde berichten te verkrijgen (opt-in component)
- Laad gerelateerde berichten nadat de hele pagina is geladen (met Ajax). (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.
Volg deze plugin op GitHub. Zoek in de (Engels) code reference
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:
[related_posts_by_tax]
Shortcode attributen zijn:
post_id
taxonomies
post_types
posts_per_page
order
orderby
before_shortcode
after_shortcode
title
show_date
before_title
after_title
include_terms
include_parents
include_children
exclude_terms
exclude_posts
format
gallery_format
image_size
columns
caption
link_caption
limit_posts
limit_month
meta_key
meta_value
meta_compare
meta_type
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.
Vertalingen
- Nederlands
- French (by Annie Stasse)
- Spaans (door Ludobooks – Cuentos personalizados)
- Catalaans (door Ludobooks – Cuentos personalizados
- Pools (door koda0601)