[WordPress] 外掛分享: A Random Number

首頁 › 外掛目錄 › A Random Number
700+
安裝啟用
★★★☆☆
3.7/5 分(6 則評價)
剛更新
最後更新
0%
問題解決
WordPress 3.0.1+ v1.2.1 上架:2016-01-11

內容簡介

A Random Number 外掛允許使用者在文章、頁面或小工具中插入隨機數字,並可自訂數字範圍,提供靈活的隨機數字生成解決方案。

【主要功能】
• 支援自訂數字範圍
• 可重複使用的短碼 [arandomnumber]
• 可選擇是否顯示逗號

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「A Random Number」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

The shortcode [arandomnumber] can be added to any post, page, or widget as many times as needed to display a random number. The number has a default range of 1 – 100, but can be changed using the min and max attributes, like so:
[arandomnumber min=1 max=10000]: This will output a random number between 1 and 10,000. (Like this: 8,014)
[arandomnumber min=-500 max=-1]: This will output a random number between -500 and -1. (Like this: -232)
[arandomnumber min=50000000 max=60000000]: This will output a random number between 50,000,000 and 60,000,000. (Like this: 56,449,060)
etc.
If you wish to disable commas, use the comma=no attribute, like so: [arandomnumber min=100000 max=999999 comma=no]. This will output a random number within the range without the commas, like this: 456245.

文章
Filter
Mastodon