is_single Parameters
-
Does anyone know the parameters for
is_single()
? Specifically, I need to know if I can pass a specific category into it.For example:
if (is_single(cat=1)) {
echo "<div id="slides"></div>";I need to differentiate my header based on categories and it’s working for the most part except when it’s on a single post. Thanks for the help.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘is_single Parameters’ is closed to new replies.