• alpha2

    (@neoseeyou)


    Hello

    Thank you for your plugin, really nice ??

    However is it possible to add a wp menu inside the fixed bar?

    That would be great!

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    It does not correspond to it.
    Also, there are no plans to support it.

    Thread Starter alpha2

    (@neoseeyou)

    Ok i understand, just asking ??

    Thank you

    Plugin Author Katsushi Kawamori

    (@katsushi-kawamori)

    This can be achieved by the following filters, but I think direct input is more accurate and faster than writing code.

    The following example displays the second from the left of the “wp menu” as the second from the left of the “Fixed Bottom Menu”. The “wp menu” ID is 477.

    /** ==================================================
     * Filter of Fixed Bottom Menu
     *
     * fbm_column_value_
     * @param array $column_value  column_value.
     */
    function fixed_bottom_menu_column_value_2( $column_value ) {
    
    	$items = wp_get_nav_menu_items( 477 );
    
    	$column_value['text'] = $items[1]->title;
    	$column_value['url'] = $items[1]->url;
    
    	return $column_value;
    
    }
    add_filter( 'fbm_column_value_2', 'fixed_bottom_menu_column_value_2', 10, 1 );

    Hello,

    Where to add this code please because I need to do the same thing.

    Thank you,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add wp menu inside the fixed bottom menu’ is closed to new replies.