Tag Archives: category ID

WordPress: How to get the Category ID on a category page

I was trying to add some custom code and links to my WordPress category pages (the category.php file), but there was no quick and obvious way to get the category ID into the PHP code. After searching around on the web and not finding anything close to what I wanted, I started digging around in the WordPress code and figured out a really short and good solution: Continue reading WordPress: How to get the Category ID on a category page