wp-leftycats

Before wp-leftycatsRequests for this one have come and gone on the WordPress support forums. Because I had already hacked away at template-functions-category.php back in October '04 to accomplish this, it wasn't that hard for me to turn this into a WordPress 2.0.x plugin.

By default wp_list_cats results in the image being placed to the right of your categories.

wp-leftycats does everything that wp_list_cats does but moves the image to the left of the category names.

Please read up on wp_list_cats before posting support questions regarding usage of this plugin.

After wp-leftycats

Installation is painless:

1. Unzip the archive, wp-leftycats.1.0.zip.
2. Upload wp-leftycats.php to your WordPress Plugin directory.
3. Activate the plugin.

Usage:

For those of you already using wp_list_cats, just change the call to wp_list_cats in your theme file to read wpleft_list_cats.

The simplest use of wp-leftycats is as basic as:

<?php wpleft_list_cats('sort_column=name&feed_image=path_to_feed_image'); ?>

Note that you must edit the path to your preferred feed image, obviously. A whole bunch of images can be found on feedicons.com.

wp-leftycats is compatible with WordPress 2.1.x

Download wp-leftycats for WordPress 2.0.x/2.1.x. ( hits)
MD5 checksum: 2e13a8ab8f03d4ffdda7630164ccc6bd

## Note: Regarding the "path to image" bit above ##

If you are using this within a sidebar that exists on all pages, you may encounter problems with the image being broken on some of your pages. If you encounter trouble simply use the FULL URL to the image, instead of the path.

Leave a Comment

:) :D :( :o 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink: :!: :?: :| :mrgreen:

RSS feed for comments on this post.

13 Responses to “wp-leftycats”

1 On September 24th, 2006 Stewart typed :

Using this WP plugin with WP2.0.4. and it works a treat (see http://www.dicontas.co.uk/blog/ to see the working example). I also modified some of the PHP code so that instead of # RSS Feed # being used as the ALT text to all the icons, I prefixed this ALT string with the cat_name for better SEO. Keep up the good work.

2 On January 2nd, 2007 kelly (S!) typed :

Thanks for the wp-plugin! You must be one of the nicest "idiots" around. lol HAPPY NEW YEAR!

3 On January 2nd, 2007 whoo answered:

kelly, your welcome :)

4 On March 7th, 2007 Mazdak.AM (S!) typed :

mazdakam
Member

Hi as you know acording to this link
and this
This function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions. All code that uses this function should be converted to use its replacement if one exists.

and WordPress 2.1 saw the introduction of a new and more inclusive template tag wp_list_categories, intended to replace wp_list_cats and list_cats.

so i think it would be very good if whooami upgrade his plugin. :) thanks:)

5 On March 7th, 2007 whoo answered:

mazdakam,

The function is deprecated IF and ONLY IF you are using 2.1.x. Since the 2.0.x is STILL being supported officially by the WordPress devs, I don't have any immediate intention of updating the plugin.

I don't use 2.1.x and dont care to, and I am not going to install it just to update this plugin, not for free at least.

I accept paypal, otherwise, for paid work.

And for the record, I am female, and take unkindly to being referred in the general as a male. Not all people that code are male.

6 On March 8th, 2007 Mazdak.AM (S!) typed :

:O So sorry about using "his" i didn't know you are female. i just seeking a way for showing feed images in the right and find your weblog and get your nice plugin. before it i was reading about those functions i wrote above in WP and just wanna notice you. just it. if i found time I'll work on it and share it again sorry about "his"!

7 On March 9th, 2007 whoo answered:

Now worries mazdakam,

I actually owe you an apology for replying when I hadn't slept - lack of sleep makes me ****y :P

I'll see what I can do, but no promises, since I don't like the direction that WP 2.1.x has gone in, I am loath to install it.

8 On March 9th, 2007 Mazdak.AM (S!) typed :

hum it is ok, i found function start_el($output, $category, $depth, $args) in wordpress\wp-includes\classes.php i try to move feed-image section before creating link but i couldent i am newbie in wordpress and php so don't know how can i fix it and also i can't find relation between function wp_list_categories and function start_el :!: :?: :| i think it is good if we have a plug in like you wrote and don't hacking

9 On October 19th, 2007 jez (S!) typed :

hi there,
I am using your plugin on my site, but after I changed to wordpress 2.3 (and they changed the database structure) the plugin does not work anymore.

do you care to update it or/and shall I keep you posted if I do?

yours,
jez

10 On October 19th, 2007 whoo answered:

jez,

I've no doubt it doesnt work in 2.3 .. at the time I put this together I think 2.0.x had just come out.

I don't care to update it really, so you have at it, and if you let me know when/if you're done I'll link back to your work :)

Sandro Groganz » Blog Archive » Useful Extensions for WordPress and MediaWiki
Wordpress Plugins Themes Download » Blog Archive » wp-leftycats
Tech’n Roll » Trucco e parrucco