/ Published in: PHP
First snippet would go in before everything, second snippet in after everything hook.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if (!is_front_page()) { echo ''; else { ?> <div id="innerwrapper"> <?php } } // SECOND SNIPPET if (!is_front_page()) { echo ''; else { ?></div> <!--closing inner wrapper --> <?php } }