On the category page, get the category object

To get the category object use get_category (codex). It’s easy if you know the name, slug or ID, but if you don’t you could use is_category to check on which category you are and pass the ID to get_category.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)