Plugin is not showing on the Front-End

When the plugin isn't showing up on the Front-End, please check the Developer Console of your browser for possible errors.

  1. Uncaught Error: Syntax error, unrecognized expression: followed by e.g. a[href*=#]:not([href=#])

    Description: The plugin isn't able initialize due to this general javascript error as the $(document).ready() isn't fired anymore after the page is loaded. In most cases this is issue is caused by a theme that is incompatible with the jQuery library that is included since WordPress 4.5. A lot of themes are using jQuery selectors which cannot be used anymore since WordPress 4.5

    Solution: As many themes have the same problem after updating to version 4.5, please check if you have the latest version of your theme installed. If that is the case, just contact your theme developer and ask them to make their theme compatible with version 4.5. The solution for the issue is also described here: https://wordpress.org/support/topic/read-this-first-wordpress-45-master-list#post-8271654 a

    This specific issue showed in the example can be solved by changing the following in the script that is causing this issue:

    Replace a[href*=#]:not([href=#]) by a[href*="#"]:not([href="#"])

    If the issue persists after the theme developer has updated the script, just let me know and I will investigate the issue for you!

  2. Uncaught TypeError: $(...).not(...).unveil is not a function

    Description:
    The plugin isn't able to use all the scripts it needs. In most cases this is caused by a theme that is loading the jQuery library twice (jquery.js and/or jquery.min.js). The result is that after the jQuery object is re-initiated, a lot of jQuery depended scripts are lost including the unveil script that is loaded by the plugin

    Solution: You need to remove this second jQuery script from your theme. WordPress is loading jQuery by default (the first script) and it is unnecessary to load another version of jQuery after that. In most cases this extra script is added in the header.php file of your theme. If the issue persists after removing the double jquery, or if you don't have two jquery scripts on the same page, please let me know!
Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk