bbPress

Simple, Fast, Elegant

bbPress support forums » Troubleshooting

If code-question

(4 posts)
  • Started 1 year ago by Null
  • Latest reply from Null
  • This topic is not a support question

No tags yet.

  1. 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 1 year ago #
  2. if(is_front() && is_topic())

    Hope I'm not saying something wrong =)

    Posted 1 year ago #
  3. nope.. it will be

    if(is_front() || is_topic())

    Posted 1 year ago #
  4. Thx guys

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.