Support » Plugin: Countdown Block » Add link to Expiry Message?

  • Resolved presscode

    (@saschinger)


    Hello and good day to you 🙂
    I’d like to include a clickable link within the message after the countdown expires, but using HTML ahref-tag didn’t work.
    Could you provide a workaround about how to achieve this?
    Thank you and kind regards,
    Sascha

Viewing 1 replies (of 1 total)
  • Plugin Author Achal Jain

    (@ibachal)

    Hi @saschinger

    The message field currently does not support HTML.
    As a workaround, you can add the following JS snippet into your theme to parse the HTML in the message.

    
    ;(function($) {
        $(document).ready(function() {
            var msg = $('.ib-countdown-msg').text().replace(/”/g, '');
            $('.ib-countdown-msg').html(msg);
        });
    })(jQuery);
    

    Thanks.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.