Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

i design a html template for hospital website and my menu structure is like this:

<div class="innerW">
    <ul class="clearfix">
        <li class="tN nav1">
            <a accesskey="1" href="/about/default.aspx" title="About Mass General"><span>About<br /> Mass General</span></a>
            <div class="flyOutNav">
                <div class="innerFlyOut">
                    <ul class="secondary">
                        <li><a href="">Hospital Overview</a></li>
                        <li class="sN">
                            <span>Why Mass General</span>
                                <div class="tertiary clearfix">
                                <ul class="col1">
                                    <li><a href="">Awards &amp; Recognitions</a></li>    
                                    <li><a href="">History</a></li>    
                                    <li><a href="">Leadership</a></li>
                                    <li><a href="">Mass General in Focus</a></li>    
                                    <li><a href="">Quality &amp; Safety</a></li>
                                </ul>
                            </div>
                        </li>
                        <li><a href="">In the Local &amp; Global Community</a></li>
                        <li><a href="">Massachusetts General Physicians Organization</a></li>
                        <li class="sN">
                            <span>Multimedia</span>
                            <div class="tertiary clearfix">
                                <ul class="col1">
                                    <li><a href="">Videos</a></li>
                                    <li><a href="">Slideshows</a></li>
                                    <li><a href="">Audio</a></li>
                                    <li><a class="viewAll" href="">View All Multimedia <img alt="arrow" height="7" src="" width="4" /></a></li>
                                </ul>
                            </div>
                        </li>
                        <li class="sN">
                            <span>News &amp; Events</span>
                            <div class="tertiary clearfix">
                                <ul class="col1">
                                    <li><a href="">Events Calendar</a></li>
                                    <li><a href="">Mass General News</a></li>
                                </ul>
                            </div>
                        </li>
                        <li class="sN">
                            <span>Support Mass General</span>
                            <div class="tertiary clearfix">
                                <ul class="col1">
                                    <li><a href="">Make a Gift</a></li>
                                    <li><a href="">Volunteer</a></li>
                                    <li><a href="">Blood Donor Center</a></li>
                                    <li><a href="">Organ &amp; Tissue Donations</a></li>
                                </ul>
                            </div>
                        </li>
                    </ul>
                </div><!-- /innerFlyOut -->
            </div><!-- /flyOutNav -->
        </li>
    </ul>
</div>

How can I create a custom walker class for this structure?

share|improve this question
1  
What have you tried? Showing your code is a prerequisite for asking a question on this site. See How to Ask. –  kaiser Jan 2 at 12:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.