[Resolved] current category id?
Does any variable exist which contains the ID of the currently selected category to use in my theme? If the user is viewing a post the variable should contain the ID of the category which the current post belongs to. When the user is viewing a category archive the variable should of course contain the current category ID.
- The topic ‘[Resolved] current category id?’ is closed to new replies.