Thank you so much
]]>I have to change the category numbers on the template filefor each news block every time before I upload an update to the “real” server. It can be a real hassle.
My question is this… is it possible to use the category names instead of numbers in the code?
So that instead of this:
<?php $posts = get_posts( “category=10&numberposts=1” ); ?>
I can use something like this:
<?php $posts = get_posts( “category=categoryname&numberposts=1” ); ?>
I try this, and it seems to default to the newest post I’ve created. So the name isn’t working, or I’m not using a proper PHP syntax. Or, it’s not possible.
Thanks for any help.
]]>thanks in advance!
]]>I am trying to figure out how to remove the post number that appears beneath my categories. I basically want my categories to appear just like my monthly archives.
https://www.andysapp.com/images/sidebar_pic.jpg
The blog’s URL is as follows:
https://www.andysapp.com/index~.php
(I haven’t switched it live just yet)
The theme this is based on is “mukkamu 1.5” if that helps.
Any advice would be greatly appreciated!