Based on the Wordpress codex, the wordpress_mind() ought to be situated before the closing mind tag.

After I place the code following the wordpress_mind() it really works. However when I place it before wordpress_mind() as it ought to be, it produces a blank space. Consider the picture to determine what Firebug sais if this goes blank.

This is actually the code:

<link rel="stylesheet" href="flexslider/flexslider.css" type="text/css" /> <script src=""></script> <script src="flexslider/jquery.flexslider.js"></script>

<script type="text/javascript" charset="utf-8">   $(window).load(function() {

         slideshow: true,
         controlNav: false,
         directionNav: false,   animation: "slide",     slideshowSpeed: 4500,   animationDuration: 600,   

             });   }); </script>

Firebug: enter image description here

Why is the fact that? Any ideas?

Yes, wp_head() ought to be before </head>, however your javascript code ought to be before </body>.

Javascript is definitely suggested to become put ultimately from the DOM. Just in case that's difficult (e.g. specific javascript should be loaded prior to the DOM, which doesn't appear to be real inside your situation) , place it before </head> and after wp_head();


Also, things i observed inside your situation is your primary script is probably not accessible if you work with Search engine optimization friendly web addresses. You need to specify absolute url.