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

    (@webaware)

    G’day Rachel,

    It looks like you have the map in a widget. Widgets don’t normally process shortcodes, so something was adding a filter to run shortcodes in widgets previously.

    Can you please take a look in your theme to see if there’s an option to run shortcodes in widgets? It might just be an option that somehow got turned off.

    Did you update any other plugins / theme at the same time? Could any of them have been adding functionality to process shortcodes in widgets?

    You can add this line of code to your theme’s functions.php or a simple plugin if you want to simplistically enable shortcodes in widgets. It has some drawbacks with some shortcodes, but will work fine for the Flexible Map:

    add_filter('widget_text', 'do_shortcode');

    cheers,
    Ross

    Thread Starter RachelHKay

    (@rachelhkay)

    Hello, thank you for your quick response, I greatly appreciate it.

    I did just update the theme which had support for shortcodes, so I looked in the theme settings and saw that the shortcode option was still enabled. I then got to thinking that sometimes if shortcode is placed in the visual editor and not the text editor it won’t work, so maybe what ever went on when the theme and WordPress were updated kind of made a mess of the shortcode because I also have the same map on the Contact page via shortcode in one of Divi’s text modules which is also not working.

    After cutting the shortcode out of the visual text widget and pasting it back in via the text editor of this widget the map is now working in the footer.

    The only problem I have now is that I can’t do the cut and paste on the Contact page because the Divi Builder kept giving me an error, which I discovered the WP Super Cache plugin was interfering and causing the error. Although after deactivating and uninstalling the WP Super Cache plugin now the Divi Builder won’t load at all, even though the error is no longer there. So as of now I can’t say if this fix will also work on the Contact page. I now have to find out the problem with the Divi Builder. I also can’t update the live site until this is fixed. But hopefully the fix will also work on the Contact page.

    Plugin Author webaware

    (@webaware)

    Ah, Divi Builder. I’ve heard that can give weird results. Perhaps give them a hit on their support page, they’ll probably have an idea of what to do.

    I’d be surprised if WP Super Cache was a cause though. More likely, you had some cached files hanging around and they were deleted when you uninstalled the plugin.

    cheers,
    Ross

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Map not displaying after upgrade’ is closed to new replies.