• scottnj

    (@scottnj)


    I am trying to figure out how to modify

    <?php wp_list_pages('arguments'); ?>

    to work with the yui menu.
    the ul should look like

    <div id="nav_menu" class="yuimenu">
        <div class="bd">
            <ul class="first-of-type">
                <li class="yuimenuitem">
                    <a class="yuimenuitemlabel" href="#communication"> Communication  </a>
    
                    <!-- A submenu -->
    
                    <div id="communication" class="yuimenu">
                        <div class="bd">
                            <ul>
    
                            <!-- Items for the submenu go here -->
    
                            </ul>
                        </div>
                    </div>                    
    
                </li>
                <li class="yuimenuitem">
    
                    <a class="yuimenuitemlabel" href="http://shopping.yahoo.com">
                        Shopping
                    </a>
    
                    <!-- A submenu -->
    
                    <div id="shopping" class="yuimenu">
                        <div class="bd">
                            <ul>
    
                            <!-- Items for the submenu go here -->
    
                            </ul>
                        </div>
                    </div>                    
    
                </li>
                <li class="yuimenuitem">
    
                    <a class="yuimenuitemlabel" href="http://entertainment.yahoo.com">
                        Entertainment
                    </a>
    
                    <!-- A submenu -->
    
                    <div id="entertainment" class="yuimenu">
                        <div class="bd">
                            <ul>
    
                            <!-- Items for the submenu go here -->
    
                            </ul>
                        </div>
                    </div>                                        
    
                </li>
                <li class="yuimenuitem">
    
                    <a class="yuimenuitemlabel" href="#information">
                        Information
                    </a>
    
                    <!-- A submenu -->
    
                    <div id="information" class="yuimenu">
                        <div class="bd">
                            <ul>
    
                            <!-- Items for the submenu go here -->
    
                            </ul>
                        </div>
                    </div>                                        
    
                </li>
            </ul>
        </div>
    </div>

    i just cant figure out if this is even possible

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘modify wp_list_pages output help’ is closed to new replies.