[wordpress插件] Advanced Category and Custom Taxonomy Image高级类别和自定义分类图像

wordpress 插件 文章 2020-02-06 21:00 579 0 全屏看文

AI助手支持GPT4.0

评分

100

100

描述

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.

现在,您可以为不同的设备选择不同的图像。

Documentation

文档

$taxonomy_img = get_taxonomy_image( int $term_id = get_queried_object()->term_id , boolean $return_img_tag = false , array $class = array() );

$ taxonomy_img = get_taxonomy_image(int $ term_id = get_queried_object()-> term_id,布尔$ return_img_tag = false,数组$ class = array());

get taxonomy image url if $return_html = true then return tag

如果$ return_html = true,则获取分类图像网址,然后返回标记

Parameters

参数

$term_id

$ term_id

(int) (Required) Taxonomy ID of the term.

(int)(必填)术语的分类ID。

$return_img_tag

$ return_img_tag

(boolean) (Optional) Formatted Image with tag for the field during output.

(布尔值)(可选)输出期间带有字段标签的格式化图像。

$class

$ class

(array) (Optional) Array of image classes ex: array('class1','class2',...) but $return_img_tag should be true to add image class.

(数组)(可选)图像类的数组,例如:array('class1','class2',...),但$ return_img_tag应该为true以添加图像类。

echo $taxonomy_img;

echo $ taxonomy_img;

// category / taxonomy image url

//类别/分类图片网址

where $term_id is ‘category / term id’

其中$ term_id是“类别/术语ID”

Features

功能

    • Option To Enable Custom Image Upload for different taxonomies
    • 启用针对不同分类法的自定义图像上传的选项

    • Option To Enable Custom Image Upload for different devices
    • 为不同设备启用自定义图片上传的选项

    • Very simple to use & WP Default Media Uploaded to upload image
    • 非常简单易用,并且已上传WP默认媒体以上传图片

    • Built-in Template Tag to use in your theme template
    • 用于主题模板的内置模板标签

安装步骤

    1. Go to WordPress plugin page
    2. 转到WordPress插件页面

    3. Click Add New & Upload Plugin
    4. 点击添加新的和上传的插件

    5. Drag / Click upload the plugin zip file
    6. 拖动/单击上传插件zip文件

    7. The resulting installation screen will list the installation as successful or note any problems during the install.

    8. 出现的安装屏幕将列出安装成功或在安装过程中记录任何问题。

      If successful, click Activate Plugin to activate it, or Return to Plugin Installer for further actions.

    9. 如果成功,请单击“激活插件”以将其激活,或单击“返回插件安装程序”以执行进一步的操作。

    10. Go to your Dashboard ->Settings -> Advanced Category & Taxonomy Image.
    11. 转到仪表板->设置->高级类别和分类图像。

    12. There You Will Find Fields To Enable Taxonomy & Device Filters.
    13. 您将在其中找到用于启用分类法和设备过滤器的字段。

    14. After Enabling Go To Your Taxonomy Add/Edit Page To Upload Image
    15. 启用后,转到分类法添加/编辑页面以上传图像

下载地址

https://downloads.wordpress.org/plugin/advanced-category-and-custom-taxonomy-image.zip

https://downloads.wordpress.org/plugin/advanced-category-and-custom-taxonomy-image.zip

-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Affiliates Manager S2Member Integration会员管理器S2Member集成
[wordpress插件] amr personaliseamr个性化
[wordpress插件] Better Plugin Compatibility Control更好的插件兼容性控制
[wordpress插件] Tracking Code for cj.com (on WooCommerce checkout)cj.com的跟踪代码(在WooCommerce结帐时)
[wordpress插件] Contact Form 7 Customfield in mail通过邮件联系Form 7 Customfield
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 8014
问题? 7251
如何快速搭建抽奖助手小程序(无需代码知识) 5035
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 5989
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 5507
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 5203
如何解决渲染层网络错误Failed to load media? 16559
小程序找号找回 释放昵称? 2423
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 2505
删除部分微信用户个人数据的通知,怎么删除? 5545