Hi everyone,
I wonder if some one would be able to help me with something, which I am sure will be trivial for some of you, but challenging for me... Here it is:
As you know posts can be posted across several Categories, particularly when fed from a RSS aggregator; what I would like to do, is to have an 'if' call that would stop from showing one of the specific categories, but show the others in which the post has been posted. So, for instance:
If posts are posted in Categories ID 44, 45 and 46, I'd like to have an 'if' call that remove Cat ID 44 from being listed as one of the categories it's posted in, but still show Cat ID 45 and 46. Something like...
<?php if (in_category('44')) {
then the argument that would exclude 'cat='44'' from being displayed;
} else {
// then the below should display all other categories, except Cat ID 44
<?php the_category(', ') ?>.
}
?>
So, if you look at a post http://www.dombey.com/blog/simulscri...tech-networks/, you'll see in the summary next to the Gravatar a statement saying "... and filed under Pure News Mashup, Pure Online Media."
What I would like to achieve is NOT to show the Category "Pure News Mashup" (because it's a generic one) and ONLY show "Pure Online Media"; like: "... and filed under Pure Online Media."
Hummmm... That's what I'd like to achieve..
Anyone can help, please? I am really stuck with this.
Many thanks,
Cheers,
Olivier