Support » Plugins and Hacks » Hacks » Conditional tag for single post template

  • Hi

    I’ve created several single post templates in my theme. So far so good.

    I’m now modifying the HTML part of a slider plugin, as I want it to appear differently on each template.

    So I’m hoping there is a conditional statement to define which template does what.

    For instance:

    <?php if (is_single.php) { ?>
    
    **Do Stuff**
    
    <?php } else { ?>
    
    **Do different stuff**
    
    <?php } ?>

    Thanks in advance for any pointers.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Conditional tag for single post template’ is closed to new replies.