• Resolved domipj

    (@domipj)


    for many month I have a little html code that say we are open or we are closed :

    p style="text-align: center;">[open_now]</p>
    <p style="color: #2cc968; text-align: center;">Great, we are now open ! <img src="https://essenceofhealth.asia/wp-content/themes/Divi/includes/builder/frontend-builder/assets/vendors/plugins/emoticons/img/smiley-laughing.gif" alt="laughing" /></p>
    [/open_now]
    <p style="text-align: center;">[closed_now]</p>
    <p style="color: #f12929; text-align: center;">Sorry, we are now closed ! <img src="https://essenceofhealth.asia/wp-content/themes/Divi/includes/builder/frontend-builder/assets/vendors/plugins/emoticons/img/smiley-cry.gif" alt="cry" /></p>
    [/closed_now]

    resently this code does not work any more but I do not have any idea why

    Is there any enlightment for me please ?

    Thank you
    Domi

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Design Extreme

    (@designextreme)

    @domipj This is very likely to be down to page caching.

    Fortunately, there is already a shortcode parameter that you can use to side-step caching by requesting an immediate update…

    [open_now update="immediate"]
    <p style="color: #2cc968; text-align: center;">Great, we are now open ! <img src="https://essenceofhealth.asia/wp-content/themes/Divi/includes/builder/frontend-builder/assets/vendors/plugins/emoticons/img/smiley-laughing.gif" alt="laughing" /></p>
    [/open_now]
    [closed_now update="immediate"]
    <p style="color: #f12929; text-align: center;">Sorry, we are now closed ! <img src="https://essenceofhealth.asia/wp-content/themes/Divi/includes/builder/frontend-builder/assets/vendors/plugins/emoticons/img/smiley-cry.gif" alt="cry" /></p>
    [/closed_now]

    Note: I have corrected some odd paragraphing. Please check this at your side (perhaps place the shortcodes right up to the tags).

    Thread Starter domipj

    (@domipj)

    Great! Thank you so much for the fast answer. I will copy and past that code. And I will giv you the feedback tomorrow

    Plugin Author Design Extreme

    (@designextreme)

    @domipj Is this working correctly – showing the correct status when the page loads?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘We are open plugin’ is closed to new replies.