This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Setting Logo hyperlink to External Url in Vantage Premium

Open 1 reply generalpremium
10 years ago · Last reply by Magus 10 years ago

I would like to set a logo hyperlink to a page other than the home page or an external URL. Is there a way to do this through custom css or do I gave to edit the child theme header.php file? Thanks. Scott

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Magus Staff 10 years, 8 months ago

    Hi Scott

    You would need to do this by editing the parts/masthead.php if you are using the default layout and parts/menu if you are using the logo in menu option. Preferably by using a child theme so you do not lose any changes during theme updates. Please see here for guidance on how to achieve this

    http://codex.wordpress.org/Child_Themes#How_to_Create_a_Child_Theme

    You will need to look for the line that reads

    <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title

    and change the php request to match your required link

    <a href="http://example.com" title

    Let us know how you get on

    Magus

Replies on this thread are closed.

Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Have a different question or issue?

Start New Thread