Jump to content


Photo
- - - - -

Change Default Branding HREF


Best Answer Danny , 18 February 2013 - 05:42 PM

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>';

}
Go to the full post


  • Please log in to reply
2 replies to this topic

#1 thomstark

thomstark

    Super Member

  • Members

  • 147 posts
  • Framework Version:Pagelines 2.37
  • Country: Country Flag

Posted 18 February 2013 - 05:07 PM

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?



#2 Danny

Danny

    Is Awesome!

  • Moderators
  • 16392 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 18 February 2013 - 05:42 PM   Best Answer

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.

 

 

Please Login or Register to see this Hidden Content


  • happywidget likes this

#3 thomstark

thomstark

    Super Member

  • Members

  • 147 posts
  • Framework Version:Pagelines 2.37
  • Country: Country Flag

Posted 18 February 2013 - 06:02 PM

That did the trick, Danny. Thanks!