I am focusing on a wordpress template and want to include a web link towards the cartoon bubble towards the top of the page. The bubble, so far as I will tell, is php. Where will i place the href?

<h1><a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a></h1>

The href should indicate www.ojaivalleynews.com

Your blog url is www.ovnblog.com if you prefer a visual around the bubble. I have used firebug to ispect, but alas I'm not sure enough about php to understand it.



I skipped the 2nd type of code concerning the above question, and based from the suggestions here, make corrections for this line and delay pills work.

<h1><a href="<?php bloginfo('url'); ?>/"><?php bloginfo('name'); ?></a></h1>
<div id="bubble"><p><a href="http://www.ojaivalleynews.com/" target="_blank"><?php bloginfo('description'); ?></p></div>

Thank you for everyone's help. An upvote for everyone!

Don't you need to echo the return values from the function?

<h1><a href="<?php echo bloginfo('url'); ?>/"><?php echo bloginfo('name'); ?></a></h1>

rashneon, search for the next HTML (search header.php for 'bubble')

<div id="bubble">
  <p>Click for OVN Homepage!</p>

replace by using

<div id="bubble">
  <p><a href="http://www.ojaivalleynews.com/">Click for OVN Homepage!</a></p>

@Endlessdeath - no, wonderfully WordPress mixes a lot of functions which print with a lot of functions which return values. So yes, it truly should be <?php bloginfo('url'); ?> - see the default theme file

just replace the

<?php bloginfo('url'); ?>/



In WordPress, bloginfo('url') provides you with the hyperlink to your blog's home. "bloginfo" is equivalent to "echo get_bloginfo".

In case your blog's primary page is http://www.ojaivalleynews.com, that is what it'll output. Else, if http://www.ojaivalleynews.com is not related to your site, just replace using the static url like others suggested.

If you are a brand new to WordPress and you are going for doing things a great deal, see http://codex.wordpress.org/

** UPDATE **

Upgrading your update, bloginfo('description') provides you with your blog's description/headline (generally beneath your blog's title). In case your blog is http://www.ojaivalleynews.com, you are outputing the url dinamically within the first link and staticly within the second. Otherwise, you are giving your blog's description as text around the connect to http://www.ojaivalleynews.com.

<h1><a href="http://www.ojaivalleynews.com/"><?php bloginfo('name'); ?></a></h1>

I believe that's what you would like, however i can not be sure...

if you wish to replace this with another -static- link it ought to be:

<h1><a href="http://www.ojaivalleynews.com"><?php bloginfo('name'); ?></a></h1>