Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter WalterBreda

    (@walterbreda)

    Thank you! It is true I changed that to link to the right directory:)
    The nanalytics thing is done, but the metatags seems to be more difficult. i will have a look at it tonight..
    For now thanx!

    Thread Starter WalterBreda

    (@walterbreda)

    Thank you keesiemeijer, I will try it with plugins:)
    You have been very helpfull!!

    Thread Starter WalterBreda

    (@walterbreda)

    I’ve tried but then the same errors occur. Any solutions to this? Where can I place metatags and the analytics script?
    Thanx for the former help keesiemeijer!!

    Thread Starter WalterBreda

    (@walterbreda)

    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?

    Thread Starter WalterBreda

    (@walterbreda)

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

    Thread Starter WalterBreda

    (@walterbreda)

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

    <?php
    /**
     * 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: http://codex.wordpress.org/Template_Hierarchy
     *
     * @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.]

    Thread Starter WalterBreda

    (@walterbreda)

    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    	<head>
    		<title>urbans.nl - herontwikkeling & bouwmanagement</title>
    		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    		<meta name="description" content="urbans.nl 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>urbans.nl - adviesbureau voor herontwikkeling en bouwmanagement</title>
    		<!-- herontwikkeling, bouwmanagement -->
    
    	</head>
    
    <script>
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-28921296-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' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();
    </script>
    
    <?php
    /**
     * 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 */
    require('./wordpress/wp-blog-header.php');

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

    This is my index.php this is linked to

    Thread Starter WalterBreda

    (@walterbreda)

    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?

    Thread Starter WalterBreda

    (@walterbreda)

    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?

    Thread Starter WalterBreda

    (@walterbreda)

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

    http://www.urbans.nl/IE9.jpg

    Thread Starter WalterBreda

    (@walterbreda)

    no one who knows anything about this? I’ve tried almost everything, but not a single improvement…

Viewing 11 replies - 1 through 11 (of 11 total)