Support » Fixing WordPress » Using “not” with conditional tags

  • Resolved Kathy_P

    (@kathy_p)


    Is there a way to use “not” with conditional tags? For example, in my sidebar template I would like to display a Google ad modules for all pages except a 404. Is there a way to say “If this page is not a 404, then execute this Google code”? Or is there a better way to go about it?

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Using “not” with conditional tags’ is closed to new replies.