Home>Support>Setting Logo hyperlink to External Url in Vantage Premium

Setting Logo hyperlink to External Url in Vantage Premium

By Scott Speicher, 10 years ago. Last reply by Magus, 10 years ago.
Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

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. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 10 years, 1 month ago Magus
    Hi, I Work Here

    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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More