fixed menus
This commit is contained in:
parent
ed52b9b32a
commit
d72097b72a
|
@ -5,7 +5,7 @@
|
|||
<div class="col4">
|
||||
<h3>OpenFest</h3>
|
||||
<p>
|
||||
<?php wp_nav_menu(array('menu' => 'footer-openfest', 'items_wrap' => '%3$s<br/>' )); ?>
|
||||
<?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 />
|
||||
|
@ -19,7 +19,7 @@
|
|||
<div class="col4">
|
||||
<h3>Програма</h3>
|
||||
<p>
|
||||
<?php wp_nav_menu(array('menu' => 'footer-schedule', 'items_wrap' => '%3$s<br/>' )); ?>
|
||||
<?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 /-->
|
||||
|
@ -28,7 +28,7 @@
|
|||
<div class="col4">
|
||||
<h3>Други</h3>
|
||||
<p>
|
||||
<?php wp_nav_menu(array('menu' => 'footer-others', 'items_wrap' => '%3$s<br/>' )); ?>
|
||||
<?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 />
|
||||
|
@ -38,7 +38,7 @@
|
|||
<div class="col4">
|
||||
<h3>Последвайте ни в:</h3>
|
||||
<p>
|
||||
<?php wp_nav_menu(array('menu' => 'footer-follow', 'items_wrap' => '%3$s<br/>' )); ?>
|
||||
<?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-->
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<?php
|
||||
|
||||
|
||||
register_nav_menus(
|
||||
array( 'main-menu' => __( 'Main Menu', 'initfest' ),
|
||||
'footer-openfest' => __('OpenFest', 'initfest'),
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
<div class="content cf">
|
||||
<a href="#" class="logo"><img src="<?php echo get_template_directory_uri(); ?>/img/logo.png" alt="OpenFest" /></a>
|
||||
|
||||
<?php wp_nav_menu( array('menu' => 'main-menu') ); ?>
|
||||
<?php wp_nav_menu( array('theme_location' => 'main-menu') ); ?>
|
||||
<!--ul>
|
||||
<li><a href="#">Начало</a></li>
|
||||
<li><a href="#">За събитието</a></li>
|
||||
|
|
Loading…
Reference in New Issue