Site has started showing Widget & sidebar Id's????

Hi,

My site is ynfa.net and my site has suddenly started showing widget ids above widgets for some reason?? I need them to disappear. I did not ask them to show but they seemed to appear after adding the https://wordpress.org/plugins/dynamic-widgets/
plugin which i have now deleted cos it didnt work.

Pls help

  • Studio3creative

    yes... i have been working on another problem with Ash. Code in child functions.php file below...

    <?php
    /*
    * Add your custom functions here
    ========================================================= */
    // Filter wp_nav_menu() to add profile link

    register_sidebar( array(
    'name' => __( 'YNFA Extreme Test Group Sidebar' ),
    'id' => 'yhfa-extreme-grp',
    'before_title' => '<h1>',
    'after_title' => '</h1>',
    ) );

    register_sidebar( array(
    'name' => __( 'YNFA Arsenal Group Sidebar' ),
    'id' => 'yhfa-arsenal-grp',
    'before_title' => '<h1>',
    'after_title' => '</h1>',
    ) );

    register_sidebar( array(
    'name' => __( 'YNFA Villa Group Sidebar' ),
    'id' => 'yhfa-villa-grp',
    'before_title' => '<h1>',
    'after_title' => '</h1>',
    ) );

    register_sidebar( array(
    'name' => __( 'YNFA Burnley Group Sidebar' ),
    'id' => 'yhfa-burnley-grp',
    'before_title' => '<h1>',
    'after_title' => '</h1>',
    ) );

    register_sidebar( array(
    'name' => __( 'YNFA Chelsea Group Sidebar' ),
    'id' => 'yhfa-chelsea-grp',
    'before_title' => '<h1>',
    'after_title' => '</h1>',
    ) );

    register_sidebar( array(
    'name' => __( 'YNFA Palace Group Sidebar' ),
    'id' => 'yhfa-palace-grp',
    'before_title' => '<h1>',
    'after_title' => '</h1>',
    ) );

    register_sidebar( array(
    'name' => __( 'YNFA Everton Group Sidebar' ),
    'id' => 'yhfa-everton-grp',
    'before_title' => '<h1>',
    'after_title' => '</h1>',
    ) );

    register_sidebar( array(
    'name' => __( 'YNFA Hull Group Sidebar' ),
    'id' => 'yhfa-hull-grp',
    'before_title' => '<h1>',
    'after_title' => '</h1>',
    ) );

    register_sidebar( array(
    'name' => __( 'YNFA Leicester Group Sidebar' ),
    'id' => 'yhfa-leicester-grp',
    'before_title' => '<h1>',
    'after_title' => '</h1>',
    ) );

    register_sidebar( array(
    'name' => __( 'YNFA Liverpool Group Sidebar' ),
    'id' => 'yhfa-liverpool-grp',
    'before_title' => '<h1>',
    'after_title' => '</h1>',
    ) );

    register_sidebar( array(
    'name' => __( 'YNFA Man city Group Sidebar' ),
    'id' => 'yhfa-city-grp',
    'before_title' => '<h1>',
    'after_title' => '</h1>',
    ) );

    register_sidebar( array(
    'name' => __( 'YNFA Man Utd Group Sidebar' ),
    'id' => 'yhfa-man-utd-grp',
    'before_title' => '<h1>',
    'after_title' => '</h1>',
    ) );

    register_sidebar( array(
    'name' => __( 'YNFA Newcastle Group Sidebar' ),
    'id' => 'yhfa-newcastle-grp',
    'before_title' => '<h1>',
    'after_title' => '</h1>',
    ) );

    register_sidebar( array(
    'name' => __( 'YNFA Qpr Group Sidebar' ),
    'id' => 'yhfa-qpr-grp',
    'before_title' => '<h1>',
    'after_title' => '</h1>',
    ) );

    register_sidebar( array(
    'name' => __( 'YNFA Southampton Group Sidebar' ),
    'id' => 'yhfa-southampton-grp',
    'before_title' => '<h1>',
    'after_title' => '</h1>',
    ) );

    register_sidebar( array(
    'name' => __( 'YNFA Stoke Group Sidebar' ),
    'id' => 'yhfa-stoke-grp',
    'before_title' => '<h1>',
    'after_title' => '</h1>',
    ) );

    register_sidebar( array(
    'name' => __( 'YNFA Sunderland Group Sidebar' ),
    'id' => 'yhfa-sunderland-grp',
    'before_title' => '<h1>',
    'after_title' => '</h1>',
    ) );

    register_sidebar( array(
    'name' => __( 'YNFA Swansea Group Sidebar' ),
    'id' => 'yhfa-swansea-grp',
    'before_title' => '<h1>',
    'after_title' => '</h1>',
    ) );

    register_sidebar( array(
    'name' => __( 'YNFA Spurs Group Sidebar' ),
    'id' => 'yhfa-spurs-grp',
    'before_title' => '<h1>',
    'after_title' => '</h1>',
    ) );

    register_sidebar( array(
    'name' => __( 'YNFA Wba Group Sidebar' ),
    'id' => 'yhfa-wba-grp',
    'before_title' => '<h1>',
    'after_title' => '</h1>',
    ) );

    register_sidebar( array(
    'name' => __( 'YNFA West Ham Group Sidebar' ),
    'id' => 'yhfa-west-ham-grp',
    'before_title' => '<h1>',
    'after_title' => '</h1>',
    ) );

    add_action('init', 'set_sidebar', 10);
    function set_sidebar() {
    global $_wp_sidebars_widgets, $bp;

    switch( $bp->groups->current_group->id ) {
    case 28:
    $_wp_sidebars_widgets['default-right'] = $_wp_sidebars_widgets['yhfa-extreme-grp'];
    break;

    }

    }

    add_filter( 'wp_nav_menu_items', 'my_nav_menu_profile_link' );
    function my_nav_menu_profile_link($menu) {
    if (!is_user_logged_in())
    return $menu;
    else
    $profilelink = '

  • ' . __('My Hub') . '
  • ';
    $menu = $menu . $profilelink;
    return $menu;
    }

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.