Easy Modal
[resolved] Modal Breaking Meta Slider (4 posts)

  1. dcaryll
    Posted 2 years ago #

    Hello. I've recently installed the Easy Modal plugin and I have it working properly but it's breaking the Meta Slider and another plugin on the homepage.

    You can see my test site here: http://asayopreview.com/cmb/

    The "Give Us Feedback!" tab on the left activates the modal.

    Thanks for any help!


  2. danieliser
    Plugin Author

    Posted 2 years ago #

    Hey Dcaryll,

    It seems that your theme or another plugin is not properly enqueueing scripts. This is causing your site to load multiple versions of jquery. When this happens it can cause major issues especially when you consider the following example

    Load jQuery v1
    Load a plugin like easy modal
    Do some stuff with $()

    Load jQuery v2

    Try to execute easy modal at this point and it will fail as easy modal was loaded with jquery v1 and when jquery v2 comes into the picture it creates a new instance and all futher code will be run under that instance.

    You can picture an instance as a single container, nothing can communicate outside of its own container or with another container.

    Check your themes footer.php and header.php and be sure there are no lines including <script src="">

    these need to be replaced with wp_enqueue_script() function in your theme functions.php file.

  3. dcaryll
    Posted 2 years ago #

    Thanks for your help!

    I figured out that it was Formstack using Javascript that was already present on the site and was creating errors. I had to use Formstack without including the Javascript and all is well.

    Thanks again!

  4. danieliser
    Plugin Author

    Posted 2 years ago #

    Glad you got it working. Please take a moment to let others know, rate and review the plugin and or support here

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Easy Modal
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic