Navigation
-
Hi everyone,
Struggling a bit on something small and prbably simple.
My header.php has this line which displays my navigation;
<?php wp_page_menu( ‘sort_column=menu_order’ ); ?>
This currently equates to the html of:
<div class=”ddsmoothmenu”>
-
<li class=”page_item page-item-4 current_page_item”>Home
<li class=”page_item page-item-2″>About Us
<ul class=’children’>
<li class=”page_item page-item-18″>Our Staff
<li class=”page_item page-item-20″>The Resort<li class=”page_item page-item-8″>Prices
<ul class=’children’>
<li class=”page_item page-item-33″>Special Offers<li class=”page_item page-item-10″>Hotel
<ul class=’children’>
<li class=”page_item page-item-38″>Rooms<li class=”page_item page-item-12″>Restaurant
<li class=”page_item page-item-14″>Contact Us</div>
My question is how can i get the top of it to call the following:
<div class=”ddsmoothmenu” id=”smoothmenu1″> instead of just <div class=”ddsmoothmenu”>.
Hope this makes sense.
Dan
- The topic ‘Navigation’ is closed to new replies.