Finding the Category ID
-
I’m currently using the “Category Images” plug-in, and it works great in every way except one: it won’t link correctly to the corresponding category, it just produces a link to “spireintegrated.com/blog/?cat=” – to which it’s obviously lacking the ID which goes along with this. What confuses me, is that if the images are showing up with the respective categories, then it does have the ID but loses it somewhere along the way.
I’ve checked out the section of the code which deals with this in the plug-in:
$thelist .= '<a href="' . get_category_link($category->category_id) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '" rel="category tag">';
I can’t see anything too obviously wrong.
Anyone ever have this problem or simply has enough time to take a look in the code to figure it out?
Thanks!
- The topic ‘Finding the Category ID’ is closed to new replies.