New Landing How can we help? Themeforest Theme Support Nota NotaVersion: 1.0.4 killed mega menu

Viewing 12 posts - 16 through 27 (of 27 total)
  • Posted in: Nota
  • #322109
    David Martin – Support
    Moderator
    Post count: 20834

    I still am not able to actually activate Max Mega Menu on your primary menu:

    Please can you disable all plugins leaving only Swift Framework and WooCommerce/Max Mega Menu active.

    #322111
    LinnightL
    Member
    Post count: 31
    This reply has been marked as private.
    #322127
    LinnightL
    Member
    Post count: 31
    This reply has been marked as private.
    #322130
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Sure, will switch to test on the staging site and investigate locally also.

    Thanks.

    #322131
    LinnightL
    Member
    Post count: 31
    This reply has been marked as private.
    #322135
    LinnightL
    Member
    Post count: 31
    This reply has been marked as private.
    #322138
    David Martin – Support
    Moderator
    Post count: 20834

    hmm, that’s odd, not intentional I assure you. My apologies if that’s the case!

    #322242
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    I just wanted to update you on the status of this. I have found and patched the bug. Would you like me to add the fix to the live or staging site?

    The fix will be in the next pending update.

    Thanks.

    #322344
    LinnightL
    Member
    Post count: 31
    This reply has been marked as private.
    #322359
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    I have added the fix to your child theme functions.php file. I was not sure what your server address was for the staging URL.

        /* MEGA MENU - OVERRIDE MAIN MENU
        ================================================== */
        if ( !function_exists( 'nota_max_mega_menu_page_menu_args' ) ) {
            function nota_max_mega_menu_page_menu_args( $args, $menu_id, $current_theme_location ) {
                
                $new_args = array();
              
                if ( is_singular() && isset( $current_theme_location ) && $current_theme_location == "main_navigation" ) {
                    global $post;
                    $page_menu = "";
                    if ( $post ) {
                        $page_menu = nota_get_post_meta($post->ID, 'sf_page_menu', true);
                    }
                    
                    if ( $page_menu != "" ) {
                        $new_args['menu'] = $page_menu;
                        return $new_args;
                    } else {
                        return $args;   
                    }
                } else {
                    return $args;
                }
                
            }
            add_filter( 'megamenu_nav_menu_args', 'nota_max_mega_menu_page_menu_args', 10, 3 );
        }
    #322362
    LinnightL
    Member
    Post count: 31
    This reply has been marked as private.
    #322369
    David Martin – Support
    Moderator
    Post count: 20834

    Great, very glad to help you out and appologies for the inconvenience caused.

    These updates will be in the future 1.0.5 release.

    Thanks,
    David.

Viewing 12 posts - 16 through 27 (of 27 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register