is_page() — for user defined pages
-
Hello again.
Recap: I’m using the Blix theme.
In the sidebar.php file, I’d like to have some stuff showup if one of my user-defined pages is active (such as Title=Contact). However, I don’t seem to be able to get it to work. I’ve tried:
is_page(‘Contact’)
is_page(“Contact”)
is_page(‘contact’)
is_page(“contact”)I would guess that I’m just approaching the situation incorrectly. Is there another way of deducing whether or not a user-def’d page is active?
Thanks,
Mikep.s. Where can I find the code for is_page()?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘is_page() — for user defined pages’ is closed to new replies.