Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other WordPress wp_nav_menu argument questions

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #157484
    Charles Stricklin
    Participant

    I have two WordPress wp_nav_menu(); questions:

    1) Is there a way I can have the output be<ul id="my_list_id" role="navigation">instead of<ul id="my_list_id" class="navigation"> ?

    2) Could I wrap the unordered list with <!--googleon: all--> and <!--googleoff: all--> ?

    #157691
    Charles Stricklin
    Participant

    Nevermind, I figured out how to do it without using a walker by using the items_wrap argument.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Other’ is closed to new topics and replies.