Thread Starter
calebo
(@calebo)
Unfortunately none of those do what I want, they hard code the category ID into the code, I want to make it dynamic in the category.php template so that when you visit http://mysite.com/category/cake
It would list all post under the cake category on the page.
Thread Starter
calebo
(@calebo)
That won’t work for it, it breaks my current pages which has the same name as the category, I just thought of another way to make this work. But I’m not sure how to write it in php.
echo "<li><a href=\"".get_category_link($cat_id)."\">".$cat->name."</a>";
Instead of printing the category name, how can I print the blog url follow by the blog name in the link field?
Thread Starter
calebo
(@calebo)
Ops… is it possible to ‘hack’ the category url to not include the word ‘category’ in the url? As I’ve created pages according to category names.