Tagged: Documentation, hotspot, link
-
AuthorPosts
-
July 6, 2017 at 10:28 am #817124
I find the pulsing lights from the image hotspot in Enfold very cool. However standard there is not more interactivity to it than a tooltip on hover. But there is more: I came across and old closed thread in 2014 https://kriesi.at/support/topic/make-hotspots-links/
Grzegorz Domagala comes up with a charming solution that worked still for me with Enfold 4.0.7 (july 2017).
Just in case the old post is removed, I repost the solution as I found it very helpfull.Succes, Tjerk
Hi!
I dreamed using hotspots with images as many other users. I voted for this functions at the Feature Request Page, but in meantime I have to find some kind of solution. Thanks for flexibility and power of this theme it was quite easy.
If you are eager to use links with hotspot before new feature will be part of Enfold template, please follow this simple guide:- First, you have to use Child Template in your installation. If you are not using this, please reconsider this decision again. Working with Child Templates give power of all new features with flexibility of “own” theme
- Please download two files form Gist: https://gist.github.com/gdometrics/fc5e03a6f05845746a18 image_hotspots.php and functions.php
- In your child directory create new folder “shortcodes“
- Please upload file image_hotspots.php into folder “shortcodes”
- Please update or create file functions.php in main folder of child template with content form downloaded file functions.php
- Please test you new hotspots with links :-)
If everything goes smoothly, you will find two new fiels, during creation of hotspot:
- Hotspot Link – where you can writedown you link
- Open in new windows? – checkbox, if you select it – link willbe open in new windows.
Please try and hope for the best.
Grzegorz DomagalaJuly 6, 2017 at 11:34 am #817154Hey Tjerk,
Thank you for sharing. Don’t worry, the only posts we delete are accidentally duplicate threads. :)
Do you need help with anything regarding this topic?
Best regards,
SarahJuly 6, 2017 at 12:36 pm #817191Thanks @Sarah,
The solution of @gdopraxis worked great. Might be worthwhile to implement in the next release of Enfold.Tjerk
@1000zenJuly 6, 2017 at 3:52 pm #817307Great. We’ll close this thread now.
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
Best regards,
Sarah -
AuthorPosts
- The topic ‘How to make image hotspot a link’ is closed to new replies.