Jump to content
Sign in to follow this  
mikec415

How do I make my logo in the site branding section link to another site?

Recommended Posts

mikec415

I want to make the logo in the site branding section link to another site when clicked on. How do I change it because right now it currently links to the page it is on. Thanks.

Share this post


Link to post
Share on other sites
Rob
If you have PlatformBase activated (which you should), please FTP into your site and navigate to wp-content/themes/platformbase and open functions.php in a text editor. At the end of the file, add this, making sure it's modified to your needs: [code]add_filter('pagelines_site_logo', 'my_header'); function my_header($header) { $header = sprintf('%s', 'http://www.YOURSITE.com/', get_bloginfo('name'), esc_url(pagelines_option('pagelines_custom_logo')), get_bloginfo('name')); return $header; }[/code]

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Rob
Make sure to change YOURSITE to the site you want the logo to point to.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Rob
Super!

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

Sign in to follow this  

×