Treehouse: Grow your CSS skills. Land your dream job.

How to add a class on Dinamic Menu on WordPress

  • Rai
    # July 12, 2012 at 12:05 pm

    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() {
    'menu-principal' => __('Menu'),

    But I need to add the on the functions:

    'items_wrap'      => '

    With the class=”sf”

    ¿How I should do it?
    Link to codex:

    # July 12, 2012 at 12:29 pm

    Find it:

    Ya lo encontre!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.