
內容簡介
RDV Category Image 外掛允許使用者為分類、標籤或自訂分類法新增圖片,提升網站的視覺效果與內容呈現。
【主要功能】
• 為分類、標籤或自訂分類法新增圖片
• 使用 PHP 函數輕鬆獲取分類圖片 URL
• 支援短碼在頁面或文章中顯示分類圖片
外掛標籤
開發者團隊
原文外掛簡介
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.
Use the template tag rdv_category_image(); in the category template file to display the category image directly.
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"]
