Eddie

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
Aug 30, 2017 at 2:24 pm
#62242
Member
Eddie
OP

Just in case someone ever reads this far. I noticed that there are two other pieces of .js and .css that will still load. The following took care of that.

add_action( 'wp_print_scripts', 'clean_scripts');
function clean_scripts() {
                wp_dequeue_script( 'frontjs' );
                wp_dequeue_script( 'nivo-lightbox' );
 }
add_action( 'wp_print_styles', 'clean_styles');
function clean_styles($post_id, $post) {
                wp_dequeue_style( 'wpdm-front' );
}
Aug 30, 2017 at 1:58 pm
#62237
Member
Eddie
OP

I feel silly. I read the misc section incorrectly. I had to “CHECK” the boxes to disable bootstrap.js & bootstrap.css.

Sorry to bother you.

Viewing 2 posts - 1 through 2 (of 2 total)