Skip to:
Content
Pages
Categories
Search
Top
Bottom

If code-question

  • @null

    Member

    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • @thomasklaiber

    Member

    if(is_front() && is_topic())

    Hope I’m not saying something wrong =)

    @so1o

    Participant

    nope.. it will be

    if(is_front() || is_topic())

    @null

    Member

    Thx guys

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar