<?php bloginfo('name'); ?> to <?php bloginfo('url'); ?>
This doesn’t seem to work. All it did was display the URL over my header background image. It was clickable, but didn’t look so good.
Started with:
<div id=”header”>
<div id=”headerimg”>
<h1>/”><?php bloginfo(‘name’); ?></h1>
<div class=”description”><?php bloginfo(‘description’); ?></div>
</div>
</div>
Tried:
<div id=”header”>
<div id=”headerimg”>
<h1>/”><?php bloginfo(‘url’); ?></h1>
<div class=”description”><?php bloginfo(‘description’); ?></div>
</div>
</div>
Didn’t work. Tried every variation I could possibly think of… nothing.
Think it could have to do with this code?
#page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbg-<?php bloginfo(‘text_direction’); ?>.jpg”) repeat-y top; border: none; }
<?php } else { // No sidebar ?>
#page { background: url(“<?php bloginfo(‘stylesheet_directory’); ?>/images/kubrickbgwide.jpg”) repeat-y top; border: none; }
<?php } ?>
tried changing bloginfo(‘stylesheet_directory’); ?> to bloginfo(‘url’); ?>. Didn’t create link and messed up the style.
Hmmm…… Guess I need to brush up on my PHP… back to the drawing board.