Uncaught TypeError: jQuery(...).tabs is not a function(…)
This is because WordPress' function
wp_enqueue_script( 'jquery-ui' );
doesn't actually enqueue the tabs widget, only the core of jQuery UI.
So after that you need to add:
wp_enqueue_script( 'jquery-ui-tabs' );
See this link below for more info:
Default Scripts Included and Registered by WordPress
https://developer.wordpress.org/reference/functions/wp_enqueue_script/
1 comment:
Thanks. Stackoverflow in this case was useless, but this did the trick.
Post a Comment