Linux 软件免费装
Banner图

RDV Category Image

开发者 RDV InfoTech
rdvinfotech
更新时间 2026年6月26日 23:29
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later

标签

taxonomy image category image woocommerce category tag image product category image

下载

1.0.0 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.9 1.0.1 1.0.10 1.0.7 1.1.0 1.0.8 1.1.1

详情介绍:

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. <?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"]

安装:

  1. Go to the WordPress admin area and select Plugins > Add New from the menu.
  2. Search for "RDV Category Image".
  3. Click install.
  4. Click activate.

屏幕截图:

  • Categories list and Add New Category page.
  • Edit Category page - setting image, selecting size, and copying shortcode.

常见问题:

Where can I find the shortcode for my category?

When you edit a category that has an image, a shortcode automatically appears on the edit page like this: [rdv_category_image term_id="10"] Simply click the shortcode to copy it to your clipboard, then paste it anywhere on your site (posts, pages, widgets).

The image isn't showing on my site. What should I check?

Please check these three items:

  1. Go to RDV Category Image settings and verify that the taxonomy (Categories, Tags, etc.) is checked and saved.
  2. Confirm you've uploaded an image for that specific category.
  3. Clear your site cache and refresh the page.

Does this work with WooCommerce product categories?

Yes! WooCommerce product categories are fully supported:

  1. Go to RDV Category Image settings.
  2. Check "Product categories (product_cat)".
  3. Click Save Changes.
  4. Edit any product category and upload an image.
Use the shortcode displayed on the edit page to show the image anywhere in your store.

Will this plugin slow down my website?

No, the plugin is lightweight and will not affect your site's performance. It only loads administrative scripts on relevant category edit screens.

Do I need to edit my theme files to use this plugin?

No! Editing files is not required for most users. Simply use the shortcode that appears when editing a category and paste it into:

  • Pages or posts (using the shortcode with the term_id attribute).
  • Page builder modules (such as Elementor, Divi, or Beaver Builder).
  • Page builder category archive templates. Advanced users who want more control can optionally add template tags to child theme files - see the template tag examples in the Description section above.

更新日志:

1.1.1 1.1.0 1.0.10 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0