Skip to content

Commit 25244c2

Browse files
committed
Remove SelectWoo scripts on the frontend
1 parent bf24159 commit 25244c2

File tree

6 files changed

+11
-9
lines changed

6 files changed

+11
-9
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
### Unreleased
2-
2+
* Remove automatic last-child bottom
33

44
### 0.4.6: January 5th, 2018
55
* **Tweak** Webfontloader: disable completely FOUT effect

css/styles.css

-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/styles.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/styles.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

functions.php

-1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,3 @@
3939
'jquery-owlcarousel' => '2.1.6',
4040
)
4141
);
42-

inc/plugins/woocommerce.php

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
11
<?php
22

3-
3+
/**
4+
* Remove Select2 / SelectWoo styles & scripts on the frontend
5+
*/
46
function stormbringer_dequeue_select2() {
57
wp_dequeue_style( 'select2' );
68
wp_deregister_style( 'select2' );
79
wp_dequeue_script( 'select2' );
810
wp_deregister_script( 'select2' );
11+
wp_dequeue_script( 'selectWoo' );
12+
wp_deregister_script( 'selectWoo' );
913
}
1014
add_action( 'wp_enqueue_scripts', 'stormbringer_dequeue_select2', 100 );
1115

16+
/**
17+
* Remove grid-list-button styles on the frontend
18+
*/
1219
function stormbringer_dequeue_gridlist() {
1320
//wp_dequeue_style( 'grid-list-layout' );
1421
//wp_deregister_style( 'grid-list-layout' );

0 commit comments

Comments
 (0)