Linux 软件免费装
Banner图

Advanced Category and Custom Taxonomy Image

开发者 sajjad67
更新时间 2024年10月18日 00:06
PHP版本: 5.6 及以上
WordPress版本: 6.6
版权: GPLv2

标签

featured image taxonomy image category image category logo term image

下载

1.0.8 1.1.1 1.0.9 1.1.0

详情介绍:

Now its easier to include category / custom taxonomy image with this plugin for different platforms. No need to overload mobile bandwidth with high pixel image size. You can now select different image for different devices. Upload Different Image For Different Devices ex: Mobile, Tablet, Desktop, iOS, Android, Windows Phone. Built-in Template Tag To Use Anywhere You Want In Your Theme : get_taxonomy_image($term_id, $return_img_tag, $class); Documentation $taxonomy_img = get_taxonomy_image( int $term_id = get_queried_object()->term_id , boolean $return_img_tag = false , array $class = array() ); get taxonomy image url if $return_html = true then return tag Parameters : $term_id (int) (Required) Taxonomy ID of the term. $return_img_tag (boolean) (Optional) Formatted Image with tag for the field during output. $class (array) (Optional) Array of image classes ex: array('class1','class2',...) but $return_img_tag should be true to add image class. echo $taxonomy_img; // taxonomy image url where $term_id is 'category / term id' Shortcode : use the shortcode anywhere to get taxonomy image. If you don't provide "term_id" value then it will be current queried page taxonomy automatically. echo do_shortcode( '[ad_tax_image term_id="" return_img_tag="true" class="your custom class list seperated by space"]' ); // keep term_id empty if you want to show current visited taxonomy archive image. Features

安装:

  1. Go to Wordpress plugin page
  2. Click Add New & Upload Plugin
  3. Drag / Click upload the plugin zip file
  4. The resulting installation screen will list the installation as successful or note any problems during the install. If successful, click Activate Plugin to activate it, or Return to Plugin Installer for further actions.
  5. Go to your Dashboard ->Settings -> Advanced Category & Taxonomy Image.
  6. There You Will Find Fields To Enable Taxonomy & Device Filters.
  7. After Enabling Go To Your Taxonomy Add/Edit Page To Upload Image

屏幕截图:

  • Settings page for enabling taxonomy image upload for different devices
  • Auto Template Tag Generation

更新日志:

1.1.0 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