Posted: December 20, 2017 at 7:54 am
|
I would like the featured image of the event to appear in the tool tip along with the excerpt, (rather than in the calendar itself). This seems intuitive but cannot find any documentation. thank you. |
|
Would something like this work in my child theme functions.php?
|
|
Got it to work with the following:
|
Hi there, That looks like my function here: https://gist.github.com/Pebblo/d80ea24588fdc02ea21692aef89704d9 and whilst that’s fine to use as is, it also adds support for HTML tags in the calendar description which you may not want/need? You could do something like:
To add the image to the ‘original’ description to save on the additional processing (although its not a lot). Either way, I’m glad you found a solution 🙂 |
|
The support post ‘Featured image in calendar tool tip’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.