This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Featured Category

Description

Featured Category allows you to display recent posts from the category of your choosing at the top of your home page before β€œThe Loop”. You are able to customize the number of posts, the style they are displayed in, and the heading used to describe. It is perfect for displaying recent news, projects, and other things you may wish to stand out in your blog.

This is not a sidebar widget. It is a home page addition. See the provided screenshots to understand how it might look on your site.

Donate?

If you use this plugin and find that it serves your needs well, please consider a donation. πŸ™‚

Support

If you need support, I recommend you leave a comment on the appropriate post on my blog:
http://clifgriffin.com/2008/10/05/featured-category/

Special Requests

If you need a customization or change specific to your install, I am available for hire. Shoot me an e-mail: clifgriffin[at]gmail.com

Version History

1.1

  • Integrated CSS into admin panel. Now stores stylesheet in WordPress database.
  • Added instructions.
  • Tweaked a few other things.

1.0.2.1

  • Fixed security issue. Now only administrators can modify admin settings.
  • Deleted trailing spaces at the end of the main plugin file. This was somehow causing conflicts with WP Super Cache plugin. Bizzarre, I know.

1.0.2

  • Fixed path name. (WordPress renamed the installation folder.)

1.0.1

  • Settings page now sets the category drop down box selection when you return to the page.
  • It shouldn’t run in sidebar widgets anymore. (Assuming the content portion loads before sidebar…I may need to tweak this in the future.)

1.0

  • Original release.

Background

About a month ago I began searching for a plugin I just knew existed. I needed a plugin that would allow me to select a category, a number of posts, and display a neatly formatted list of the applicable posts from that category.

For the site in question, I needed to list recent posts from a β€œProjects” category. I imagined that there would be at minimum a plugin for posting news items that I could modify. I settled with using The_Loop. At the time I made a mental note β€œI need to turn this into a plugin.”

Which brings us to Featured Category, my first WordPress Plugin. (Be gentle!)

I tried to follow the WordPress API as closely as possible.

Once you activate the plugin, simply load its settings page and choose the category, the title or β€œheading” and the number of posts you wish to display.

If the style is not to your liking, the CSS in the plugin admin page. I have included entries for implemented and unimplemented portions to speed things up.

Screenshots

  • A sample from my site.
  • The settings page.

Installation

  1. Upload the directory β€œfeatured-category” to the /wp-content/plugins/ directory
  2. Activate the plugin through the β€˜Plugins’ menu in WordPress
  3. Customize settings via settings control panel in wordpress administration pages.

FAQ

Why aren’t my changes showing up?

Probably browser or plugin caching. If you have a caching plugin enabled, ensure you delete the cached version and refresh again.

How do I customize the style?

Modify style sheet in admin page.

Can feature x be added?

Maybe! E-mail me: webmaster[at]clifgriffin.com

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Featured Category” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Featured Category” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.