[Resolved] Updated to WordPress 4.8 and updated GP Theme and site broke

Home Forums Support Updated to WordPress 4.8 and updated GP Theme and site broke

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #352337
    Kelly

    Hi –
    It looks like the site header image and menu broke after upgrading from 4.7 to 4.8 and updating Generate Press theme.

    See below https://www.fset.ca/

    Any advice on how I can fix this?

    Thanks
    Kelly

    #352339
    Leo
    Staff
    Customer Support

    Hi there,

    Any caching plugins?

    #352341
    Kelly

    Update: When I go to Appearance -> Menus -> Primary Nav Menu and uncheck the “Primary Menu (Current: Primary Nav)” box and re-check the box it seems to fix the website completely but then I hit save and it goes back to having the weird issues.

    I do have custom functions for the menu

    add_action('generate_inside_navigation','generate_add_custom_search');
    function generate_add_custom_search()
    {
          echo '<div class="custom-search">';
                get_search_form();
          echo '</div>';
    }
    
    add_action( 'wp_enqueue_scripts', 'generate_dequeue_secondary_nav_mobile', 999 );
    function generate_dequeue_secondary_nav_mobile() {
       wp_dequeue_style( 'generate-secondary-nav-mobile' );
    }
    
    add_action( 'after_setup_theme', 'register_multiple_widget_areas' );
    
    function register_multiple_widget_areas()
    {
        register_sidebar(
            array(
            'name'          => 'Sidebar',
            'id'            => 'sidebar',
            'description'   => 'describe the function of the box.'
            )
        );
        register_sidebar(
            array(
            'name'          => 'News',
            'id'            => 'news-widget',
            'description'   => 'News Widget'
            )
        );
    }

    Thanks

    #352343
    Kelly

    Sorry just saw your reply now,
    It looks like WP Hide / WP Security Enhancer plugins may be causing the issue.

    Thank you!!!

    #352347
    Leo
    Staff
    Customer Support

    Glad you found the solution 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.