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: How to Run Javascript in the Custom Footer

#23633

Hi Bill,

Add this code inside child theme of attitude- pro
Ceate a style.css file and add this below code.,

/*
Theme Name: Attitude Child Theme
Author: Self-Help Theme Horse
Template: Attitude Pro Child
*/

/*@import url("../attitude/style.css"); */

After doing it create one functions.php file inside child theme.

function attitude_javascripts() {
    wp_enqueue_script( 'backtotop', ATTITUDE_JS_URL. '/backtotop.js', array( 'jquery' ) ); // this is an example
}
add_action( 'wp_enqueue_scripts', 'attitude_javascripts' );

If you are still unable the you need to hire a developer to fix it.

Thank you!