• Resolved bmc38119

    (@bmc38119)


    Does update=”immediate” work with [open_text}? I have tried to add it as a parameter and my resulting text is showing incorrectly.

    Below is without the parameter:

    Below is with the parameter added to the shortcode:

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Noah Hearle

    (@designextreme)

    @bmc38119 The update="immediate" parameter will work with all of the Shortcodes. I recommend using %now% to check the time – as it could be the time zone is not accurate.

    Thread Starter bmc38119

    (@bmc38119)

    @designextreme – Looks like my images did not get uploaded – sorry about that – I don’t post much to the wp.org support threads.

    I uploaded my screenshots to imgur – see below. Hopefully you can see these images with descriptive captions. Let me know if this helps – as I am seeing noticeable differences in the code output when using the parameter – and causing backslash to appear before apostrophe.

    And thanks again for this awesome plugin.

    Plugin Author Noah Hearle

    (@designextreme)

    @bmc38119 Please edit this to add the parameter:

    <?php echo do_shortcode('[open_text update="immediate"] ... [/open_text]');
    Thread Starter bmc38119

    (@bmc38119)

    @designextreme I tried this as well. But will send screenshots of those as well this afternoon.

    Plugin Author Noah Hearle

    (@designextreme)

    @bmc38119 Did you try this and have %now% within the text? This will display the current time – so you can see if the time zone or something else isn’t set correctly.

    With the update="immediate", then there should be an immediate AJAX request for new information.

    Perhaps try this, so there is an enclosing HTML tag to apply the JavaScript data:

    <?php echo do_shortcode('[open_text update="immediate" tag="div"] ... [/open_text]');

    Thread Starter bmc38119

    (@bmc38119)

    @designextreme After further reviewing, it appears the ajax request is replacing the text with the backslash in front of the single quote. I can see when refreshing the page that the text “We’re Open” appears correctly for a split second and then is replaced with the version of text containing the backslash “We\’re Open”.

    Do you know if there is anything that can be done to prevent this?

    Plugin Author Noah Hearle

    (@designextreme)

    @bmc38119 Do you have a URL that you can share?

    There is not straight apostrophe in We’re Open! As it’s an angled apostrophe. I’m curious about how this could be causing the AJAX call to fail…

    Thread Starter bmc38119

    (@bmc38119)

    @designextreme Do you mind if I email you directly with the URL and any other information?

    Plugin Author Noah Hearle

    (@designextreme)

    @bmc38119 Please use the direct support link either in the plugin or at Design Extreme.

    Thread Starter bmc38119

    (@bmc38119)

    @designextreme Hello – I submitted the information via support for on your website. Thank you!

    Plugin Author Noah Hearle

    (@designextreme)

    @bmc38119 This is fixed in version 2.2.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘[open_text] and update=”immediate”’ is closed to new replies.