Archive for the ‘Easy Random Posts’ Category

Updates to Random posts and Scheduled Post Plugins

On Wednesday, while I was cleaning up some WordPress 282 details I took a little bit of time and also upgraded the Random posts plugin and Scheduled posts plugin for WordPress.

These new upgrades allow me to make the most of a common admin interface for all my plugins as well as checking for news related to the plugins straight from the admin panel of the WordPress plugin.

WordPress Plugin Updates for WordPress 2.8

This morning saw the release of WordPress 2.8 which fixed a significant number of small issues with the platform but also required an extensive review of all the plugins I have released over the past few months as a result, all 13 of my existing plugins have received an update this morning to ensure compatibility with the new release.

As always, if you have any questions please do not hesitate to contact me.

New Updates to WordPress Plugins

This week I took a little bit of time and cleaned up some inconsistencies on my four new plugins, here’s a quick summary:

Easy Technorati Tags for WordPress

I’ve added a new menu and improved instructions for how to include the Technorati tags in your blog posts.

Easy Popular Posts

There’s a new admin menu for the plugin, and I’ve fixed an error in the documentation which incorrectly labeled echo as an option.

Easy Random Posts

There’s a new admin menu for the plugin, and I’ve fixed an error in the documentation which incorrectly labeled echo as an option.

Easy Scheduled Posts

There’s a new admin menu for the plugin, and I’ve fixed an error in the documentation which incorrectly labeled echo as an option. I’ve also added a new option to the function which allows you to control wether to link to the scheduled post or not.

All four plugins are available for free download and are compatible with WordPress 2.0.x -> 2.7.1, if you have any questions please feel free to drop me a line.

Easy Random Posts Plugin for WordPress

While I was working on my new theme for thisismyurl.com I came across the need to publish a series of random posts in the side bar and so I put together a simple post randomizer for WordPress. The tool works like most WordPress theme calls and features:

  • Customizable number of links returned
  • Customizable before and after to ensure you can display the results
  • The ability to echo or return results

To use the plugin, install it to your WordPress website and edit your theme files by placing the following code:

General results
Without passing any parameters, the plugin will return ten results or fewer depending on how many posts you have.

[source lang="php"]<?php randomPosts();?>[/source]

Specific number of results
If you would like to return a specific number of results as your maximum:

[source lang="php"]<?php randomPosts(‘count=10′);?>[/source]

Altering the before and after values
By default the plugin wraps your code in list item (<li>) tags but you can specify how to format the results using the following code:
[source lang="php"]&lt;?php randomPosts(‘before=&lt;p&gt;&amp;after=&lt;/p&gt;’);?&gt;[/source]

Echo vs. Return
Finally, if you’d like to copy the results into a variable you can return the results as follows:

[source lang="php"]&lt;?php randomPosts(‘echo=false’);?&gt; [/source]

Download

Download the plugin.

Support forums are now online! If you have any questions, please visit http://forums.thisismyurl.com.