The ID of category in WordPress Get the category ID column Step one Donwload the file id_category.php and then paste into your inc folder into your theme Step two Call id_category.php in Theme Functions file require get_template_directory() . '/inc/id_category.php'; Can I contribute? Yes, please!