Show alternate link title text if widget has specific class/id?
-
Hi there!
I’m aware that what I’m asking is trivial and weird, but I do really need some help with this (if it is even possible).
I’m using my own custom image widget template and I want to show the following if the currently active image widget has a class of ‘pinky’:
<a href="$link" title="Book Now">Book Now</a>
or the following if not:
<a href="$link" title="Read More">Read More</a>
Any help is greatly appreciated, thank you!
- The topic ‘Show alternate link title text if widget has specific class/id?’ is closed to new replies.