- This topic has 31 replies, 3 voices, and was last updated 1 year, 1 month ago by Sakin.
-
AuthorPosts
-
March 21, 2023 at 12:42 pm #316732Glen PavelichParticipant
I have a child theme however I don’t know php.
Can you help me with what to add to the function file for
lucida_featured_image()
The site is backyardpollinator.ca and the feature video (in the header position) needs to be clickable to land on
backyardpollinator.com (the shopping cart part of the site).
Thank you. Your help on this is greatly appreciated.
March 21, 2023 at 5:58 pm #316740SakinKeymasterHi Glen,
Here is the code if you are familiar with adding functions to your child’s theme. You need to add the following code from https://pastebin.com/raw/L0JWgSm3 to your child theme
functions.php
file. This code will take Featured Header Image Alt/Title Tag as Title and Featured Header Image Link URL as a link for the video. This code will only work on Custom Header Video.Regards,
SakinMarch 23, 2023 at 3:49 pm #316822Glen PavelichParticipantYes, I have a child theme. I however, don’t know php so I’m hoping you can help me with the syntax I need to add in order to complete
lucid-featured-image
line for the function.php of my child theme.
The link has to go to https://backyardpollinator.com, so we can get people to the shopping cart side of the site from backyardpollinator.ca when they click on the video.
March 23, 2023 at 3:51 pm #316824SakinKeymasterHi Glen,
Did you check my previous reply that you just need to copy the code from https://pastebin.com/raw/L0JWgSm3 and add it to your child theme functions.php file.
After that, you can go to “Appearance => Customize => Header Media” and the desired link in “Featured Header Image Link URL”.
Regards,
SakinMarch 23, 2023 at 4:20 pm #316825Glen PavelichParticipantTotally missed the link in your message. My appologies. Thank you for providing this info.
G
March 23, 2023 at 6:57 pm #316829Glen PavelichParticipantAnd it works perfectly. Thank you so much.
G
March 24, 2023 at 12:01 am #316836SakinKeymasterHi Glen,
Welcome and if you like the theme and our support then I have a quick request: could you please leave an honest review? https://wordpress.org/support/theme/lucida/reviews/#new-post. Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely appreciated.
Regards,
SakinMarch 24, 2023 at 8:02 am #316874Glen PavelichParticipantWell I lied. It worked last night for my tests, but doesn’t work this morning. How is that possible. Was I imagining things?
Check backyardpollinator.ca
March 24, 2023 at 8:08 am #316875Glen PavelichParticipantI pasted the entire code provided before the closing tag.
?>
- This reply was modified 1 year, 1 month ago by Glen Pavelich.
March 24, 2023 at 10:16 am #316878Glen PavelichParticipantIt started working again a bit later. Question is though why wasn’t it working for the first checks this morning. It didn’t work for either my client or myself.
Can you try it on your end to see if it works right away, or is delayed?
G
March 24, 2023 at 10:33 am #316879SakinKeymasterHi Glen,
It’s working fine for me. Also, make sure to clear your cache from the WP Fastest Cache plugin and also from your browser. You guys might be loading the old cached content.
Regards,
Sakin -
AuthorPosts
- The topic ‘Overlay Text on Header Media’ is closed to new replies.