Need help? Check out our Support site, then


get_bloginfo('home') won't work on archive.php

  1. 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

  2. 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.

Topic Closed

This topic has been closed to new replies.

About this Topic