Get the latest news, tips and plugin & theme releases...

Category Listings WordPress Plugin

Posted in Plugins - March 15th, 2011

The Category Listings plugin has been developed for a WordPress site that needed to display the titles and excerpts of the most recent posts for the post that is currently being viewed. The idea being that it promotes other related posts to the readers.

Download Category Listings Plugin

The plugin outputs the most recent posts from the category of the post that is currently being displayed. It is possible to configure the number of posts to be output, the HTML before and after the whole of the output, the HTML before and after the post title and the HTML before and after the post excerpt.

To get the Category Listings to display, you will need to either:

  1. Place the shortcode ‘category-listing’ where you want the output to appear in your post. Usually, this would be at the end of a post.
  2. Place the following code in your theme <?php echo output_category_listing(); ?>. We have placed it only where we are displaying a single post and positioned it between the end of any post paging and before the comment form.

The category listings have the following configurations that are set in the Settings->Category Listings admin page:

  1. Number of posts output – The number of posts that will be shown.
  2. HTML before all output – HTML that will be output before the generated output.
  3. HTML after all output – HTML that will be output before the generated output.
  4. HTML before post title – HTML that will be output before the post title.
  5. HTML after post title - HTML that will be output after the post title.
  6. HTML before excerpt - HTML that will be output before the post excerpt.
  7. HTML after excerpt - HTML that will be output before the post excerpt.

We have a wish list of how we would like to develop this plugin if we need to:

  • Make it work with the <!–more–> tag instead of having to use excerpts.
  • Widgetize it so it can be placed in a sidebar or footer. Although for this, we plan to only show the

For an example of how it looks, you should see the most recent posts published in the Plugins category between the end of this post and the start of the comments. Why not check out the other plugins we have?

What do you think could be done to improve this plugin or make it more useful?

Blogroll to Page WordPress Plugin

Posted in Plugins - March 3rd, 2011

You can use the Blogroll to Page WordPress Plugin to output your blogroll links to any page or post on your blog by using its ‘blogroll-to-page’ custom short code. The output options can be configured using parameters explained in the WordPress Codex and set in the options page which is found under the ‘Links’ menu.

Blogroll to Page WordPress Plugin

Download Blogroll to Page WordPress Plugin

Use the following shortcode to output the blogroll links : blogroll-to-page

You can see an example of the output at our WordPress Resources page.

If you find any problems, let me know and I’ll try to fix them up.

WordPress Custom Menu Plugin

Posted in Plugins - October 20th, 2009

This is a very simple plugin that I wrote to manage navigation menus from the admin panel in WordPress instead of having to code the template each time a menu or a menu item was added, removed or changed.

Download WordPress Custom Menu Plugin

Menu items are added in the Tools->Custom Menu section of WordPress Admin as displayed below:

Club WordPress Custom Menu Admin

Menu items can be added, edited and deleted here. Use the Visible property to set whether an item is displayed.

To display the Custom Menu in a WordPress theme, add the following code to your template file where you want the menu to be displayed:

<?php custommenu_output(); ?>

For the menu items displayed in the image above, the following HTML will be output in the theme:

<ul>
<li><a href=’/’ title=’Home’>Home</a></li>
<li><a href=’/articles/’ title=’Articles’>Articles</a></li>
<li><a href=’http://wordpress.org/’ title=’Wordpress’>Wordpress</a></li>
<li><a href=’/sitemap/’ title=’Sitemap’>Sitemap</a></li>
<li><a href=’/contact/’ title=’Contact’>Contact</a></li>
<li><a href=’/about/’ title=’About’>About</a></li>
</ul>

The menu is output as an unordered HTML list.

Download WordPress Custom Menu Plugin

All you need to do then is make sure the HTML is styled properly to display the menu correctly. I may do a tutorial on how to do this if there is enough interest, so check out my RSS Feed to keep updated :)

Please let me know what you think of the plugin and what improvements could be made to it.