Jump to content
Sign in to follow this  
stefanoferruggiara

Change Link in Header Image and Home Button

Recommended Posts

stefanoferruggiara

Hi there, I would like to customize the link of the image that we load from platform menu settings as a branding in the head and foot, and the Home nav menu button that point to a different link that is not the site.


"Se c'è una sola possibilità.. lo faccio, se non c'è.. la creo!"

Coach Stefano Ferruggiara, Allenatore Fisico & Mentale

Share this post


Link to post
Share on other sites
Rob
Stefano, may we have a link to the site? I presume you mean the branding in the header (added from Global Options). This is done with a hook. Via FTP, in platformbase/functions.php find this line: // Once overridden you can copy the code from that section, paste it there and edit to your heart's content. Directly below it, add: [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] That fixes the header. As for the footer, I think you need to do that differently, and I'm not sure how. Probably you'll need to edit this in the footer by re-adding your image as a text widget (that's how I do it).

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
stefanoferruggiara
Guru Man! Thanks! If you know how to do the same for the home button of nav menu and the image in the footer.. could be perfect!

"Se c'è una sola possibilità.. lo faccio, se non c'è.. la creo!"

Coach Stefano Ferruggiara, Allenatore Fisico & Mentale

Share this post


Link to post
Share on other sites
stefanoferruggiara
http://www.stefanoferruggiara.com The link of the button and the footer image have to point here: http://www.coaching-formazione.info

"Se c'è una sola possibilità.. lo faccio, se non c'è.. la creo!"

Coach Stefano Ferruggiara, Allenatore Fisico & Mentale

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  

×