hack not to show sidebar on the main page

This commit is contained in:
Vasil Kolev 2014-10-07 14:51:45 +03:00 committed by Openfest
parent 7020dc79d9
commit 1d3a065604
1 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,6 @@
<?php
if ($wp->query_vars['pagename']!='home' && $wp->query_vars['pagename']!='home-2') {
?>
<div class="col-right"> <div class="col-right">
<h3>1-и и 2-и Ноември, 2014г. <br /> Интерпред, София, България</h3> <h3>1-и и 2-и Ноември, 2014г. <br /> Интерпред, София, България</h3>
@ -6,3 +9,6 @@
<div class="separator"></div> <div class="separator"></div>
<?php echo do_shortcode( '[transport]' ); ?> <?php echo do_shortcode( '[transport]' ); ?>
</div> </div>
<?php
}
?>