10 lines
400 B
PHP
10 lines
400 B
PHP
<div class="navbar-area">
|
|
<?php
|
|
$listmenu = get_nav_menu_locations();
|
|
$menu = wp_get_nav_menu_items($listmenu['top-navbar']);
|
|
foreach ($menu as $menuElement) {
|
|
echo '<a href="' . $menuElement->url . '" class="btn btn-navbar">'. $menuElement->title . '</a>';
|
|
}
|
|
?>
|
|
<a href="<?php bloginfo('rss2_url'); ?>" class="btn btn-navbar"><i class="fa fa-rss"></i></a>
|
|
</div>
|