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.

Someone can help me?

I'm trying to create a walker's menu but I think is impossible. I want to create a top level menu as a table, but with 2 rows.

For example, a typical one option menu will be:

<ul>
  <li>MENU1</li>
</ul>

and I want to transform to:

<table>
  <tr>
    <td><a href="URLtoMENU1"></a></td>
  </tr>
  <tr>
    <td><a href="URLtoMENU1">MENU1</a></td>
  </tr>
</table>

In case of 2 or more options:

<ul>
  <li>MENU1</li>
  <li>MENU2</li>
  <li>MENU3</li>    
</ul>

It will be transformed in:

<table>
  <tr>
    <td><a href="URLtoMENU1"></a></td>
    <td><a href="URLtoMENU2"></a></td>
    <td><a href="URLtoMENU3"></a></td>
  </tr>
  <tr>
    <td><a href="URLtoMENU1">MENU1</a></td>
    <td><a href="URLtoMENU2">MENU2</a></td>
    <td><a href="URLtoMENU3">MENU3</a></td>
  </tr>
</table>

I dont know how to insert columns in differents rows in the same menu.... Thanks!

share|improve this question
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.