• Resolved sailbourne

    (@sailbourne)


    This is a great plugin, and when I was using it within a post, it functioned perfectly.

    I am trying to place it into a sidebar widget instead, and here it isn’t working right. The map does not appear, and when I try to enter an address and click “find,” the page reloads and the widget looks exactly the same as it did before.

    Any advice or assistance would be most welcome.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author ConstructiveGrowth

    (@constructivegrowth)

    Sorry to hear you are experiencing problems with our plugin. Thank you for the link to the page.

    I can see that the page code is showing HTML paragraphs <p> ... </p> being inserted into the middle of the code that runs the plugin. This is probably what’s breaking the code.

    The widget you are using may be the culprit. It looks like you are using the standard text widget <aside id="text-4" class="widget widget_text">. They updated this widget recently to include the visual editor option. Please try adding our shortcode under the “Text” tab and let me know if that fixes the issues.

    Thread Starter sailbourne

    (@sailbourne)

    I tried entering the code under the “Text” tab, and it seemed to still be broken.
    So I decided to try using the HTML widget instead. That worked!

    Thank you so much for your help and the quick response.

    Plugin Author ConstructiveGrowth

    (@constructivegrowth)

    Huh. Interesting. Good to know. And thank you for letting us know the results that worked for you. Good luck with your project.

    Plugin Author ConstructiveGrowth

    (@constructivegrowth)

    Follow-Up

    I’ve discovered that the Text Widget has never been intended to be used for shortcodes. Here is an article that describes what to do to allow shortcodes to work in the Text Widget. Note: This should be done when using a child theme as the code they use can be lost when a parent/main theme is updated:

    https://www.inmotionhosting.com/support/edu/wordpress/313-use-shortcodes-within-text-widgit

    Thread Starter sailbourne

    (@sailbourne)

    Thank you so much for the extra information. Very much appreciated!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Not working as a widget’ is closed to new replies.