Thread Starter
BBilal
(@bbilal)
So how do we use that? I’m not good in PHP?
<?php echo strtoupper(single_cat_title()); ?>
I think that’s all you need. It’s early and I’m still working on the first coffee 😉
Thread Starter
BBilal
(@bbilal)
That doesn’t work! 🙁
Have a look at the image: http://b.imagehost.org/0311/hii.jpg
Thread Starter
BBilal
(@bbilal)
Please I’m in real need! Help me!
Bumping is against the way it goes here. Please don’t. And yeah, it sucks that when you’re in a bind, the free, volunteers, here sometimes have other things to take care of.
Be patient, be polite, and feel free to experiment on your own.
Like reading http://codex.ww.wp.xz.cn/Function_Reference/single_cat_title tells me you’re calling it wrong… <?php single_cat_title('MORE STORIES IN '); ?> would be right.
That said, I thought it had been deprecated after 2.7 but … try this.
<?php
$current_category = single_cat_title("", false);
$current_category = strtoupper($current_category);
echo $current_category;
?>
Thread Starter
BBilal
(@bbilal)
It’s done from another way! I have edited general-template.php! Thanks for your help though!