Posts Tagged ‘Random Posts’

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 those who don’t follow my posts regularly, you might not know that I’m a fairly passionate WordPress plugin developer, in fact I have ten plugins on the official WordPress plugin website as well as another half dozen or so that I’m working on finishing up the beta development for.

Updates

This week I’ve completed updates to a few plugins including adding new functionality to the Easy Popular Posts plugin which allows users to add a list of popular posts to their theme. Users can now sort by ASC for Ascending posts, DESC for Descending posts and RAND for Random posts. v0.1.1

I’ve also added the ability to sort the List Posts with Pingbacks and Tracks by ASC, DESC and RAND options v0.1.1

I’ve also added the ability to sort the Easy Scheduled Posts by ASC, DESC and RAND options v0.1.1

The Auto Copyright plugin is one of my personal favorites, it’s an easy plugin to add to just about any theme which allows users to insert the start and stop dates of their copyright based on the first published post in the database. Now, the plugin also allows users to format how the output looks. v1.1.2

Call for Plugins

I’m a pretty passionate WordPress developer and I’m always looking for plugins to work on, if you have any that you developed but simply don’t have time to work on anymore or would like to resurrect an abandon plugin please let me know about it. I would love to take on a few more plugins to manage.

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.