WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

RanNum shortcode

Adds a shortcode for generating a random number, either 1-100 or in a set range.

RanNum is a free wordpress plugin that I created in response to needing the ability to randomize certain variables for a wordpress demo.

The plugin creates two shortcodes, “[ RN ]” and/or “[ RanNum ]“. Used as-is, these will each generate a random number from 1 to 100.

For further customization, however, you can set the range of the random number by setting “min” and “max” attributes inside the shortcode.

For instance, to generate a number between 5 and 200, use the shortcode

[RN min="5" max="200"]

-or-

[RanNum min="5" max="200"]

Requires: 2.0.2 or higher
Compatible up to: 3.1.4
Last Updated: 2011-7-18
Downloads: 314

Ratings

0 stars
0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1