Support » Fixing WordPress » IF statements for templates

  • I want to use an if state ment that says something like this.

    If using “wide-layout” template

    then do something

    I know the codes for is_home(), is_page(‘5’) etc.

    But is there one for is_template(‘wide-layout’) ? *Tried that code and didn’t work

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘IF statements for templates’ is closed to new replies.