Change header logo href to another link.

This topic has 4 replies, 2 voices, and was last updated 9 years, 7 months ago ago by Brian Johnson

  • Avatar: Juan Navarro
    Juan Navarro
    Participant
    April 13, 2015 at 13:48

    Good morning.

    I really need to know how can I change and redirect the “link” function on the header logo.
    I is redirecting me to Home Page as default set on wordpress config. My problem in fact is that my site must have a “Content Warning” page set as “index”, but I want it to “pop in” only the first time someone accesses the website. When I click on the logo it sends me back to the “Content Warning” page and I just want it to redirect the user to a different page set by me.

    Thanks.

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Brian Johnson
    Brian Johnson
    Member
    April 13, 2015 at 13:56

    Hello

    Please navigate to the idstore\wp-content\themes\idstore\code\fuctions.php and change
    following lines of code:

    		<a href="<?php echo home_url(); ?>"><img src="<?php echo $logoimg ?>" alt="<?php bloginfo( 'description' ); ?>" /></a>
    	<?php else: ?>
    		<a href="<?php echo home_url(); ?>"><span class="logo-text-red">ID</span>Store</a>

    With best regards
    Brian Johnson

    Avatar: Juan Navarro
    Juan Navarro
    Participant
    April 13, 2015 at 15:28

    That was exactly what I wanted.
    Thanks for the reply.

    Avatar: Brian Johnson
    Brian Johnson
    Member
    April 13, 2015 at 15:36

    You are welcome!

    With best regards
    Brian Johnson

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘Change header logo href to another link.’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.