plugin-icon

RDV Category Image

Add an image to a category or taxonomy. Display a category image using either a template tag or a shortcode.
Beoordelingen
5
Versie
1.1.1
Actieve installaties
300
Laatst bijgewerkt
Jun 26, 2026
RDV Category Image

The RDV Category Image plugin allows adding an image to a category, tag, or custom taxonomy. Please review the code snippets below to display a category image on a category page template, page, or post.

  • Use the template tag rdv_category_image_url(); with the PHP echo function to retrieve the category image URL, and then use it in an image tag.

    <?php if(function_exists('rdv_category_image_url')){ echo rdv_category_image_url(); } ?>
  • Use the template tag rdv_category_image(); in the category template file to display the category image directly.

    <?php if(function_exists('rdv_category_image')){ rdv_category_image(); } ?>
  • Use the shortcode in a page, post, or page builder template to display a category image. The basic shortcode without attributes [rdv_category_image] displays the image on a category archive page. Use the shortcode attributes term_id and size to display a specific category image and size on any page or post.

    [rdv_category_image] [rdv_category_image term_id="10"] [rdv_category_image size="thumbnail"] [rdv_category_image term_id="10" size="thumbnail"]
Gratisvoor betaalde abonnementen
Door te installeren, ga je akkoord met de Servicevoorwaarden van WordPress.com en de voorwaarden voor plugins van derden.
Getest tot
WordPress 7.0.2
Deze plugin kan worden gedownload, zodat je hem op je kan gebruiken.