![]() rusticelegancepaper Member at 4:21 am Copy link Add topic to favorites I installed a plugin and I had this pop up on my blog and wordpress dashboard: Notice: wpenqueuescript was called incorrectly. Wp_enqueue_script( 'imgx-image-swap', get_stylesheet_directory_uri(). en Forums wpenqueuescript was called incorrectly. I've also tried this to keep things simple, but nothing: Wp_deregister_script( 'superfish-args' ) '/assets/scripts/theme.js', array( 'jquery' ), CHILD_THEME_VERSION, true ) Using Names That Are Too Common for Variables, Functions, Constants, or Classes Name collisions between the code they create, and internal PHP, or third. This topic was modified 1 year, 11 months ago by Carret. wp-editor script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets) I have tried it with deactivating all the plugins except this one, WP v5.8.1. '/assets/scripts/min/', array( 'jquery' ), CHILD_THEME_VERSION, true ) PHP Notice: wpenqueuescript() was called incorrectly. I can make any number of changes to the existing scripts that are being enqueued alongside it and those changes are reflected in the output, I can also enqueue a style with no problem but I just can't add this jQuery file.Īny idea what might be causing this? add_action( 'wp_enqueue_scripts', 'corporate_scripts_styles', 90 ) There is a way to add custom WordPress JavaScript by inserting the
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |