Jump to content
thomstark

Change Default Branding HREF

Recommended Posts

thomstark    2
thomstark

I haven't found an answer for this in the forums. Someone apparently got an answer, but now that forum post is missing. :/

 

I just need to change the branding link from root to root/home to bypass a landing page.

 

How might I do that?

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi Thom,

 

PHP isn't my forte at this moment in time but you can try adding the following to your child theme or customise plugins functions.php file.

 

 

add_filter( 'pagelines_site_logo', 'my_logo_url' );
function my_logo_url( $site_logo ) {
return '<a class="plbrand" href="Add URL Here" title=""><img class="mainlogo-img" src="Add URL to Image Here" alt="" /></a>';

}
  • Like 1

Please search our forums, before posting!

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


×