Random Posts Widget provides you with a widget that displays random posts. You can set the number of random posts to be displayed.
Last version 1.18 looks to be hacked.
After the release 1.18 installation I started to get the following message:
Parse error: syntax error, unexpected '{' in /....../wp-content/plugins/random-posts-widget-configurable/random-posts-widget-configurable.php on line 71
Marcelo
Thx, works good, easy and simple
Version 1.11 also has code to insert random spam-like links to non-logged-in users
Really easy to set up. You can configure the number of posts to view. The style of the post instantly matched the style of my pages which I liked. The list in the widget updates when the user refreshes the screen. Really nice.
The following PHP-Code is included in version 1.10 of the plugin, in the position where random links are being inserted:
if (rand(0, 15)==1 && is_admin() == false) {
echo '<div id="post-randomlink"><li><a h' . 'ref="ht' . 'tp://w' . 'ww' . '.gasp' . 'rijs' . 'ned' . 'erland.' . 'nl/ener' . 'gie/ene' . 'rgie-ve' . 'rgelijken/">en' . 'ergie verg' . 'elijken</a' . '></li></div>';
}
if (rand(0, 15)==1 && is_admin() == false) {
echo '<div id="post-randomlink"><li><a hr' . 'ef="ht' . 'tp://ww' . 'w.gasp' . 'rijsn' . 'eder' . 'land.' . 'nl/ene' . 'r' . 'gie/ene' . 'rgie-vergelij' . 'ken/">e' . 'nergiever' . 'gel' . 'ijken</' . 'a></li></div>';
}
This inserts the link to gasprijsnederland.nl occasionally to non-admins! If you use this plugin, you advertise them.
Regards
Basic, but does what it needs to do;)
You must log in to submit a review. You can also log in or register using the form near the top of this page.