Linux 软件免费装
Banner图

Category and Taxonomy Meta Fields

开发者 amu02aftab
更新时间 2022年7月25日 13:38
捐献地址: 去捐款
PHP版本: 3.5.0 及以上
WordPress版本: 6.0.1
版权: GPLv2

标签

taxonomy image category image category description term meta taxonomy meta taxonomy description category meta custom taxonomy field taxonomy short description category short description

下载

详情介绍:

Plugin to add custom meta fields within built in and custom taxonomies. Simply add the desired fields by going through WP-admin -> Settings ->Taxonomy Meta . you can add following fields with category/taxonomy Features

安装:

if (function_exists('get_all_wp_terms_meta')) { $arrayMetaList = get_all_wp_terms_meta($category_id); //where $category_id is category/term id } // array all meta fields for category/term print_r($arrayMetaList); if (function_exists('wp_get_terms_meta')) { $MetaValue = wp_get_terms_meta($category_id, $meta_key ,true); //where $category_id is 'category/term id' and $meta_key is 'meta key' } //meta value for meta key $meta_key echo $metaValue;

屏幕截图:

  • Settings page where you can add the custom fields
  • Example of the custom fields under the general category fields

升级注意事项:

This is first version no known notices yet

更新日志:

This is first version no known errors found