get_bloginfo(‘home’) won’t work on archive.php

  • Author
    Posts
  • #200737

    rickdan
    Member

    Hi,

    I’m using <?php get_bloginfo(‘home’); ?> in my header file to get my blog URL for home links etc.
    But when I add the same code to archive.php when I open the page the place where the URL should be is just blank. No errors, get_bloginfo(‘home’) is just nothing.

    Do I need to do something different for archive.php?
    I also have <?php get_bloginfo(‘home’); ?> in page.php and it works ok for my “pages”.

    Thanks

    #200947

    You are in the wrong forum since you are self-hosted. You need to inquire over at http://wordpress.org/support/ as few, if any here know anything about the software you are using. We do not have access to any underlying wordpress or theme files.

The topic ‘get_bloginfo(‘home’) won’t work on archive.php’ is closed to new replies.