Site logo

Archived topic

Updated to Wordpress 4.8 and updated GP Theme and site broke

4 replies · Started by Kelly on July 20, 2017

Viewing posts 1–5 of 5

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

Hi there,

Any caching plugins?

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

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

Thank you!!!

Glad you found the solution :)

This archived topic is closed to new replies.