• Resolved gifiy

    (@gifiy)


    Hello,

    I have added your example shortcode to my website which is hosted by Siteground. I also signed up with cloudflare.com and can see that my website and domain are listed and connected there. I am testing it from Germany. Your plugin is activated.

    However, the shortcode does not seem to work. Only the original shortcode is displayed on the frontend:
    [CBC show=”y” country=”es, us”]I only appear in Spain and the U.S.[/CBC].

    Is there anything else I can do to make it work?

    I hope you can help me.
    With kind regards
    gifiy

Viewing 5 replies - 1 through 5 (of 5 total)
  • This is always a problem with a CDN, since your website can be accessed from many servers in the world. And it is just which copy, with which content you will then see. So this may be the content for a few visitors before you.

    Thread Starter gifiy

    (@gifiy)

    Does this mean that geolocation will not work for me in general?
    Or will it only not work with this plugin?

    I discussed this with my web builder and the conclusion was that geolocation and CDN’s don’t work together, unless you exclude certain pages from the CDN.

    Thread Starter gifiy

    (@gifiy)

    I see. Thanks for your advice!

    Plugin Author Paul

    (@paultgoodchild)

    Most CDNs serve assets like Javascript, CSS and images. Not HTML content. Unless yours is configured that way?

    If you’re serving cached HTML from your WordPress site, then you can expect everyone to see the same content – it’s cached. It’s static. It doesn’t change. So someone visiting from New Zealand will see the same content as someone from Outer Mongolia. It’s cached, static, unchanged.

    Back to the shortcode problem. If it’s not displayed, then it’s being put in a place that doesn’t process shortcodes. WordPress, by default, only processes shortcode in the posts and pages. It doesn’t do it in widgets, or other areas. You haven’t mentioned how you’re including the shortcode, so I can’t really help there.

    Basically test the shortcode directly in a post or page and see if it works and also ensure the option to enable the shortcodes is turned on within the plugin.

    Unless your website is a static website, stop caching your HTML.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Shortcode does not work: Entire shortcode is displayed on frontend’ is closed to new replies.