• Resolved nikica8

    (@nikica8)


    Basicly I’m designing new template for WP and all of the sudden i got this bug. In firebug console when inspecting page nothing seems to be in head tags. In source it self everyting is normal…

    I’ve searched for solution to my problem and managed to find similar problems, but none of the solutions worked for me:
    – converting to UTF-8 w/o BOM in Notepad++
    – validating page on w3c
    – cleaning code
    – rewriting code

    Compared to all problems I’ve read, I got something different. At the top of my page there is path to my template directory echoed. So I’ve tried to find all <?php bloginfo('template_directory'); ?> parts in my code, but that didn’t help me either. What is more confusing is that my admin theme also got the same problem when my theme under development is activated, but as soon as I change it to something different both(front and admin) themes are ok.

    If anyone has any suggestions please share.

    Thanks

Viewing 1 replies (of 1 total)
  • Thread Starter nikica8

    (@nikica8)

    So I managed to resolve it. Problem was in functions.php when I was including my widgets file with:

    include(bloginfo('template_directory').'/widget-about.php');

    that’s why part
    bloginfo('template_directory')

    was printed at top… i just deleted that and left widget-about.php since it’s in the same folder…

Viewing 1 replies (of 1 total)
  • The topic ‘Nothing inside head tags – > transfered in body’ is closed to new replies.