Clean HTML Only Optional CSS Allowed.
-
Hello i want to achieve following clean code using custom walker can anybody help me doing so.
Here is what i want to do<nav id="network"> <ul id="quick-nav"> <li class=""> //li class only shown when i add it through option css on admins back-end. <a class="dd" href="#">Top Stories</a> //if is the top menu then a class will be dd otherwise empty <ul class="sub"> <li> <a href="#">Photo</a> </li> <li> <a href="#">Top Lists</a> </li> </ul> </li> <li class="o"> // here is the custom class added through back end <a class="s" href="#">Name</a> </li> </ul> </nav>
I want to achieve the above code kindly anybody tell me ho to do it.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Clean HTML Only Optional CSS Allowed.’ is closed to new replies.