Support » Fixing WordPress » please help me with my site

  • Resolved WalterBreda


    Hello guys,

    I’ve been looking on the internet for 3 days now to fix my site problem. Hopefully anyone of you can and will help me with this.

    It’s about viewing a normal layout (with working drop down menu etc) in internet explorer. I use the twenty eleven theme, which looks fine in chrome but absoluely worse in internet explorer 9.

    The site is:

    Does any of you have a solution for this problem? That would be great:)

Viewing 15 replies - 1 through 15 (of 19 total)
  • no one who knows anything about this? I’ve tried almost everything, but not a single improvement…

    I’m sorry but as I can’t reproduce the error, I can’t help. Perhaps a screenshot from IE could help…

    Good luck.

    Moderator keesiemeijer



    Did you edit the theme template files?
    You have some validation errors.

    You have some code before the The <!DOCTYPE> declaration. And the <!DOCTYPE> must be the very first thing in a HTML document.

    – deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    Hi Bea Cabrera, thanx for the reply.
    Here is a screenshot from IE9, perhaps that will help.

    Hi Keessiemeijer,

    Thanx for the help. I’ve made a child theme from twenty eleven, but I guess that is the right way to handle. I’ve deactivated all plugins but the problem still exists. Any other suggestions?

    Where can I find <!DOCTYPE>? In which file? style.css?

    Moderator keesiemeijer



    Where can I find <!DOCTYPE>? In which file? style.css?

    I can see it in the source code but do not now from which file it comes.

    Did you edit the header.php file in your child theme?
    If so, Can you paste and submit the code into a and post the link to it here? see the Forum Rules for posting code and using the pastebin.

    it is in the header.php. As keeslemeijer tells you, check that out.

    Thanx, your help is much apreciated.
    The extra code from your image is in my index file to fill in the meta tags etc and the analytics code.
    I did not edit the header in the child theme, only some pictures, but I did edit the index.php. Is that a problem?
    Do I need to copy the index.php code somewhere?

    Moderator keesiemeijer



    You can paste it (index.php) here if it’s not that large.

    <html xmlns="" lang="en" xml:lang="en">
    		<title> - herontwikkeling & bouwmanagement</title>
    		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    		<meta name="description" content=" realiseert unieke woonwensen voor haar opdrachtgevers, enerzijds door bestaand vastgoed opnieuw te ontwikkelen (herontwikkeling) anderzijds door de bouwplannen te begeleiden (bouwmanagement)">
    		<meta name="keywords" content="advies, adviesbureau, Breda, breda, bouwmanagement, bouwmanagement, herontwikkeling, onderhoud, vastgoedadvies, CPO, collectief particulier opdrachtgeverschap,
    		bouw, projectontwikkeling, projectontwikkelaar, Walter, Loomans, woningbouwcorporatie, gemeente, woningbouwcorporaties, gemeenten, droomwonen, droomwonen Breda
    		<meta name="robots" content="index, follow">
    		<meta name="revisit-after" content="30 days">
    		<meta name="author" content="Walter Loomans">
    		<title> - adviesbureau voor herontwikkeling en bouwmanagement</title>
    		<!-- herontwikkeling, bouwmanagement -->
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-28921296-1']);
     (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     * @package WordPress
     * Tells WordPress to load the WordPress theme and output it.
     * @var bool
    define('WP_USE_THEMES', true);
    /** Loads the WordPress Environment and Template */

    This is my index.php code, hopefully that contains some errors.

    This is my index.php this is linked to

    Moderator keesiemeijer



    This is not your theme’s index.php. this is the index file in the root of of a WordPress install. You shouldn’t add code to core files. try removing your code and re-upload it to the root of your site.

    Your theme’s index.php lives in /wp-content/themes/twentyeleven

    If you want to add stuff to the html <head> tag you do it in your theme’s header.php. Copy it over to your child theme and make the changes.

    Did you edit this as well:


    Thanx, I understand, but I havent edited that index.
    Here is the code from that index:

     * The main template file.
     * This is the most generic template file in a WordPress theme
     * and one of the two required files for a theme (the other being style.css).
     * It is used to display a page when nothing more specific matches a query.
     * E.g., it puts together the home page when no home.php file exists.
     * Learn more:
     * @package WordPress
     * @subpackage Twenty_Eleven
    get_header(); ?>
    		<div id="primary">
    			<div id="content" role="main">
    			<?php if ( have_posts() ) : ?>
    				<?php twentyeleven_content_nav( 'nav-above' ); ?>
    				<?php /* Start the Loop */ ?>
    				<?php while ( have_posts() ) : the_post(); ?>
    					<?php get_template_part( 'content', get_post_format() ); ?>
    				<?php endwhile; ?>
    				<?php twentyeleven_content_nav( 'nav-below' ); ?>
    			<?php else : ?>
    				<article id="post-0" class="post no-results not-found">
    					<header class="entry-header">
    						<h1 class="entry-title"><?php _e( 'Nothing Found', 'twentyeleven' ); ?></h1>
    					</header><!-- .entry-header -->
    					<div class="entry-content">
    						<p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyeleven' ); ?></p>
    						<?php get_search_form(); ?>
    					</div><!-- .entry-content -->
    				</article><!-- #post-0 -->
    			<?php endif; ?>
    			</div><!-- #content -->
    		</div><!-- #primary -->
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still – use the pastebin. As it stands, your posted code may now have been permanently damaged/corrupted by the forum’s parser.]

    I can remove the edited code from the index in the root, does that make a differece do you think?

    This sollution helps, I’ve removed the extra code in the header and now it looks like normal in IE9, thats great. But can I add the metatags to the header.php?

    Moderator keesiemeijer



    does that make a differece do you think?

    Yes, never edit core WordPress files.

    Remove the code and see if that makes any difference.

    After that you can add the code to your theme’s header.php

    or better yet, use plugins for google analytics and your keywords and descriptions.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘please help me with my site’ is closed to new replies.