[wordpress插件] A Random Number随机数

wordpress 插件 文章 2020-01-23 01:20 638 0 全屏看文

AI助手支持GPT4.0

评分

100

100

描述

The shortcode [arandomnumber] can be added to any post, page, or widget as many times as needed to display a random number.

可以将短代码[arandomnumber]添加到任何帖子,页面或窗口小部件中,次数可以显示一个随机数。

The number has a default range of 1 – 100, but can be changed using the min and max attributes, like so:

该数字的默认范围是1 – 100,但可以使用min和max属性进行更改,如下所示:

[arandomnumber min=1 max=10000]: This will output a random number between 1 and 10,000.

[arandomnumber min = 1 max = 10000]:这将输出1到10,000之间的随机数。

(Like this: 8,014)

(例如:8,014)

[arandomnumber min=-500 max=-1]: This will output a random number between -500 and -1.

[arandomnumber min = -500 max = -1]:这将输出-500到-1之间的随机数。

(Like this: -232)

(例如:-232)

[arandomnumber min=50000000 max=60000000]: This will output a random number between 50,000,000 and 60,000,000.

[arandomnumber min = 50000000 max = 60000000]:这将输出一个介于50,000,000和60,000,000之间的随机数。

(Like this: 56,449,060)

(例如:56,449,060)

etc.

If you wish to disable commas, use the comma=no attribute, like so: [arandomnumber min=100000 max=999999 comma=no].

如果要禁用逗号,请使用comma = no属性,如下所示:[arandomnumber min = 100000 max = 999999 comma = no]。

This will output a random number within the range without the commas, like this: 456245.

这样会在不带逗号的范围内输出一个随机数,如下所示:456245。

For full documentation, see the plugin's page: https://www.macardam.com/

有关完整文档,请参见插件页面: https://www.macardam.com/

a-random-number/

a-random-number /

安装步骤

    1. Upload the plugin files to the /wp-content/plugins/a-random-number directory, or install the plugin through the WordPress plugins screen directly.
    2. 将插件文件上传到 / wp-content / plugins / a-random-number 目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress
    4. 通过WordPress中的“插件”屏幕激活插件

    5. Use the shortcode to display your magic number.
    6. 使用简码显示您的幻数。

下载地址

https://downloads.wordpress.org/plugin/a-random-number.zip

https://downloads.wordpress.org/plugin/a-random-number.zip

-EOF-

AI助手支持GPT4.0