Forums

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

Home Forums Back End How to add a class on Dinamic Menu on WordPress

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #38862
    Rai
    Member

    Hi there!,
    I need to add a class to my ul on the dinamic menu on wordpress.
    I´m using this to register the menu on functions.php:

    // register


    function register_menus() {
    register_nav_menus(
    array(
    'menu-principal' => __('Menu'),
    )
    );
    }

    But I need to add the on the functions:

    'items_wrap'      => '
      %3$s
    ',

    With the class=”sf”

    ¿How I should do it?
    Link to codex: http://codex.wordpress.org/Function_Reference/wp_nav_menu

    #105954
    Rai
    Member

    Find it:

    Ya lo encontre!

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