Random Number Generator
It can be used to avoid browsers cache by inserting a random number. For instance, http://my_url?[random-number]” could generate http://my_url?134548. [random-number from=”2″ to=”72″ format=”%b”]%d minutes[/random-number] output: an integer value between 2 & 72 followed by the word ‘minutes’ This pl
It can be used to avoid browsers cache by inserting a random number. For instance, http://my_url?[random-number]” could generate http://my_url?134548.
[random-number from=”2″ to=”72″ format=”%b”]%d minutes[/random-number]
output: an integer value between 2 & 72 followed by the word ‘minutes’
This plugin is a sample on how to create a plugin which: * supports internationalization, * provides an option screen, * saves some options, * use images, * replaces a tag.
By the way, it generates randomized numbers ;o)
If you need more functionalities, feel free to ask (email/blog)…
A post with a French tutorial is available here .
Supported languages
- English
- French
- Russian (Thanks to Vladimir / ShinePHP.com )
Screenshots & previews.
This section describes how to install the plugin and get it working.
- 01Upload folders and files to the /wp-content/plugins/ directory
- 02Activate the plugin through the ‘Plugins’ menu in WordPress
- 03Place [random-number] in a post (if you haven’t changed the tag caption in the options)