I'm learning wordpress and I have created a simple template using basic HTML/CSS.
Everything works so far but I cannot figure out how to display the Page's Tabs that I created from my wp admin panel on my header.php.
my current static HTML code for the tabs looks like this:
<div id="profile-navigation" class="navbar profile-navigation">
<div class="navbar-inner">
<div class="container">
<ul class="nav">
<li><a href="">Home</a></li>
<li><a href="">Blog/a></li>
</ul>
</div>
</div>
</div>
and I tried to do this:
<ul class="nav">
<li>
<a href="">
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'nav-menu' ) ); ?>
</a>
</li>
</ul>
but that doesn't really make sense and even though it displays the Pages Tabs successfully, they have no style and they are all over the place on my page!
Could someone please offer me some advice on this issue?
Thanks in advance
Aucun commentaire:
Enregistrer un commentaire