Line of code on the top of the website
-
I saw a strange line of code appearing on the top of my website:
class="home page page-id-2 page-template-default" onLoad="init()">
Would anybody be able to enlighten me on the subject? What is that? and what should I change on the website to make it work properly? I would be very thankful for any suggestions!
I ‘ve read that perhaps the header might be a problem so I am posting it here:
<!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <title><?php wp_title( ' | ', true, 'right' ); ?></title> <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri();?>/fonts.css" type="text/css" charset="utf-8" /> <link rel="stylesheet" type="text/css" href="<?php echo get_stylesheet_uri(); ?>" /> <?php wp_head(); ?> <script src="<?php echo get_stylesheet_directory_uri();?>/chart.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> </head> <body> <?php body_class(); ?> onLoad="init()"> <div id="wrapper" class="hfeed"> <header id="header" role="banner"> <section id="branding"> <div id="site-title"><?php if ( ! is_singular() ) { echo '<h1>'; } ?><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php esc_attr_e( get_bloginfo( 'name' ), 'blankslate' ); ?>" rel="home"><?php echo esc_html( get_bloginfo( 'name' ) ); ?></a></div> </section> <nav id="menu" role="navigation"> <?php wp_nav_menu( array( 'theme_location' => 'main-menu' ) ); ?> </nav> <div class="topl"><a href="https://www.fb.com" class="fb"></a> <a href="/" class="yy"></a><ul><li><a hreflang="en" href="https://eggfoundation.eu/en/about-us/">en</a></li> <li><a hreflang="cn" href="https://eggfoundation.eu/cn/合作伙伴/">cn</a></li> <li><a hreflang="pl" href="https://eggfoundation.eu/pl/front">pl</a></li> </ul></div> </header> <div id="container">
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Line of code on the top of the website’ is closed to new replies.