I'm using the following code in my copyright, but the url generated is not active, it is simply displayed. Is there an automatic means of making such a url active?
<?php bloginfo('url'); ?>
I'm using the following code in my copyright, but the url generated is not active, it is simply displayed. Is there an automatic means of making such a url active?
<?php bloginfo('url'); ?>
Okay. I'm laughing pretty hard at myself right now, because:
1) This actually worked, and
2) It can't possibly be correct.
<a href="<?php bloginfo('url'); ?>"><?php bloginfo('url'); ?></a>
And yet it displays the blog url as an active link. I'm such a butcher.
These work too;
<a href="<?php echo get_option('home'); ?>"><?php bloginfo('name'); ?></a>
<a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a>
I hope someone offers a better solution. :P
Excellent. It must be ok authoring, because it does not trip W3C.
Thanks!
-Scott
Glad it helped!
This topic has been closed to new replies.