Black Friday & Cyber Monday Offer | Flat 20% OFF on Lifetime & All Themes Package. Use coupon code BFCM24 | Offer valid till 5th Dec 2024 Buy Now

WordPress Website Templates

Find Professional WordPress themes Easy and Simple to Setup

inner banner

How to link the images in section Counterwrap?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9852
    Bjoern Greve
    Participant

    Hi,
    I would like to have the images in the section class “Counterwrap” (cntimage) linked to content according to the link set for the accociated button (cntbutton).
    How do I get this done?
    Thanks a lot for help on this!

    #9873
    Grace Themes
    Member

    Hi,

    To add the button link for image in “Popular Destination” section

    Go to Appearance -> Editor -> inc/custom-functions.php file

    at line no. 1039 you will find the below code
    <div class="cntimage hvr-rectangle-out"><img src="'.$image.'" /><span class="counter">'.$days.'</span></div>

    Now replce this code with the below code
    <div class="cntimage hvr-rectangle-out"><a href="'.$link.'"><img src="'.$image.'" /><span class="counter">'.$days.'</span></a></div>

    Please do this changes and let me know your feedback.

    Regards
    Grace Themes

    #9895
    Bjoern Greve
    Participant

    Hi,
    thank you so much for your quick reply. It works well!
    Kind regards,
    Björn

    #9913
    Grace Themes
    Member

    You are most Welcome 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.