home header banner
This commit is contained in:
parent
d72097b72a
commit
3cd6cc1f65
20
footer.php
20
footer.php
|
@ -6,42 +6,24 @@
|
|||
<h3>OpenFest</h3>
|
||||
<p>
|
||||
<?php wp_nav_menu(array('theme_location' => 'footer-openfest', 'items_wrap' => '%3$s<br/>' )); ?>
|
||||
<!--a href="#">Начало</a><br />
|
||||
<a href="#">Идеи и препоръки</a><br />
|
||||
<a href="#">За събитието</a><br />
|
||||
<a href="#">Спонсори</a><br />
|
||||
<a href="#">Програма</a><br />
|
||||
<a href="#">Екип</a><br />
|
||||
<a href="#">Историята</a><br />
|
||||
<a href="#">Контакти</a-->
|
||||
</p>
|
||||
</div>
|
||||
<div class="col4">
|
||||
<h3>Програма</h3>
|
||||
<p>
|
||||
<?php wp_nav_menu(array('theme_location' => 'footer-schedule', 'items_wrap' => '%3$s<br/>' )); ?>
|
||||
<!--a href="#">Информация</a><br />
|
||||
<a href="#">Календар</a><br />
|
||||
<a href="#">Зали</a><br /-->
|
||||
</p>
|
||||
</div>
|
||||
<div class="col4">
|
||||
<h3>Други</h3>
|
||||
<p>
|
||||
<?php wp_nav_menu(array('theme_location' => 'footer-others', 'items_wrap' => '%3$s<br/>' )); ?>
|
||||
<!--a href="#">Хотели</a><br />
|
||||
<a href="#">Заведения</a><br />
|
||||
<a href="#">Beer Events</a><br />
|
||||
<a href="#">After party</a><br /-->
|
||||
</p>
|
||||
</div>
|
||||
<div class="col4">
|
||||
<h3>Последвайте ни в:</h3>
|
||||
<p>
|
||||
<?php wp_nav_menu(array('theme_location' => 'footer-follow', 'items_wrap' => '%3$s<br/>' )); ?>
|
||||
<!--a href="#"><i class="fa fa-twitter"></i> Twitter</a><br />
|
||||
<a href="#"><i class="fa fa-facebook"></i> Facebook</a><br />
|
||||
<a href="#"><i class="fa fa-youtube"></i> YouTube</a-->
|
||||
<?php wp_nav_menu(array('theme_location' => 'footer-followus', 'items_wrap' => '%3$s<br/>' )); ?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
22
header.php
22
header.php
|
@ -25,21 +25,13 @@
|
|||
|
||||
<nav>
|
||||
<div class="content cf">
|
||||
<a href="#" class="logo"><img src="<?php echo get_template_directory_uri(); ?>/img/logo.png" alt="OpenFest" /></a>
|
||||
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="logo"><img src="<?php echo get_template_directory_uri(); ?>/img/logo.png" alt="OpenFest" /></a>
|
||||
|
||||
<?php wp_nav_menu( array('theme_location' => 'main-menu') ); ?>
|
||||
<!--ul>
|
||||
<li><a href="#">Начало</a></li>
|
||||
<li><a href="#">За събитието</a></li>
|
||||
<li><a href="#">Спонсори</a></li>
|
||||
<li><a href="#">Програма</a></li>
|
||||
<li><a href="#">Контакти</a></li>
|
||||
<li class="separator"></li>
|
||||
<li><a href="#"><i class="fa fa-twitter">https://twitter.com/openfestbg</i></a></li>
|
||||
<li><a href="#"><i class="fa fa-facebook">https://www.facebook.com/groups/6360369433</i></a></li>
|
||||
<li><a href="#"><i class="fa fa-rss"><?php bloginfo('rss2_url'); ?></i></a></li>
|
||||
<li class="separator"></li>
|
||||
<li><a href="#">EN</a></li>
|
||||
</ul-->
|
||||
<?php wp_nav_menu( array('theme_location' => 'main-menu') ); ?>
|
||||
</div>
|
||||
</nav>
|
||||
<?php
|
||||
if(is_front_page()){
|
||||
echo '<section class="banner cf"><img src="'.get_template_directory_uri().'/img/banner.jpg" alt="" /></section>';
|
||||
}
|
||||
?>
|
4
page.php
4
page.php
|
@ -2,9 +2,9 @@
|
|||
<section id="content" role="main">
|
||||
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
|
||||
<?php get_template_part( 'entry' ); ?>
|
||||
<?php comments_template(); ?>
|
||||
<?php //comments_template(); NO COMMENTS IN PAGES PLEASE ?>
|
||||
<?php endwhile; endif; ?>
|
||||
<?php get_template_part( 'nav', 'below' ); ?>
|
||||
<?php //get_template_part( 'nav', 'below' ); ?>
|
||||
</section>
|
||||
<?php get_sidebar(); ?>
|
||||
<?php get_footer(); ?>
|
Loading…
Reference in New Issue