[wordpress插件] Canadian Nutrition Facts Label加拿大营养事实标签

wordpress 插件 文章 2020-03-16 10:00 461 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

This plugin creates a ‘Label’ custom post type which can be assigned to any page or post.

此插件创建一个“标签”自定义帖子类型,可以将其分配给任何页面或帖子。

    • Includes Vitamins A, C, Calcium and Iron
    • 包括维生素A,C,钙和铁

    • “Not a Significant source of _____” line will be generated for blank fields
    • 将为空白字段生成“不是_____的重要来源”行

    • Add user generated additional vitamins
    • 添加用户生成的其他维生素

    • Use the shortcode [nutrition-label id=XXX] to display a nutrition label.
    • 使用简码[nutrition-label id = XXX]显示营养标签。

    • When creating the label you can also specify the page/post and use shortcode [nutrition-label] to display the nutrition label that has been attached to the page/post.
    • 创建标签时,您还可以指定页面/帖子,并使用简码[nutrition-label]显示已粘贴到页面/帖子的营养标签。

    • Developers can add do_shortcode(‘[nutrition-label]’) to their templates.
    • 开发人员可以在其模板中添加do_shortcode('[nutrition-label]')。

    Donations:

    捐赠:

    I appreciate all donations, no matter the size.

    无论大小,我都感谢所有捐款。

    Further development of this plugin is not contingent on donations, but they are a nice incentive.

    此插件的进一步开发并不取决于捐赠,但它们是一个很好的激励。

    To donate click on the “donate to this plugin” link in the sidebar below Author.

    要捐赠,请点击作者下方侧边栏中的“捐赠给此插件”链接。

安装步骤

    1. Install via the WordPress.org plugin directory or by uploading the canadian-nutrition-facts-label folder to the /wp-content/plugins directory

      通过WordPress.org插件目录安装,或者将canadian-nutrition-facts-label文件夹上传到/ wp-content / plugins目录

    2. Activate the plugin through the Plugins menu in WordPress

      通过WordPress中的“插件”菜单激活插件

    3. Create a label in the new ‘Labels’ custom post type section of the admin.

      在管理员新的“标签”自定义帖子类型部分中创建标签。

      See units instructions in FAQs for assistance.

      请参阅常见问题解答中的单位说明。

    4. Include the shortcode [nutrition-label id=XXX] where you want a specific label to be displayed.

      包括要在其中显示特定标签的简码[nutrition-label id = XXX]。

      Change id=XXX to the specific id number for your label.

      将id = XXX更改为标签的特定ID号。

    5. Developers: When creating the label you can also specify the Page or Post you want the label to appear and include echo do_shortcode(“[nutrition-label]”);

      开发人员:创建标签时,您还可以指定要显示标签的页面或帖子,并包含echo do_shortcode(“ [nutrition-label]”);

      in the template where you want the label.

      在您想要标签的模板中。

下载地址
https://downloads.wordpress.org/plugin/canadian-nutrition-facts-label.zip
-EOF-

AI助手支持GPT4.0