stevechamp
Forum Replies Created
Viewing 6 replies - 1 through 6 (of 6 total)
-
Forum: Fixing WordPress
In reply to: category id problemmany thanks, but didn’t work for me
outputs nothing?Forum: Fixing WordPress
In reply to: category id problemtried true
Forum: Fixing WordPress
In reply to: category id problemI found that above works in the category sections, but not index.
So where cat=2 class=”post-2″
But on index page I can only get “post-0”
Is there a way to achieve different category numbers on the index page?Forum: Fixing WordPress
In reply to: category id problemHi
I’ve clean upgraded to 1.2 (seems a lot better)
But I still have the same problem.
Can anyone tell me why..
<div class="post-<?php the_category_ID(); ?>">
Only returns zero (“post-0”, etc) when my category ID’s are 1-4, and seem to work fine?
ThanksForum: Fixing WordPress
In reply to: category id problemusing version 1.0.2 by the way!
Forum: Fixing WordPress
In reply to: category id problemWhat I want to do is assign a css class to different category, so using:
<div class="cat_<?php the_category_ID(); ?>">
Is there another way to do this??
Viewing 6 replies - 1 through 6 (of 6 total)