• Hallo, t is nachtwerk nu … maar ik kan niet meer op mijn website!
    Probleem zit m ws in de header.php van TWENTY TWELVE wp
    Ik had een html toegevoegd maar besloot deze link er later uit te halen. Ws heb ik een code (onbewust) ook verwijderd, en kan dus nu niets meer beginnen.
    Mijn header.php ziet er nu als volgt uit

    <?php
    /**
    * The Header for our theme.
    *
    * Displays all of the <head> section and everything up till <div id=”main”>
    *
    * @package WordPress
    * @subpackage Twenty_Twelve
    * @since Twenty Twelve 1.0
    */
    ?><!DOCTYPE html>
    <!–[if IE 7]>
    <html class=”ie ie7″ <?php language_attributes(); ?>>
    <![endif]–>
    <!–[if IE 8]>
    <html class=”ie ie8″ <?php language_attributes(); ?>>
    <![endif]–>
    <!–[if !(IE 7) | !(IE 8) ]><!–>
    <html <?php language_attributes(); ?>>
    <!–<![endif]–>
    <head>
    <meta charset=”<?php bloginfo( ‘charset’ ); ?>” />
    <meta name=”viewport” content=”width=device-width” />
    <title><?php wp_title( ‘|’, true, ‘right’ ); ?></title>
    <link rel=”profile” href=”http://gmpg.org/xfn/11&#8243; />
    <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>” />
    <?php // Loads HTML5 JavaScript file to add support for HTML5 elements in older IE versions. ?>
    <!–[if lt IE 9]>
    <script src=”<?php echo get_template_directory_uri(); ?>/js/html5.js” type=”text/javascript”></script>
    <![endif]–>
    <?php wp_head(); ?>

    <script type=”text/javascript”>

    var _gaq = _gaq || [];
    _gaq.push([‘_setAccount’, ‘UA-38079979-1’]);
    _gaq.push([‘_trackPageview’]);

    (function() {
    var ga = document.createElement(‘script’); ga.type = ’text/javascript’; ga.async = true;
    ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl&#8217; : ‘http://www&#8217;) + ‘.google-analytics.com/ga.js’;
    var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);
    })();

    </script>

    </head>
    <body <?php body_class(); ?>>
    <div id=”page” class=”hfeed site”>
    <header id=”masthead” class=”site-header” role=”banner”>
    <hgroup>
    <header id=”branding”>
    <hgroup>

    <h1 class=”site-title”>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”><?php bloginfo( ‘name’ ); ?></h1>
    <h2 class=”site-description”><?php bloginfo( ‘description’ ); ?></h2>
    ” title=”<?php echo esc_attr( get_bloginfo( ‘name’ ) ); ?>”><img>
    </hgroup>

    <?php $header_image = get_header_image();
    if ( ! empty( $header_image )) : ?>
    “><img src=”<?php echo esc_url( $header_image ); ?>”
    class=”header-image” width=”<?php echo get_custom_header()->width; ?>” height=”<?php echo get_custom_header()->height;?>” alt= “” />

    </header><!– #masthead –>

    <div id=”main” class=”wrapper”>
    <Php endif;?>

    <nav id=”site-navigation” class=”main-navigation” role=”navigation”>
    <h3 class=”menu-toggle”><?php _e( ‘Menu’, ’twentytwelve’ ); ?></h3>
    “>

    <?php _e( ‘Skip to content’, ’twentytwelve’ ); ?>
    <?php wp_nav_menu( array( ’theme_location’ => ‘primary’, ‘menu_class’ => ‘nav-menu’ ) ); ?>
    </nav><!– #site-navigation –>

    ——
    ik vermoed dat het probleem ‘net’voor de </header> <…. masthead> zit, omdat ik daar iets verwijderd heb.
    Kan iemand mij helpen ??
    alvast bedankt, Harma

1 reactie aan het bekijken (van in totaal 1)
  • Thread starter Harma

    (@harma)

    het is opgelost !!!!! heb een header html gevonden en erin gezet die het doet. Een paar aanvullingen en klaar …

1 reactie aan het bekijken (van in totaal 1)
  • Het onderwerp ‘HELPP code 500 probleem zit m in Header.php’ is gesloten voor nieuwe reacties.