Themed profiles module – script enqueueing
-
Hi,
Please correctly register and then enqueue the JS for the themed profiles. You are now just enqueuing it, you need to register it with a hook first.
Try to dequeue the useless file returns an undefined index notice, because there is no hook registered.
This is the line, in /theme-my-login/modules/themed-profiles/themed-profiles.php :
/** * Enqueue scripts * * @since 6.4 * @access public */ public function wp_enqueue_scripts() { wp_enqueue_script( 'tml-themed-profiles', plugins_url( 'theme-my-login/modules/themed-profiles/themed-profiles.js' ), array( 'jquery' ) ); }
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Themed profiles module – script enqueueing’ is closed to new replies.