Remove sidebar from front page
This commit is contained in:
parent
393bc21d8c
commit
7020dc79d9
|
@ -5,7 +5,6 @@
|
||||||
<p><?php echo get_bloginfo('description'); ?></p>
|
<p><?php echo get_bloginfo('description'); ?></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col2">
|
<div class="col2">
|
||||||
<h3>Спонсори</h3>
|
|
||||||
<?php echo do_shortcode( '[sponsors]' ); ?>
|
<?php echo do_shortcode( '[sponsors]' ); ?>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
@ -18,24 +17,7 @@
|
||||||
|
|
||||||
<div class="separator"></div>
|
<div class="separator"></div>
|
||||||
|
|
||||||
<section class="content">
|
|
||||||
<h3>Място: Интерпред, София, България</h3>
|
|
||||||
<?php
|
|
||||||
$transport_args = array( 'post_type' => 'transportation' );
|
|
||||||
$transport = new WP_Query( $transport_args );
|
|
||||||
|
|
||||||
if ( $transport->have_posts() ) :
|
<?php echo do_shortcode( '[transport]' ); ?>
|
||||||
while ( $transport->have_posts() ) : $transport->the_post();
|
|
||||||
?>
|
|
||||||
<p><?php the_title(); ?> <br /> <?php the_content(); ?></p>
|
|
||||||
<?php
|
|
||||||
endwhile;
|
|
||||||
endif;
|
|
||||||
?>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
|
|
||||||
<?php echo do_shortcode( '[ready_google_map id="1" map_language="en" type="HYBRID" align="right"]' ); ?>
|
|
||||||
|
|
||||||
<?php get_sidebar(); ?>
|
|
||||||
<?php get_footer(); ?>
|
<?php get_footer(); ?>
|
||||||
|
|
Loading…
Reference in New Issue