How to make header link to another page?
-
Hi,
My blog uses the Coraline theme. I currently have a custom header image that is clickable as a link back to the homepage. I would like to change the destination of the link to another page on my blog (i.e. not the homepage). I have looked at the header.php code but can’t seem to figure it out. Here is the relevant code, any help would be greatly appreciated. Thanks!
<div id="header"> <div id="masthead" role="banner"> <?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?> <<?php echo $heading_tag; ?> id="site-title"> <span> <a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a> </span> </<?php echo $heading_tag; ?>> <div id="site-description"><?php bloginfo( 'description' ); ?></div>
[Please post code snippets between backticks or use the code button. Your code has now been mangled by the forum’s editor.]
- The topic ‘How to make header link to another page?’ is closed to new replies.