Making the header image a link

I have looked at ways to make the header image a link and they say to change some code in the Header.php but for this theme I cannot seem to find the right code to do this.
Some direction to be able to make the image an external link would be greatly appreciated.

Hi @klep56,

I hope you are well today and thank you for your question.

To achieve this you have to overwrite the travelify theme slider function travelify_featured_post_slider in the child theme and edit its code to make the image an external link.

I have attached the travelify child theme to this reply that contains travelify_featured_post_slider function in its functioins.php file so just download the theme and edit this function.

Best Regards,
Movin

I apologize, I am new to website creation and editing, could I get some specific instructions on what to do? I don’t want to end up screwing it up by mistake.

Hi @klep56,

You have to download the child theme zip file attached to my previous reply and install & activate it on your site as described on the following pages.

Please make sure that you have also installed the Travelify them on your site.

If you want to know information about WordPress child theme then you will get it on the following page.

http://freewptp.com/tutorials/why-and-how-to-create-and-use-wordpress-child-theme/

Best Regards,
Movin

Hello! I would also like to make the featured images clickable links to open a larger, full version of the image. (I assume this is what OP was aiming for?)

I am already using a child theme and have downloaded your zip file and implemented the code in the child theme’s function.php file, but do not see a change in site functionality. Do I need different code to accomplish this? The code mentions sliders, I’m looking to change featured image functionality on posts… not sure if these two things share code or if I need something different.

To be clear, when clicking on a post’s featured image, I would like the featured image to link to the full-size version of the image (which I intend to open as an overlay using the WP Lightbox 2 plugin).

Thanks!

Hi @lindaoftx,

Your question is different from the question asked in this topic and to help keep support thread separates could you please create your own thread for your question here https://colorlibsupport.com/c/travelify-support/ instead of replying on others thread as it makes the thread messy and hard to read.

If you want to you can also add reference of this thread in your newly created thread.

We would be more than happy to help you on your new thread.

Cheers,
Movin

My apologies! Re-reading the original post I can now see this is unrelated to what I am looking to do. I have reposted in a new thread here: https://colorlibsupport.com/t/make-featured-image-a-link/

Please feel free to delete my replies to this thread as they are irrelevant!

Hello. Can you send me this decision, I have the same problem with header image link?

Hey there

Sorry, the attached file is not here anymore, (Most probably it was lost when we migrated to the new support board) such questions require customization of the theme which usually falls outside of support scopes.

Regards

May be you know method how to make header-image exactly clickable? )

Hi there

Sorry, it will require customization of the theme, I’m sorry but such requests are outside of our support scope, please take my apologies.

Regards

Ok, take it easy ). I did it through magic with logo ).

Hey there

Thanks for understanding :slight_smile: and have a good week ahead

Regards