I am currently modifying the
category.php of my blog and want to have a small text stating how many posts are already in that category like
"There are currently X entries in the YZ category."
What's even more trickier is that I want to have the word "entries" replaced with a certain term depending if it's in a certain category, so when your are on the celebrities category or one of their subcategories (like Brad Pitt), it would go like that:
"There are currently X looks in the Brad Pitt category."
or when a visitor is in the products category or one of its subcats, it would be changed into:
"There are currently X items in the Nike category."
Does anyone how I can do that? I know the second part is probably a bit more difficult, so I'd also be grateful if someone knows the answer to my first question.
Thanks in advance!