badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Reply To: The JavaScript for Accordion does not work

#44631

Hi ilayxz,

I think you have enqueued it to plugins. Did you created a child theme or plugins?

add_action( 'wp_enqueue_scripts', 'interface_enqueue_accordion' );
function interface_enqueue_accordion() {
    wp_enqueue_style( 'interface', get_template_directory_uri() . '/accordion.js' );

}

This will point to the link http://yourdomain.com/accordion.js Make sure your domain link is working correctly. Also provide you link too if you have an issues on it.

Thank you!