• Resolved craigballard71

    (@craigballard71)


    Hi

    I am trying to get the [cnmonth] to work but it is only displaying the current month?

    This is the code I was using

    Get your orders in by the end of [cmonth] for delivery in[cnmonth]

    On the webpage at the moment I have had to change the month to the written month (July) and not code [cnmonth].

    Can you help with this please.

    Thanks

    Craig

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Gaurav Tiwari

    (@gauravtiwari)

    That’s strange. Are you using any page builder to insert the content?
    Also, did other shortcodes likes [year] [month] work?

    Edit: I can see that you are using Divi builder. That maybe a reason.

    Thread Starter craigballard71

    (@craigballard71)

    Hi,

    Weird, Working now? I wonder if it’s a server / world clock time issue?

    Cheers

    Plugin Author Gaurav Tiwari

    (@gauravtiwari)

    If it was showing June instead of July, there can be two reasons:

    1. The timezone set in Settings → General is different from your local timezone.
    2. Shortcode renders are cached as transients in WordPress database to improve page-speed. You might be seeing the cached version. That gets cleared in couple of hours depending on your hosting set up. If you are using a cache plugin like WP Rocket, you can always clear expired transients manually.

    I’m glad that the issue was solved automagically. ?? Let me know if anything else is needed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[cnmonth] is not working’ is closed to new replies.