Jump to content
Sign in to follow this  
raider

Main logo linking

Recommended Posts

raider

Is there a way somewhere in the template to make the logo that i add through the interface to link to something other than the home page of the blog. I'm using platformpro as part as a greater site that has another home page

Share this post


Link to post
Share on other sites
kastelic

Open platformpro/includes/library.templates.php and around line 322 you will find the pagelines_custom_logo() function. You can filter this function in base. Here's an example of doing that that changes the url to google: ` add_filter ( 'pagelines_site_logo', 'myfilter'); function myfilter($site_logo){ $site_logo = sprintf( '%s', 'http:google.com', get_bloginfo('name'), esc_url(pagelines_option('pagelines_custom_logo')), get_bloginfo('name')); return $site_logo; } `

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  

×