Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter dgeckovn

    (@dgeckovn)

    Hi, was wondering if you’ve had a chance to look into my case?

    Same problem for me. Any updates on when next version will be released that will include multisite capability?

    Thread Starter dgeckovn

    (@dgeckovn)

    Worked perfectly! Thanks so much Dennis!!!

    Cheers,
    Matin

    Thread Starter dgeckovn

    (@dgeckovn)

    Dennis, thank you so much.

    Is there a specific line in functions.php that I should add the code you provided? Should it be added at beginning/end of #custom menu area?

    I know you’ve had to repeat this to others a million times, but I really appreciate your help. Great plugin, excellent support!

    Cheers,
    Matin

    Thread Starter dgeckovn

    (@dgeckovn)

    Hi Dennis,

    I did a search in the functions.php but there’s no call to wp_nav_menu.

    I found this, but not sure if it’s what you’re looking for:

    #-----------------------------------------------------------------#
    # Custom menu
    #-----------------------------------------------------------------#
    if ( function_exists( 'register_nav_menus' ) ) {
    	register_nav_menus(
    		array(
    		  'top_nav' => 'Top Navigation Menu',
    		  'secondary_nav' => 'Secondary Navigation Menu <br /> <small>Will only display if applicable header layout is selected <a href="'. admin_url('?page=redux_options&tab=4') .'">here</a>.</small>'
    		)
    	);
    }	
    
    //dropdown arrows
    class Nectar_Arrow_Walker_Nav_Menu extends Walker_Nav_Menu {
        function display_element($element, &$children_elements, $max_depth, $depth=0, $args, &$output) {
            $id_field = $this->db_fields['id'];
            if (!empty($children_elements[$element->$id_field]) && $element->menu_item_parent == 0) {
                $element->title =  $element->title . '<span class="sf-sub-indicator"><i class="icon-angle-down"></i></span>';
    			$element->classes[] = 'sf-with-ul';
            }
    
    		if (!empty($children_elements[$element->$id_field]) && $element->menu_item_parent != 0) {
                $element->title =  $element->title . '<span class="sf-sub-indicator"><i class="icon-angle-right"></i></span>';
            }
    
            Walker_Nav_Menu::display_element($element, $children_elements, $max_depth, $depth, $args, $output);
        }
    }

    Thanks so much for looking at this for me Dennis!

    Cheers,
    Matin

Viewing 5 replies - 1 through 5 (of 5 total)