這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Extended Random Number Generator

外掛說明

By default, the original Random Number Generator plugin short code works within widgets, posts, and pages. We have extended the core capability of the plugin so that it also works within text/html fields, such as those used for advertising purposes.

One primary use: It can be used to defeat browser caching by inserting a random number. The most common implementation of this is within Google DoubleClick ads where they require an ‘ord=’ within the script to ensure that ad creative is not cached by the browers.

Use Example 1:
input: http://my_url?ord=[random-number]”
output: http://my_url?ord=134548.

Use Example 2:
input: [random-number from=”2″ to=”72″ format=”%b”]%d minutes[/random-number]
output: an integer value between 2 & 72 followed by the word ‘minutes’

Supported languages

  • English
  • French
  • Russian
  • All languages supported based on orginal Random Number Generator plugin

螢幕擷圖

  • Options in English
  • Options in French
  • Options in Russian
  • Sample

安裝方式

This section describes how to install the plugin and get it working.

  1. Upload folders and files to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place [random-number] in a post (if you haven’t changed the tag caption in the options)

常見問題集

Does it work with WordPress MU?

  • Yes

Which languages are included when I install the plugin?

  • English
  • French
  • Russian

使用者評論

2016 年 9 月 3 日
Using this to generate a set of lucky number for visitors. Just have to look up what php sprintf format to use
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Extended Random Number Generator〉的開發相關工作。

參與者

變更記錄

1.1

  • Added support for random number generation in scripts

1.0

  • Extended capability to work within text/html fields outside of posts and pages
  • First release
  • Plugin started/forked from version 1.3.2 of Original Random Number Generator plugin