Problem:
How to make a link to the single post in the Calendar View in a classic View.
Solution:
I added the [wpv-post-url] shortcode to show the post URL. Then I wrapped it in a div with a class:
<div class="calendar">[types field='important-date' style='calendar'][/types]<div class="the-post-url" style="display: none;">[wpv-post-url]</div></div>
Then I added the JS code below to JS Editor to move that URL to the proper A tag that you made it bold:
(function($) { $('div.calendar').each(function() { var theURL = $(this).find('.the-post-url').text(); $(this).find('table a').attr('href', theURL); }); })(jQuery);
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
This topic contains 5 replies, has 2 voices.
Last updated by 2 years, 8 months ago.
Assisted by: Christopher Amirian.