Dark

Light

Dark

Light

Scroll to top

Get Category ID inside Category template

$category = get_queried_object();
echo $category->term_id;
Author avatar
Amitpal Singh
https://amitpalsingh.com

Post a comment

Your email address will not be published. Required fields are marked *