• Resolved Justmecrea

    (@justmecrea)


    Hello,

    If i have declare UberMenu like This :

    function storefront_primary_navigation() {
    ?>

    <?php if( function_exists( ‘ubermenu’ ) ): ?>
    <?php ubermenu( ‘main’ , array( ‘theme_location’ => ‘primary’ ) ); ?>
    <?php else: ?>
    <nav id=”site-navigation” class=”main-navigation” role=”navigation”>
    <button class=”menu-toggle”><?php apply_filters( ‘storefront_menu_toggle_text’, $content = _e( ‘Primary Menu’, ‘storefront’ ) ); ?></button>
    <?php wp_nav_menu( array( ‘theme_location’ => ‘primary’ ) ); ?>
    </nav><!– #site-navigation –>
    <?php endif; ?>

    <?php
    }

    How i have to declare Your Top Bar

    I declared my menu like this :

    function register_my_menus() {
    register_nav_menus(
    array(
    ‘Top-Bar’ => __( ‘Top Bar’ ),
    ‘Top-Bar-1’ => __( ‘Top Bar 1’ ),
    ‘Top-Bar-2’ => __( ‘Top Bar 2’ )
    )
    );
    }
    add_action( ‘init’, ‘register_my_menus’ );

    Regards

    https://ww.wp.xz.cn/plugins/storefront-top-bar/

Viewing 1 replies (of 1 total)
  • Plugin Author wooassist

    (@wooassist)

    @justmecrea apologies but I don’t get what you mean for this. Our plugin doesn’t natively support ubermenu though if thats what you’re asking, but it should be possible with some edits on the theme. I suggest hiring a developer to help you regarding this matter.

Viewing 1 replies (of 1 total)

The topic ‘Top Bar With UberMenu’ is closed to new replies.