Jump to content
mindsovermedia

Customize Header Link

Recommended Posts

mindsovermedia    0
mindsovermedia

How can I change the header hyperlink from just going to the home page to another page on the site?  

 

Do I need to enter code in the CSS Style sheet or Header.php file?  If so, what code and where?

 

Thanks!

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

This can't be done with CSS, therefore you would need to edit the header.php file, on line 62.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
mindsovermedia    0
mindsovermedia

This is what is on line 62 - doesn't appear to be where a link to the page should go. Please advise if this is the correct line code, and what code to put in.  If it is another line in the header.php file, let me know what it is and where to put the link at.

 

<div id="site" class="<?php e_pagelines('colorscheme', 'greybg', $post->ID);?>">

 

Thanks.

Share this post


Link to post
Share on other sites
Rob    547
Rob

Hi,

 

Unfortunately, because Station Pro is deprecated and so old, few of our team are familiar with it or even have it to examine or test.

 

It's strongly recommended that you upgrade to PageLines Framework, where replicating the look of Station Pro should be incredibly easy. With Framework, it's easy to do this with a hook.  With Staton Pro, it's going to require editing core files. Even though Station Pro won't be updated, we don't have much ability to support that.

 

I can say that the line in header.php you're looking for is:

<a class="home" href="<?php echo get_option('home'); ?>/" title="<?php bloginfo('name');?>">

 

But you have to replace the  <?php echo get_option('home'); ?> with the full URL you want.

 

Remember, we cannot support this if it doesn't work.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×