php - jQuery is not defined on Wordpress - smoothstate Js
one text
Solution:
It looks like smoothState.js is loaded before jQuery is ready.
How are you adding smoothState to your page? Using wp_enqueue_script?
Also, how is smoothState loaded in JS?
This link might help you https://webdesign.tutsplus.com/tutorials/how-to-integrate-smoothstatejs-into-a-wordpress-theme--cms-26610
Source