Plugin Directory

Category Image(s)

How can I most simply implement this plugin in my index.php?

Find this:

Replace it with this:

What do you mean the image files should have the "nice-name" version of the category name?

The file name should be the same as your category name, except that all letters should be lowercase, all punctuation removed, all spaces replaced with an underscore ("_").

Example: A category name of: Favorite Work Posts! Would become: favorite-work-posts

What do you mean by "the loop"?

http://codex.wordpress.org/The_Loop

What are the configuration options?

You can specify one or more image extensions to search for (via $imageextensions), the location of the directory that contains the images (via $imagedir), and a limit on the number of category images shown for any one post.

Where are configuration options set?

For now you'll have to modify the plugin file by changing the default values for the arguments to the function c2cthecategory_image().

Can I control the category images via CSS?

Yes; each image is assigned the class of "catimage".

What happens if no image exists for a particular category?

Nothing is shown for that category and the count of category images for the post isn't incremented.

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus

No data

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(5 ratings)