WooCommerce Grid / List toggle - Version 1.2.0

Version Description

  • 01/05/18 =
  • Moved the settings to the Customizer (WooCommerce > Product Catalog)
  • Removed unnecessary .less files
  • Tweaked button styles
  • Full compatibility with Storefront theme
Download this release

Release Info

Developer jameskoster
Plugin Icon 128x128 WooCommerce Grid / List toggle
Version 1.2.0
Comparing to
See all releases

Code changes from version 1.1.0 to 1.2.0

assets/css/button.css CHANGED
@@ -30,6 +30,8 @@
30
  }
31
  .gridlist-toggle a.active {
32
  background-color: rgba(0, 0, 0, 0.2);
 
 
33
  }
34
  .gridlist-toggle .dashicons:before,
35
  .gridlist-toggle .dashicons {
30
  }
31
  .gridlist-toggle a.active {
32
  background-color: rgba(0, 0, 0, 0.2);
33
+ cursor: default;
34
+ color: inherit;
35
  }
36
  .gridlist-toggle .dashicons:before,
37
  .gridlist-toggle .dashicons {
assets/css/button.less DELETED
@@ -1,39 +0,0 @@
1
- @import url(mixins.less);
2
-
3
- .gridlist-toggle {
4
- display: block;
5
- clear: both;
6
- margin: 0 !important;
7
- padding: 1em 0 !important;
8
- line-height: 1em !important;
9
-
10
- a {
11
- display: inline-block;
12
- padding: .618em;
13
- .borderbox;
14
- text-align: center;
15
- text-decoration: none !important;
16
- font-weight: 400 !important;
17
- font-family: sans-serif !important;
18
- font-size: 1em !important;
19
- line-height: 1em !important;
20
- background-color: rgba(0,0,0,.1);
21
- em {
22
- display: none;
23
- }
24
- &:hover {
25
- background-color: rgba(0,0,0,.3);
26
- }
27
- &.active {
28
- background-color: rgba(0,0,0,.2);
29
- }
30
- }
31
-
32
- .dashicons:before,
33
- .dashicons {
34
- font-size: 1em;
35
- line-height: 1;
36
- height: 1em;
37
- width: 1em;
38
- }
39
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/mixins.less DELETED
@@ -1,118 +0,0 @@
1
- // MIXINS
2
- .clearfix() {
3
- &:after {
4
- content: "";
5
- display: block;
6
- clear: both;
7
- }
8
- }
9
- .border_radius(@radius:10px)
10
- {
11
- -webkit-border-radius:@radius;
12
- -moz-border-radius:@radius;
13
- border-radius:@radius;
14
- }
15
-
16
- .border_radius_right(@radius:10px)
17
- {
18
- -webkit-border-top-right-radius: @radius;
19
- -webkit-border-bottom-right-radius: @radius;
20
- -moz-border-radius-topright: @radius;
21
- -moz-border-radius-bottomright: @radius;
22
- border-top-right-radius: @radius;
23
- border-bottom-right-radius: @radius;
24
- }
25
-
26
- .border_radius_left(@radius:10px)
27
- {
28
- -webkit-border-top-left-radius: @radius;
29
- -webkit-border-bottom-left-radius: @radius;
30
- -moz-border-radius-topleft: @radius;
31
- -moz-border-radius-bottomleft: @radius;
32
- border-top-left-radius: @radius;
33
- border-bottom-left-radius: @radius;
34
- }
35
-
36
- .border_radius_bottom(@radius:10px)
37
- {
38
- -webkit-border-bottom-left-radius: @radius;
39
- -webkit-border-bottom-right-radius: @radius;
40
- -moz-border-radius-bottomleft: @radius;
41
- -moz-border-radius-bottomright: @radius;
42
- border-bottom-left-radius: @radius;
43
- border-bottom-right-radius: @radius;
44
- }
45
-
46
- .border_radius_top(@radius:10px)
47
- {
48
- -webkit-border-top-left-radius: @radius;
49
- -webkit-border-top-right-radius: @radius;
50
- -moz-border-radius-topleft: @radius;
51
- -moz-border-radius-topright: @radius;
52
- border-top-left-radius: @radius;
53
- border-top-right-radius: @radius;
54
- }
55
-
56
- .box_shadow(@shadow_x:3px, @shadow_y:3px, @shadow_rad:3px, @shadow_in:3px, @shadow_color:#888)
57
- {
58
- box-shadow:@shadow_x @shadow_y @shadow_rad @shadow_in @shadow_color;
59
- -webkit-box-shadow:@shadow_x @shadow_y @shadow_rad @shadow_in @shadow_color;
60
- }
61
-
62
- .inset_box_shadow(@shadow_x:3px, @shadow_y:3px, @shadow_rad:3px, @shadow_in:3px, @shadow_color:#888)
63
- {
64
- box-shadow:inset @shadow_x @shadow_y @shadow_rad @shadow_in @shadow_color;
65
- -webkit-box-shadow:inset @shadow_x @shadow_y @shadow_rad @shadow_in @shadow_color;
66
- }
67
-
68
- .text_shadow(@shadow_x:3px, @shadow_y:3px, @shadow_rad:3px, @shadow_color:#fff)
69
- {
70
- text-shadow:@shadow_x @shadow_y @shadow_rad @shadow_color;
71
- }
72
-
73
- .vertical_gradient(@from: #000, @to: #FFF) {
74
- background: @from;
75
- background: -webkit-gradient(linear, left top, left bottom, from(@from), to(@to));
76
- background: -webkit-linear-gradient(@from, @to);
77
- background: -moz-linear-gradient(center top, @from 0%, @to 100%);
78
- background: -moz-gradient(center top, @from 0%, @to 100%);
79
- filter: e(%("progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=%d,endColorstr=%d)", @from, @to));
80
- -ms-filter: %("progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=%d, endColorstr=%d)", @from, @to);
81
- }
82
-
83
- .transition(@selector:all, @animation:ease-in-out, @duration:.2s) {
84
- -webkit-transition:@selector @animation @duration;
85
- -moz-transition:@selector @animation @duration;
86
- -o-transition:@selector @animation @duration;
87
- transition:@selector @animation @duration;
88
- }
89
-
90
- .opacity(@opacity:0.75) {
91
- filter:~"alpha(opacity=@opacity * 100)";
92
- -moz-opacity:@opacity;
93
- -khtml-opacity: @opacity;
94
- opacity: @opacity;
95
- }
96
-
97
- .rotate(@degree:1deg) {
98
- -webkit-transform:rotate(@degree);
99
- -moz-transform:rotate(@degree);
100
- }
101
-
102
- .scale(@ratio:1.5){
103
- -webkit-transform:scale(@ratio);
104
- -moz-transform:scale(@ratio);
105
- transform:scale(@ratio);
106
- }
107
-
108
- .radial_gradient(@from: #000, @to: #FFF) {
109
- background: @from;
110
- background: -webkit-gradient(radial, 50% 10%, 0, 50% 10%, 1000, from(@from), to(@to));
111
- background: -moz-radial-gradient(center top, @from 0%, @to 100%);
112
- }
113
-
114
- .borderbox () {
115
- -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
116
- -moz-box-sizing: border-box; /* Firefox, other Gecko */
117
- box-sizing: border-box; /* Opera/IE 8+ */
118
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/style.css CHANGED
@@ -1,4 +1,4 @@
1
- ul.products.grid div[itemprop="description"] {
2
  display: none;
3
  }
4
  ul.products.grid hr {
@@ -9,6 +9,10 @@ ul.products.list li.product {
9
  width: 100% !important;
10
  text-align: left !important;
11
  }
 
 
 
 
12
  ul.products.list li.product:after {
13
  content: "";
14
  display: block;
@@ -22,7 +26,7 @@ ul.products.list li.product img {
22
  margin-right: 3.8% !important;
23
  }
24
  ul.products.list li.product h3,
25
- ul.products.list li.product div[itemprop="description"],
26
  ul.products.list li.product .price,
27
  ul.products.list li.product .gridlist-buttonwrap {
28
  width: 65.4%;
1
+ ul.products.grid .woocommerce-product-details__short-description {
2
  display: none;
3
  }
4
  ul.products.grid hr {
9
  width: 100% !important;
10
  text-align: left !important;
11
  }
12
+ ul.products.list li.product .woocommerce-loop-product__title,
13
+ ul.products.list li.product .woocommerce-loop-category__title {
14
+ clear: none;
15
+ }
16
  ul.products.list li.product:after {
17
  content: "";
18
  display: block;
26
  margin-right: 3.8% !important;
27
  }
28
  ul.products.list li.product h3,
29
+ ul.products.list li.product .woocommerce-product-details__short-description,
30
  ul.products.list li.product .price,
31
  ul.products.list li.product .gridlist-buttonwrap {
32
  width: 65.4%;
assets/css/style.less DELETED
@@ -1,43 +0,0 @@
1
- @import url(mixins.less);
2
-
3
- ul.products.grid {
4
- div[itemprop="description"] {
5
- display: none;
6
- }
7
- hr {
8
- display: none;
9
- }
10
- }
11
-
12
- ul.products.list {
13
- li.product {
14
- float: none !important;
15
- width: 100% !important;
16
- .clearfix;
17
- text-align: left !important;
18
- img {
19
- width: 30.75% !important;
20
- float: left;
21
- margin-bottom: 1.5em;
22
- -webkit-transition: none !important;
23
- margin-right: 3.8% !important;
24
- }
25
- h3, div[itemprop="description"], .price, .gridlist-buttonwrap {
26
- width: 65.4%;
27
- float: right;
28
- clear: none;
29
- }
30
- div[itemprop="description"] {
31
- display: block;
32
- }
33
- .star-rating {
34
- margin: 0 0 1em;
35
- }
36
- .gridlist-buttonwrap {
37
- margin-bottom: 1.5em;
38
- }
39
- hr {
40
- clear: both;
41
- }
42
- }
43
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
config.codekit ADDED
@@ -0,0 +1,974 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "CodeKitInfo": "This is a CodeKit 2.x project configuration file. It is designed to sync project settings across multiple machines. MODIFYING THE CONTENTS OF THIS FILE IS A POOR LIFE DECISION. If you do so, you will likely cause CodeKit to crash. This file is not useful unless accompanied by the project that created it in CodeKit 2. This file is not backwards-compatible with CodeKit 1.x. For more information, see: http:\/\/incident57.com\/codekit",
3
+ "creatorBuild": "19127",
4
+ "files": {
5
+ "\/assets\/css\/button.css": {
6
+ "fileType": 16,
7
+ "ignore": 1,
8
+ "ignoreWasSetByUser": 0,
9
+ "inputAbbreviatedPath": "\/assets\/css\/button.css",
10
+ "outputAbbreviatedPath": "No Output Path",
11
+ "outputPathIsOutsideProject": 0,
12
+ "outputPathIsSetByUser": 0
13
+ },
14
+ "\/assets\/css\/button.less": {
15
+ "allowInsecureImports": 0,
16
+ "createSourceMap": 0,
17
+ "disableJavascript": 0,
18
+ "fileType": 1,
19
+ "ieCompatibility": 1,
20
+ "ignore": 0,
21
+ "ignoreWasSetByUser": 0,
22
+ "inputAbbreviatedPath": "\/assets\/css\/button.less",
23
+ "outputAbbreviatedPath": "\/assets\/css\/button.css",
24
+ "outputPathIsOutsideProject": 0,
25
+ "outputPathIsSetByUser": 0,
26
+ "outputStyle": 0,
27
+ "relativeURLS": 0,
28
+ "shouldRunAutoprefixer": 0,
29
+ "shouldRunBless": 0,
30
+ "strictImports": 0,
31
+ "strictMath": 0,
32
+ "strictUnits": 0
33
+ },
34
+ "\/assets\/css\/mixins.less": {
35
+ "allowInsecureImports": 0,
36
+ "createSourceMap": 0,
37
+ "disableJavascript": 0,
38
+ "fileType": 1,
39
+ "ieCompatibility": 1,
40
+ "ignore": 1,
41
+ "ignoreWasSetByUser": 0,
42
+ "inputAbbreviatedPath": "\/assets\/css\/mixins.less",
43
+ "outputAbbreviatedPath": "\/assets\/css\/mixins.css",
44
+ "outputPathIsOutsideProject": 0,
45
+ "outputPathIsSetByUser": 0,
46
+ "outputStyle": 0,
47
+ "relativeURLS": 0,
48
+ "shouldRunAutoprefixer": 0,
49
+ "shouldRunBless": 0,
50
+ "strictImports": 0,
51
+ "strictMath": 0,
52
+ "strictUnits": 0
53
+ },
54
+ "\/assets\/css\/style.css": {
55
+ "fileType": 16,
56
+ "ignore": 1,
57
+ "ignoreWasSetByUser": 0,
58
+ "inputAbbreviatedPath": "\/assets\/css\/style.css",
59
+ "outputAbbreviatedPath": "No Output Path",
60
+ "outputPathIsOutsideProject": 0,
61
+ "outputPathIsSetByUser": 0
62
+ },
63
+ "\/assets\/css\/style.less": {
64
+ "allowInsecureImports": 0,
65
+ "createSourceMap": 0,
66
+ "disableJavascript": 0,
67
+ "fileType": 1,
68
+ "ieCompatibility": 1,
69
+ "ignore": 0,
70
+ "ignoreWasSetByUser": 0,
71
+ "inputAbbreviatedPath": "\/assets\/css\/style.less",
72
+ "outputAbbreviatedPath": "\/assets\/css\/style.css",
73
+ "outputPathIsOutsideProject": 0,
74
+ "outputPathIsSetByUser": 0,
75
+ "outputStyle": 0,
76
+ "relativeURLS": 0,
77
+ "shouldRunAutoprefixer": 0,
78
+ "shouldRunBless": 0,
79
+ "strictImports": 0,
80
+ "strictMath": 0,
81
+ "strictUnits": 0
82
+ },
83
+ "\/assets\/js\/jquery.cookie.js": {
84
+ "fileType": 64,
85
+ "ignore": 0,
86
+ "ignoreWasSetByUser": 0,
87
+ "inputAbbreviatedPath": "\/assets\/js\/jquery.cookie.js",
88
+ "outputAbbreviatedPath": "\/assets\/js\/min\/jquery.cookie-min.js",
89
+ "outputPathIsOutsideProject": 0,
90
+ "outputPathIsSetByUser": 0,
91
+ "outputStyle": 1,
92
+ "syntaxCheckerStyle": 1
93
+ },
94
+ "\/assets\/js\/jquery.cookie.min.js": {
95
+ "fileType": 64,
96
+ "ignore": 0,
97
+ "ignoreWasSetByUser": 0,
98
+ "inputAbbreviatedPath": "\/assets\/js\/jquery.cookie.min.js",
99
+ "outputAbbreviatedPath": "\/assets\/js\/min\/jquery.cookie.min-min.js",
100
+ "outputPathIsOutsideProject": 0,
101
+ "outputPathIsSetByUser": 0,
102
+ "outputStyle": 1,
103
+ "syntaxCheckerStyle": 1
104
+ },
105
+ "\/assets\/js\/jquery.gridlistview.js": {
106
+ "fileType": 64,
107
+ "ignore": 0,
108
+ "ignoreWasSetByUser": 0,
109
+ "inputAbbreviatedPath": "\/assets\/js\/jquery.gridlistview.js",
110
+ "outputAbbreviatedPath": "\/assets\/js\/min\/jquery.gridlistview-min.js",
111
+ "outputPathIsOutsideProject": 0,
112
+ "outputPathIsSetByUser": 0,
113
+ "outputStyle": 1,
114
+ "syntaxCheckerStyle": 1
115
+ },
116
+ "\/assets\/js\/jquery.gridlistview.min.js": {
117
+ "fileType": 64,
118
+ "ignore": 0,
119
+ "ignoreWasSetByUser": 0,
120
+ "inputAbbreviatedPath": "\/assets\/js\/jquery.gridlistview.min.js",
121
+ "outputAbbreviatedPath": "\/assets\/js\/min\/jquery.gridlistview.min-min.js",
122
+ "outputPathIsOutsideProject": 0,
123
+ "outputPathIsSetByUser": 0,
124
+ "outputStyle": 1,
125
+ "syntaxCheckerStyle": 1
126
+ },
127
+ "\/README.md": {
128
+ "criticStyle": 0,
129
+ "enableFootnotes": 1,
130
+ "enableLabels": 1,
131
+ "enableSmartQuotes": 1,
132
+ "escapeLineBreaks": 0,
133
+ "fileType": 4096,
134
+ "ignore": 0,
135
+ "ignoreWasSetByUser": 0,
136
+ "inputAbbreviatedPath": "\/README.md",
137
+ "maskEmailAddresses": 1,
138
+ "outputAbbreviatedPath": "\/README.html",
139
+ "outputFormat": 0,
140
+ "outputPathIsOutsideProject": 0,
141
+ "outputPathIsSetByUser": 0,
142
+ "outputStyle": 0,
143
+ "parseMetadata": 1,
144
+ "processHTML": 0,
145
+ "randomFootnoteNumbers": 0,
146
+ "useCompatibilityMode": 0
147
+ },
148
+ "\/woocommerce-grid-list-toggle.php": {
149
+ "fileType": 8192,
150
+ "ignore": 0,
151
+ "ignoreWasSetByUser": 0,
152
+ "inputAbbreviatedPath": "\/woocommerce-grid-list-toggle.php",
153
+ "outputAbbreviatedPath": "No Output Path",
154
+ "outputPathIsOutsideProject": 0,
155
+ "outputPathIsSetByUser": 0
156
+ }
157
+ },
158
+ "hooks": [
159
+ ],
160
+ "lastSavedByUser": "James Koster",
161
+ "manualImportLinks": {
162
+ },
163
+ "projectAttributes": {
164
+ "bowerAbbreviatedPath": "",
165
+ "displayValue": "woocommerce-grid-list-toggle",
166
+ "displayValueWasSetByUser": 0,
167
+ "iconImageName": "globe_orange"
168
+ },
169
+ "projectSettings": {
170
+ "alwaysUseExternalServer": 0,
171
+ "animateCSSInjections": 1,
172
+ "autoApplyPSLanguageSettingsStyle": 0,
173
+ "autoprefixerBrowserString": "> 1%, last 2 versions, Firefox ESR, Opera 12.1",
174
+ "autoSyncProjectSettingsFile": 1,
175
+ "browserRefreshDelay": 0,
176
+ "coffeeAutoOutputPathEnabled": 1,
177
+ "coffeeAutoOutputPathFilenamePattern": "*.js",
178
+ "coffeeAutoOutputPathRelativePath": "",
179
+ "coffeeAutoOutputPathReplace1": "",
180
+ "coffeeAutoOutputPathReplace2": "",
181
+ "coffeeAutoOutputPathStyle": 0,
182
+ "coffeeCreateSourceMap": 0,
183
+ "coffeeLintFlags2": {
184
+ "arrow_spacing": {
185
+ "active": 0,
186
+ "flagValue": -1
187
+ },
188
+ "camel_case_classes": {
189
+ "active": 1,
190
+ "flagValue": -1
191
+ },
192
+ "colon_assignment_spacing": {
193
+ "active": 0,
194
+ "flagValue": 1
195
+ },
196
+ "cyclomatic_complexity": {
197
+ "active": 0,
198
+ "flagValue": 10
199
+ },
200
+ "duplicate_key": {
201
+ "active": 1,
202
+ "flagValue": -1
203
+ },
204
+ "empty_constructor_needs_parens": {
205
+ "active": 0,
206
+ "flagValue": -1
207
+ },
208
+ "ensure_comprehensions": {
209
+ "active": 1,
210
+ "flagValue": -1
211
+ },
212
+ "indentation": {
213
+ "active": 1,
214
+ "flagValue": 2
215
+ },
216
+ "line_endings": {
217
+ "active": 0,
218
+ "flagValue": 0
219
+ },
220
+ "max_line_length": {
221
+ "active": 0,
222
+ "flagValue": 150
223
+ },
224
+ "missing_fat_arrows": {
225
+ "active": 0,
226
+ "flagValue": -1
227
+ },
228
+ "newlines_after_classes": {
229
+ "active": 0,
230
+ "flagValue": 3
231
+ },
232
+ "no_backticks": {
233
+ "active": 1,
234
+ "flagValue": -1
235
+ },
236
+ "no_debugger": {
237
+ "active": 1,
238
+ "flagValue": -1
239
+ },
240
+ "no_empty_functions": {
241
+ "active": 0,
242
+ "flagValue": -1
243
+ },
244
+ "no_empty_param_list": {
245
+ "active": 0,
246
+ "flagValue": -1
247
+ },
248
+ "no_implicit_braces": {
249
+ "active": 1,
250
+ "flagValue": -1
251
+ },
252
+ "no_implicit_parens": {
253
+ "active": 0,
254
+ "flagValue": -1
255
+ },
256
+ "no_interpolation_in_single_quotes": {
257
+ "active": 0,
258
+ "flagValue": -1
259
+ },
260
+ "no_nested_string_interpolation": {
261
+ "active": 1,
262
+ "flagValue": -1
263
+ },
264
+ "no_plusplus": {
265
+ "active": 0,
266
+ "flagValue": -1
267
+ },
268
+ "no_private_function_fat_arrows": {
269
+ "active": 1,
270
+ "flagValue": -1
271
+ },
272
+ "no_stand_alone_at": {
273
+ "active": 1,
274
+ "flagValue": -1
275
+ },
276
+ "no_tabs": {
277
+ "active": 1,
278
+ "flagValue": -1
279
+ },
280
+ "no_this": {
281
+ "active": 0,
282
+ "flagValue": -1
283
+ },
284
+ "no_throwing_strings": {
285
+ "active": 1,
286
+ "flagValue": -1
287
+ },
288
+ "no_trailing_semicolons": {
289
+ "active": 1,
290
+ "flagValue": -1
291
+ },
292
+ "no_trailing_whitespace": {
293
+ "active": 1,
294
+ "flagValue": -1
295
+ },
296
+ "no_unnecessary_double_quotes": {
297
+ "active": 0,
298
+ "flagValue": -1
299
+ },
300
+ "no_unnecessary_fat_arrows": {
301
+ "active": 1,
302
+ "flagValue": -1
303
+ },
304
+ "non_empty_constructor_needs_parens": {
305
+ "active": 0,
306
+ "flagValue": -1
307
+ },
308
+ "prefer_english_operator": {
309
+ "active": 0,
310
+ "flagValue": -1
311
+ },
312
+ "space_operators": {
313
+ "active": 0,
314
+ "flagValue": -1
315
+ },
316
+ "spacing_after_comma": {
317
+ "active": 1,
318
+ "flagValue": -1
319
+ }
320
+ },
321
+ "coffeeMinifyOutput": 1,
322
+ "coffeeOutputStyle": 0,
323
+ "coffeeSyntaxCheckerStyle": 1,
324
+ "externalServerAddress": "http:\/\/localhost:8888",
325
+ "externalServerPreviewPathAddition": "",
326
+ "genericWebpageFileExtensionsString": "html, htm, shtml, shtm, xhtml, php, jsp, asp, aspx, erb, ctp",
327
+ "hamlAutoOutputPathEnabled": 1,
328
+ "hamlAutoOutputPathFilenamePattern": "*.html",
329
+ "hamlAutoOutputPathRelativePath": "",
330
+ "hamlAutoOutputPathReplace1": "",
331
+ "hamlAutoOutputPathReplace2": "",
332
+ "hamlAutoOutputPathStyle": 0,
333
+ "hamlEscapeHTMLCharacters": 0,
334
+ "hamlNoEscapeInAttributes": 0,
335
+ "hamlOutputFormat": 2,
336
+ "hamlOutputStyle": 0,
337
+ "hamlUseCDATA": 0,
338
+ "hamlUseDoubleQuotes": 0,
339
+ "hamlUseUnixNewlines": 0,
340
+ "jadeAutoOutputPathEnabled": 1,
341
+ "jadeAutoOutputPathFilenamePattern": "*.html",
342
+ "jadeAutoOutputPathRelativePath": "",
343
+ "jadeAutoOutputPathReplace1": "",
344
+ "jadeAutoOutputPathReplace2": "",
345
+ "jadeAutoOutputPathStyle": 0,
346
+ "jadeCompileDebug": 1,
347
+ "jadeOutputStyle": 0,
348
+ "javascriptAutoOutputPathEnabled": 1,
349
+ "javascriptAutoOutputPathFilenamePattern": "*-min.js",
350
+ "javascriptAutoOutputPathRelativePath": "\/min",
351
+ "javascriptAutoOutputPathReplace1": "",
352
+ "javascriptAutoOutputPathReplace2": "",
353
+ "javascriptAutoOutputPathStyle": 2,
354
+ "javascriptCreateSourceMap": 1,
355
+ "javascriptOutputStyle": 1,
356
+ "javascriptSyntaxCheckerStyle": 1,
357
+ "jsCheckerReservedNamesString": "",
358
+ "jsHintFlags2": {
359
+ "asi": {
360
+ "active": 0,
361
+ "flagValue": -1
362
+ },
363
+ "bitwise": {
364
+ "active": 1,
365
+ "flagValue": -1
366
+ },
367
+ "boss": {
368
+ "active": 0,
369
+ "flagValue": -1
370
+ },
371
+ "browser": {
372
+ "active": 1,
373
+ "flagValue": -1
374
+ },
375
+ "browserify": {
376
+ "active": 0,
377
+ "flagValue": -1
378
+ },
379
+ "camelcase": {
380
+ "active": 0,
381
+ "flagValue": -1
382
+ },
383
+ "couch": {
384
+ "active": 0,
385
+ "flagValue": -1
386
+ },
387
+ "curly": {
388
+ "active": 1,
389
+ "flagValue": -1
390
+ },
391
+ "debug": {
392
+ "active": 0,
393
+ "flagValue": -1
394
+ },
395
+ "devel": {
396
+ "active": 0,
397
+ "flagValue": -1
398
+ },
399
+ "dojo": {
400
+ "active": 0,
401
+ "flagValue": -1
402
+ },
403
+ "elision": {
404
+ "active": 1,
405
+ "flagValue": -1
406
+ },
407
+ "eqeqeq": {
408
+ "active": 1,
409
+ "flagValue": -1
410
+ },
411
+ "eqnull": {
412
+ "active": 0,
413
+ "flagValue": -1
414
+ },
415
+ "es3": {
416
+ "active": 0,
417
+ "flagValue": -1
418
+ },
419
+ "esnext": {
420
+ "active": 0,
421
+ "flagValue": -1
422
+ },
423
+ "evil": {
424
+ "active": 0,
425
+ "flagValue": -1
426
+ },
427
+ "expr": {
428
+ "active": 0,
429
+ "flagValue": -1
430
+ },
431
+ "forin": {
432
+ "active": 0,
433
+ "flagValue": -1
434
+ },
435
+ "freeze": {
436
+ "active": 1,
437
+ "flagValue": -1
438
+ },
439
+ "funcscope": {
440
+ "active": 0,
441
+ "flagValue": -1
442
+ },
443
+ "futurehostile": {
444
+ "active": 0,
445
+ "flagValue": -1
446
+ },
447
+ "globalstrict": {
448
+ "active": 0,
449
+ "flagValue": -1
450
+ },
451
+ "immed": {
452
+ "active": 0,
453
+ "flagValue": -1
454
+ },
455
+ "indent": {
456
+ "active": 0,
457
+ "flagValue": 4
458
+ },
459
+ "iterator": {
460
+ "active": 0,
461
+ "flagValue": -1
462
+ },
463
+ "jasmine": {
464
+ "active": 0,
465
+ "flagValue": -1
466
+ },
467
+ "jquery": {
468
+ "active": 1,
469
+ "flagValue": -1
470
+ },
471
+ "lastsemic": {
472
+ "active": 0,
473
+ "flagValue": -1
474
+ },
475
+ "latedef": {
476
+ "active": 1,
477
+ "flagValue": -1
478
+ },
479
+ "laxbreak": {
480
+ "active": 0,
481
+ "flagValue": -1
482
+ },
483
+ "laxcomma": {
484
+ "active": 0,
485
+ "flagValue": -1
486
+ },
487
+ "loopfunc": {
488
+ "active": 0,
489
+ "flagValue": -1
490
+ },
491
+ "maxcomplexity": {
492
+ "active": 0,
493
+ "flagValue": 10
494
+ },
495
+ "maxdepth": {
496
+ "active": 0,
497
+ "flagValue": 3
498
+ },
499
+ "maxlen": {
500
+ "active": 0,
501
+ "flagValue": 150
502
+ },
503
+ "maxparams": {
504
+ "active": 0,
505
+ "flagValue": 3
506
+ },
507
+ "maxstatements": {
508
+ "active": 0,
509
+ "flagValue": 4
510
+ },
511
+ "mocha": {
512
+ "active": 0,
513
+ "flagValue": -1
514
+ },
515
+ "mootools": {
516
+ "active": 0,
517
+ "flagValue": -1
518
+ },
519
+ "moz": {
520
+ "active": 0,
521
+ "flagValue": -1
522
+ },
523
+ "multistr": {
524
+ "active": 0,
525
+ "flagValue": -1
526
+ },
527
+ "newcap": {
528
+ "active": 1,
529
+ "flagValue": -1
530
+ },
531
+ "noarg": {
532
+ "active": 1,
533
+ "flagValue": -1
534
+ },
535
+ "nocomma": {
536
+ "active": 0,
537
+ "flagValue": -1
538
+ },
539
+ "node": {
540
+ "active": 0,
541
+ "flagValue": -1
542
+ },
543
+ "noempty": {
544
+ "active": 0,
545
+ "flagValue": -1
546
+ },
547
+ "nonbsp": {
548
+ "active": 0,
549
+ "flagValue": -1
550
+ },
551
+ "nonew": {
552
+ "active": 1,
553
+ "flagValue": -1
554
+ },
555
+ "nonstandard": {
556
+ "active": 0,
557
+ "flagValue": -1
558
+ },
559
+ "notypeof": {
560
+ "active": 1,
561
+ "flagValue": -1
562
+ },
563
+ "noyield": {
564
+ "active": 0,
565
+ "flagValue": -1
566
+ },
567
+ "onecase": {
568
+ "active": 0,
569
+ "flagValue": -1
570
+ },
571
+ "phantom": {
572
+ "active": 0,
573
+ "flagValue": -1
574
+ },
575
+ "plusplus": {
576
+ "active": 0,
577
+ "flagValue": -1
578
+ },
579
+ "proto": {
580
+ "active": 0,
581
+ "flagValue": -1
582
+ },
583
+ "prototypejs": {
584
+ "active": 0,
585
+ "flagValue": -1
586
+ },
587
+ "qunit": {
588
+ "active": 0,
589
+ "flagValue": -1
590
+ },
591
+ "regexp": {
592
+ "active": 1,
593
+ "flagValue": -1
594
+ },
595
+ "rhino": {
596
+ "active": 0,
597
+ "flagValue": -1
598
+ },
599
+ "scripturl": {
600
+ "active": 0,
601
+ "flagValue": -1
602
+ },
603
+ "shadow": {
604
+ "active": 0,
605
+ "flagValue": -1
606
+ },
607
+ "shelljs": {
608
+ "active": 0,
609
+ "flagValue": -1
610
+ },
611
+ "singleGroups": {
612
+ "active": 0,
613
+ "flagValue": -1
614
+ },
615
+ "strict": {
616
+ "active": 0,
617
+ "flagValue": -1
618
+ },
619
+ "sub": {
620
+ "active": 0,
621
+ "flagValue": -1
622
+ },
623
+ "supernew": {
624
+ "active": 0,
625
+ "flagValue": -1
626
+ },
627
+ "typed": {
628
+ "active": 0,
629
+ "flagValue": -1
630
+ },
631
+ "undef": {
632
+ "active": 1,
633
+ "flagValue": -1
634
+ },
635
+ "unused": {
636
+ "active": 1,
637
+ "flagValue": -1
638
+ },
639
+ "varstmt": {
640
+ "active": 0,
641
+ "flagValue": -1
642
+ },
643
+ "withstmt": {
644
+ "active": 0,
645
+ "flagValue": -1
646
+ },
647
+ "worker": {
648
+ "active": 0,
649
+ "flagValue": -1
650
+ },
651
+ "wsh": {
652
+ "active": 0,
653
+ "flagValue": -1
654
+ },
655
+ "yui": {
656
+ "active": 0,
657
+ "flagValue": -1
658
+ }
659
+ },
660
+ "jsLintFlags2": {
661
+ "bitwise": {
662
+ "active": 0,
663
+ "flagValue": -1
664
+ },
665
+ "browser": {
666
+ "active": 1,
667
+ "flagValue": -1
668
+ },
669
+ "couch": {
670
+ "active": 0,
671
+ "flagValue": -1
672
+ },
673
+ "devel": {
674
+ "active": 0,
675
+ "flagValue": -1
676
+ },
677
+ "es6": {
678
+ "active": 0,
679
+ "flagValue": -1
680
+ },
681
+ "eval": {
682
+ "active": 0,
683
+ "flagValue": -1
684
+ },
685
+ "for": {
686
+ "active": 0,
687
+ "flagValue": -1
688
+ },
689
+ "maxlen": {
690
+ "active": 0,
691
+ "flagValue": 150
692
+ },
693
+ "node": {
694
+ "active": 0,
695
+ "flagValue": -1
696
+ },
697
+ "this": {
698
+ "active": 0,
699
+ "flagValue": -1
700
+ },
701
+ "white": {
702
+ "active": 0,
703
+ "flagValue": -1
704
+ }
705
+ },
706
+ "jsonAutoOutputPathEnabled": 0,
707
+ "jsonAutoOutputPathFilenamePattern": "*-min.json",
708
+ "jsonAutoOutputPathRelativePath": "",
709
+ "jsonAutoOutputPathReplace1": "",
710
+ "jsonAutoOutputPathReplace2": "",
711
+ "jsonAutoOutputPathStyle": 0,
712
+ "jsonOrderOutput": 0,
713
+ "jsonOutputStyle": 1,
714
+ "kitAutoOutputPathEnabled": 1,
715
+ "kitAutoOutputPathFilenamePattern": "*.html",
716
+ "kitAutoOutputPathRelativePath": "",
717
+ "kitAutoOutputPathReplace1": "",
718
+ "kitAutoOutputPathReplace2": "",
719
+ "kitAutoOutputPathStyle": 0,
720
+ "lessAllowInsecureImports": 0,
721
+ "lessAutoOutputPathEnabled": 1,
722
+ "lessAutoOutputPathFilenamePattern": "*.css",
723
+ "lessAutoOutputPathRelativePath": "..\/css",
724
+ "lessAutoOutputPathReplace1": "less",
725
+ "lessAutoOutputPathReplace2": "css",
726
+ "lessAutoOutputPathStyle": 2,
727
+ "lessCreateSourceMap": 0,
728
+ "lessDisableJavascript": 0,
729
+ "lessIeCompatibility": 1,
730
+ "lessOutputStyle": 0,
731
+ "lessRelativeURLS": 0,
732
+ "lessStrictImports": 0,
733
+ "lessStrictMath": 0,
734
+ "lessStrictUnits": 0,
735
+ "markdownAutoOutputPathEnabled": 1,
736
+ "markdownAutoOutputPathFilenamePattern": "*.html",
737
+ "markdownAutoOutputPathRelativePath": "",
738
+ "markdownAutoOutputPathReplace1": "",
739
+ "markdownAutoOutputPathReplace2": "",
740
+ "markdownAutoOutputPathStyle": 0,
741
+ "markdownCriticStyle": 0,
742
+ "markdownEnableFootnotes": 1,
743
+ "markdownEnableLabels": 1,
744
+ "markdownEnableSmartQuotes": 1,
745
+ "markdownEscapeLineBreaks": 0,
746
+ "markdownMaskEmailAddresses": 1,
747
+ "markdownOutputFormat": 0,
748
+ "markdownOutputStyle": 0,
749
+ "markdownParseMetadata": 1,
750
+ "markdownProcessHTML": 0,
751
+ "markdownRandomFootnoteNumbers": 0,
752
+ "markdownUseCompatibilityMode": 0,
753
+ "reloadFileURLs": 0,
754
+ "sassAutoOutputPathEnabled": 1,
755
+ "sassAutoOutputPathFilenamePattern": "*.css",
756
+ "sassAutoOutputPathRelativePath": "..\/css",
757
+ "sassAutoOutputPathReplace1": "sass",
758
+ "sassAutoOutputPathReplace2": "css",
759
+ "sassAutoOutputPathStyle": 2,
760
+ "sassCreateSourceMap": 0,
761
+ "sassDebugStyle": 0,
762
+ "sassDecimalPrecision": 10,
763
+ "sassOutputStyle": 0,
764
+ "sassUseLibsass": 0,
765
+ "shouldRunAutoprefixer": 0,
766
+ "shouldRunBless": 0,
767
+ "skippedItemsString": ".svn, .git, .hg, log, _logs, _cache, cache, logs, node_modules",
768
+ "slimAutoOutputPathEnabled": 1,
769
+ "slimAutoOutputPathFilenamePattern": "*.html",
770
+ "slimAutoOutputPathRelativePath": "",
771
+ "slimAutoOutputPathReplace1": "",
772
+ "slimAutoOutputPathReplace2": "",
773
+ "slimAutoOutputPathStyle": 0,
774
+ "slimCompileOnly": 0,
775
+ "slimLogicless": 0,
776
+ "slimOutputFormat": 0,
777
+ "slimOutputStyle": 1,
778
+ "slimRailsCompatible": 0,
779
+ "stylusAutoOutputPathEnabled": 1,
780
+ "stylusAutoOutputPathFilenamePattern": "*.css",
781
+ "stylusAutoOutputPathRelativePath": "..\/css",
782
+ "stylusAutoOutputPathReplace1": "stylus",
783
+ "stylusAutoOutputPathReplace2": "css",
784
+ "stylusAutoOutputPathStyle": 2,
785
+ "stylusCreateSourceMap": 0,
786
+ "stylusDebugStyle": 0,
787
+ "stylusImportCSS": 0,
788
+ "stylusOutputStyle": 0,
789
+ "stylusResolveRelativeURLS": 0,
790
+ "typescriptAutoOutputPathEnabled": 1,
791
+ "typescriptAutoOutputPathFilenamePattern": "*.js",
792
+ "typescriptAutoOutputPathRelativePath": "\/js",
793
+ "typescriptAutoOutputPathReplace1": "",
794
+ "typescriptAutoOutputPathReplace2": "",
795
+ "typescriptAutoOutputPathStyle": 2,
796
+ "typescriptCreateDeclarationFile": 0,
797
+ "typescriptCreateSourceMap": 0,
798
+ "typescriptJSXMode": 0,
799
+ "typescriptMinifyOutput": 0,
800
+ "typescriptModuleResolutionType": 0,
801
+ "typescriptModuleType": 0,
802
+ "typescriptNoImplicitAny": 0,
803
+ "typescriptPreserveConstEnums": 0,
804
+ "typescriptRemoveComments": 0,
805
+ "typescriptSuppressImplicitAnyIndexErrors": 0,
806
+ "typescriptTargetECMAVersion": 0,
807
+ "uglifyDefinesString": "",
808
+ "uglifyFlags2": {
809
+ "ascii-only": {
810
+ "active": 0,
811
+ "flagValue": -1
812
+ },
813
+ "bare-returns": {
814
+ "active": 0,
815
+ "flagValue": -1
816
+ },
817
+ "booleans": {
818
+ "active": 1,
819
+ "flagValue": -1
820
+ },
821
+ "bracketize": {
822
+ "active": 0,
823
+ "flagValue": -1
824
+ },
825
+ "cascade": {
826
+ "active": 1,
827
+ "flagValue": -1
828
+ },
829
+ "comments": {
830
+ "active": 1,
831
+ "flagValue": -1
832
+ },
833
+ "comparisons": {
834
+ "active": 1,
835
+ "flagValue": -1
836
+ },
837
+ "compress": {
838
+ "active": 1,
839
+ "flagValue": -1
840
+ },
841
+ "conditionals": {
842
+ "active": 1,
843
+ "flagValue": -1
844
+ },
845
+ "dead_code": {
846
+ "active": 0,
847
+ "flagValue": -1
848
+ },
849
+ "drop_console": {
850
+ "active": 0,
851
+ "flagValue": -1
852
+ },
853
+ "drop_debugger": {
854
+ "active": 1,
855
+ "flagValue": -1
856
+ },
857
+ "eval": {
858
+ "active": 0,
859
+ "flagValue": -1
860
+ },
861
+ "evaluate": {
862
+ "active": 1,
863
+ "flagValue": -1
864
+ },
865
+ "hoist_funs": {
866
+ "active": 1,
867
+ "flagValue": -1
868
+ },
869
+ "hoist_vars": {
870
+ "active": 0,
871
+ "flagValue": -1
872
+ },
873
+ "if_return": {
874
+ "active": 1,
875
+ "flagValue": -1
876
+ },
877
+ "indent-level": {
878
+ "active": 0,
879
+ "flagValue": 4
880
+ },
881
+ "indent-start": {
882
+ "active": 0,
883
+ "flagValue": 0
884
+ },
885
+ "inline-script": {
886
+ "active": 0,
887
+ "flagValue": -1
888
+ },
889
+ "join_vars": {
890
+ "active": 1,
891
+ "flagValue": -1
892
+ },
893
+ "keep_fargs": {
894
+ "active": 0,
895
+ "flagValue": -1
896
+ },
897
+ "keep_fnames": {
898
+ "active": 0,
899
+ "flagValue": -1
900
+ },
901
+ "loops": {
902
+ "active": 1,
903
+ "flagValue": -1
904
+ },
905
+ "mangle": {
906
+ "active": 1,
907
+ "flagValue": -1
908
+ },
909
+ "max-line-len": {
910
+ "active": 1,
911
+ "flagValue": 32000
912
+ },
913
+ "negate_iife": {
914
+ "active": 1,
915
+ "flagValue": -1
916
+ },
917
+ "properties": {
918
+ "active": 1,
919
+ "flagValue": -1
920
+ },
921
+ "pure_getters": {
922
+ "active": 0,
923
+ "flagValue": -1
924
+ },
925
+ "quote-keys": {
926
+ "active": 0,
927
+ "flagValue": -1
928
+ },
929
+ "screw-ie8": {
930
+ "active": 0,
931
+ "flagValue": -1
932
+ },
933
+ "semicolons": {
934
+ "active": 1,
935
+ "flagValue": -1
936
+ },
937
+ "sequences": {
938
+ "active": 1,
939
+ "flagValue": -1
940
+ },
941
+ "sort": {
942
+ "active": 0,
943
+ "flagValue": -1
944
+ },
945
+ "space-colon": {
946
+ "active": 1,
947
+ "flagValue": -1
948
+ },
949
+ "toplevel": {
950
+ "active": 0,
951
+ "flagValue": -1
952
+ },
953
+ "unsafe": {
954
+ "active": 0,
955
+ "flagValue": -1
956
+ },
957
+ "unused": {
958
+ "active": 0,
959
+ "flagValue": -1
960
+ },
961
+ "warnings": {
962
+ "active": 0,
963
+ "flagValue": -1
964
+ },
965
+ "width": {
966
+ "active": 1,
967
+ "flagValue": 80
968
+ }
969
+ },
970
+ "uglifyReservedNamesString": "$",
971
+ "websiteRelativeRoot": ""
972
+ },
973
+ "settingsFileVersion": "2"
974
+ }
languages/woocommerce-grid-list-toggle-de_DE.mo DELETED
Binary file
languages/woocommerce-grid-list-toggle-de_DE.po DELETED
@@ -1,94 +0,0 @@
1
- # This German Language File: Copyright (C) 2013 by David Decker of deckerweb.de & genesisthemes.de
2
- # This file is distributed under the same license as the WooCommerce Grid / List Toogle Plugin package.
3
- #
4
- # Weitere deutsche Sprachdateien fuer WooCommerce und Extensions (Erweiterungen)
5
- # sowie fuer WordPress-Plugins und -Themes sind hier zu finden:
6
- # --> http://deckerweb.de/sprachdateien/
7
- #
8
- msgid ""
9
- msgstr ""
10
- "Project-Id-Version: WooCommerce Grid / List toggle v0.3.2\n"
11
- "Report-Msgid-Bugs-To: http://deckerweb.de/kontakt/\n"
12
- "POT-Creation-Date: 2013-03-27 21:36:20+0000\n"
13
- "PO-Revision-Date: 2013-03-27 22:40+0100\n"
14
- "Last-Translator: David Decker <deckerweb.mobil@googlemail.com>\n"
15
- "Language-Team: DECKERWEB -- http://deckerweb.de/kontakt/\n"
16
- "MIME-Version: 1.0\n"
17
- "Content-Type: text/plain; charset=UTF-8\n"
18
- "Content-Transfer-Encoding: 8bit\n"
19
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
20
- "X-Generator: CSL v1.x\n"
21
- "X-Poedit-Language: German\n"
22
- "X-Poedit-Country: GERMANY\n"
23
- "X-Poedit-SourceCharset: utf-8\n"
24
- "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
25
- "X-Textdomain-Support: yes\n"
26
- "X-Poedit-SearchPath-0: .\n"
27
-
28
- #@ wc_list_grid_toggle
29
- #: grid-list-toggle.php:41
30
- #: grid-list-toggle.php:46
31
- msgid "Default catalog view"
32
- msgstr "Standard-Katalogansicht"
33
-
34
- #@ wc_list_grid_toggle
35
- #: grid-list-toggle.php:47
36
- msgid "Display products in grid or list view by default"
37
- msgstr "Produkte standardmäßig in Raster- oder Listenansicht darstellen"
38
-
39
- #@ wc_list_grid_toggle
40
- #: grid-list-toggle.php:51
41
- msgid "Grid"
42
- msgstr "Raster"
43
-
44
- #@ wc_list_grid_toggle
45
- #: grid-list-toggle.php:52
46
- msgid "List"
47
- msgstr "Liste"
48
-
49
- #@ wc_list_grid_toggle
50
- #: grid-list-toggle.php:111
51
- msgid "Grid view"
52
- msgstr "Rasteransicht"
53
-
54
- #@ wc_list_grid_toggle
55
- #: grid-list-toggle.php:111
56
- msgid "List view"
57
- msgstr "Listenansicht"
58
-
59
- #@ wc_list_grid_toggle
60
- #. translators: plugin header field 'Name'
61
- #: grid-list-toggle.php:0
62
- msgid "WooCommerce Grid / List toggle"
63
- msgstr "WooCommerce Raster / Listen Schalter"
64
-
65
- #@ wc_list_grid_toggle
66
- #. translators: plugin header field 'PluginURI'
67
- #: grid-list-toggle.php:0
68
- msgid "http://jameskoster.co.uk/tag/grid-list-toggle/"
69
- msgstr "http://jameskoster.co.uk/tag/grid-list-toggle/"
70
-
71
- #@ wc_list_grid_toggle
72
- #. translators: plugin header field 'Description'
73
- #: grid-list-toggle.php:0
74
- msgid "Adds a grid/list view toggle to product archives"
75
- msgstr "Fügt den Produktarchiv-Ansichten in WooCommerce einen Raster-/ Listen-Schalter hinzu."
76
-
77
- #@ wc_list_grid_toggle
78
- #. translators: plugin header field 'Author'
79
- #: grid-list-toggle.php:0
80
- msgid "jameskoster"
81
- msgstr "James Koster"
82
-
83
- #@ wc_list_grid_toggle
84
- #. translators: plugin header field 'AuthorURI'
85
- #: grid-list-toggle.php:0
86
- msgid "http://jameskoster.co.uk"
87
- msgstr "http://jameskoster.co.uk/"
88
-
89
- #@ wc_list_grid_toggle
90
- #. translators: plugin header field 'Version'
91
- #: grid-list-toggle.php:0
92
- msgid "0.3.2"
93
- msgstr "0.3.2"
94
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/woocommerce-grid-list-toggle.pot CHANGED
@@ -1,39 +1,39 @@
1
- # Copyright (C) 2016 WooCommerce Grid / List toggle
2
  # This file is distributed under the same license as the WooCommerce Grid / List toggle package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WooCommerce Grid / List toggle 1.1.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-grid-"
7
  "list-toggle\n"
8
- "POT-Creation-Date: 2016-12-12 10:08:40+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
 
16
- #: woocommerce-grid-list-toggle.php:41 woocommerce-grid-list-toggle.php:46
17
- msgid "Default catalog view"
18
  msgstr ""
19
 
20
- #: woocommerce-grid-list-toggle.php:47
21
- msgid "Display products in grid or list view by default"
22
  msgstr ""
23
 
24
- #: woocommerce-grid-list-toggle.php:51
25
  msgid "Grid"
26
  msgstr ""
27
 
28
- #: woocommerce-grid-list-toggle.php:52
29
  msgid "List"
30
  msgstr ""
31
 
32
- #: woocommerce-grid-list-toggle.php:109
33
  msgid "Grid view"
34
  msgstr ""
35
 
36
- #: woocommerce-grid-list-toggle.php:110
37
  msgid "List view"
38
  msgstr ""
39
 
@@ -41,10 +41,6 @@ msgstr ""
41
  msgid "WooCommerce Grid / List toggle"
42
  msgstr ""
43
 
44
- #. Plugin URI of the plugin/theme
45
- msgid "http://jameskoster.co.uk/tag/grid-list-toggle/"
46
- msgstr ""
47
-
48
  #. Description of the plugin/theme
49
  msgid "Adds a grid/list view toggle to product archives"
50
  msgstr ""
1
+ # Copyright (C) 2018 WooCommerce Grid / List toggle
2
  # This file is distributed under the same license as the WooCommerce Grid / List toggle package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WooCommerce Grid / List toggle 1.2.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-grid-"
7
  "list-toggle\n"
8
+ "POT-Creation-Date: 2018-05-01 12:08:02+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2018-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
 
16
+ #: woocommerce-grid-list-toggle.php:69
17
+ msgid "Grid / List default"
18
  msgstr ""
19
 
20
+ #: woocommerce-grid-list-toggle.php:70
21
+ msgid "Choose which format products should display in by default."
22
  msgstr ""
23
 
24
+ #: woocommerce-grid-list-toggle.php:76
25
  msgid "Grid"
26
  msgstr ""
27
 
28
+ #: woocommerce-grid-list-toggle.php:77
29
  msgid "List"
30
  msgstr ""
31
 
32
+ #: woocommerce-grid-list-toggle.php:124
33
  msgid "Grid view"
34
  msgstr ""
35
 
36
+ #: woocommerce-grid-list-toggle.php:125
37
  msgid "List view"
38
  msgstr ""
39
 
41
  msgid "WooCommerce Grid / List toggle"
42
  msgstr ""
43
 
 
 
 
 
44
  #. Description of the plugin/theme
45
  msgid "Adds a grid/list view toggle to product archives"
46
  msgstr ""
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: jameskoster
3
  Tags: woocommerce, grid, list, products, ecommerce
4
  Requires at least: 4.0
5
- Tested up to: 4.7
6
- Stable tag: 1.1.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -17,7 +17,7 @@ The list view arranges products in a vertical list and pulls in the excerpt to g
17
 
18
  The grid view you will be familiar with as this is WooCommerce's default layout for product archives.
19
 
20
- The store owner can choose whether grid or list view be set as the default via the Catalog tab of the WooCommerce settings screen.
21
 
22
  Please feel free to contribute on <a href="https://github.com/jameskoster/woocommerce-grid-list-toggle">github</a>.
23
 
@@ -65,6 +65,12 @@ function remove_gridlist_styles() {
65
 
66
  == Changelog ==
67
 
 
 
 
 
 
 
68
  = 1.1.0 - 12/12/16 =
69
  * Outputs are now filterable. Kudos joshuadavidnelson.
70
 
2
  Contributors: jameskoster
3
  Tags: woocommerce, grid, list, products, ecommerce
4
  Requires at least: 4.0
5
+ Tested up to: 4.9.5
6
+ Stable tag: 1.2.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
17
 
18
  The grid view you will be familiar with as this is WooCommerce's default layout for product archives.
19
 
20
+ The store owner can choose whether grid or list view be set as the default via the "WooCommerce" > "Product Catalog" section of the Customizer.
21
 
22
  Please feel free to contribute on <a href="https://github.com/jameskoster/woocommerce-grid-list-toggle">github</a>.
23
 
65
 
66
  == Changelog ==
67
 
68
+ = 1.2.0 - 01/05/18 =
69
+ * Moved the settings to the Customizer (WooCommerce > Product Catalog)
70
+ * Removed unnecessary .less files
71
+ * Tweaked button styles
72
+ * Full compatibility with Storefront theme
73
+
74
  = 1.1.0 - 12/12/16 =
75
  * Outputs are now filterable. Kudos joshuadavidnelson.
76
 
woocommerce-grid-list-toggle.php CHANGED
@@ -1,13 +1,12 @@
1
  <?php
2
  /*
3
  Plugin Name: WooCommerce Grid / List toggle
4
- Plugin URI: http://jameskoster.co.uk/tag/grid-list-toggle/
5
  Description: Adds a grid/list view toggle to product archives
6
- Version: 1.1.0
7
  Author: jameskoster
8
  Author URI: http://jameskoster.co.uk
9
  Requires at least: 4.0
10
- Tested up to: 4.7
11
  License: GPLv2 or later
12
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
13
  Text Domain: woocommerce-grid-list-toggle
@@ -33,47 +32,64 @@ if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', g
33
 
34
  public function __construct() {
35
  // Hooks
36
- add_action( 'wp' , array( $this, 'setup_gridlist' ) , 20);
37
 
38
- // Init settings
39
- $this->settings = array(
40
- array(
41
- 'name' => __( 'Default catalog view', 'woocommerce-grid-list-toggle' ),
42
- 'type' => 'title',
43
- 'id' => 'wc_glt_options'
44
- ),
45
- array(
46
- 'name' => __( 'Default catalog view', 'woocommerce-grid-list-toggle' ),
47
- 'desc_tip' => __( 'Display products in grid or list view by default', 'woocommerce-grid-list-toggle' ),
48
- 'id' => 'wc_glt_default',
49
- 'type' => 'select',
50
- 'options' => array(
51
- 'grid' => __( 'Grid', 'woocommerce-grid-list-toggle' ),
52
- 'list' => __( 'List', 'woocommerce-grid-list-toggle' )
53
- )
54
- ),
55
- array( 'type' => 'sectionend', 'id' => 'wc_glt_options' ),
56
- );
57
 
58
- // Default options
59
- add_option( 'wc_glt_default', 'grid' );
60
 
61
- // Admin
62
- add_action( 'woocommerce_settings_image_options_after', array( $this, 'admin_settings' ), 20 );
63
- add_action( 'woocommerce_update_options_catalog', array( $this, 'save_admin_settings' ) );
64
- add_action( 'woocommerce_update_options_products', array( $this, 'save_admin_settings' ) );
65
  }
66
 
67
  /*-----------------------------------------------------------------------------------*/
68
  /* Class Functions */
69
  /*-----------------------------------------------------------------------------------*/
70
 
71
- function admin_settings() {
72
- woocommerce_admin_fields( $this->settings );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  }
74
 
75
- function save_admin_settings() {
76
- woocommerce_update_options( $this->settings );
 
 
 
 
 
 
 
 
77
  }
78
 
79
  // Setup
@@ -84,7 +100,6 @@ if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', g
84
  add_action( 'woocommerce_before_shop_loop', array( $this, 'gridlist_toggle_button' ), 30);
85
  add_action( 'woocommerce_after_shop_loop_item', array( $this, 'gridlist_buttonwrap_open' ), 9);
86
  add_action( 'woocommerce_after_shop_loop_item', array( $this, 'gridlist_buttonwrap_close' ), 11);
87
- add_action( 'woocommerce_after_shop_loop_item', array( $this, 'gridlist_hr' ), 30);
88
  add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_single_excerpt', 5);
89
  add_action( 'woocommerce_after_subcategory', array( $this, 'gridlist_cat_desc' ) );
90
  }
@@ -122,19 +137,19 @@ if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', g
122
  echo apply_filters( 'gridlist_button_wrap_end', '</div>' );
123
  }
124
 
125
- // hr
126
- function gridlist_hr() {
127
- echo apply_filters( 'gridlist_hr', '<hr />' );
128
- }
129
-
130
  function gridlist_set_default_view() {
131
- $default = get_option( 'wc_glt_default' );
 
132
  ?>
133
  <script>
134
- if (jQuery.cookie( 'gridcookie' ) == null) {
135
- jQuery( 'ul.products' ).addClass( '<?php echo $default; ?>' );
136
- jQuery( '.gridlist-toggle #<?php echo $default; ?>' ).addClass( 'active' );
137
- }
 
 
 
 
138
  </script>
139
  <?php
140
  }
1
  <?php
2
  /*
3
  Plugin Name: WooCommerce Grid / List toggle
 
4
  Description: Adds a grid/list view toggle to product archives
5
+ Version: 1.2.0
6
  Author: jameskoster
7
  Author URI: http://jameskoster.co.uk
8
  Requires at least: 4.0
9
+ Tested up to: 4.9.5
10
  License: GPLv2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
  Text Domain: woocommerce-grid-list-toggle
32
 
33
  public function __construct() {
34
  // Hooks
35
+ add_action( 'wp' , array( $this, 'setup_gridlist' ) , 20);
36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
 
38
+ // Delete old option
39
+ delete_option( 'wc_glt_default' );
40
 
41
+ /**
42
+ * Setup Customizer
43
+ */
44
+ add_action( 'customize_register', array( $this, 'wc_glt_customize' ), 10 );
45
  }
46
 
47
  /*-----------------------------------------------------------------------------------*/
48
  /* Class Functions */
49
  /*-----------------------------------------------------------------------------------*/
50
 
51
+ /**
52
+ * Add the settings / controls
53
+ * @param array $wp_customize settings & controls
54
+ * @return array settings & controls
55
+ */
56
+ public function wc_glt_customize( $wp_customize ) {
57
+ $wp_customize->add_setting(
58
+ 'wc_glt_default_format',
59
+ array(
60
+ 'default' => 'grid',
61
+ 'capability' => 'manage_woocommerce',
62
+ 'sanitize_callback' => array( $this, 'sanitize_grid_list_default' ),
63
+ )
64
+ );
65
+
66
+ $wp_customize->add_control(
67
+ 'wc_glt_default_format',
68
+ array(
69
+ 'label' => __( 'Grid / List default', 'woocommerce-grid-list-toggle' ),
70
+ 'description' => __( 'Choose which format products should display in by default.', 'woocommerce-grid-list-toggle' ),
71
+ 'section' => 'woocommerce_product_catalog',
72
+ 'settings' => 'wc_glt_default_format',
73
+ 'type' => 'select',
74
+ 'priority' => 20,
75
+ 'choices' => array(
76
+ 'grid' => __( 'Grid', 'woocommerce-grid-list-toggle' ),
77
+ 'list' => __( 'List', 'woocommerce-grid-list-toggle' ),
78
+ ),
79
+ )
80
+ );
81
  }
82
 
83
+ /**
84
+ * Sanitize the grid/list default format.
85
+ *
86
+ * @param string $value 'grid', or 'list'.
87
+ * @return string
88
+ */
89
+ public function sanitize_grid_list_default( $value ) {
90
+ $options = array( 'grid', 'list' );
91
+
92
+ return in_array( $value, $options, true ) ? $value : '';
93
  }
94
 
95
  // Setup
100
  add_action( 'woocommerce_before_shop_loop', array( $this, 'gridlist_toggle_button' ), 30);
101
  add_action( 'woocommerce_after_shop_loop_item', array( $this, 'gridlist_buttonwrap_open' ), 9);
102
  add_action( 'woocommerce_after_shop_loop_item', array( $this, 'gridlist_buttonwrap_close' ), 11);
 
103
  add_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_single_excerpt', 5);
104
  add_action( 'woocommerce_after_subcategory', array( $this, 'gridlist_cat_desc' ) );
105
  }
137
  echo apply_filters( 'gridlist_button_wrap_end', '</div>' );
138
  }
139
 
 
 
 
 
 
140
  function gridlist_set_default_view() {
141
+ $default = get_theme_mod( 'wc_glt_default_format', 'grid' );
142
+ var_dump( $default );
143
  ?>
144
  <script>
145
+ if ( 'function' == typeof(jQuery) ) {
146
+ jQuery(document).ready(function($) {
147
+ if ($.cookie( 'gridcookie' ) == null) {
148
+ $( 'ul.products' ).addClass( '<?php echo $default; ?>' );
149
+ $( '.gridlist-toggle #<?php echo $default; ?>' ).addClass( 'active' );
150
+ }
151
+ });
152
+ }
153
  </script>
154
  <?php
155
  }