Info
- 4 posts
- 3 voices
- Started 5 years ago by Null
- Latest reply from Null
- This topic is not a support question
If code-question
-
- Posted 5 years ago #
Hi
I am using this code :
if (is_front()){ echo 'bla bla' } etc
But I also want to add is_topic() in this if. How do I do that?
This has to be a noob question :D
-
- Posted 5 years ago #
if(is_front() && is_topic())Hope I'm not saying something wrong =)
-
- Posted 5 years ago #
nope.. it will be
if(is_front() || is_topic()) -
- Posted 5 years ago #
Thx guys
-
You must log in to post.