[wordpress插件] BMI Calculator PluginBMI计算器插件

wordpress 插件 文章 2020-03-08 02:40 474 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Add a body mass index calculator to your blog by using the [bmi] shortcode.

使用 [bmi] 短代码向您的博客添加体重指数计算器。

See the screenshots for previews.

请查看屏幕截图以进行预览。

There are 3 built-in styles: material design, Bootstrap, and default (your theme’s styles).

内置3种样式:素材设计,Bootstrap和默认样式(您主题的样式)。

Options:

选项:

    • theme – material, clean, default, or none
    • 主题– 材料干净默认

    • metric – Label text for metric section
    • metric –度量标准部分的标签文本

    • imperial – Label text for imperial section
    • 英制–英制部分的标签文本

    • height – Label text for height input
    • 高度–用于输入高度的标签文本

    • weight – Label text for weight input
    • 重量-用于输入重量的标签文本

    • heightPlaceholder – Placeholder text for height input
    • heightPlaceholder –高度输入的占位符文本

    • weightPlaceholder – Placeholder text for weight input
    • weightPlaceholder –用于输入重量的占位符文本

    • submit – Text for submit button
    • 提交-提交按钮的文字

    • result – Text for result, use %bmi% to represent the calculated BMI
    • 结果–结果文本,使用%bmi%代表计算出的BMI

    Examples:
        

    示例:
        

    [bmi theme=”clean”]
        

    [bmi theme =“ clean”]
        

    [bmi theme=”material” heightPlaceholder=”Enter your height” submit=”Calculate your BMI!”

    [bmi theme =” material” heightPlaceholder =“输入您的身高” submit =”计算您的BMI!”

    result=”Your BMI is %bmi%”]

    result =“您的BMI为%bmi%”]

安装步骤

    1. Upload bmi-calculator-shortcode.php to the /wp-content/plugins/ directory
    2. bmi-calculator-shortcode.php 上载到 / wp-content / plugins / 目录

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

    5. Place [bmi] in your post
    6. 在您的帖子中放置 [bmi]

下载地址
https://downloads.wordpress.org/plugin/bmi-calculator-shortcode.zip
-EOF-

AI助手支持GPT4.0