Could someone tell me how to add code (shown here) to a sidebar widget in WordPress?
$numbers = range(1, 24);
I want the text in the sidebar widget to say “There are __ people on this site.”
The Extended Random Number Generator plugin doesn’t work at all. I posted this in the support forum earlier today.
FYI: The tag [city name] belongs to another plugin.
FYI: I just downloaded shortcode exec php, tested it but it doesn’t seem to work.
- The topic ‘Add random number code to sidebar widget’ is closed to new replies.