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.
Waardering
5/5
Versie
1.1.0
Actieve installaties
300
Laatst bijgewerkt
Dec 12, 2025
RDV Category Image

RDV Category Image plugin allows you to add an image to a category, tag, or any custom taxonomies. Please review the code snippets below to display a category image on the category page template or any page or post.

  • Use template tag rdv_category_image_url(); with php echo function to get 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 this 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 page or post or a page builder template to display a category image. The basic shortcode without attributes [rdv_category_image] will only work on the category template page to display a specific category image. Use shortcode attributes term_id and size to display a specific category image and size.

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