Viewing 11 posts - 21 through 31 (of 31 total)
  • Author
    Posts
  • #316732
    Glen Pavelich
    Participant

    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.

     

    #316740
    Sakin
    Keymaster

    Hi 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,
    Sakin

    #316822
    Glen Pavelich
    Participant

    Yes, 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.

    #316824
    Sakin
    Keymaster

    Hi 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,
    Sakin

    #316825
    Glen Pavelich
    Participant

    Totally missed the link in your message.  My appologies.  Thank you for providing this info.

     

    G

     

    #316829
    Glen Pavelich
    Participant

    And it works perfectly.  Thank you so much.

    G

    #316836
    Sakin
    Keymaster

    Hi 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,
    Sakin

    #316874
    Glen Pavelich
    Participant

    Well 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

     

    #316875
    Glen Pavelich
    Participant

    I pasted the entire code provided before the closing tag.

    ?>

    #316878
    Glen Pavelich
    Participant

    It 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

    #316879
    Sakin
    Keymaster

    Hi 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

Viewing 11 posts - 21 through 31 (of 31 total)
  • The topic ‘Overlay Text on Header Media’ is closed to new replies.