[wordpress插件] LSD Custom taxonomy and category metaLSD自定义分类法和类别元

wordpress 插件 文章 2020-04-09 23:50 412 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Plugin to manage and use custom meta fields within builtin and custom taxonomies.

插件,用于管理和使用内置和自定义分类法中的自定义元字段。

Simply add the desired fields by navigating to Settings > Category meta in your WordPress administration panel.

只需在WordPress管理面板中导航至“设置”>“类别”元,即可添加所需的字段。

安装步骤

    1. Unzip into your /wp-content/plugins/ directory.

    2. 解压缩到您的 / wp-content / plugins / 目录。

      If you’re uploading it make sure to upload

      如果要上传,请确保上传

      the top-level folder.

      顶层文件夹。

      Don’t just upload all the php files and put them in /wp-content/plugins/.

    3. 不要只是上传所有的php文件并将它们放在 / wp-content / plugins / 中。

    4. Activate the plugin through the ‘Plugins’ menu in WordPress
    5. 通过WordPress中的“插件”菜单激活插件

    6. Go to your Administration interface in the “Settings” menu a new “Category Meta” page is created.

    7. 转到“设置”菜单中的“管理”界面,将创建一个新的“类别元”页面。

      Configure the meta you want to use.

    8. 配置您要使用的元。

    9. go to your Administration interface, in the “Category” menu -> new fields are displayed in the category modification form with the meta you configured.
    10. 转到管理界面,在“类别”菜单中->新字段会显示在类别修改表单中,其中包含您配置的元。

    11. That’s it!
    12. 就是这样!

    13. you can use the folowing functions into your templates to retreive 1 meta:

      您可以在模板中使用以下功能来检索1个元数据:

      if (function_exists(‘get_terms_meta’))

      如果(function_exists('get_terms_meta'))

      {
          

      {
          

      $metaValue = get_terms_meta($category_id, $meta_key);

      $ metaValue = get_terms_meta($ category_id,$ meta_key);

      }

      }

    14. you can use the folowing functions into your templates to retreive all meta:

      您可以在模板中使用以下功能来检索所有元数据:

      if (function_exists(‘get_all_terms_meta’))

      如果(function_exists('get_all_terms_meta'))

      {
          

      {
          

      $metaList = get_all_terms_meta($category_id);

      $ metaList = get_all_terms_meta($ category_id);

      }

      }

下载地址
https://downloads.wordpress.org/plugin/custom-taxonomy-category-and-term-fields.1.3.2.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Custom Post Type Sticky自定义帖子类型粘性
[wordpress插件] Diary & Availability Calendar日记和可用性日历
[wordpress插件] Add RSS新增RSS
[wordpress插件] Cointopay Gateway for Easy Digital DownloadsCointopay网关易于数字下载
[wordpress插件] Connections Business Directory Hobbies连接业务目录的爱好
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 8086
问题? 7412
如何快速搭建抽奖助手小程序(无需代码知识) 5094
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 6048
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 5658
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 5249
如何解决渲染层网络错误Failed to load media? 16600
小程序找号找回 释放昵称? 2454
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 2532
删除部分微信用户个人数据的通知,怎么删除? 5583