Use this function in your child theme’s functions.php to change the default link on your logo to another, custom link. Just replace http://new_link with the address you want your logo to point to:
add_filter('tc_logo_link_url', 'change_site_main_link'); function change_site_main_link($output) { return 'http://new_link'; }
3 thoughts on “Customize logo link”
How to do? I have a logo that contains of a logo plus a css3 movement. How can I implement this?
e. g.
and so on …
The function should be
How can a manage it?
If I answer your question here, no one else will benefit from it. And this is not how it works. You should ask your question on the theme’s WP forum and give it a very specific name, so other users can find and benefit from it too.
Besides, the CSS alone is not enough for anyone who wants to help you. You should also post the html or a link to a working version of your logo. Otherwise one cannot know the relationship between the elements with the classes defined above.
THANKS