YITH WooCommerce Ajax Product Filter - Version 3.10.0

Version Description

  • Released on 30 April 2020 =

  • New: Support for WooCommerce 4.1

  • Update: plugin framework

  • Dev: yith_wcan_color_get_objects_in_term to filter the get_product_in_terms function

Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Ajax Product Filter
Version 3.10.0
Comparing to
See all releases

Code changes from version 3.9.0 to 3.10.0

Files changed (59) hide show
  1. README.txt +710 -704
  2. includes/class.yith-wcan-frontend.php +3 -1
  3. includes/functions.yith-wcan.php +3 -3
  4. init.php +128 -128
  5. languages/yith-woocommerce-ajax-navigation-de_DE.mo +0 -0
  6. languages/yith-woocommerce-ajax-navigation-de_DE.po +16 -23
  7. languages/yith-woocommerce-ajax-navigation-es_ES.mo +0 -0
  8. languages/yith-woocommerce-ajax-navigation-es_ES.po +16 -23
  9. languages/yith-woocommerce-ajax-navigation-it_IT.mo +0 -0
  10. languages/yith-woocommerce-ajax-navigation-it_IT.po +16 -21
  11. languages/yith-woocommerce-ajax-navigation-nl_NL.mo +0 -0
  12. languages/yith-woocommerce-ajax-navigation-nl_NL.po +16 -23
  13. languages/yith-woocommerce-ajax-navigation-tr_TR.mo +0 -0
  14. languages/yith-woocommerce-ajax-navigation-tr_TR.po +16 -20
  15. languages/yith-woocommerce-ajax-navigation.pot +19 -19
  16. plugin-fw/.jshintrc +26 -0
  17. plugin-fw/Gruntfile.js +96 -0
  18. plugin-fw/assets/css/yit-plugin-panel.css +7 -2
  19. plugin-fw/assets/css/yith-fields.css +260 -133
  20. plugin-fw/assets/js/how-to.min.js +1 -1
  21. plugin-fw/assets/js/jquery.colorbox.min.js +5 -32
  22. plugin-fw/assets/js/metabox.js +14 -0
  23. plugin-fw/assets/js/metabox.min.js +1 -1
  24. plugin-fw/assets/js/multisite-updater.min.js +1 -1
  25. plugin-fw/assets/js/wp-pages.min.js +1 -1
  26. plugin-fw/assets/js/yit-cpt-unlimited.min.js +1 -2
  27. plugin-fw/assets/js/yit-plugin-panel.js +26 -14
  28. plugin-fw/assets/js/yit-plugin-panel.min.js +1 -8
  29. plugin-fw/assets/js/yit-wp-pointer.min.js +1 -6
  30. plugin-fw/assets/js/yith-dashboard.min.js +1 -2
  31. plugin-fw/assets/js/yith-enhanced-select-wc-2.6.min.js +1 -5
  32. plugin-fw/assets/js/yith-enhanced-select.min.js +1 -10
  33. plugin-fw/assets/js/yith-fields.js +794 -728
  34. plugin-fw/assets/js/yith-fields.min.js +1 -30
  35. plugin-fw/assets/js/yith-gutenberg.min.js +1 -6
  36. plugin-fw/assets/js/yith-promo.min.js +1 -1
  37. plugin-fw/assets/js/yith-system-info.min.js +1 -1
  38. plugin-fw/assets/js/yith-update-plugins.min.js +1 -2
  39. plugin-fw/init.php +3 -3
  40. plugin-fw/languages/yith-plugin-fw-el.mo +0 -0
  41. plugin-fw/languages/yith-plugin-fw-el.po +174 -161
  42. plugin-fw/languages/yith-plugin-fw-es_ES.mo +0 -0
  43. plugin-fw/languages/yith-plugin-fw-es_ES.po +169 -155
  44. plugin-fw/languages/yith-plugin-fw-it_IT.mo +0 -0
  45. plugin-fw/languages/yith-plugin-fw-it_IT.po +169 -155
  46. plugin-fw/languages/yith-plugin-fw-nl_NL.mo +0 -0
  47. plugin-fw/languages/yith-plugin-fw-nl_NL.po +169 -155
  48. plugin-fw/languages/yith-plugin-fw.pot +193 -180
  49. plugin-fw/lib/yit-plugin-panel-wc.php +1 -1
  50. plugin-fw/lib/yit-plugin-panel.php +53 -14
  51. plugin-fw/lib/yith-system-status.php +1 -1
  52. plugin-fw/package.json +21 -0
  53. plugin-fw/templates/fields/dimensions.php +123 -0
  54. plugin-fw/templates/fields/onoff.php +3 -3
  55. plugin-fw/templates/fields/select-images.php +5 -4
  56. plugin-fw/templates/fields/upload.php +1 -1
  57. plugin-fw/yit-functions.php +39 -0
  58. widgets/class.yith-wcan-navigation-widget.php +24 -17
  59. widgets/class.yith-wcan-reset-navigation-widget.php +1 -1
README.txt CHANGED
@@ -1,704 +1,710 @@
1
- === YITH WooCommerce Ajax Product Filter ===
2
-
3
- Contributors: yithemes
4
- Tags: woocommerce ajax product filter download, woocommerce, widget, ajax, ajax filtered nav, ajax navigation, ajax filtered navigation, woocommerce layered navigation, woocommerce layered nav, product filter, product filters, ajax product filter, woocommerce ajax product filter, woocommerce filters, sidebar filter, sidebar ajax filter, ajax price filter, price filter, product sorting, woocommerce filter, taxonomy filter, attribute filter, attributes filter, woocommerce product sort, ajax sort, woocommerce ajax product filter, advanced product filters, ajax product filters, filters, woocommerce ajax product filters, woocommerce product filters, woocommerce product filters, category filter, attribute filters, woocommerce products filter, woocommerce price filter, yit, yith, yithemes
5
- Requires at least: 4.0
6
- Tested up to: 5.4
7
- Stable tag: 3.9.0
8
- License: GPLv2 or later
9
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
-
11
- YITH WooCommerce Ajax Product Filter offers you the perfect way to filter all products of your WooCommerce shop.
12
-
13
- == Description ==
14
-
15
- = Filter by the specific product you are looking for =
16
-
17
- A powerful WooCommerce plugin: WooCommerce product filter widget, WooCommerce Ajax Product Filter lets you apply the filters you need to display the correct WooCommerce variations of the products you are looking for.
18
- Choose among color, label, list and dropdown and your WooCommerce filtering search will display those specific products that suit perfectly your needs.
19
- An extremely helpful WooCommerce plugin to help customers find what they really want.
20
- All this can be done in a quick and very intuitive way that will certainly help your WooCommerce store improve in quality and usability.
21
-
22
-
23
- Working demos for YITH WooCommerce Ajax Product Filter are available here:
24
- **[LIVE DEMO](https://plugins.yithemes.com/yith-woocommerce-ajax-product-filter/)**
25
-
26
- Full documentation for YITH WooCommerce Ajax Product Filter is available [here](https://docs.yithemes.com/yith-woocommerce-ajax-product-filter/).
27
-
28
- **Main Features of YITH WooCommerce Ajax Product Filter:**
29
-
30
- * Filter WooCommerce products with YITH WooCommerce Ajax Product Filter widget (4 layouts available)
31
- * List
32
- * Dropdown
33
- * Color
34
- * Label
35
- * Reset all applied filters with YITH WooCommerce Ajax Reset Filter widget
36
-
37
- = Premium features of YITH WooCommerce Ajax Product Filter: =
38
-
39
- * Two additional layouts for the YITH WooCommerce Ajax Product Filter widget (BiColor, Tags), in addition to compatibility with the plugin YITH WooCommerce Brands
40
- * Customizable reset button (in the YITH WooCommerce Ajax Reset Filter widget)
41
- * WooCommerce Search filter for products of a specific price range available thanks to the YITH WooCommerce Ajax List Price Filter widget
42
- * Search filter for products on sale/available
43
- * Ajax sorting for products displayed in the page (by rate, price, popularity, most recent)
44
- * Upload of an icon as customized loader
45
- * Customization of the WooCommerce Price Filter widget
46
-
47
-
48
- YITH WooCommerce Ajax Product Filter is available in combination with many other plugins in [**YITH Essential Kit for WooCommerce #1**](https://wordpress.org/plugins/yith-essential-kit-for-woocommerce-1/), a bundle of indispensable tools to make your WooCommerce site look more professional and be more user-friendly. Learn more about all of WooCommerce plugins included and boost your WooCommerce site with a simple click!
49
-
50
-
51
- = Compatibility with WooCommerce plugins =
52
-
53
- YITH WooCommerce Ajax Product Filter has been tested and compatibility is certain with the following WooCommerce plugins that you can add to your site:
54
-
55
- * [YITH WooCommerce Multi Vendor](https://wordpress.org/plugins/yith-woocommerce-product-vendors/)
56
- * [YITH WooCommerce Brands Add-On](https://wordpress.org/plugins/yith-woocommerce-brands-add-on/)
57
- * [YITH Product Size Charts for WooCommerce](https://wordpress.org/plugins/yith-product-size-charts-for-woocommerce/)
58
-
59
- Nevertheless, it could be compatible with many other WooCommerce plugins that have not been tested yet. If you want to inform us about compatibility with other plugins, please, [email to us](mailto:plugins@yithemes.com "Your Inspiration Themes").
60
-
61
- == Installation ==
62
-
63
- 1. Unzip the downloaded zip file.
64
- 2. Upload the plugin folder into the `wp-content/plugins/` directory of your WordPress site.
65
- 3. Activate `YITH WooCommerce Ajax Product Filter` from Plugins page.
66
-
67
- == Frequently Asked Questions ==
68
-
69
- = Why isn't the widget displayed in my sidebar? =
70
- In order to display the widget, you need to assign it to the sidebar in the Shop page and you also need to add WooCommerce Product Attributes to your product. Read the "Getting Started" section of the documentation to learn how to add them.
71
-
72
- = Translation issue with the version 2.0.0 =
73
- Dear users,
74
- we would like to inform you that the plugin YITH WooCommerce Ajax Navigation will change its name into YITH WooCommerce Ajax Product Filter from the next update.
75
- In addition to the name, with the new release the plugin, textdomain will change too from "yit" to "yith_wc_ajxnav".
76
- This change solves issues concerning textdomain conflicts generated by some translation/multilanguage plugins you have identified in the past weeks.
77
- It may be possible that, with the plugin update, some language files will not be recognized by WordPress. In this case, you will just have to rename the language files with the correct format, changing the old textdomain with the new one.
78
- For example, if your language files were named yit-en_GB.po and yit-en_GB.mo, you will just have to rename them respectively as yith_wc_ajxnav-en_GB.po and yith_wc_ajxnav-en_GB.mo.
79
- After renaming the files, you can update/translate the .po file following the classic procedure for translations.
80
-
81
- = What are the main changes in plugin translation? =
82
- = Translation issue with the version 2.4.0 =
83
- Recently YITH WooCommerce Ajax Product Filter has been selected to be included in the "translate.wordpress.org" translate programme. In order to import correctly the plugin strings in the new system, we had to change the text domain form 'yith_wc_ajxnav' to 'yith-woocommerce-ajax-navigation'. Once the plugin will be imported in the translate.wordpress.org system, the translations of other languages will be downloaded directly from WordPress, without using any .po and .mo files. Moreover, users will be able to participate in a more direct way to plugin translations, suggesting texts in their languages in the dedicated tab on translate.wordpress.org. During this transition step, .po and .mo files will be used as always, but in order to be recognized by WordPress, they will need to have a new nomenclature, renaming them in: yith-woocommerce-ajax-navigation-.po yith-woocommerce-ajax-navigation-.mo. For example, if your language files were named yit-en_GB.po and yit-en_GB.mo, you will just have to rename them respectively as yith-woocommerce-ajax-navigation-en_GB.po and yith-woocommerce-ajax-navigation-en_GB.mo.
84
-
85
- = The widget with WooCommerce filters is not working =
86
- = The page doesn't update after clicking on a WooCommerce filter =
87
-
88
- The issue could be related to the fact you are using a non-standard template for a WooCommerce shop page. To solve it, you should ask to the theme's author to use WooCommerce standard HTML classes.
89
- As an alternative:
90
- **For version prior to 2.2.0:**
91
-
92
- you can use this piece of code in functions.php file of your theme:
93
-
94
- `
95
- if( ! function_exists( 'yith_wcan_frontend_classes' ) ){
96
- function yith_wcan_frontend_classes(){
97
- return array(
98
- 'container' => 'YOUR_SHOP_CONTAINER',
99
- 'pagination' => 'YOUR_PAGINATION_CONTAINER',
100
- 'result_count' => 'YOUR_RESULT_COUNT_CONTAINER'
101
-
102
- );
103
- }
104
- }
105
-
106
- add_filter( 'yith_wcan_ajax_frontend_classes', 'yith_wcan_frontend_classes' );
107
- `
108
-
109
- If you don't know which classes you should use, ask to the developer of your theme.
110
-
111
- **From version 2.3.0 or later:**
112
-
113
- You don't have to write manually the code anymore, as you can just go to YITH Plugin -> Ajax Product Filter -> Front End and set easily the parameters from the text fields.
114
-
115
- If you don't know which classes you should use, ask to the developer of your theme.
116
-
117
- = PAAMAYIM NEKUDOTAYIM Error after update 2.1.0 =
118
-
119
- After the update 2.1.0, some users of YITH WooCommerce Ajax Product Filter are experiencing the error: "Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM". This is caused by the PHP version of your server that is older than the 5.3. To solve the issue, you just have to update the plugin to the version 2.1.1.
120
-
121
- = Is it compatible with all WordPress themes? =
122
-
123
- Compatibility with all themes is impossible, because they are too many, but generally if themes are developed according to WordPress and WooCommerce guidelines, YITH plugins are compatible with them.
124
- Yet, we can grant compatibility with themes developed by YIThemes, because they are constantly updated and tested with our plugins. Sometimes, especially when new versions are released, it might only require some time for them to be all updated, but you can be sure that they will be tested and will be working in a few days.
125
-
126
-
127
- = How can I get support if my WooCommerce plugin is not working? =
128
-
129
- If you have problems with our WooCommerce plugins or something is not working as it should, first follow this preliminary steps:
130
-
131
- * Test the plugin with a WordPress default theme, to be sure that the error is not caused by the theme you are currently using.
132
- * Deactivate all plugins you are using and check if the problem is still occurring.
133
- * Ensure that you plugin version, your theme version and your WordPress and WooCommerce version (if required) are updated and that the problem you are experiencing has not already been solved in a later plugin update.
134
-
135
- If none of the previous listed actions helps you solve the problem, then, submit a ticket in the forum and describe your problem accurately, specify WordPress and WooCommerce versions you are using and any other information that might help us solve your problem as quickly as possible. Thanks!
136
-
137
-
138
- = How can I get more features for my WooCommerce plugin? =
139
-
140
- You can get more features with the premium version of YITH WooCommerce Ajax Product Filter, available on [YIThemes page]( https://yithemes.com/themes/plugins/yith-woocommerce-ajax-product-filter/). Here you can read more about the premium features of the plugin and make it give it its best shot!
141
-
142
-
143
- = How can I try the full-featured plugin? =
144
-
145
- If you want to see a demonstration version of the premium plugin, you can see it installed on two different WooCommerce sites, either in [this page]( http://plugins.yithemes.com/yith-woocommerce-ajax-product-filter/?preview) or in [this page](http://preview.yithemes.com/bazar/shop/). Browse it and try all options available so that you can see how your plugin looks like.
146
-
147
- == Screenshots ==
148
-
149
- 1. Admin - Appearance -> Widget: WooCommerce Filter Widget List Style
150
- 2. Admin - Appearance -> Widget: WooCommerce Filter Widget Color Style
151
- 3. Admin - Appearance -> Widget: WooCommerce Filter Widget Label Style
152
- 4. Admin - Appearance -> Widget: WooCommerce Filter Widget Dropdown Style
153
- 5. Admin - Appearance -> Widget: WooCommerce Filter Reset Button
154
- 6. Frontend: WooCommerce Widget in sidebar
155
- 7. Frontend: Dropdown style
156
- 8. Frontend: Reset button and active filters
157
- 9. Admin: YIT Plugins -> Ajax Product Filter -> Front end
158
- 10. Admin: YIT Plugins -> Ajax Product Filter -> Custom Style
159
-
160
- == Changelog ==
161
-
162
- = 3.9.0 - Released on 10 March 2020 =
163
-
164
- * New: Support for WordPress 5.4
165
- * New: Support for WooCommerce 4.0
166
- * Update: plugin framework
167
-
168
- = 3.8.4 - Released on 27 December 2019 =
169
-
170
- * New: Support for WooCommerce 3.9
171
- * Fix: Not updating filters when the customer apply a filter by price
172
-
173
- = 3.8.3 - Released on 11 December 2019 =
174
-
175
- * Fix: Filter not working on product tag page
176
- * Update: plugin framework
177
-
178
- = 3.8.2 - Released on 28 November 2019 =
179
-
180
- * Update: plugin framework
181
-
182
- = 3.8.1 - Released on 04 November 2019 =
183
-
184
- * Update: plugin framework
185
- * Fix: Undefined variable message on frontend
186
-
187
- = 3.8.0 - Released on 30 October 2019 =
188
-
189
- * New: Support for WordPress 5.3
190
- * New: Support for WooCommerce 3.8
191
- * Update: plugin framework
192
- * Fix: Call get_query_object() on null
193
- * Dev: New filter 'yith_wcan_skip_check_on_product_in_term'
194
-
195
- = 3.7.1 - Released on 27th August, 2019 =
196
-
197
- * Fix: curl_init() doesn't exist
198
-
199
- = 3.7.0 - Released on 07th August, 2019 =
200
-
201
- * New: Support for WooCommerce 3.7
202
- * Fix: Style issues with Storefront theme
203
-
204
- = 3.6.6 - Released on 12nd June, 2019 =
205
-
206
- * Fix: Bug on plugin options
207
-
208
- = 3.6.5 - Released on 12nd June, 2019 =
209
-
210
- * Update: Plugin Core Framework
211
-
212
- = 3.6.4 - Released on 06th June, 2019 =
213
-
214
- * Tweak: WooCommerce 3.6 optimization
215
- * Update: Plugin Core Framework
216
- * Update: Languages file
217
- * Fix: Unable to reset filter in subcategory page
218
- * Fix: undefined variable term_id in attributes table
219
-
220
- = 3.6.3 - Released on 23rd April, 2019 =
221
-
222
- * Update: Plugin Core Framework
223
-
224
- = 3.6.2 - Released on 08th April, 2019 =
225
-
226
- * New: Support to WooCommerce 3.6
227
- * Tweak: New Widgets name
228
- * Update: Plugin Core Framework
229
- * Fix: Undefined variable term_id in attributes table
230
- * Fix: Wrong reset page with WooCommerce Filter by price widget
231
- * Fix: Support to Aurum theme - Filter issue using AND operator
232
- * Fix: Undefined index: source_tax in YITH Reset Filter widget
233
- * Fix: Issue with reset filter in product categories page
234
- * Fix: Reset button doesn't works if a variable use a slash char in query string
235
- * Dev: new parameter for filter 'yith_wcan_dropdown_label'
236
-
237
- = 3.6.1 - Released on 11th October, 2018 =
238
-
239
- * Update: Plugin Core Framework
240
-
241
- = 3.6.0 - Released on 11th October, 2018 =
242
-
243
- * New: Support for WooCommerce 3.5
244
- * New: Support for Aardvark theme
245
- * New: Support for Aurum theme
246
- * New: Support for UX Shop theme
247
- * New: Support for YooTheme theme
248
- * Fix: Wrong results with search query string
249
- * Fix: Double chosen icon with themes that override layered navigation style
250
- * Tweak: Widget reinit after ajax call
251
- * Tweak: Flatsome optimization
252
- * Tweak: Prevent untrailingslashit on filter url for SEO optimization
253
- * Update: Spanish language
254
- * Update: Italian Language
255
- * Dev: yith_wcan_skip_no_products_label hook
256
-
257
- = 3.5.1 - Released on 14th March, 2018 =
258
-
259
- * Tweak: Removed old YITH_WCAN_Helper class
260
- * Updated: Plugin core framework
261
- * Fix: Unable to reset filters in product categories page
262
- * Fix: PHP Notice: Undefined index: display
263
- * Fix: $count not defined in loop
264
-
265
- = 3.5.0 - Released: 01 Feb, 2018 =
266
-
267
- * New: 100% German translation (Thanks to Thomas)
268
- * New: Support for WooCommerce 3.3.0
269
- * Fix: Undefined index "dropdown-type" in shop page
270
- * Fix: Reset filter doesn't works if the user filter by categories and use only one filter
271
- * Fix: Show only parent term with attrbute filter doesn't works
272
- * Fix: $count doesn't exists with OR query type set
273
- * Dev: yith_wcan_can_be_displayed hook
274
- * Dev: yith_wcan_list_type_empty_filter_class hook
275
-
276
- = 3.4.6 - Released: 12 Oct, 2017 =
277
-
278
- * Fix: 500 internal server error if use with YITH WooCommerce Ajax Search plugin
279
-
280
- = 3.4.5 - Released: 10 Oct, 2017 =
281
-
282
- * New: Support to WooCommerce 3.2
283
- * New: Label type of YITH WooCommerce Color and Label Premium integration
284
-
285
- = 3.4.4 = Released: 26 Sep, 2017 =
286
-
287
- * Fix: Support for $wpdb->prepare() with WordPress 4.8.2
288
-
289
- = 3.4.3 - Released: 04 Jul, 2017 =
290
-
291
- * Fix: No filtered results with Page Builder by SiteOrigin
292
- * Fix: Warning with salient theme
293
- * Fix: Reset filter use term_taxonomy_id instead of term_id
294
-
295
- = 3.4.2 - Released: 05 Jun, 2017 =
296
-
297
- * New: Support to Basel theme
298
- * Fix: Unable to filter in vendor page
299
-
300
- = 3.4.1 Released: 18 May, 2017 =
301
-
302
- * Fix: Issue with reset button in product_cat page
303
-
304
- = 3.4.0 - Released: 08 May, 2017 =
305
-
306
- * New: Sorting option for free version
307
- * Fix: Issue with current filter in product tag page
308
- * Fix: Unable to filter with qTranslateX and Socute theme
309
- * Fix: Unable to filter with qTranslateX and YITH theme FW 1.0
310
- * Fix: Issue with reset button in product_tag page
311
-
312
-
313
- = 3.3.2 - Released: 19 April, 2017 =
314
-
315
- * New: Support for Salient theme
316
- * New: Support for WooCommerce Grid/List view
317
- * Tweak: Create dropdown style dynamically
318
- * Fix: Filter by label and filter by dropdown lost current filter
319
- * Fix: Reset button doesn't works fine on product category page
320
- * Fix: Support to visibility taxonomy in WooCommerce 3.0.x
321
-
322
- = 3.3.1 - Released: 20 MArch, 2017 =
323
-
324
- * Fix: Filter by color lost current filter
325
-
326
- = 3.3.0 - Released: 24 February, 2017 =
327
-
328
- * New: Support to WooCoomerce 2.7-beta3
329
- * Fix: missing argument 2 in yith_wcan_exclude_terms and yith_wcan_include_terms hook
330
-
331
- = 3.2.0 - Released: 20 February, 2017 =
332
-
333
- * Add: Back/Next browser button integration
334
- * Tweak: Filter uri management
335
- * Tweak: Add filter to force widget dropdown reinit
336
- * Tweak: YITH Brands integration
337
- * Fix: Unable to hide product count for attributes
338
- * Fix: Lost brands on 2nd filter step
339
- * Fix: Current filter disappears in label, dropdown and color style
340
- * Fix: Filter by attribute (all styles) lost current category in product category page
341
- * Fix: Missing queried object in filter type list
342
- * Fix: Conflict in search page
343
- * Dev: yith_wcan_unfiltered_product_ids hook
344
-
345
-
346
- = 3.1.2 - Released: 17 January, 2017 =
347
-
348
- * Tweak: Support for YITH WooCommerce Brands add-on FREE
349
- * Fix: Product image disappears after filter with lazy load option enabled
350
- * Fix: Empty li tag with query type OR in categories filter
351
- * Fix: Reset widget doesn't works with categories
352
- * Fix: Order by doesn't works with filter type list, label and dropdown
353
- * Dev: yith_wcan_brands_enabled hook
354
-
355
- = 3.1.1 - Released: 28 December, 2016 =
356
-
357
- * Added: yit_get_terms_args hook
358
- * Added: yith_wcan_skip_no_products_color hook
359
- * Added: yith_wcan_show_no_products_attributes hook
360
- * Added: yith_wcan_after_reset_widget hook
361
- * Added: yith_wcan_before_reset_widget hook
362
- * Removed: yith_wcan_hide_no_products_attributes hook
363
-
364
- = 3.1.0 - Released: 05 December, 2016 =
365
-
366
- * Added: Support to WordPress 4.7
367
-
368
- = 3.0.12 - Released: 23 November, 2016 =
369
-
370
- * Fixed: Url management with query type set to OR
371
- * Fixed: Close dropdown widget before open another dropdown
372
- * Fixed: Layout issue with color style
373
-
374
- = 3.0.11 - Released: 05 October, 2016=
375
-
376
- * Tweak: Removed deprecated taxonomy count WooCommerce transient
377
- * Fixed: Wrong reset url if filter start from product category page
378
-
379
- = 3.0.10 - Released: 29 September, 2016 =
380
-
381
- * Fixed: Warning: in_array() expects at least 2 parameters, 1 given with query type set to OR
382
- * Fixed: Widget dropdown doesn't works on Flatsome Theme
383
-
384
- = 3.0.9 - Released: 31 Aug, 2016 =
385
-
386
- * Added: Support to Ultimate Member plugin
387
- * Fixed: Error on activation "the plugin required WooCommerce in order to works"
388
- * Fixed: Get term issue with old WordPress version
389
-
390
- = 3.0.8 - Released: Aug 11, 2016 =
391
-
392
- * Added: Support to WordPress 4.6RC2
393
- * Tweak: Removed deprecated arg to get_terms function
394
- * Fixed: Empty filter doesn't hide after ajax call
395
- * Fixed: Max execution time issue and 500 internal server error issue
396
-
397
- = 3.0.7 - Released: Jul 29, 2016 =
398
-
399
- * Added: yith_wcan_get_list_html_terms hook
400
- * Fixed: Filter doesn't work with WooCommerce 2.6.x
401
-
402
- = 3.0.6 - Released: Jul 21, 2016 =
403
-
404
- * Fixed: Reset button doesn't show after click on a filter
405
-
406
- = 3.0.5 - Released: Jul 20, 2016 =
407
-
408
- * Fixed: style="displya:none"> text appears if the filters are empty
409
- * Fixed: Argument #1 is not an array in frontend class
410
- * Fixed: WP_Post object cannot convert to string in frontend class
411
- * Fixed: Problem with cirillic charachter
412
- * Fixed: Wrong count in filter widgets
413
-
414
- = 3.0.4 - Released: Jul 8, 2016 =
415
-
416
- * Fixed: Filters show all attributes in shop and product taxonomy pages
417
-
418
- = 3.0.3 - Released: Jul 6, 2016 =
419
-
420
- * Fixed: Wrong query object in layered nav query with WooCommerce 2.6.2
421
-
422
- = 3.0.2 - Released: Jul 4, 2016 =
423
-
424
- * Fixed: Filters disappears in sort count select on Avada theme
425
- * Fixed: Filter by attributes doesn't works with WooCommerce 2.5
426
- * Fixed: rtrim waring in untrailingslashit
427
- * Fixed: Wrong filter on category page with WooCommerce 2.6.2
428
-
429
- = 3.0.1 - Released: Jun 14, 2016 =
430
-
431
- * Fixed: print empty li tag after update to version 3.0.0
432
-
433
- = 3.0.0 - Released: Jun 13, 2016 =
434
-
435
- * Added: Support to WooCommece 2.6
436
- * Tweak: Layered navigation management
437
- * Tweak: English Typo
438
-
439
- = 2.9.2 - Released: May 16, 2016 =
440
-
441
- * Fixed: Wrong reset button link in product category page
442
-
443
- = 2.9.1 - Released: May 04, 2016 =
444
-
445
- * Fixed: $class variable are not defined
446
- * Fixed: Filter by list-attribute doesn't works in versio 2.9.0
447
-
448
- = 2.9.0 - Released: May 02, 2016 =
449
-
450
- * Fixed: Filtering issue with YITH WooCommerce Brands Add-on Premium
451
- * Fixed: HTML5 Validation (attribute name not allowed in ul element)
452
- * Fixed: z-index not set to -1 when user close dropdown filters with click in page area
453
-
454
-
455
- = 2.8.1 - Released: Mar 10, 2016 =
456
-
457
- * Fixed: Dropdown issue with Remy Theme
458
- * Fixed: $.fn.slider is not a function after click on reset filter
459
- * Fixed: Reset filter in product category page doesn't works
460
- * Fixed: Plugin panel option style issue
461
-
462
- = 2.8.0 - Released: Mar 1 - 2016 =
463
-
464
- * Tweak: Plugin Core Framework
465
- * Tweak: Term and Filter management
466
-
467
- = 2.7.8 - Released: Feb 25 - 2016 =
468
-
469
- * Fixed: Issue with filter in category and taxonomy pages
470
-
471
- = 2.7.7 - Released: Feb 19 - 2016 =
472
-
473
- * Added: Trigger window scroll event after ajax call
474
- * Fixed: The page scroll down after filter has been applied in mobile
475
- * Fixed: Duplicated query in Filter by categories
476
- * Fixed: generated 404 link with in stock/on sale filter
477
- * Fixed: YITH WooCommerce Product Slider Carousel doesn't work after a filter was applied
478
- * Fixed: Widget doesn't work with multiple hierarchical terms
479
-
480
- = 2.7.6 - Released: Feb 05 - 2016 =
481
-
482
- * Added: Suppoort to quantity input in loop
483
- * Added: yith-wcan-free body class
484
- * Fixed: Filter button doesn't appear in WooCommerce Price Filter Slider
485
-
486
- = 2.7.5 - Released: Jan 27 - 2016 =
487
-
488
- * Fixed: Error on plugin activation
489
-
490
- = 2.7.4 - Released: Jan 27 - 2016 =
491
-
492
- * Added: New event yith-wcan-wrapped was triggered after container wrap
493
- * Added: Support to WooCommerce 2.5
494
- * Fixed: Stop activation free version if premium is enabled
495
-
496
- = 2.7.3 - Released: Jan 12 - 2016 =
497
-
498
- * Updated: Plugin core framework
499
-
500
- = 2.7.2 - Released: Jan 07 - 2015 =
501
-
502
- * Added: Support to WooCommerce 2.5-RC1
503
- * Fixed: Reset Filter in category page
504
- * Fixed: Filter doesn't work correctly in sub-categories
505
-
506
- = 2.7.1 - Released: Dec 23 - 2015 =
507
-
508
- * Fixed: The plugin shows empty filters in product category page
509
- * Fixed: Reset filter doesn't works in product category page
510
- * Fixed: WooCommerce price slider doesn't set to default value after filter reset
511
-
512
- = 2.7.0 - Released: Dec 10 - 2015 =
513
-
514
- * Fixed: Click on row to filter in dropdown style
515
- * Removed: var_dump() in product filter widget
516
-
517
- = 2.6.0 - Released: Nov 02 - 2015 =
518
-
519
- * Added: yith_wcan_show_widget hook to manage the widgets display condition
520
- * Added: yith_wcan_is_search hook to disable the widgets in search page
521
- * Fixed: Disable widgets in search page
522
-
523
- = 2.5.0 - Released: Oct 21 - 2015 =
524
-
525
- * Added: yith_wcan_untrailingslashit hook for disable untrailingslashit function in filter link
526
- * Tweak: Performance improved with new plugin core 2.0
527
- * Tweak: Plugin don't apply filter in category page
528
- * Fixed: Issuet with YITH Infinite Scrolling plugin
529
- * Fixed: Filter widget don't show in product attribute page
530
- * Fixed: Issue with WPML and Visual Composer plugins in admin
531
-
532
- = 2.4.0 - Released: Sept, 25 - 2015 =
533
-
534
- * Tweak: New wordpress translation text domain added
535
- * Added: Language files called yith-woocommerce-ajax-navigation
536
- * Removed: All language files called yith_wc_ajxnav
537
-
538
- = 2.3.1 - Released: Sept, 17 - 2015 =
539
-
540
- * Added: Support to YITH Infinite Scrolling plugin
541
- * Fixed: No pagination container issue after filter applied
542
- * Fixed: js error yit_wcan not defined
543
- * Fixed: issue with blank label
544
-
545
- = 2.3.0 - Released: Sept, 11 - 2015 =
546
-
547
- * Added: Custom Style Section
548
- * Added: New frontend options for script configuration
549
- * Updated: Plugin Core Framework
550
- * Updated: Languages file
551
-
552
- = 2.2.0 - Released: Aug, 25 - 2015 =
553
-
554
- * Added: Support to WordPress 4.3
555
- * Updated: Language files
556
- * Fixed: Color lost after change widget style with WordPress 4.3
557
- * Fixed: Warning when switch from color to label style
558
-
559
- = 2.1.2 - Released: Aug, 11 - 2015 =
560
-
561
- * Added: Support to WooCommerce 2.4
562
- * Updated: Plugin Framework
563
- * Fixed: Tag list and child term support
564
-
565
- = 2.1.1 - Released: July, 30 - 2015 =
566
-
567
- * Tweak: Support to PAAMAYIM NEKUDOTAYIM in PHP Version < 5.3
568
-
569
- = 2.1.0 - Released: July, 29 - 2015 =
570
-
571
- * Added: Frontend classes option panel
572
- * Added: yith_wcan_ajax_frontend_classes filter
573
- * Added: plugin works in product category page
574
- * Added: WPML and String translation support
575
- * Updated: language pot file
576
- * Updated: Italian translation
577
- * Tweak: Shop uri management
578
- * Fixed: wrong filter link in product category page
579
- * Fixed: Widget doesn't work fine in Shop Category Page
580
- * Fixed: Remove trailing slash in widget shop uri
581
- * Fixed: Prevent double instance in singleton class
582
- * Fixed: The widget doesn't work with WPML with Label and Color style
583
-
584
- = 2.0.4 - Released: July, 13 - 2015 =
585
-
586
- * Added: Filter 'yith_wcan_product_taxonomy_type' to widget product tax type
587
- * Tweak: YITH WooCommerce Brands Add-on support in taxonomy page
588
-
589
- = 2.0.3 - Released: July, 03 - 2015 =
590
-
591
- * Added: Support to Sortable attribute
592
- * Fixed: Color lost after change widget style
593
-
594
- = 2.0.2 - Released: Jun, 25 - 2015 =
595
-
596
- * Fixed: Empty filters appear after update to 2.0.0
597
-
598
- = 2.0.1 - Released: Jun, 24 - 2015 =
599
-
600
- * Fixed: Unable to active plugin
601
-
602
- = 2.0.0 - Released: Jun, 24 - 2015 =
603
-
604
- * Tweak: Plugin core framework
605
- * Updated: Languages file
606
- * Fixed: Prevent warning issue with no set color/label
607
- * Fixed: Textdomain conflict
608
- * Fixed: Filter doesn't work if shop page is on front
609
- * Removed: old default.po catalog language file
610
-
611
- = 1.4.1 - Released: Oct, 08 - 2014 =
612
-
613
- * Fixed: Wrong attribute show with WooCommerce 2.2
614
-
615
- = 1.4.0 - Released: Set, 16 - 2014 =
616
-
617
- * Added: Support to WC 2.2
618
- * Updated: Plugin Core Framework
619
- * Fixed: Widget error on empty title
620
- * Fixed: Ajax load on widget type switching
621
-
622
- = 1.3.2 - Released: Jun, 05 - 2014 =
623
-
624
- * Fixed: Wrong enqueue of the main css file
625
- * Added: Filter yith_wcan_exclude_terms
626
-
627
- = 1.3.1 - Released: Mar, 03 - 2014 =
628
-
629
- * Added: Attribute order (All, Hieralchical or Only Parent style)
630
- * Fixed: Dropdown Style on Firefox
631
- * Fixed: Blank box on attribute without label (Label Style)
632
- * Fixed: Blank box on attribute without color (Color Stle)
633
-
634
- = 1.3.0 - Released: Feb, 12 - 2014 =
635
-
636
- * Added: Support to WooCommerce 2.1.X
637
- * Fixed: One filter bug on sidebar
638
-
639
- = 1.2.1 - Released: Jan, 29 - 2014 =
640
-
641
- * Fixed: Width of select dropdown too large
642
-
643
- = 1.2.0 - Released: Jan, 10 - 2014 =
644
-
645
- * Added: Dropdown style
646
- * Added: Support to Wordpress 3.8
647
- * Fixed: Error with non-latin languages
648
- * Fixed: Improved WPML compatibility
649
-
650
- = 1.1.2 - Released: Oct, 14 - 2013 =
651
-
652
- * Added: Title to the color filters
653
- * Removed: Limit of 3 characters in the label text input
654
-
655
- = 1.1.1 - Released: Jul, 31 - 2014 =
656
-
657
- * Minor bugs fixes
658
-
659
- = 1.1.0 - Released: Jul, 19 - 2013 =
660
-
661
- * Added new widget YITH WooCommerce Ajax Reset Navigation
662
-
663
- = 1.0.0 - Released: Jun, 24 - 2013 =
664
-
665
- * Initial release
666
-
667
- == Translators ==
668
-
669
- = Available Languages =
670
- * English (Default)
671
- * Italiano
672
-
673
- If you have created your own language pack, or have an update for an existing one, you can send [gettext PO and MO file](http://codex.wordpress.org/Translating_WordPress "Translating WordPress")
674
- [use](http://yithemes.com/contact/ "Your Inspiration Themes") so we can bundle it into YITH WooCommerce Ajax Navigation Languages.
675
-
676
- == Documentation ==
677
-
678
- Full documentation is available [here](https://docs.yithemes.com/yith-woocommerce-ajax-product-filter/).
679
-
680
- == Upgrade notice ==
681
-
682
- = 2.4.0 =
683
-
684
- * Changing translation texdomain for new translate program: "translate.wordpress.org"
685
-
686
- = 2.2.0 =
687
-
688
- * WordPress 4.3 Support
689
-
690
- = 2.1.2 =
691
-
692
- * WooCommerce 2.4 Support
693
-
694
- = 2.1.1 =
695
-
696
- * Tweak: Support to PAAMAYIM NEKUDOTAYIM in PHP Version < 5.3
697
-
698
- = 2.0.0 =
699
-
700
- New plugin core added.
701
-
702
- = 1.0.0 =
703
-
704
- Initial release
 
 
 
 
 
 
1
+ === YITH WooCommerce Ajax Product Filter ===
2
+
3
+ Contributors: yithemes
4
+ Tags: woocommerce ajax product filter download, woocommerce, widget, ajax, ajax filtered nav, ajax navigation, ajax filtered navigation, woocommerce layered navigation, woocommerce layered nav, product filter, product filters, ajax product filter, woocommerce ajax product filter, woocommerce filters, sidebar filter, sidebar ajax filter, ajax price filter, price filter, product sorting, woocommerce filter, taxonomy filter, attribute filter, attributes filter, woocommerce product sort, ajax sort, woocommerce ajax product filter, advanced product filters, ajax product filters, filters, woocommerce ajax product filters, woocommerce product filters, woocommerce product filters, category filter, attribute filters, woocommerce products filter, woocommerce price filter, yit, yith, yithemes
5
+ Requires at least: 4.0
6
+ Tested up to: 5.4
7
+ Stable tag: 3.10.0
8
+ License: GPLv2 or later
9
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
+
11
+ YITH WooCommerce Ajax Product Filter offers you the perfect way to filter all products of your WooCommerce shop.
12
+
13
+ == Description ==
14
+
15
+ = Filter by the specific product you are looking for =
16
+
17
+ A powerful WooCommerce plugin: WooCommerce product filter widget, WooCommerce Ajax Product Filter lets you apply the filters you need to display the correct WooCommerce variations of the products you are looking for.
18
+ Choose among color, label, list and dropdown and your WooCommerce filtering search will display those specific products that suit perfectly your needs.
19
+ An extremely helpful WooCommerce plugin to help customers find what they really want.
20
+ All this can be done in a quick and very intuitive way that will certainly help your WooCommerce store improve in quality and usability.
21
+
22
+
23
+ Working demos for YITH WooCommerce Ajax Product Filter are available here:
24
+ **[LIVE DEMO](https://plugins.yithemes.com/yith-woocommerce-ajax-product-filter/)**
25
+
26
+ Full documentation for YITH WooCommerce Ajax Product Filter is available [here](https://docs.yithemes.com/yith-woocommerce-ajax-product-filter/).
27
+
28
+ **Main Features of YITH WooCommerce Ajax Product Filter:**
29
+
30
+ * Filter WooCommerce products with YITH WooCommerce Ajax Product Filter widget (4 layouts available)
31
+ * List
32
+ * Dropdown
33
+ * Color
34
+ * Label
35
+ * Reset all applied filters with YITH WooCommerce Ajax Reset Filter widget
36
+
37
+ = Premium features of YITH WooCommerce Ajax Product Filter: =
38
+
39
+ * Two additional layouts for the YITH WooCommerce Ajax Product Filter widget (BiColor, Tags), in addition to compatibility with the plugin YITH WooCommerce Brands
40
+ * Customizable reset button (in the YITH WooCommerce Ajax Reset Filter widget)
41
+ * WooCommerce Search filter for products of a specific price range available thanks to the YITH WooCommerce Ajax List Price Filter widget
42
+ * Search filter for products on sale/available
43
+ * Ajax sorting for products displayed in the page (by rate, price, popularity, most recent)
44
+ * Upload of an icon as customized loader
45
+ * Customization of the WooCommerce Price Filter widget
46
+
47
+
48
+ YITH WooCommerce Ajax Product Filter is available in combination with many other plugins in [**YITH Essential Kit for WooCommerce #1**](https://wordpress.org/plugins/yith-essential-kit-for-woocommerce-1/), a bundle of indispensable tools to make your WooCommerce site look more professional and be more user-friendly. Learn more about all of WooCommerce plugins included and boost your WooCommerce site with a simple click!
49
+
50
+
51
+ = Compatibility with WooCommerce plugins =
52
+
53
+ YITH WooCommerce Ajax Product Filter has been tested and compatibility is certain with the following WooCommerce plugins that you can add to your site:
54
+
55
+ * [YITH WooCommerce Multi Vendor](https://wordpress.org/plugins/yith-woocommerce-product-vendors/)
56
+ * [YITH WooCommerce Brands Add-On](https://wordpress.org/plugins/yith-woocommerce-brands-add-on/)
57
+ * [YITH Product Size Charts for WooCommerce](https://wordpress.org/plugins/yith-product-size-charts-for-woocommerce/)
58
+
59
+ Nevertheless, it could be compatible with many other WooCommerce plugins that have not been tested yet. If you want to inform us about compatibility with other plugins, please, [email to us](mailto:plugins@yithemes.com "Your Inspiration Themes").
60
+
61
+ == Installation ==
62
+
63
+ 1. Unzip the downloaded zip file.
64
+ 2. Upload the plugin folder into the `wp-content/plugins/` directory of your WordPress site.
65
+ 3. Activate `YITH WooCommerce Ajax Product Filter` from Plugins page.
66
+
67
+ == Frequently Asked Questions ==
68
+
69
+ = Why isn't the widget displayed in my sidebar? =
70
+ In order to display the widget, you need to assign it to the sidebar in the Shop page and you also need to add WooCommerce Product Attributes to your product. Read the "Getting Started" section of the documentation to learn how to add them.
71
+
72
+ = Translation issue with the version 2.0.0 =
73
+ Dear users,
74
+ we would like to inform you that the plugin YITH WooCommerce Ajax Navigation will change its name into YITH WooCommerce Ajax Product Filter from the next update.
75
+ In addition to the name, with the new release the plugin, textdomain will change too from "yit" to "yith_wc_ajxnav".
76
+ This change solves issues concerning textdomain conflicts generated by some translation/multilanguage plugins you have identified in the past weeks.
77
+ It may be possible that, with the plugin update, some language files will not be recognized by WordPress. In this case, you will just have to rename the language files with the correct format, changing the old textdomain with the new one.
78
+ For example, if your language files were named yit-en_GB.po and yit-en_GB.mo, you will just have to rename them respectively as yith_wc_ajxnav-en_GB.po and yith_wc_ajxnav-en_GB.mo.
79
+ After renaming the files, you can update/translate the .po file following the classic procedure for translations.
80
+
81
+ = What are the main changes in plugin translation? =
82
+ = Translation issue with the version 2.4.0 =
83
+ Recently YITH WooCommerce Ajax Product Filter has been selected to be included in the "translate.wordpress.org" translate programme. In order to import correctly the plugin strings in the new system, we had to change the text domain form 'yith_wc_ajxnav' to 'yith-woocommerce-ajax-navigation'. Once the plugin will be imported in the translate.wordpress.org system, the translations of other languages will be downloaded directly from WordPress, without using any .po and .mo files. Moreover, users will be able to participate in a more direct way to plugin translations, suggesting texts in their languages in the dedicated tab on translate.wordpress.org. During this transition step, .po and .mo files will be used as always, but in order to be recognized by WordPress, they will need to have a new nomenclature, renaming them in: yith-woocommerce-ajax-navigation-.po yith-woocommerce-ajax-navigation-.mo. For example, if your language files were named yit-en_GB.po and yit-en_GB.mo, you will just have to rename them respectively as yith-woocommerce-ajax-navigation-en_GB.po and yith-woocommerce-ajax-navigation-en_GB.mo.
84
+
85
+ = The widget with WooCommerce filters is not working =
86
+ = The page doesn't update after clicking on a WooCommerce filter =
87
+
88
+ The issue could be related to the fact you are using a non-standard template for a WooCommerce shop page. To solve it, you should ask to the theme's author to use WooCommerce standard HTML classes.
89
+ As an alternative:
90
+ **For version prior to 2.2.0:**
91
+
92
+ you can use this piece of code in functions.php file of your theme:
93
+
94
+ `
95
+ if( ! function_exists( 'yith_wcan_frontend_classes' ) ){
96
+ function yith_wcan_frontend_classes(){
97
+ return array(
98
+ 'container' => 'YOUR_SHOP_CONTAINER',
99
+ 'pagination' => 'YOUR_PAGINATION_CONTAINER',
100
+ 'result_count' => 'YOUR_RESULT_COUNT_CONTAINER'
101
+
102
+ );
103
+ }
104
+ }
105
+
106
+ add_filter( 'yith_wcan_ajax_frontend_classes', 'yith_wcan_frontend_classes' );
107
+ `
108
+
109
+ If you don't know which classes you should use, ask to the developer of your theme.
110
+
111
+ **From version 2.3.0 or later:**
112
+
113
+ You don't have to write manually the code anymore, as you can just go to YITH Plugin -> Ajax Product Filter -> Front End and set easily the parameters from the text fields.
114
+
115
+ If you don't know which classes you should use, ask to the developer of your theme.
116
+
117
+ = PAAMAYIM NEKUDOTAYIM Error after update 2.1.0 =
118
+
119
+ After the update 2.1.0, some users of YITH WooCommerce Ajax Product Filter are experiencing the error: "Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM". This is caused by the PHP version of your server that is older than the 5.3. To solve the issue, you just have to update the plugin to the version 2.1.1.
120
+
121
+ = Is it compatible with all WordPress themes? =
122
+
123
+ Compatibility with all themes is impossible, because they are too many, but generally if themes are developed according to WordPress and WooCommerce guidelines, YITH plugins are compatible with them.
124
+ Yet, we can grant compatibility with themes developed by YIThemes, because they are constantly updated and tested with our plugins. Sometimes, especially when new versions are released, it might only require some time for them to be all updated, but you can be sure that they will be tested and will be working in a few days.
125
+
126
+
127
+ = How can I get support if my WooCommerce plugin is not working? =
128
+
129
+ If you have problems with our WooCommerce plugins or something is not working as it should, first follow this preliminary steps:
130
+
131
+ * Test the plugin with a WordPress default theme, to be sure that the error is not caused by the theme you are currently using.
132
+ * Deactivate all plugins you are using and check if the problem is still occurring.
133
+ * Ensure that you plugin version, your theme version and your WordPress and WooCommerce version (if required) are updated and that the problem you are experiencing has not already been solved in a later plugin update.
134
+
135
+ If none of the previous listed actions helps you solve the problem, then, submit a ticket in the forum and describe your problem accurately, specify WordPress and WooCommerce versions you are using and any other information that might help us solve your problem as quickly as possible. Thanks!
136
+
137
+
138
+ = How can I get more features for my WooCommerce plugin? =
139
+
140
+ You can get more features with the premium version of YITH WooCommerce Ajax Product Filter, available on [YIThemes page]( https://yithemes.com/themes/plugins/yith-woocommerce-ajax-product-filter/). Here you can read more about the premium features of the plugin and make it give it its best shot!
141
+
142
+
143
+ = How can I try the full-featured plugin? =
144
+
145
+ If you want to see a demonstration version of the premium plugin, you can see it installed on two different WooCommerce sites, either in [this page]( http://plugins.yithemes.com/yith-woocommerce-ajax-product-filter/?preview) or in [this page](http://preview.yithemes.com/bazar/shop/). Browse it and try all options available so that you can see how your plugin looks like.
146
+
147
+ == Screenshots ==
148
+
149
+ 1. Admin - Appearance -> Widget: WooCommerce Filter Widget List Style
150
+ 2. Admin - Appearance -> Widget: WooCommerce Filter Widget Color Style
151
+ 3. Admin - Appearance -> Widget: WooCommerce Filter Widget Label Style
152
+ 4. Admin - Appearance -> Widget: WooCommerce Filter Widget Dropdown Style
153
+ 5. Admin - Appearance -> Widget: WooCommerce Filter Reset Button
154
+ 6. Frontend: WooCommerce Widget in sidebar
155
+ 7. Frontend: Dropdown style
156
+ 8. Frontend: Reset button and active filters
157
+ 9. Admin: YIT Plugins -> Ajax Product Filter -> Front end
158
+ 10. Admin: YIT Plugins -> Ajax Product Filter -> Custom Style
159
+
160
+ == Changelog ==
161
+
162
+ = 3.10.0 - Released on 30 April 2020 =
163
+
164
+ * New: Support for WooCommerce 4.1
165
+ * Update: plugin framework
166
+ * Dev: yith_wcan_color_get_objects_in_term to filter the get_product_in_terms function
167
+
168
+ = 3.9.0 - Released on 10 March 2020 =
169
+
170
+ * New: Support for WordPress 5.4
171
+ * New: Support for WooCommerce 4.0
172
+ * Update: plugin framework
173
+
174
+ = 3.8.4 - Released on 27 December 2019 =
175
+
176
+ * New: Support for WooCommerce 3.9
177
+ * Fix: Not updating filters when the customer apply a filter by price
178
+
179
+ = 3.8.3 - Released on 11 December 2019 =
180
+
181
+ * Fix: Filter not working on product tag page
182
+ * Update: plugin framework
183
+
184
+ = 3.8.2 - Released on 28 November 2019 =
185
+
186
+ * Update: plugin framework
187
+
188
+ = 3.8.1 - Released on 04 November 2019 =
189
+
190
+ * Update: plugin framework
191
+ * Fix: Undefined variable message on frontend
192
+
193
+ = 3.8.0 - Released on 30 October 2019 =
194
+
195
+ * New: Support for WordPress 5.3
196
+ * New: Support for WooCommerce 3.8
197
+ * Update: plugin framework
198
+ * Fix: Call get_query_object() on null
199
+ * Dev: New filter 'yith_wcan_skip_check_on_product_in_term'
200
+
201
+ = 3.7.1 - Released on 27th August, 2019 =
202
+
203
+ * Fix: curl_init() doesn't exist
204
+
205
+ = 3.7.0 - Released on 07th August, 2019 =
206
+
207
+ * New: Support for WooCommerce 3.7
208
+ * Fix: Style issues with Storefront theme
209
+
210
+ = 3.6.6 - Released on 12nd June, 2019 =
211
+
212
+ * Fix: Bug on plugin options
213
+
214
+ = 3.6.5 - Released on 12nd June, 2019 =
215
+
216
+ * Update: Plugin Core Framework
217
+
218
+ = 3.6.4 - Released on 06th June, 2019 =
219
+
220
+ * Tweak: WooCommerce 3.6 optimization
221
+ * Update: Plugin Core Framework
222
+ * Update: Languages file
223
+ * Fix: Unable to reset filter in subcategory page
224
+ * Fix: undefined variable term_id in attributes table
225
+
226
+ = 3.6.3 - Released on 23rd April, 2019 =
227
+
228
+ * Update: Plugin Core Framework
229
+
230
+ = 3.6.2 - Released on 08th April, 2019 =
231
+
232
+ * New: Support to WooCommerce 3.6
233
+ * Tweak: New Widgets name
234
+ * Update: Plugin Core Framework
235
+ * Fix: Undefined variable term_id in attributes table
236
+ * Fix: Wrong reset page with WooCommerce Filter by price widget
237
+ * Fix: Support to Aurum theme - Filter issue using AND operator
238
+ * Fix: Undefined index: source_tax in YITH Reset Filter widget
239
+ * Fix: Issue with reset filter in product categories page
240
+ * Fix: Reset button doesn't works if a variable use a slash char in query string
241
+ * Dev: new parameter for filter 'yith_wcan_dropdown_label'
242
+
243
+ = 3.6.1 - Released on 11th October, 2018 =
244
+
245
+ * Update: Plugin Core Framework
246
+
247
+ = 3.6.0 - Released on 11th October, 2018 =
248
+
249
+ * New: Support for WooCommerce 3.5
250
+ * New: Support for Aardvark theme
251
+ * New: Support for Aurum theme
252
+ * New: Support for UX Shop theme
253
+ * New: Support for YooTheme theme
254
+ * Fix: Wrong results with search query string
255
+ * Fix: Double chosen icon with themes that override layered navigation style
256
+ * Tweak: Widget reinit after ajax call
257
+ * Tweak: Flatsome optimization
258
+ * Tweak: Prevent untrailingslashit on filter url for SEO optimization
259
+ * Update: Spanish language
260
+ * Update: Italian Language
261
+ * Dev: yith_wcan_skip_no_products_label hook
262
+
263
+ = 3.5.1 - Released on 14th March, 2018 =
264
+
265
+ * Tweak: Removed old YITH_WCAN_Helper class
266
+ * Updated: Plugin core framework
267
+ * Fix: Unable to reset filters in product categories page
268
+ * Fix: PHP Notice: Undefined index: display
269
+ * Fix: $count not defined in loop
270
+
271
+ = 3.5.0 - Released: 01 Feb, 2018 =
272
+
273
+ * New: 100% German translation (Thanks to Thomas)
274
+ * New: Support for WooCommerce 3.3.0
275
+ * Fix: Undefined index "dropdown-type" in shop page
276
+ * Fix: Reset filter doesn't works if the user filter by categories and use only one filter
277
+ * Fix: Show only parent term with attrbute filter doesn't works
278
+ * Fix: $count doesn't exists with OR query type set
279
+ * Dev: yith_wcan_can_be_displayed hook
280
+ * Dev: yith_wcan_list_type_empty_filter_class hook
281
+
282
+ = 3.4.6 - Released: 12 Oct, 2017 =
283
+
284
+ * Fix: 500 internal server error if use with YITH WooCommerce Ajax Search plugin
285
+
286
+ = 3.4.5 - Released: 10 Oct, 2017 =
287
+
288
+ * New: Support to WooCommerce 3.2
289
+ * New: Label type of YITH WooCommerce Color and Label Premium integration
290
+
291
+ = 3.4.4 = Released: 26 Sep, 2017 =
292
+
293
+ * Fix: Support for $wpdb->prepare() with WordPress 4.8.2
294
+
295
+ = 3.4.3 - Released: 04 Jul, 2017 =
296
+
297
+ * Fix: No filtered results with Page Builder by SiteOrigin
298
+ * Fix: Warning with salient theme
299
+ * Fix: Reset filter use term_taxonomy_id instead of term_id
300
+
301
+ = 3.4.2 - Released: 05 Jun, 2017 =
302
+
303
+ * New: Support to Basel theme
304
+ * Fix: Unable to filter in vendor page
305
+
306
+ = 3.4.1 Released: 18 May, 2017 =
307
+
308
+ * Fix: Issue with reset button in product_cat page
309
+
310
+ = 3.4.0 - Released: 08 May, 2017 =
311
+
312
+ * New: Sorting option for free version
313
+ * Fix: Issue with current filter in product tag page
314
+ * Fix: Unable to filter with qTranslateX and Socute theme
315
+ * Fix: Unable to filter with qTranslateX and YITH theme FW 1.0
316
+ * Fix: Issue with reset button in product_tag page
317
+
318
+
319
+ = 3.3.2 - Released: 19 April, 2017 =
320
+
321
+ * New: Support for Salient theme
322
+ * New: Support for WooCommerce Grid/List view
323
+ * Tweak: Create dropdown style dynamically
324
+ * Fix: Filter by label and filter by dropdown lost current filter
325
+ * Fix: Reset button doesn't works fine on product category page
326
+ * Fix: Support to visibility taxonomy in WooCommerce 3.0.x
327
+
328
+ = 3.3.1 - Released: 20 MArch, 2017 =
329
+
330
+ * Fix: Filter by color lost current filter
331
+
332
+ = 3.3.0 - Released: 24 February, 2017 =
333
+
334
+ * New: Support to WooCoomerce 2.7-beta3
335
+ * Fix: missing argument 2 in yith_wcan_exclude_terms and yith_wcan_include_terms hook
336
+
337
+ = 3.2.0 - Released: 20 February, 2017 =
338
+
339
+ * Add: Back/Next browser button integration
340
+ * Tweak: Filter uri management
341
+ * Tweak: Add filter to force widget dropdown reinit
342
+ * Tweak: YITH Brands integration
343
+ * Fix: Unable to hide product count for attributes
344
+ * Fix: Lost brands on 2nd filter step
345
+ * Fix: Current filter disappears in label, dropdown and color style
346
+ * Fix: Filter by attribute (all styles) lost current category in product category page
347
+ * Fix: Missing queried object in filter type list
348
+ * Fix: Conflict in search page
349
+ * Dev: yith_wcan_unfiltered_product_ids hook
350
+
351
+
352
+ = 3.1.2 - Released: 17 January, 2017 =
353
+
354
+ * Tweak: Support for YITH WooCommerce Brands add-on FREE
355
+ * Fix: Product image disappears after filter with lazy load option enabled
356
+ * Fix: Empty li tag with query type OR in categories filter
357
+ * Fix: Reset widget doesn't works with categories
358
+ * Fix: Order by doesn't works with filter type list, label and dropdown
359
+ * Dev: yith_wcan_brands_enabled hook
360
+
361
+ = 3.1.1 - Released: 28 December, 2016 =
362
+
363
+ * Added: yit_get_terms_args hook
364
+ * Added: yith_wcan_skip_no_products_color hook
365
+ * Added: yith_wcan_show_no_products_attributes hook
366
+ * Added: yith_wcan_after_reset_widget hook
367
+ * Added: yith_wcan_before_reset_widget hook
368
+ * Removed: yith_wcan_hide_no_products_attributes hook
369
+
370
+ = 3.1.0 - Released: 05 December, 2016 =
371
+
372
+ * Added: Support to WordPress 4.7
373
+
374
+ = 3.0.12 - Released: 23 November, 2016 =
375
+
376
+ * Fixed: Url management with query type set to OR
377
+ * Fixed: Close dropdown widget before open another dropdown
378
+ * Fixed: Layout issue with color style
379
+
380
+ = 3.0.11 - Released: 05 October, 2016=
381
+
382
+ * Tweak: Removed deprecated taxonomy count WooCommerce transient
383
+ * Fixed: Wrong reset url if filter start from product category page
384
+
385
+ = 3.0.10 - Released: 29 September, 2016 =
386
+
387
+ * Fixed: Warning: in_array() expects at least 2 parameters, 1 given with query type set to OR
388
+ * Fixed: Widget dropdown doesn't works on Flatsome Theme
389
+
390
+ = 3.0.9 - Released: 31 Aug, 2016 =
391
+
392
+ * Added: Support to Ultimate Member plugin
393
+ * Fixed: Error on activation "the plugin required WooCommerce in order to works"
394
+ * Fixed: Get term issue with old WordPress version
395
+
396
+ = 3.0.8 - Released: Aug 11, 2016 =
397
+
398
+ * Added: Support to WordPress 4.6RC2
399
+ * Tweak: Removed deprecated arg to get_terms function
400
+ * Fixed: Empty filter doesn't hide after ajax call
401
+ * Fixed: Max execution time issue and 500 internal server error issue
402
+
403
+ = 3.0.7 - Released: Jul 29, 2016 =
404
+
405
+ * Added: yith_wcan_get_list_html_terms hook
406
+ * Fixed: Filter doesn't work with WooCommerce 2.6.x
407
+
408
+ = 3.0.6 - Released: Jul 21, 2016 =
409
+
410
+ * Fixed: Reset button doesn't show after click on a filter
411
+
412
+ = 3.0.5 - Released: Jul 20, 2016 =
413
+
414
+ * Fixed: style="displya:none"> text appears if the filters are empty
415
+ * Fixed: Argument #1 is not an array in frontend class
416
+ * Fixed: WP_Post object cannot convert to string in frontend class
417
+ * Fixed: Problem with cirillic charachter
418
+ * Fixed: Wrong count in filter widgets
419
+
420
+ = 3.0.4 - Released: Jul 8, 2016 =
421
+
422
+ * Fixed: Filters show all attributes in shop and product taxonomy pages
423
+
424
+ = 3.0.3 - Released: Jul 6, 2016 =
425
+
426
+ * Fixed: Wrong query object in layered nav query with WooCommerce 2.6.2
427
+
428
+ = 3.0.2 - Released: Jul 4, 2016 =
429
+
430
+ * Fixed: Filters disappears in sort count select on Avada theme
431
+ * Fixed: Filter by attributes doesn't works with WooCommerce 2.5
432
+ * Fixed: rtrim waring in untrailingslashit
433
+ * Fixed: Wrong filter on category page with WooCommerce 2.6.2
434
+
435
+ = 3.0.1 - Released: Jun 14, 2016 =
436
+
437
+ * Fixed: print empty li tag after update to version 3.0.0
438
+
439
+ = 3.0.0 - Released: Jun 13, 2016 =
440
+
441
+ * Added: Support to WooCommece 2.6
442
+ * Tweak: Layered navigation management
443
+ * Tweak: English Typo
444
+
445
+ = 2.9.2 - Released: May 16, 2016 =
446
+
447
+ * Fixed: Wrong reset button link in product category page
448
+
449
+ = 2.9.1 - Released: May 04, 2016 =
450
+
451
+ * Fixed: $class variable are not defined
452
+ * Fixed: Filter by list-attribute doesn't works in versio 2.9.0
453
+
454
+ = 2.9.0 - Released: May 02, 2016 =
455
+
456
+ * Fixed: Filtering issue with YITH WooCommerce Brands Add-on Premium
457
+ * Fixed: HTML5 Validation (attribute name not allowed in ul element)
458
+ * Fixed: z-index not set to -1 when user close dropdown filters with click in page area
459
+
460
+
461
+ = 2.8.1 - Released: Mar 10, 2016 =
462
+
463
+ * Fixed: Dropdown issue with Remy Theme
464
+ * Fixed: $.fn.slider is not a function after click on reset filter
465
+ * Fixed: Reset filter in product category page doesn't works
466
+ * Fixed: Plugin panel option style issue
467
+
468
+ = 2.8.0 - Released: Mar 1 - 2016 =
469
+
470
+ * Tweak: Plugin Core Framework
471
+ * Tweak: Term and Filter management
472
+
473
+ = 2.7.8 - Released: Feb 25 - 2016 =
474
+
475
+ * Fixed: Issue with filter in category and taxonomy pages
476
+
477
+ = 2.7.7 - Released: Feb 19 - 2016 =
478
+
479
+ * Added: Trigger window scroll event after ajax call
480
+ * Fixed: The page scroll down after filter has been applied in mobile
481
+ * Fixed: Duplicated query in Filter by categories
482
+ * Fixed: generated 404 link with in stock/on sale filter
483
+ * Fixed: YITH WooCommerce Product Slider Carousel doesn't work after a filter was applied
484
+ * Fixed: Widget doesn't work with multiple hierarchical terms
485
+
486
+ = 2.7.6 - Released: Feb 05 - 2016 =
487
+
488
+ * Added: Suppoort to quantity input in loop
489
+ * Added: yith-wcan-free body class
490
+ * Fixed: Filter button doesn't appear in WooCommerce Price Filter Slider
491
+
492
+ = 2.7.5 - Released: Jan 27 - 2016 =
493
+
494
+ * Fixed: Error on plugin activation
495
+
496
+ = 2.7.4 - Released: Jan 27 - 2016 =
497
+
498
+ * Added: New event yith-wcan-wrapped was triggered after container wrap
499
+ * Added: Support to WooCommerce 2.5
500
+ * Fixed: Stop activation free version if premium is enabled
501
+
502
+ = 2.7.3 - Released: Jan 12 - 2016 =
503
+
504
+ * Updated: Plugin core framework
505
+
506
+ = 2.7.2 - Released: Jan 07 - 2015 =
507
+
508
+ * Added: Support to WooCommerce 2.5-RC1
509
+ * Fixed: Reset Filter in category page
510
+ * Fixed: Filter doesn't work correctly in sub-categories
511
+
512
+ = 2.7.1 - Released: Dec 23 - 2015 =
513
+
514
+ * Fixed: The plugin shows empty filters in product category page
515
+ * Fixed: Reset filter doesn't works in product category page
516
+ * Fixed: WooCommerce price slider doesn't set to default value after filter reset
517
+
518
+ = 2.7.0 - Released: Dec 10 - 2015 =
519
+
520
+ * Fixed: Click on row to filter in dropdown style
521
+ * Removed: var_dump() in product filter widget
522
+
523
+ = 2.6.0 - Released: Nov 02 - 2015 =
524
+
525
+ * Added: yith_wcan_show_widget hook to manage the widgets display condition
526
+ * Added: yith_wcan_is_search hook to disable the widgets in search page
527
+ * Fixed: Disable widgets in search page
528
+
529
+ = 2.5.0 - Released: Oct 21 - 2015 =
530
+
531
+ * Added: yith_wcan_untrailingslashit hook for disable untrailingslashit function in filter link
532
+ * Tweak: Performance improved with new plugin core 2.0
533
+ * Tweak: Plugin don't apply filter in category page
534
+ * Fixed: Issuet with YITH Infinite Scrolling plugin
535
+ * Fixed: Filter widget don't show in product attribute page
536
+ * Fixed: Issue with WPML and Visual Composer plugins in admin
537
+
538
+ = 2.4.0 - Released: Sept, 25 - 2015 =
539
+
540
+ * Tweak: New wordpress translation text domain added
541
+ * Added: Language files called yith-woocommerce-ajax-navigation
542
+ * Removed: All language files called yith_wc_ajxnav
543
+
544
+ = 2.3.1 - Released: Sept, 17 - 2015 =
545
+
546
+ * Added: Support to YITH Infinite Scrolling plugin
547
+ * Fixed: No pagination container issue after filter applied
548
+ * Fixed: js error yit_wcan not defined
549
+ * Fixed: issue with blank label
550
+
551
+ = 2.3.0 - Released: Sept, 11 - 2015 =
552
+
553
+ * Added: Custom Style Section
554
+ * Added: New frontend options for script configuration
555
+ * Updated: Plugin Core Framework
556
+ * Updated: Languages file
557
+
558
+ = 2.2.0 - Released: Aug, 25 - 2015 =
559
+
560
+ * Added: Support to WordPress 4.3
561
+ * Updated: Language files
562
+ * Fixed: Color lost after change widget style with WordPress 4.3
563
+ * Fixed: Warning when switch from color to label style
564
+
565
+ = 2.1.2 - Released: Aug, 11 - 2015 =
566
+
567
+ * Added: Support to WooCommerce 2.4
568
+ * Updated: Plugin Framework
569
+ * Fixed: Tag list and child term support
570
+
571
+ = 2.1.1 - Released: July, 30 - 2015 =
572
+
573
+ * Tweak: Support to PAAMAYIM NEKUDOTAYIM in PHP Version < 5.3
574
+
575
+ = 2.1.0 - Released: July, 29 - 2015 =
576
+
577
+ * Added: Frontend classes option panel
578
+ * Added: yith_wcan_ajax_frontend_classes filter
579
+ * Added: plugin works in product category page
580
+ * Added: WPML and String translation support
581
+ * Updated: language pot file
582
+ * Updated: Italian translation
583
+ * Tweak: Shop uri management
584
+ * Fixed: wrong filter link in product category page
585
+ * Fixed: Widget doesn't work fine in Shop Category Page
586
+ * Fixed: Remove trailing slash in widget shop uri
587
+ * Fixed: Prevent double instance in singleton class
588
+ * Fixed: The widget doesn't work with WPML with Label and Color style
589
+
590
+ = 2.0.4 - Released: July, 13 - 2015 =
591
+
592
+ * Added: Filter 'yith_wcan_product_taxonomy_type' to widget product tax type
593
+ * Tweak: YITH WooCommerce Brands Add-on support in taxonomy page
594
+
595
+ = 2.0.3 - Released: July, 03 - 2015 =
596
+
597
+ * Added: Support to Sortable attribute
598
+ * Fixed: Color lost after change widget style
599
+
600
+ = 2.0.2 - Released: Jun, 25 - 2015 =
601
+
602
+ * Fixed: Empty filters appear after update to 2.0.0
603
+
604
+ = 2.0.1 - Released: Jun, 24 - 2015 =
605
+
606
+ * Fixed: Unable to active plugin
607
+
608
+ = 2.0.0 - Released: Jun, 24 - 2015 =
609
+
610
+ * Tweak: Plugin core framework
611
+ * Updated: Languages file
612
+ * Fixed: Prevent warning issue with no set color/label
613
+ * Fixed: Textdomain conflict
614
+ * Fixed: Filter doesn't work if shop page is on front
615
+ * Removed: old default.po catalog language file
616
+
617
+ = 1.4.1 - Released: Oct, 08 - 2014 =
618
+
619
+ * Fixed: Wrong attribute show with WooCommerce 2.2
620
+
621
+ = 1.4.0 - Released: Set, 16 - 2014 =
622
+
623
+ * Added: Support to WC 2.2
624
+ * Updated: Plugin Core Framework
625
+ * Fixed: Widget error on empty title
626
+ * Fixed: Ajax load on widget type switching
627
+
628
+ = 1.3.2 - Released: Jun, 05 - 2014 =
629
+
630
+ * Fixed: Wrong enqueue of the main css file
631
+ * Added: Filter yith_wcan_exclude_terms
632
+
633
+ = 1.3.1 - Released: Mar, 03 - 2014 =
634
+
635
+ * Added: Attribute order (All, Hieralchical or Only Parent style)
636
+ * Fixed: Dropdown Style on Firefox
637
+ * Fixed: Blank box on attribute without label (Label Style)
638
+ * Fixed: Blank box on attribute without color (Color Stle)
639
+
640
+ = 1.3.0 - Released: Feb, 12 - 2014 =
641
+
642
+ * Added: Support to WooCommerce 2.1.X
643
+ * Fixed: One filter bug on sidebar
644
+
645
+ = 1.2.1 - Released: Jan, 29 - 2014 =
646
+
647
+ * Fixed: Width of select dropdown too large
648
+
649
+ = 1.2.0 - Released: Jan, 10 - 2014 =
650
+
651
+ * Added: Dropdown style
652
+ * Added: Support to Wordpress 3.8
653
+ * Fixed: Error with non-latin languages
654
+ * Fixed: Improved WPML compatibility
655
+
656
+ = 1.1.2 - Released: Oct, 14 - 2013 =
657
+
658
+ * Added: Title to the color filters
659
+ * Removed: Limit of 3 characters in the label text input
660
+
661
+ = 1.1.1 - Released: Jul, 31 - 2014 =
662
+
663
+ * Minor bugs fixes
664
+
665
+ = 1.1.0 - Released: Jul, 19 - 2013 =
666
+
667
+ * Added new widget YITH WooCommerce Ajax Reset Navigation
668
+
669
+ = 1.0.0 - Released: Jun, 24 - 2013 =
670
+
671
+ * Initial release
672
+
673
+ == Translators ==
674
+
675
+ = Available Languages =
676
+ * English (Default)
677
+ * Italiano
678
+
679
+ If you have created your own language pack, or have an update for an existing one, you can send [gettext PO and MO file](http://codex.wordpress.org/Translating_WordPress "Translating WordPress")
680
+ [use](http://yithemes.com/contact/ "Your Inspiration Themes") so we can bundle it into YITH WooCommerce Ajax Navigation Languages.
681
+
682
+ == Documentation ==
683
+
684
+ Full documentation is available [here](https://docs.yithemes.com/yith-woocommerce-ajax-product-filter/).
685
+
686
+ == Upgrade notice ==
687
+
688
+ = 2.4.0 =
689
+
690
+ * Changing translation texdomain for new translate program: "translate.wordpress.org"
691
+
692
+ = 2.2.0 =
693
+
694
+ * WordPress 4.3 Support
695
+
696
+ = 2.1.2 =
697
+
698
+ * WooCommerce 2.4 Support
699
+
700
+ = 2.1.1 =
701
+
702
+ * Tweak: Support to PAAMAYIM NEKUDOTAYIM in PHP Version < 5.3
703
+
704
+ = 2.0.0 =
705
+
706
+ New plugin core added.
707
+
708
+ = 1.0.0 =
709
+
710
+ Initial release
includes/class.yith-wcan-frontend.php CHANGED
@@ -120,7 +120,9 @@ if ( ! class_exists( 'YITH_WCAN_Frontend' ) ) {
120
 
121
  else{
122
 
123
- if( is_shop() || is_product_taxonomy() || ! apply_filters( 'yith_wcan_is_search', is_search() ) ){
 
 
124
  $filtered_posts = array();
125
  $queried_post_ids = array();
126
 
120
 
121
  else{
122
 
123
+ $queried_object = get_queried_object();
124
+
125
+ if( ! empty( $queried_object ) && ( is_shop() || is_product_taxonomy() || ! apply_filters( 'yith_wcan_is_search', is_search() ) ) ){
126
  $filtered_posts = array();
127
  $queried_post_ids = array();
128
 
includes/functions.yith-wcan.php CHANGED
@@ -294,10 +294,10 @@ if ( ! function_exists( 'yit_get_terms' ) ) {
294
  $args = array(
295
  'taxonomy' => $taxonomy,
296
  'hide_empty' => true,
297
- 'exclude' => $exclude
298
  );
299
 
300
- $args = apply_filters( 'yit_get_terms_args', $args );
301
 
302
  switch ( $case ) {
303
 
@@ -792,7 +792,7 @@ if( ! function_exists( 'yith_wcan_wp_get_terms' ) ) {
792
  /**
793
  * get_terms function support for old WordPress Version
794
  *
795
- * @param string $args
796
  *
797
  * @return bool
798
  */
294
  $args = array(
295
  'taxonomy' => $taxonomy,
296
  'hide_empty' => true,
297
+ 'exclude' => $exclude
298
  );
299
 
300
+ $args = apply_filters( 'yit_get_terms_args', $args, $instance );
301
 
302
  switch ( $case ) {
303
 
792
  /**
793
  * get_terms function support for old WordPress Version
794
  *
795
+ * @param array $args
796
  *
797
  * @return bool
798
  */
init.php CHANGED
@@ -1,128 +1,128 @@
1
- <?php
2
- /**
3
- * Plugin Name: YITH WooCommerce Ajax Product Filter
4
- * Plugin URI: https://wordpress.org/plugins/yith-woocommerce-ajax-navigation/
5
- * Description:<code><strong>YITH WooCommerce AJAX Product Filter</strong></code> allows your users to find the product they are looking for as quickly as possible. Thanks to the plugin you will be able to set up one or more search filters for your WooCommerce products, improve the user experience and give the impression of being in a big and reliable store. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>
6
- * Version: 3.9.0
7
- * Author: YITH
8
- * Author URI: https://yithemes.com/
9
- * Text Domain: yith-woocommerce-ajax-navigation
10
- * Domain Path: /languages/
11
- *
12
- * WC requires at least: 3.7
13
- * WC tested up to: 4.0
14
- *
15
- * @author Your Inspiration Themes
16
- * @package YITH WooCommerce Ajax Navigation
17
- * @version 1.3.2
18
- */
19
- /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
20
-
21
- This program is free software; you can redistribute it and/or modify
22
- it under the terms of the GNU General Public License, version 2, as
23
- published by the Free Software Foundation.
24
-
25
- This program is distributed in the hope that it will be useful,
26
- but WITHOUT ANY WARRANTY; without even the implied warranty of
27
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28
- GNU General Public License for more details.
29
-
30
- You should have received a copy of the GNU General Public License
31
- along with this program; if not, write to the Free Software
32
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
33
- */
34
- if ( ! defined( 'ABSPATH' ) ) {
35
- exit;
36
- } // Exit if accessed directly
37
-
38
- if( ! function_exists( 'install_premium_woocommerce_admin_notice' ) ) {
39
- /**
40
- * Print an admin notice if woocommerce is deactivated
41
- *
42
- * @author Andrea Grillo <andrea.grillo@yithemes.com>
43
- * @since 1.0
44
- * @return void
45
- * @use admin_notices hooks
46
- */
47
- function install_premium_woocommerce_admin_notice() { ?>
48
- <div class="error">
49
- <p><?php _e( 'YITH WooCommerce Ajax Product Filter is enabled but not effective. It requires WooCommerce in order to work.', 'yith-woocommerce-ajax-navigation' ); ?></p>
50
- </div>
51
- <?php
52
- }
53
- }
54
- if( ! function_exists( 'yith_deactive_free_wcan_version' ) ) {
55
- function yith_deactive_free_wcan_version() {
56
- ?>
57
- <div class="error">
58
- <p><?php _e( 'You can\'t activate the free version of YITH WooCommerce Ajax Product Filter while you are using the premium one.', 'yith-wocc' ); ?></p>
59
- </div>
60
- <?php
61
- }
62
- }
63
-
64
- load_plugin_textdomain( 'yith-woocommerce-ajax-navigation', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
65
-
66
-
67
- ! defined( 'YITH_WCAN' ) && define( 'YITH_WCAN', true );
68
- ! defined( 'YITH_WCAN_URL' ) && define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
69
- ! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
70
- ! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '3.9.0' );
71
- ! defined( 'YITH_WCAN_FREE_INIT') && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
72
- ! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
73
-
74
- /* Plugin Framework Version Check */
75
- if( ! function_exists( 'yit_maybe_plugin_fw_loader' ) && file_exists( YITH_WCAN_DIR . 'plugin-fw/init.php' ) ) {
76
- require_once( YITH_WCAN_DIR . 'plugin-fw/init.php' );
77
- }
78
- yit_maybe_plugin_fw_loader( YITH_WCAN_DIR );
79
-
80
- /**
81
- * Init default plugin settings
82
- */
83
- if ( ! function_exists( 'yith_plugin_registration_hook' ) ) {
84
- require_once 'plugin-fw/yit-plugin-registration-hook.php';
85
- }
86
-
87
- if ( ! function_exists( 'YITH_WCAN' ) ) {
88
- /**
89
- * Unique access to instance of YITH_Vendors class
90
- *
91
- * @return YITH_Vendors|YITH_Vendors_Premium
92
- * @since 1.0.0
93
- */
94
- function YITH_WCAN() {
95
- // Load required classes and functions
96
- require_once( YITH_WCAN_DIR . 'includes/class.yith-wcan.php' );
97
-
98
- if ( defined( 'YITH_WCAN_PREMIUM' ) && file_exists( YITH_WCAN_DIR . 'includes/class.yith-wcan-premium.php' ) ) {
99
- require_once( YITH_WCAN_DIR . 'includes/class.yith-wcan-premium.php' );
100
- return YITH_WCAN_Premium::instance();
101
- }
102
- return YITH_WCAN::instance();
103
- }
104
- }
105
-
106
- if( ! function_exists( 'yith_wcan_free_install' ) ){
107
- function yith_wcan_free_install() {
108
-
109
- if ( ! function_exists( 'WC' ) ) {
110
- add_action( 'admin_notices', 'install_premium_woocommerce_admin_notice' );
111
- }
112
- elseif ( defined( 'YITH_WCAN_PREMIUM' ) ) {
113
- add_action( 'admin_notices', 'yith_deactive_free_wcan_version' );
114
- deactivate_plugins( plugin_basename( __FILE__ ) );
115
- }
116
- else {
117
- /**
118
- * Instance main plugin class
119
- */
120
- global $yith_wcan;
121
- $yith_wcan = YITH_WCAN();
122
- }
123
- }
124
- }
125
-
126
- add_action( 'plugins_loaded', 'yith_wcan_free_install', 11 );
127
-
128
- register_activation_hook( YITH_WCAN_FILE, 'yith_plugin_registration_hook' );
1
+ <?php
2
+ /**
3
+ * Plugin Name: YITH WooCommerce Ajax Product Filter
4
+ * Plugin URI: https://wordpress.org/plugins/yith-woocommerce-ajax-navigation/
5
+ * Description:<code><strong>YITH WooCommerce AJAX Product Filter</strong></code> allows your users to find the product they are looking for as quickly as possible. Thanks to the plugin you will be able to set up one or more search filters for your WooCommerce products, improve the user experience and give the impression of being in a big and reliable store. <a href="https://yithemes.com/" target="_blank">Get more plugins for your e-commerce shop on <strong>YITH</strong></a>
6
+ * Version: 3.10.0
7
+ * Author: YITH
8
+ * Author URI: https://yithemes.com/
9
+ * Text Domain: yith-woocommerce-ajax-navigation
10
+ * Domain Path: /languages/
11
+ *
12
+ * WC requires at least: 3.8
13
+ * WC tested up to: 4.1
14
+ *
15
+ * @author Your Inspiration Themes
16
+ * @package YITH WooCommerce Ajax Navigation
17
+ * @version 1.3.2
18
+ */
19
+ /* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
20
+
21
+ This program is free software; you can redistribute it and/or modify
22
+ it under the terms of the GNU General Public License, version 2, as
23
+ published by the Free Software Foundation.
24
+
25
+ This program is distributed in the hope that it will be useful,
26
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
27
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28
+ GNU General Public License for more details.
29
+
30
+ You should have received a copy of the GNU General Public License
31
+ along with this program; if not, write to the Free Software
32
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
33
+ */
34
+ if ( ! defined( 'ABSPATH' ) ) {
35
+ exit;
36
+ } // Exit if accessed directly
37
+
38
+ if( ! function_exists( 'install_premium_woocommerce_admin_notice' ) ) {
39
+ /**
40
+ * Print an admin notice if woocommerce is deactivated
41
+ *
42
+ * @author Andrea Grillo <andrea.grillo@yithemes.com>
43
+ * @since 1.0
44
+ * @return void
45
+ * @use admin_notices hooks
46
+ */
47
+ function install_premium_woocommerce_admin_notice() { ?>
48
+ <div class="error">
49
+ <p><?php _e( 'YITH WooCommerce Ajax Product Filter is enabled but not effective. It requires WooCommerce in order to work.', 'yith-woocommerce-ajax-navigation' ); ?></p>
50
+ </div>
51
+ <?php
52
+ }
53
+ }
54
+ if( ! function_exists( 'yith_deactive_free_wcan_version' ) ) {
55
+ function yith_deactive_free_wcan_version() {
56
+ ?>
57
+ <div class="error">
58
+ <p><?php _e( 'You can\'t activate the free version of YITH WooCommerce Ajax Product Filter while you are using the premium one.', 'yith-wocc' ); ?></p>
59
+ </div>
60
+ <?php
61
+ }
62
+ }
63
+
64
+ load_plugin_textdomain( 'yith-woocommerce-ajax-navigation', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
65
+
66
+
67
+ ! defined( 'YITH_WCAN' ) && define( 'YITH_WCAN', true );
68
+ ! defined( 'YITH_WCAN_URL' ) && define( 'YITH_WCAN_URL', plugin_dir_url( __FILE__ ) );
69
+ ! defined( 'YITH_WCAN_DIR' ) && define( 'YITH_WCAN_DIR', plugin_dir_path( __FILE__ ) );
70
+ ! defined( 'YITH_WCAN_VERSION' ) && define( 'YITH_WCAN_VERSION', '3.10.0' );
71
+ ! defined( 'YITH_WCAN_FREE_INIT') && define( 'YITH_WCAN_FREE_INIT', plugin_basename( __FILE__ ) );
72
+ ! defined( 'YITH_WCAN_FILE' ) && define( 'YITH_WCAN_FILE', __FILE__ );
73
+
74
+ /* Plugin Framework Version Check */
75
+ if( ! function_exists( 'yit_maybe_plugin_fw_loader' ) && file_exists( YITH_WCAN_DIR . 'plugin-fw/init.php' ) ) {
76
+ require_once( YITH_WCAN_DIR . 'plugin-fw/init.php' );
77
+ }
78
+ yit_maybe_plugin_fw_loader( YITH_WCAN_DIR );
79
+
80
+ /**
81
+ * Init default plugin settings
82
+ */
83
+ if ( ! function_exists( 'yith_plugin_registration_hook' ) ) {
84
+ require_once 'plugin-fw/yit-plugin-registration-hook.php';
85
+ }
86
+
87
+ if ( ! function_exists( 'YITH_WCAN' ) ) {
88
+ /**
89
+ * Unique access to instance of YITH_Vendors class
90
+ *
91
+ * @return YITH_Vendors|YITH_Vendors_Premium
92
+ * @since 1.0.0
93
+ */
94
+ function YITH_WCAN() {
95
+ // Load required classes and functions
96
+ require_once( YITH_WCAN_DIR . 'includes/class.yith-wcan.php' );
97
+
98
+ if ( defined( 'YITH_WCAN_PREMIUM' ) && file_exists( YITH_WCAN_DIR . 'includes/class.yith-wcan-premium.php' ) ) {
99
+ require_once( YITH_WCAN_DIR . 'includes/class.yith-wcan-premium.php' );
100
+ return YITH_WCAN_Premium::instance();
101
+ }
102
+ return YITH_WCAN::instance();
103
+ }
104
+ }
105
+
106
+ if( ! function_exists( 'yith_wcan_free_install' ) ){
107
+ function yith_wcan_free_install() {
108
+
109
+ if ( ! function_exists( 'WC' ) ) {
110
+ add_action( 'admin_notices', 'install_premium_woocommerce_admin_notice' );
111
+ }
112
+ elseif ( defined( 'YITH_WCAN_PREMIUM' ) ) {
113
+ add_action( 'admin_notices', 'yith_deactive_free_wcan_version' );
114
+ deactivate_plugins( plugin_basename( __FILE__ ) );
115
+ }
116
+ else {
117
+ /**
118
+ * Instance main plugin class
119
+ */
120
+ global $yith_wcan;
121
+ $yith_wcan = YITH_WCAN();
122
+ }
123
+ }
124
+ }
125
+
126
+ add_action( 'plugins_loaded', 'yith_wcan_free_install', 11 );
127
+
128
+ register_activation_hook( YITH_WCAN_FILE, 'yith_plugin_registration_hook' );
languages/yith-woocommerce-ajax-navigation-de_DE.mo CHANGED
Binary file
languages/yith-woocommerce-ajax-navigation-de_DE.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/init\n"
5
- "POT-Creation-Date: 2019-04-06 13:19:15+00:00\n"
6
  "PO-Revision-Date: 2019-06-06 10:17+0200\n"
7
  "Last-Translator: Thomas Bunte <thomas@bunte-tk.de>\n"
8
  "Language-Team: \n"
@@ -43,7 +43,7 @@ msgid "Term"
43
  msgstr "Term"
44
 
45
  #: includes/functions.yith-wcan.php:88
46
- #: widgets/class.yith-wcan-navigation-widget.php:868
47
  msgid "Color"
48
  msgstr "Farbe"
49
 
@@ -134,13 +134,11 @@ msgstr ""
134
 
135
  #: settings/frontend-options.php:57
136
  #, fuzzy
137
- #| msgid "Scroll top anchor"
138
  msgid "Scroll up to top anchor"
139
  msgstr "Scroll-Top-Anker"
140
 
141
  #: settings/frontend-options.php:58
142
  #, fuzzy
143
- #| msgid "Enter here the HTML tag for the scroll to top feature"
144
  msgid "Enter here the HTML tag for the scroll up to to top feature"
145
  msgstr "Geben Sie hier das HTML-Tag für das Scroll-to-Top-Feature ein"
146
 
@@ -349,7 +347,6 @@ msgstr "Filtern Sie die Produktliste, ohne die Seite neu zu laden"
349
 
350
  #: widgets/class.yith-wcan-navigation-widget.php:39
351
  #, fuzzy
352
- #| msgid "Ajax Product Filter"
353
  msgctxt "[Plugin Name] Admin: Widget Title"
354
  msgid "YITH Ajax Product Filter"
355
  msgstr "Ajax Product Filter"
@@ -358,73 +355,71 @@ msgstr "Ajax Product Filter"
358
  msgid "Filters:"
359
  msgstr "Filter:"
360
 
361
- #: widgets/class.yith-wcan-navigation-widget.php:867
362
  msgid "List"
363
  msgstr "Liste"
364
 
365
- #: widgets/class.yith-wcan-navigation-widget.php:869
366
  msgid "Label"
367
  msgstr "Label"
368
 
369
- #: widgets/class.yith-wcan-navigation-widget.php:870
370
  msgid "Dropdown"
371
  msgstr "Dropdown"
372
 
373
- #: widgets/class.yith-wcan-navigation-widget.php:877
374
  #: widgets/class.yith-wcan-reset-navigation-widget.php:126
375
  msgid "Title"
376
  msgstr "Titel"
377
 
378
- #: widgets/class.yith-wcan-navigation-widget.php:883
379
  msgid "Type:"
380
  msgstr "Typ:"
381
 
382
- #: widgets/class.yith-wcan-navigation-widget.php:894
383
  msgid "Query Type:"
384
  msgstr "Query-Typ"
385
 
386
- #: widgets/class.yith-wcan-navigation-widget.php:896
387
  msgid "AND"
388
  msgstr "AND"
389
 
390
- #: widgets/class.yith-wcan-navigation-widget.php:897
391
  msgid "OR"
392
  msgstr "OR"
393
 
394
- #: widgets/class.yith-wcan-navigation-widget.php:903
395
  msgid "Attribute:"
396
  msgstr "Attribute:"
397
 
398
- #: widgets/class.yith-wcan-navigation-widget.php:910
399
  msgid "Display (default All):"
400
  msgstr "Anzeige (Standard Alles):"
401
 
402
- #: widgets/class.yith-wcan-navigation-widget.php:912
403
  msgid "All (no hierarchical)"
404
  msgstr "Alle (nicht hierarchisch)"
405
 
406
- #: widgets/class.yith-wcan-navigation-widget.php:913
407
  msgid "All (hierarchical)"
408
  msgstr "Alles (hierarchisch)"
409
 
410
- #: widgets/class.yith-wcan-navigation-widget.php:914
411
  msgid "Only Parent"
412
  msgstr "Nur Übergeordnete"
413
 
414
- #: widgets/class.yith-wcan-navigation-widget.php:921
415
  msgid "CSS custom class"
416
  msgstr "Benutzerdefinierte CSS-Klasse"
417
 
418
  #: widgets/class.yith-wcan-reset-navigation-widget.php:23
419
  #, fuzzy
420
- #| msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
421
  msgctxt "[Plugin Name]"
422
  msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
423
  msgstr "YITH WooCommerce Ajax Filter zurücksetzen"
424
 
425
  #: widgets/class.yith-wcan-reset-navigation-widget.php:25
426
  #, fuzzy
427
- #| msgid "YITH WooCommerce Ajax Reset Filter"
428
  msgid "YITH Ajax Reset Filter"
429
  msgstr "YITH WooCommerce Ajax Reset Filter"
430
 
@@ -438,8 +433,6 @@ msgstr "Button Beschriftung"
438
 
439
  #. Plugin Name of the plugin/theme
440
  #, fuzzy
441
- #| msgctxt "Admin: Widget Title"
442
- #| msgid "YITH WooCommerce Ajax Product Filter"
443
  msgid "YITH WooCommerce Ajax Product Filter"
444
  msgstr "YITH WooCommerce Ajax Produkt Filter"
445
 
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/init\n"
5
+ "POT-Creation-Date: 2020-04-30 10:11:58+00:00\n"
6
  "PO-Revision-Date: 2019-06-06 10:17+0200\n"
7
  "Last-Translator: Thomas Bunte <thomas@bunte-tk.de>\n"
8
  "Language-Team: \n"
43
  msgstr "Term"
44
 
45
  #: includes/functions.yith-wcan.php:88
46
+ #: widgets/class.yith-wcan-navigation-widget.php:875
47
  msgid "Color"
48
  msgstr "Farbe"
49
 
134
 
135
  #: settings/frontend-options.php:57
136
  #, fuzzy
 
137
  msgid "Scroll up to top anchor"
138
  msgstr "Scroll-Top-Anker"
139
 
140
  #: settings/frontend-options.php:58
141
  #, fuzzy
 
142
  msgid "Enter here the HTML tag for the scroll up to to top feature"
143
  msgstr "Geben Sie hier das HTML-Tag für das Scroll-to-Top-Feature ein"
144
 
347
 
348
  #: widgets/class.yith-wcan-navigation-widget.php:39
349
  #, fuzzy
 
350
  msgctxt "[Plugin Name] Admin: Widget Title"
351
  msgid "YITH Ajax Product Filter"
352
  msgstr "Ajax Product Filter"
355
  msgid "Filters:"
356
  msgstr "Filter:"
357
 
358
+ #: widgets/class.yith-wcan-navigation-widget.php:874
359
  msgid "List"
360
  msgstr "Liste"
361
 
362
+ #: widgets/class.yith-wcan-navigation-widget.php:876
363
  msgid "Label"
364
  msgstr "Label"
365
 
366
+ #: widgets/class.yith-wcan-navigation-widget.php:877
367
  msgid "Dropdown"
368
  msgstr "Dropdown"
369
 
370
+ #: widgets/class.yith-wcan-navigation-widget.php:884
371
  #: widgets/class.yith-wcan-reset-navigation-widget.php:126
372
  msgid "Title"
373
  msgstr "Titel"
374
 
375
+ #: widgets/class.yith-wcan-navigation-widget.php:890
376
  msgid "Type:"
377
  msgstr "Typ:"
378
 
379
+ #: widgets/class.yith-wcan-navigation-widget.php:901
380
  msgid "Query Type:"
381
  msgstr "Query-Typ"
382
 
383
+ #: widgets/class.yith-wcan-navigation-widget.php:903
384
  msgid "AND"
385
  msgstr "AND"
386
 
387
+ #: widgets/class.yith-wcan-navigation-widget.php:904
388
  msgid "OR"
389
  msgstr "OR"
390
 
391
+ #: widgets/class.yith-wcan-navigation-widget.php:910
392
  msgid "Attribute:"
393
  msgstr "Attribute:"
394
 
395
+ #: widgets/class.yith-wcan-navigation-widget.php:917
396
  msgid "Display (default All):"
397
  msgstr "Anzeige (Standard Alles):"
398
 
399
+ #: widgets/class.yith-wcan-navigation-widget.php:919
400
  msgid "All (no hierarchical)"
401
  msgstr "Alle (nicht hierarchisch)"
402
 
403
+ #: widgets/class.yith-wcan-navigation-widget.php:920
404
  msgid "All (hierarchical)"
405
  msgstr "Alles (hierarchisch)"
406
 
407
+ #: widgets/class.yith-wcan-navigation-widget.php:921
408
  msgid "Only Parent"
409
  msgstr "Nur Übergeordnete"
410
 
411
+ #: widgets/class.yith-wcan-navigation-widget.php:928
412
  msgid "CSS custom class"
413
  msgstr "Benutzerdefinierte CSS-Klasse"
414
 
415
  #: widgets/class.yith-wcan-reset-navigation-widget.php:23
416
  #, fuzzy
 
417
  msgctxt "[Plugin Name]"
418
  msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
419
  msgstr "YITH WooCommerce Ajax Filter zurücksetzen"
420
 
421
  #: widgets/class.yith-wcan-reset-navigation-widget.php:25
422
  #, fuzzy
 
423
  msgid "YITH Ajax Reset Filter"
424
  msgstr "YITH WooCommerce Ajax Reset Filter"
425
 
433
 
434
  #. Plugin Name of the plugin/theme
435
  #, fuzzy
 
 
436
  msgid "YITH WooCommerce Ajax Product Filter"
437
  msgstr "YITH WooCommerce Ajax Produkt Filter"
438
 
languages/yith-woocommerce-ajax-navigation-es_ES.mo CHANGED
Binary file
languages/yith-woocommerce-ajax-navigation-es_ES.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/init\n"
5
- "POT-Creation-Date: 2019-04-06 13:19:15+00:00\n"
6
  "PO-Revision-Date: 2019-06-06 10:17+0200\n"
7
  "Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language-Team: \n"
@@ -43,7 +43,7 @@ msgid "Term"
43
  msgstr "Término"
44
 
45
  #: includes/functions.yith-wcan.php:88
46
- #: widgets/class.yith-wcan-navigation-widget.php:868
47
  msgid "Color"
48
  msgstr "Color"
49
 
@@ -135,13 +135,11 @@ msgstr ""
135
 
136
  #: settings/frontend-options.php:57
137
  #, fuzzy
138
- #| msgid "Scroll top anchor"
139
  msgid "Scroll up to top anchor"
140
  msgstr "Clase HTML o ID para la función \"Scroll Top\""
141
 
142
  #: settings/frontend-options.php:58
143
  #, fuzzy
144
- #| msgid "Enter here the HTML tag for the scroll to top feature on mobiles"
145
  msgid "Enter here the HTML tag for the scroll up to to top feature"
146
  msgstr ""
147
  "Introduce aquí la etiqueta HTML para la característica de arrastrar hacia "
@@ -352,7 +350,6 @@ msgstr "Filtrar la lista de productos sin recargar la página"
352
 
353
  #: widgets/class.yith-wcan-navigation-widget.php:39
354
  #, fuzzy
355
- #| msgid "Ajax Product Filter"
356
  msgctxt "[Plugin Name] Admin: Widget Title"
357
  msgid "YITH Ajax Product Filter"
358
  msgstr "Ajax Product Filter"
@@ -361,73 +358,71 @@ msgstr "Ajax Product Filter"
361
  msgid "Filters:"
362
  msgstr "Filtros"
363
 
364
- #: widgets/class.yith-wcan-navigation-widget.php:867
365
  msgid "List"
366
  msgstr "Lista"
367
 
368
- #: widgets/class.yith-wcan-navigation-widget.php:869
369
  msgid "Label"
370
  msgstr "Etiqueta"
371
 
372
- #: widgets/class.yith-wcan-navigation-widget.php:870
373
  msgid "Dropdown"
374
  msgstr "Desplegable"
375
 
376
- #: widgets/class.yith-wcan-navigation-widget.php:877
377
  #: widgets/class.yith-wcan-reset-navigation-widget.php:126
378
  msgid "Title"
379
  msgstr "Título"
380
 
381
- #: widgets/class.yith-wcan-navigation-widget.php:883
382
  msgid "Type:"
383
  msgstr "Tipo:"
384
 
385
- #: widgets/class.yith-wcan-navigation-widget.php:894
386
  msgid "Query Type:"
387
  msgstr "Tipo Query:"
388
 
389
- #: widgets/class.yith-wcan-navigation-widget.php:896
390
  msgid "AND"
391
  msgstr "Y"
392
 
393
- #: widgets/class.yith-wcan-navigation-widget.php:897
394
  msgid "OR"
395
  msgstr "O"
396
 
397
- #: widgets/class.yith-wcan-navigation-widget.php:903
398
  msgid "Attribute:"
399
  msgstr "Atributo:"
400
 
401
- #: widgets/class.yith-wcan-navigation-widget.php:910
402
  msgid "Display (default All):"
403
  msgstr "Mostrar (por defecto Todos):"
404
 
405
- #: widgets/class.yith-wcan-navigation-widget.php:912
406
  msgid "All (no hierarchical)"
407
  msgstr "Todos (no jerárquicos)"
408
 
409
- #: widgets/class.yith-wcan-navigation-widget.php:913
410
  msgid "All (hierarchical)"
411
  msgstr "Todos (jerárquicos)"
412
 
413
- #: widgets/class.yith-wcan-navigation-widget.php:914
414
  msgid "Only Parent"
415
  msgstr "Sólo padres"
416
 
417
- #: widgets/class.yith-wcan-navigation-widget.php:921
418
  msgid "CSS custom class"
419
  msgstr "Clase CSS personalizada"
420
 
421
  #: widgets/class.yith-wcan-reset-navigation-widget.php:23
422
  #, fuzzy
423
- #| msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
424
  msgctxt "[Plugin Name]"
425
  msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
426
  msgstr "Reiniciar todos los filtros por YITH WooCommerce Ajax Product Filter"
427
 
428
  #: widgets/class.yith-wcan-reset-navigation-widget.php:25
429
  #, fuzzy
430
- #| msgid "YITH WooCommerce Ajax Reset Filter"
431
  msgid "YITH Ajax Reset Filter"
432
  msgstr "YITH WooCommerce Ajax reiniciar filtro"
433
 
@@ -441,8 +436,6 @@ msgstr "Etiqueta del botón"
441
 
442
  #. Plugin Name of the plugin/theme
443
  #, fuzzy
444
- #| msgctxt "Admin: Widget Title"
445
- #| msgid "YITH WooCommerce Ajax Product Filter"
446
  msgid "YITH WooCommerce Ajax Product Filter"
447
  msgstr "YITH WooCommerce Ajax Product Filter"
448
 
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/init\n"
5
+ "POT-Creation-Date: 2020-04-30 10:11:58+00:00\n"
6
  "PO-Revision-Date: 2019-06-06 10:17+0200\n"
7
  "Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language-Team: \n"
43
  msgstr "Término"
44
 
45
  #: includes/functions.yith-wcan.php:88
46
+ #: widgets/class.yith-wcan-navigation-widget.php:875
47
  msgid "Color"
48
  msgstr "Color"
49
 
135
 
136
  #: settings/frontend-options.php:57
137
  #, fuzzy
 
138
  msgid "Scroll up to top anchor"
139
  msgstr "Clase HTML o ID para la función \"Scroll Top\""
140
 
141
  #: settings/frontend-options.php:58
142
  #, fuzzy
 
143
  msgid "Enter here the HTML tag for the scroll up to to top feature"
144
  msgstr ""
145
  "Introduce aquí la etiqueta HTML para la característica de arrastrar hacia "
350
 
351
  #: widgets/class.yith-wcan-navigation-widget.php:39
352
  #, fuzzy
 
353
  msgctxt "[Plugin Name] Admin: Widget Title"
354
  msgid "YITH Ajax Product Filter"
355
  msgstr "Ajax Product Filter"
358
  msgid "Filters:"
359
  msgstr "Filtros"
360
 
361
+ #: widgets/class.yith-wcan-navigation-widget.php:874
362
  msgid "List"
363
  msgstr "Lista"
364
 
365
+ #: widgets/class.yith-wcan-navigation-widget.php:876
366
  msgid "Label"
367
  msgstr "Etiqueta"
368
 
369
+ #: widgets/class.yith-wcan-navigation-widget.php:877
370
  msgid "Dropdown"
371
  msgstr "Desplegable"
372
 
373
+ #: widgets/class.yith-wcan-navigation-widget.php:884
374
  #: widgets/class.yith-wcan-reset-navigation-widget.php:126
375
  msgid "Title"
376
  msgstr "Título"
377
 
378
+ #: widgets/class.yith-wcan-navigation-widget.php:890
379
  msgid "Type:"
380
  msgstr "Tipo:"
381
 
382
+ #: widgets/class.yith-wcan-navigation-widget.php:901
383
  msgid "Query Type:"
384
  msgstr "Tipo Query:"
385
 
386
+ #: widgets/class.yith-wcan-navigation-widget.php:903
387
  msgid "AND"
388
  msgstr "Y"
389
 
390
+ #: widgets/class.yith-wcan-navigation-widget.php:904
391
  msgid "OR"
392
  msgstr "O"
393
 
394
+ #: widgets/class.yith-wcan-navigation-widget.php:910
395
  msgid "Attribute:"
396
  msgstr "Atributo:"
397
 
398
+ #: widgets/class.yith-wcan-navigation-widget.php:917
399
  msgid "Display (default All):"
400
  msgstr "Mostrar (por defecto Todos):"
401
 
402
+ #: widgets/class.yith-wcan-navigation-widget.php:919
403
  msgid "All (no hierarchical)"
404
  msgstr "Todos (no jerárquicos)"
405
 
406
+ #: widgets/class.yith-wcan-navigation-widget.php:920
407
  msgid "All (hierarchical)"
408
  msgstr "Todos (jerárquicos)"
409
 
410
+ #: widgets/class.yith-wcan-navigation-widget.php:921
411
  msgid "Only Parent"
412
  msgstr "Sólo padres"
413
 
414
+ #: widgets/class.yith-wcan-navigation-widget.php:928
415
  msgid "CSS custom class"
416
  msgstr "Clase CSS personalizada"
417
 
418
  #: widgets/class.yith-wcan-reset-navigation-widget.php:23
419
  #, fuzzy
 
420
  msgctxt "[Plugin Name]"
421
  msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
422
  msgstr "Reiniciar todos los filtros por YITH WooCommerce Ajax Product Filter"
423
 
424
  #: widgets/class.yith-wcan-reset-navigation-widget.php:25
425
  #, fuzzy
 
426
  msgid "YITH Ajax Reset Filter"
427
  msgstr "YITH WooCommerce Ajax reiniciar filtro"
428
 
436
 
437
  #. Plugin Name of the plugin/theme
438
  #, fuzzy
 
 
439
  msgid "YITH WooCommerce Ajax Product Filter"
440
  msgstr "YITH WooCommerce Ajax Product Filter"
441
 
languages/yith-woocommerce-ajax-navigation-it_IT.mo CHANGED
Binary file
languages/yith-woocommerce-ajax-navigation-it_IT.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/init\n"
5
- "POT-Creation-Date: 2019-04-06 13:19:15+00:00\n"
6
  "PO-Revision-Date: 2019-06-06 10:16+0200\n"
7
  "Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language-Team: \n"
@@ -45,7 +45,7 @@ msgstr "Proprietà"
45
 
46
  # @ yit
47
  #: includes/functions.yith-wcan.php:88
48
- #: widgets/class.yith-wcan-navigation-widget.php:868
49
  msgid "Color"
50
  msgstr "Colore"
51
 
@@ -134,13 +134,11 @@ msgstr "Inserisci qui la classe CSS o l'ID dei risultati del conteggio"
134
 
135
  #: settings/frontend-options.php:57
136
  #, fuzzy
137
- #| msgid "Scroll top anchor"
138
  msgid "Scroll up to top anchor"
139
  msgstr "Tag html per la funzione Scroll Top"
140
 
141
  #: settings/frontend-options.php:58
142
  #, fuzzy
143
- #| msgid "Enter here the HTML tag for the scroll to top feature on mobiles"
144
  msgid "Enter here the HTML tag for the scroll up to to top feature"
145
  msgstr "Inserisci qui il tag HTML per la funzionalità \"Torna su\" su mobile"
146
 
@@ -349,7 +347,6 @@ msgstr "Filtra la lista dei prodotti senza dover ricaricare la pagina"
349
 
350
  #: widgets/class.yith-wcan-navigation-widget.php:39
351
  #, fuzzy
352
- #| msgid "Ajax Product Filter"
353
  msgctxt "[Plugin Name] Admin: Widget Title"
354
  msgid "YITH Ajax Product Filter"
355
  msgstr "Ajax Product Filter"
@@ -359,73 +356,72 @@ msgid "Filters:"
359
  msgstr "Filtri:"
360
 
361
  # @ yit
362
- #: widgets/class.yith-wcan-navigation-widget.php:867
363
  msgid "List"
364
  msgstr "Lista"
365
 
366
  # @ yit
367
- #: widgets/class.yith-wcan-navigation-widget.php:869
368
  msgid "Label"
369
  msgstr "Etichetta"
370
 
371
- #: widgets/class.yith-wcan-navigation-widget.php:870
372
  msgid "Dropdown"
373
  msgstr "Menu a tendina"
374
 
375
  # @ yit
376
- #: widgets/class.yith-wcan-navigation-widget.php:877
377
  #: widgets/class.yith-wcan-reset-navigation-widget.php:126
378
  msgid "Title"
379
  msgstr "Titolo"
380
 
381
  # @ yit
382
- #: widgets/class.yith-wcan-navigation-widget.php:883
383
  msgid "Type:"
384
  msgstr "Tipo:"
385
 
386
  # @ yit
387
- #: widgets/class.yith-wcan-navigation-widget.php:894
388
  msgid "Query Type:"
389
  msgstr "Tipo Query:"
390
 
391
  # @ yit
392
- #: widgets/class.yith-wcan-navigation-widget.php:896
393
  msgid "AND"
394
  msgstr "E"
395
 
396
  # @ yit
397
- #: widgets/class.yith-wcan-navigation-widget.php:897
398
  msgid "OR"
399
  msgstr "O"
400
 
401
  # @ yit
402
- #: widgets/class.yith-wcan-navigation-widget.php:903
403
  msgid "Attribute:"
404
  msgstr "Attributo:"
405
 
406
- #: widgets/class.yith-wcan-navigation-widget.php:910
407
  msgid "Display (default All):"
408
  msgstr "Visualizza (default Tutti)"
409
 
410
- #: widgets/class.yith-wcan-navigation-widget.php:912
411
  msgid "All (no hierarchical)"
412
  msgstr "Tutti (non gerarchico)"
413
 
414
- #: widgets/class.yith-wcan-navigation-widget.php:913
415
  msgid "All (hierarchical)"
416
  msgstr "Tutti (gerarchico)"
417
 
418
- #: widgets/class.yith-wcan-navigation-widget.php:914
419
  msgid "Only Parent"
420
  msgstr "Solo Principali"
421
 
422
- #: widgets/class.yith-wcan-navigation-widget.php:921
423
  msgid "CSS custom class"
424
  msgstr "Classe CSS custom"
425
 
426
  #: widgets/class.yith-wcan-reset-navigation-widget.php:23
427
  #, fuzzy
428
- #| msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
429
  msgctxt "[Plugin Name]"
430
  msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
431
  msgstr ""
@@ -433,7 +429,6 @@ msgstr ""
433
 
434
  #: widgets/class.yith-wcan-reset-navigation-widget.php:25
435
  #, fuzzy
436
- #| msgid "YITH WooCommerce Ajax Reset Filter"
437
  msgid "YITH Ajax Reset Filter"
438
  msgstr "YITH WooCommerce Filtro Ajax Reset"
439
 
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/init\n"
5
+ "POT-Creation-Date: 2020-04-30 10:11:58+00:00\n"
6
  "PO-Revision-Date: 2019-06-06 10:16+0200\n"
7
  "Last-Translator: Your Inspiration Themes <plugins@yithemes.com>\n"
8
  "Language-Team: \n"
45
 
46
  # @ yit
47
  #: includes/functions.yith-wcan.php:88
48
+ #: widgets/class.yith-wcan-navigation-widget.php:875
49
  msgid "Color"
50
  msgstr "Colore"
51
 
134
 
135
  #: settings/frontend-options.php:57
136
  #, fuzzy
 
137
  msgid "Scroll up to top anchor"
138
  msgstr "Tag html per la funzione Scroll Top"
139
 
140
  #: settings/frontend-options.php:58
141
  #, fuzzy
 
142
  msgid "Enter here the HTML tag for the scroll up to to top feature"
143
  msgstr "Inserisci qui il tag HTML per la funzionalità \"Torna su\" su mobile"
144
 
347
 
348
  #: widgets/class.yith-wcan-navigation-widget.php:39
349
  #, fuzzy
 
350
  msgctxt "[Plugin Name] Admin: Widget Title"
351
  msgid "YITH Ajax Product Filter"
352
  msgstr "Ajax Product Filter"
356
  msgstr "Filtri:"
357
 
358
  # @ yit
359
+ #: widgets/class.yith-wcan-navigation-widget.php:874
360
  msgid "List"
361
  msgstr "Lista"
362
 
363
  # @ yit
364
+ #: widgets/class.yith-wcan-navigation-widget.php:876
365
  msgid "Label"
366
  msgstr "Etichetta"
367
 
368
+ #: widgets/class.yith-wcan-navigation-widget.php:877
369
  msgid "Dropdown"
370
  msgstr "Menu a tendina"
371
 
372
  # @ yit
373
+ #: widgets/class.yith-wcan-navigation-widget.php:884
374
  #: widgets/class.yith-wcan-reset-navigation-widget.php:126
375
  msgid "Title"
376
  msgstr "Titolo"
377
 
378
  # @ yit
379
+ #: widgets/class.yith-wcan-navigation-widget.php:890
380
  msgid "Type:"
381
  msgstr "Tipo:"
382
 
383
  # @ yit
384
+ #: widgets/class.yith-wcan-navigation-widget.php:901
385
  msgid "Query Type:"
386
  msgstr "Tipo Query:"
387
 
388
  # @ yit
389
+ #: widgets/class.yith-wcan-navigation-widget.php:903
390
  msgid "AND"
391
  msgstr "E"
392
 
393
  # @ yit
394
+ #: widgets/class.yith-wcan-navigation-widget.php:904
395
  msgid "OR"
396
  msgstr "O"
397
 
398
  # @ yit
399
+ #: widgets/class.yith-wcan-navigation-widget.php:910
400
  msgid "Attribute:"
401
  msgstr "Attributo:"
402
 
403
+ #: widgets/class.yith-wcan-navigation-widget.php:917
404
  msgid "Display (default All):"
405
  msgstr "Visualizza (default Tutti)"
406
 
407
+ #: widgets/class.yith-wcan-navigation-widget.php:919
408
  msgid "All (no hierarchical)"
409
  msgstr "Tutti (non gerarchico)"
410
 
411
+ #: widgets/class.yith-wcan-navigation-widget.php:920
412
  msgid "All (hierarchical)"
413
  msgstr "Tutti (gerarchico)"
414
 
415
+ #: widgets/class.yith-wcan-navigation-widget.php:921
416
  msgid "Only Parent"
417
  msgstr "Solo Principali"
418
 
419
+ #: widgets/class.yith-wcan-navigation-widget.php:928
420
  msgid "CSS custom class"
421
  msgstr "Classe CSS custom"
422
 
423
  #: widgets/class.yith-wcan-reset-navigation-widget.php:23
424
  #, fuzzy
 
425
  msgctxt "[Plugin Name]"
426
  msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
427
  msgstr ""
429
 
430
  #: widgets/class.yith-wcan-reset-navigation-widget.php:25
431
  #, fuzzy
 
432
  msgid "YITH Ajax Reset Filter"
433
  msgstr "YITH WooCommerce Filtro Ajax Reset"
434
 
languages/yith-woocommerce-ajax-navigation-nl_NL.mo CHANGED
Binary file
languages/yith-woocommerce-ajax-navigation-nl_NL.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/init\n"
5
- "POT-Creation-Date: 2019-04-06 13:19:15+00:00\n"
6
  "PO-Revision-Date: 2019-06-06 10:16+0200\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
@@ -43,7 +43,7 @@ msgid "Term"
43
  msgstr "Termijn"
44
 
45
  #: includes/functions.yith-wcan.php:88
46
- #: widgets/class.yith-wcan-navigation-widget.php:868
47
  msgid "Color"
48
  msgstr "Kleur"
49
 
@@ -132,13 +132,11 @@ msgstr "Vul hier de CSS klasse of id in voor de resultaten optellen container"
132
 
133
  #: settings/frontend-options.php:57
134
  #, fuzzy
135
- #| msgid "Scroll top anchor"
136
  msgid "Scroll up to top anchor"
137
  msgstr "Scroll top anker"
138
 
139
  #: settings/frontend-options.php:58
140
  #, fuzzy
141
- #| msgid "Enter here the HTML tag for the scroll to top feature"
142
  msgid "Enter here the HTML tag for the scroll up to to top feature"
143
  msgstr "Vul hier de THML tag in voor de scroll to top functie"
144
 
@@ -347,7 +345,6 @@ msgstr "Filter de lijst met producten, zonder te pagina opnieuw te laden"
347
 
348
  #: widgets/class.yith-wcan-navigation-widget.php:39
349
  #, fuzzy
350
- #| msgid "Ajax Product Filter"
351
  msgctxt "[Plugin Name] Admin: Widget Title"
352
  msgid "YITH Ajax Product Filter"
353
  msgstr "Ajax Product Filter"
@@ -356,73 +353,71 @@ msgstr "Ajax Product Filter"
356
  msgid "Filters:"
357
  msgstr "Filters:"
358
 
359
- #: widgets/class.yith-wcan-navigation-widget.php:867
360
  msgid "List"
361
  msgstr "Lijst"
362
 
363
- #: widgets/class.yith-wcan-navigation-widget.php:869
364
  msgid "Label"
365
  msgstr "Label"
366
 
367
- #: widgets/class.yith-wcan-navigation-widget.php:870
368
  msgid "Dropdown"
369
  msgstr "Dropdown"
370
 
371
- #: widgets/class.yith-wcan-navigation-widget.php:877
372
  #: widgets/class.yith-wcan-reset-navigation-widget.php:126
373
  msgid "Title"
374
  msgstr "Titel"
375
 
376
- #: widgets/class.yith-wcan-navigation-widget.php:883
377
  msgid "Type:"
378
  msgstr "Type:"
379
 
380
- #: widgets/class.yith-wcan-navigation-widget.php:894
381
  msgid "Query Type:"
382
  msgstr "Query Type:"
383
 
384
- #: widgets/class.yith-wcan-navigation-widget.php:896
385
  msgid "AND"
386
  msgstr "EN"
387
 
388
- #: widgets/class.yith-wcan-navigation-widget.php:897
389
  msgid "OR"
390
  msgstr "OF"
391
 
392
- #: widgets/class.yith-wcan-navigation-widget.php:903
393
  msgid "Attribute:"
394
  msgstr "Eigenschap:"
395
 
396
- #: widgets/class.yith-wcan-navigation-widget.php:910
397
  msgid "Display (default All):"
398
  msgstr "Weergave (allen default):"
399
 
400
- #: widgets/class.yith-wcan-navigation-widget.php:912
401
  msgid "All (no hierarchical)"
402
  msgstr "Allen (niet hiërarchisch)"
403
 
404
- #: widgets/class.yith-wcan-navigation-widget.php:913
405
  msgid "All (hierarchical)"
406
  msgstr "Allen (hiërarchisch)"
407
 
408
- #: widgets/class.yith-wcan-navigation-widget.php:914
409
  msgid "Only Parent"
410
  msgstr "Alleen bovenliggend"
411
 
412
- #: widgets/class.yith-wcan-navigation-widget.php:921
413
  msgid "CSS custom class"
414
  msgstr "CSS custom klasse"
415
 
416
  #: widgets/class.yith-wcan-reset-navigation-widget.php:23
417
  #, fuzzy
418
- #| msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
419
  msgctxt "[Plugin Name]"
420
  msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
421
  msgstr "Alle filters van YITH WooCommerce Ajax Product Filter resetten"
422
 
423
  #: widgets/class.yith-wcan-reset-navigation-widget.php:25
424
  #, fuzzy
425
- #| msgid "YITH WooCommerce Ajax Reset Filter"
426
  msgid "YITH Ajax Reset Filter"
427
  msgstr "YITH WooCommerce Ajax Reset Filter"
428
 
@@ -436,8 +431,6 @@ msgstr "Labelknop"
436
 
437
  #. Plugin Name of the plugin/theme
438
  #, fuzzy
439
- #| msgctxt "Admin: Widget Title"
440
- #| msgid "YITH WooCommerce Ajax Product Filter"
441
  msgid "YITH WooCommerce Ajax Product Filter"
442
  msgstr "YITH WooCommerce Ajax Product Filter"
443
 
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Ajax Product Filter\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/init\n"
5
+ "POT-Creation-Date: 2020-04-30 10:11:58+00:00\n"
6
  "PO-Revision-Date: 2019-06-06 10:16+0200\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
43
  msgstr "Termijn"
44
 
45
  #: includes/functions.yith-wcan.php:88
46
+ #: widgets/class.yith-wcan-navigation-widget.php:875
47
  msgid "Color"
48
  msgstr "Kleur"
49
 
132
 
133
  #: settings/frontend-options.php:57
134
  #, fuzzy
 
135
  msgid "Scroll up to top anchor"
136
  msgstr "Scroll top anker"
137
 
138
  #: settings/frontend-options.php:58
139
  #, fuzzy
 
140
  msgid "Enter here the HTML tag for the scroll up to to top feature"
141
  msgstr "Vul hier de THML tag in voor de scroll to top functie"
142
 
345
 
346
  #: widgets/class.yith-wcan-navigation-widget.php:39
347
  #, fuzzy
 
348
  msgctxt "[Plugin Name] Admin: Widget Title"
349
  msgid "YITH Ajax Product Filter"
350
  msgstr "Ajax Product Filter"
353
  msgid "Filters:"
354
  msgstr "Filters:"
355
 
356
+ #: widgets/class.yith-wcan-navigation-widget.php:874
357
  msgid "List"
358
  msgstr "Lijst"
359
 
360
+ #: widgets/class.yith-wcan-navigation-widget.php:876
361
  msgid "Label"
362
  msgstr "Label"
363
 
364
+ #: widgets/class.yith-wcan-navigation-widget.php:877
365
  msgid "Dropdown"
366
  msgstr "Dropdown"
367
 
368
+ #: widgets/class.yith-wcan-navigation-widget.php:884
369
  #: widgets/class.yith-wcan-reset-navigation-widget.php:126
370
  msgid "Title"
371
  msgstr "Titel"
372
 
373
+ #: widgets/class.yith-wcan-navigation-widget.php:890
374
  msgid "Type:"
375
  msgstr "Type:"
376
 
377
+ #: widgets/class.yith-wcan-navigation-widget.php:901
378
  msgid "Query Type:"
379
  msgstr "Query Type:"
380
 
381
+ #: widgets/class.yith-wcan-navigation-widget.php:903
382
  msgid "AND"
383
  msgstr "EN"
384
 
385
+ #: widgets/class.yith-wcan-navigation-widget.php:904
386
  msgid "OR"
387
  msgstr "OF"
388
 
389
+ #: widgets/class.yith-wcan-navigation-widget.php:910
390
  msgid "Attribute:"
391
  msgstr "Eigenschap:"
392
 
393
+ #: widgets/class.yith-wcan-navigation-widget.php:917
394
  msgid "Display (default All):"
395
  msgstr "Weergave (allen default):"
396
 
397
+ #: widgets/class.yith-wcan-navigation-widget.php:919
398
  msgid "All (no hierarchical)"
399
  msgstr "Allen (niet hiërarchisch)"
400
 
401
+ #: widgets/class.yith-wcan-navigation-widget.php:920
402
  msgid "All (hierarchical)"
403
  msgstr "Allen (hiërarchisch)"
404
 
405
+ #: widgets/class.yith-wcan-navigation-widget.php:921
406
  msgid "Only Parent"
407
  msgstr "Alleen bovenliggend"
408
 
409
+ #: widgets/class.yith-wcan-navigation-widget.php:928
410
  msgid "CSS custom class"
411
  msgstr "CSS custom klasse"
412
 
413
  #: widgets/class.yith-wcan-reset-navigation-widget.php:23
414
  #, fuzzy
 
415
  msgctxt "[Plugin Name]"
416
  msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
417
  msgstr "Alle filters van YITH WooCommerce Ajax Product Filter resetten"
418
 
419
  #: widgets/class.yith-wcan-reset-navigation-widget.php:25
420
  #, fuzzy
 
421
  msgid "YITH Ajax Reset Filter"
422
  msgstr "YITH WooCommerce Ajax Reset Filter"
423
 
431
 
432
  #. Plugin Name of the plugin/theme
433
  #, fuzzy
 
 
434
  msgid "YITH WooCommerce Ajax Product Filter"
435
  msgstr "YITH WooCommerce Ajax Product Filter"
436
 
languages/yith-woocommerce-ajax-navigation-tr_TR.mo CHANGED
Binary file
languages/yith-woocommerce-ajax-navigation-tr_TR.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Ajax Product filter\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/init\n"
5
- "POT-Creation-Date: 2019-04-06 13:19:15+00:00\n"
6
  "PO-Revision-Date: 2019-06-06 10:16+0200\n"
7
  "Last-Translator: Caner Öncel <caneroncel@gmail.com>\n"
8
  "Language-Team: Caner Öncel <caneroncel@gmail.com>\n"
@@ -45,7 +45,7 @@ msgstr "Terim"
45
 
46
  # @ yit
47
  #: includes/functions.yith-wcan.php:88
48
- #: widgets/class.yith-wcan-navigation-widget.php:868
49
  msgid "Color"
50
  msgstr "Renk"
51
 
@@ -338,7 +338,6 @@ msgstr ""
338
  # @ yit
339
  #: widgets/class.yith-wcan-navigation-widget.php:39
340
  #, fuzzy
341
- #| msgid "YITH WooCommerce Ajax Navigation"
342
  msgctxt "[Plugin Name] Admin: Widget Title"
343
  msgid "YITH Ajax Product Filter"
344
  msgstr "YITH WooCommerce Ajax Navigation"
@@ -348,74 +347,73 @@ msgid "Filters:"
348
  msgstr ""
349
 
350
  # @ yit
351
- #: widgets/class.yith-wcan-navigation-widget.php:867
352
  msgid "List"
353
  msgstr "Liste"
354
 
355
  # @ yit
356
- #: widgets/class.yith-wcan-navigation-widget.php:869
357
  msgid "Label"
358
  msgstr "Etiket"
359
 
360
- #: widgets/class.yith-wcan-navigation-widget.php:870
361
  msgid "Dropdown"
362
  msgstr "Açılır Menü"
363
 
364
  # @ yit
365
- #: widgets/class.yith-wcan-navigation-widget.php:877
366
  #: widgets/class.yith-wcan-reset-navigation-widget.php:126
367
  msgid "Title"
368
  msgstr "Başlık"
369
 
370
  # @ yit
371
- #: widgets/class.yith-wcan-navigation-widget.php:883
372
  msgid "Type:"
373
  msgstr "Tür:"
374
 
375
  # @ yit
376
- #: widgets/class.yith-wcan-navigation-widget.php:894
377
  msgid "Query Type:"
378
  msgstr "Sorgu Tipi:"
379
 
380
  # @ yit
381
- #: widgets/class.yith-wcan-navigation-widget.php:896
382
  msgid "AND"
383
  msgstr "VE"
384
 
385
  # @ yit
386
- #: widgets/class.yith-wcan-navigation-widget.php:897
387
  msgid "OR"
388
  msgstr "VEYA"
389
 
390
  # @ yit
391
- #: widgets/class.yith-wcan-navigation-widget.php:903
392
  msgid "Attribute:"
393
  msgstr "Özellikler:"
394
 
395
- #: widgets/class.yith-wcan-navigation-widget.php:910
396
  msgid "Display (default All):"
397
  msgstr "Görüntüleme (Varsayılan tümü):"
398
 
399
- #: widgets/class.yith-wcan-navigation-widget.php:912
400
  msgid "All (no hierarchical)"
401
  msgstr "Tümü"
402
 
403
- #: widgets/class.yith-wcan-navigation-widget.php:913
404
  msgid "All (hierarchical)"
405
  msgstr ""
406
 
407
- #: widgets/class.yith-wcan-navigation-widget.php:914
408
  msgid "Only Parent"
409
  msgstr "Sadece Ebeveyn"
410
 
411
- #: widgets/class.yith-wcan-navigation-widget.php:921
412
  msgid "CSS custom class"
413
  msgstr ""
414
 
415
  # @ yit
416
  #: widgets/class.yith-wcan-reset-navigation-widget.php:23
417
  #, fuzzy
418
- #| msgid "Reset all filters setted by YITH WooCommerce Ajax Navigation"
419
  msgctxt "[Plugin Name]"
420
  msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
421
  msgstr ""
@@ -424,7 +422,6 @@ msgstr ""
424
  # @ yit
425
  #: widgets/class.yith-wcan-reset-navigation-widget.php:25
426
  #, fuzzy
427
- #| msgid "YITH WooCommerce Ajax Navigation"
428
  msgid "YITH Ajax Reset Filter"
429
  msgstr "YITH WooCommerce Ajax Navigation"
430
 
@@ -439,7 +436,6 @@ msgstr "Buton Metni"
439
  # @ yit
440
  #. Plugin Name of the plugin/theme
441
  #, fuzzy
442
- #| msgid "YITH WooCommerce Ajax Navigation"
443
  msgid "YITH WooCommerce Ajax Product Filter"
444
  msgstr "YITH WooCommerce Ajax Navigation"
445
 
2
  msgstr ""
3
  "Project-Id-Version: YITH WooCommerce Ajax Product filter\n"
4
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/init\n"
5
+ "POT-Creation-Date: 2020-04-30 10:11:58+00:00\n"
6
  "PO-Revision-Date: 2019-06-06 10:16+0200\n"
7
  "Last-Translator: Caner Öncel <caneroncel@gmail.com>\n"
8
  "Language-Team: Caner Öncel <caneroncel@gmail.com>\n"
45
 
46
  # @ yit
47
  #: includes/functions.yith-wcan.php:88
48
+ #: widgets/class.yith-wcan-navigation-widget.php:875
49
  msgid "Color"
50
  msgstr "Renk"
51
 
338
  # @ yit
339
  #: widgets/class.yith-wcan-navigation-widget.php:39
340
  #, fuzzy
 
341
  msgctxt "[Plugin Name] Admin: Widget Title"
342
  msgid "YITH Ajax Product Filter"
343
  msgstr "YITH WooCommerce Ajax Navigation"
347
  msgstr ""
348
 
349
  # @ yit
350
+ #: widgets/class.yith-wcan-navigation-widget.php:874
351
  msgid "List"
352
  msgstr "Liste"
353
 
354
  # @ yit
355
+ #: widgets/class.yith-wcan-navigation-widget.php:876
356
  msgid "Label"
357
  msgstr "Etiket"
358
 
359
+ #: widgets/class.yith-wcan-navigation-widget.php:877
360
  msgid "Dropdown"
361
  msgstr "Açılır Menü"
362
 
363
  # @ yit
364
+ #: widgets/class.yith-wcan-navigation-widget.php:884
365
  #: widgets/class.yith-wcan-reset-navigation-widget.php:126
366
  msgid "Title"
367
  msgstr "Başlık"
368
 
369
  # @ yit
370
+ #: widgets/class.yith-wcan-navigation-widget.php:890
371
  msgid "Type:"
372
  msgstr "Tür:"
373
 
374
  # @ yit
375
+ #: widgets/class.yith-wcan-navigation-widget.php:901
376
  msgid "Query Type:"
377
  msgstr "Sorgu Tipi:"
378
 
379
  # @ yit
380
+ #: widgets/class.yith-wcan-navigation-widget.php:903
381
  msgid "AND"
382
  msgstr "VE"
383
 
384
  # @ yit
385
+ #: widgets/class.yith-wcan-navigation-widget.php:904
386
  msgid "OR"
387
  msgstr "VEYA"
388
 
389
  # @ yit
390
+ #: widgets/class.yith-wcan-navigation-widget.php:910
391
  msgid "Attribute:"
392
  msgstr "Özellikler:"
393
 
394
+ #: widgets/class.yith-wcan-navigation-widget.php:917
395
  msgid "Display (default All):"
396
  msgstr "Görüntüleme (Varsayılan tümü):"
397
 
398
+ #: widgets/class.yith-wcan-navigation-widget.php:919
399
  msgid "All (no hierarchical)"
400
  msgstr "Tümü"
401
 
402
+ #: widgets/class.yith-wcan-navigation-widget.php:920
403
  msgid "All (hierarchical)"
404
  msgstr ""
405
 
406
+ #: widgets/class.yith-wcan-navigation-widget.php:921
407
  msgid "Only Parent"
408
  msgstr "Sadece Ebeveyn"
409
 
410
+ #: widgets/class.yith-wcan-navigation-widget.php:928
411
  msgid "CSS custom class"
412
  msgstr ""
413
 
414
  # @ yit
415
  #: widgets/class.yith-wcan-reset-navigation-widget.php:23
416
  #, fuzzy
 
417
  msgctxt "[Plugin Name]"
418
  msgid "Reset all filters set by YITH WooCommerce Ajax Product Filter"
419
  msgstr ""
422
  # @ yit
423
  #: widgets/class.yith-wcan-reset-navigation-widget.php:25
424
  #, fuzzy
 
425
  msgid "YITH Ajax Reset Filter"
426
  msgstr "YITH WooCommerce Ajax Navigation"
427
 
436
  # @ yit
437
  #. Plugin Name of the plugin/theme
438
  #, fuzzy
 
439
  msgid "YITH WooCommerce Ajax Product Filter"
440
  msgstr "YITH WooCommerce Ajax Navigation"
441
 
languages/yith-woocommerce-ajax-navigation.pot CHANGED
@@ -1,14 +1,14 @@
1
- # Copyright (C) 2019 YITH WooCommerce Ajax Product Filter
2
  # This file is distributed under the same license as the YITH WooCommerce Ajax Product Filter package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: YITH WooCommerce Ajax Product Filter 3.6.2\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/init\n"
7
- "POT-Creation-Date: 2019-04-06 13:19:15+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
@@ -35,7 +35,7 @@ msgid "Term"
35
  msgstr ""
36
 
37
  #: includes/functions.yith-wcan.php:88
38
- #: widgets/class.yith-wcan-navigation-widget.php:868
39
  msgid "Color"
40
  msgstr ""
41
 
@@ -333,60 +333,60 @@ msgstr ""
333
  msgid "Filters:"
334
  msgstr ""
335
 
336
- #: widgets/class.yith-wcan-navigation-widget.php:867
337
  msgid "List"
338
  msgstr ""
339
 
340
- #: widgets/class.yith-wcan-navigation-widget.php:869
341
  msgid "Label"
342
  msgstr ""
343
 
344
- #: widgets/class.yith-wcan-navigation-widget.php:870
345
  msgid "Dropdown"
346
  msgstr ""
347
 
348
- #: widgets/class.yith-wcan-navigation-widget.php:877
349
  #: widgets/class.yith-wcan-reset-navigation-widget.php:126
350
  msgid "Title"
351
  msgstr ""
352
 
353
- #: widgets/class.yith-wcan-navigation-widget.php:883
354
  msgid "Type:"
355
  msgstr ""
356
 
357
- #: widgets/class.yith-wcan-navigation-widget.php:894
358
  msgid "Query Type:"
359
  msgstr ""
360
 
361
- #: widgets/class.yith-wcan-navigation-widget.php:896
362
  msgid "AND"
363
  msgstr ""
364
 
365
- #: widgets/class.yith-wcan-navigation-widget.php:897
366
  msgid "OR"
367
  msgstr ""
368
 
369
- #: widgets/class.yith-wcan-navigation-widget.php:903
370
  msgid "Attribute:"
371
  msgstr ""
372
 
373
- #: widgets/class.yith-wcan-navigation-widget.php:910
374
  msgid "Display (default All):"
375
  msgstr ""
376
 
377
- #: widgets/class.yith-wcan-navigation-widget.php:912
378
  msgid "All (no hierarchical)"
379
  msgstr ""
380
 
381
- #: widgets/class.yith-wcan-navigation-widget.php:913
382
  msgid "All (hierarchical)"
383
  msgstr ""
384
 
385
- #: widgets/class.yith-wcan-navigation-widget.php:914
386
  msgid "Only Parent"
387
  msgstr ""
388
 
389
- #: widgets/class.yith-wcan-navigation-widget.php:921
390
  msgid "CSS custom class"
391
  msgstr ""
392
 
1
+ # Copyright (C) 2020 YITH WooCommerce Ajax Product Filter
2
  # This file is distributed under the same license as the YITH WooCommerce Ajax Product Filter package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: YITH WooCommerce Ajax Product Filter 3.9.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/init\n"
7
+ "POT-Creation-Date: 2020-04-30 10:11:58+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
35
  msgstr ""
36
 
37
  #: includes/functions.yith-wcan.php:88
38
+ #: widgets/class.yith-wcan-navigation-widget.php:875
39
  msgid "Color"
40
  msgstr ""
41
 
333
  msgid "Filters:"
334
  msgstr ""
335
 
336
+ #: widgets/class.yith-wcan-navigation-widget.php:874
337
  msgid "List"
338
  msgstr ""
339
 
340
+ #: widgets/class.yith-wcan-navigation-widget.php:876
341
  msgid "Label"
342
  msgstr ""
343
 
344
+ #: widgets/class.yith-wcan-navigation-widget.php:877
345
  msgid "Dropdown"
346
  msgstr ""
347
 
348
+ #: widgets/class.yith-wcan-navigation-widget.php:884
349
  #: widgets/class.yith-wcan-reset-navigation-widget.php:126
350
  msgid "Title"
351
  msgstr ""
352
 
353
+ #: widgets/class.yith-wcan-navigation-widget.php:890
354
  msgid "Type:"
355
  msgstr ""
356
 
357
+ #: widgets/class.yith-wcan-navigation-widget.php:901
358
  msgid "Query Type:"
359
  msgstr ""
360
 
361
+ #: widgets/class.yith-wcan-navigation-widget.php:903
362
  msgid "AND"
363
  msgstr ""
364
 
365
+ #: widgets/class.yith-wcan-navigation-widget.php:904
366
  msgid "OR"
367
  msgstr ""
368
 
369
+ #: widgets/class.yith-wcan-navigation-widget.php:910
370
  msgid "Attribute:"
371
  msgstr ""
372
 
373
+ #: widgets/class.yith-wcan-navigation-widget.php:917
374
  msgid "Display (default All):"
375
  msgstr ""
376
 
377
+ #: widgets/class.yith-wcan-navigation-widget.php:919
378
  msgid "All (no hierarchical)"
379
  msgstr ""
380
 
381
+ #: widgets/class.yith-wcan-navigation-widget.php:920
382
  msgid "All (hierarchical)"
383
  msgstr ""
384
 
385
+ #: widgets/class.yith-wcan-navigation-widget.php:921
386
  msgid "Only Parent"
387
  msgstr ""
388
 
389
+ #: widgets/class.yith-wcan-navigation-widget.php:928
390
  msgid "CSS custom class"
391
  msgstr ""
392
 
plugin-fw/.jshintrc ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "boss": true,
3
+ "curly": true,
4
+ "eqeqeq": true,
5
+ "eqnull": true,
6
+ "es3": true,
7
+ "expr": true,
8
+ "immed": true,
9
+ "noarg": true,
10
+ "onevar": true,
11
+ "trailing": true,
12
+ "undef": true,
13
+ "unused": true,
14
+
15
+ "browser": true,
16
+
17
+ "globals": {
18
+ "_": false,
19
+ "Backbone": false,
20
+ "jQuery": true,
21
+ "console": true,
22
+ "alert": true,
23
+ "JSON": false,
24
+ "wp": false
25
+ }
26
+ }
plugin-fw/Gruntfile.js ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * in vagrant ssh, launch:
3
+ * - npm install
4
+ * - grunt (or use npm scripts in package.json)
5
+ */
6
+
7
+ const potInfo = {
8
+ potFilename: 'yith-plugin-fw.pot',
9
+ potHeaders : {
10
+ poedit : true, // Includes common Poedit headers.
11
+ 'x-poedit-keywordslist': true, // Include a list of all possible gettext functions.
12
+ 'report-msgid-bugs-to' : 'YITH <plugins@yithemes.com>',
13
+ 'language-team' : 'YITH <info@yithemes.com>'
14
+ }
15
+ };
16
+
17
+ module.exports = function ( grunt ) {
18
+ 'use strict';
19
+
20
+ grunt.initConfig( {
21
+ dirs: {
22
+ css: 'assets/css',
23
+ js : 'assets/js'
24
+ },
25
+
26
+ uglify: {
27
+ options: {
28
+ ie8 : true,
29
+ parse : {
30
+ strict: false
31
+ },
32
+ output: {
33
+ comments: /@license|@preserve|^!/
34
+ }
35
+ },
36
+ common : {
37
+ files: [{
38
+ expand: true,
39
+ cwd : '<%= dirs.js %>/',
40
+ src : ['*.js', '!*.min.js'],
41
+ dest : '<%= dirs.js %>/',
42
+ rename: function ( dst, src ) {
43
+ // To keep the source js files and make new files as `*.min.js`:
44
+ return dst + '/' + src.replace( '.js', '.min.js' );
45
+ }
46
+ }]
47
+ }
48
+ },
49
+
50
+ jshint: {
51
+ options: {
52
+ jshintrc: '.jshintrc'
53
+ },
54
+ all : [
55
+ '<%= dirs.js %>/*.js',
56
+ '!<%= dirs.js %>/*.min.js'
57
+ ]
58
+ },
59
+
60
+
61
+ makepot: {
62
+ options: {
63
+ type : 'wp-plugin',
64
+ domainPath : 'languages',
65
+ domain : 'yith-plugin-fw',
66
+ potHeaders : potInfo.potHeaders,
67
+ updatePoFiles: true
68
+ },
69
+ dist : {
70
+ options: {
71
+ potFilename: potInfo.potFilename,
72
+ exclude : [
73
+ 'node_modules/.*',
74
+ 'tests/.*',
75
+ 'tmp/.*'
76
+ ]
77
+ }
78
+ }
79
+ }
80
+
81
+ } );
82
+
83
+ // Load NPM tasks to be used here.
84
+ grunt.loadNpmTasks( 'grunt-wp-i18n' );
85
+
86
+ // Use uglify-es (instead of uglify) to uglify also JS for ES6.
87
+ grunt.loadNpmTasks( 'grunt-contrib-uglify-es' );
88
+
89
+ // Register tasks.
90
+ grunt.registerTask( 'js', ['uglify'] );
91
+ grunt.registerTask( 'i18n', ['makepot'] );
92
+ grunt.registerTask( 'default', [
93
+ 'js',
94
+ 'i18n'
95
+ ] );
96
+ };
plugin-fw/assets/css/yit-plugin-panel.css CHANGED
@@ -46,7 +46,12 @@
46
  margin-right : 15px;
47
  }
48
 
49
- .yith-plugin-fw-panel-custom-tab-container > h2 {
 
 
 
 
 
50
  border : none;
51
  padding : 15px 0;
52
  }
@@ -124,7 +129,7 @@
124
  cursor : pointer;
125
  background-color : #375f6b;
126
  color : #fff;
127
- margin-left: 10px !important;
128
  }
129
 
130
  .yith-plugin-fw-wp-page-wrapper .wrap a.page-title-action:hover {
46
  margin-right : 15px;
47
  }
48
 
49
+ .yith-plugin-ui .yith-plugin-fw-panel-custom-tab-container{
50
+ border: 1px solid #ddd;
51
+ border-top : 0;
52
+ }
53
+
54
+ .yith-plugin-ui .yith-plugin-fw-panel-custom-tab-container > h2 {
55
  border : none;
56
  padding : 15px 0;
57
  }
129
  cursor : pointer;
130
  background-color : #375f6b;
131
  color : #fff;
132
+ margin-left : 10px !important;
133
  }
134
 
135
  .yith-plugin-fw-wp-page-wrapper .wrap a.page-title-action:hover {
plugin-fw/assets/css/yith-fields.css CHANGED
@@ -28,8 +28,8 @@
28
  }
29
 
30
  .yith-plugin-fw-title-field-wrapper h3.title {
31
- width : 100%;
32
- padding: 0 !important;
33
  }
34
 
35
  .the-metabox .yith-plugin-fw-title-field-wrapper h3.title {
@@ -37,15 +37,16 @@
37
  }
38
 
39
  .yith-plugin-fw span.color-alpha {
40
- height: 100%!important;
41
- width: 100% !important;
42
- border: 1px solid #d9d9d9;
43
- margin: -1px;
44
  }
45
 
46
- .yith-plugin-fw .wp-color-result-text{
47
- height: 100%;
48
  }
 
49
  .yith-plugin-fw input[type=email],
50
  .yith-plugin-fw input[type=number],
51
  .yith-plugin-fw input[type=text]:not(.select2-search__field),
@@ -55,11 +56,11 @@
55
  .yith-plugin-ui input[type=password],
56
  .woocommerce .yith-plugin-fw table.form-table input[type=text]:not(.select2-search__field),
57
  .woocommerce .yith-plugin-fw table.form-table select {
58
- width : 400px;
59
- max-width : 100%;
60
- height : 30px;
61
- padding : 5px;
62
- line-height: 1;
63
  }
64
 
65
  .woocommerce .yith-plugin-fw table.form-table input[type=text].wp-color-picker,
@@ -72,8 +73,8 @@
72
  padding : 3px 5px;
73
  }
74
 
75
- .wp-core-ui .yith-plugin-fw-colorpicker-field-wrapper button{
76
- border-color: #7e8993;
77
  }
78
 
79
  .woocommerce .yith-plugin-fw table.form-table input[type=text].colorpick,
@@ -442,12 +443,12 @@ ul.yit-icons-manager-list li.active {
442
  WordPress 5.3 with old panel fixes
443
  ****************/
444
  .yith-plugin-fw-field-wrapper .select2-container .select2-selection--single {
445
- height: auto;
446
- line-height: 1;
447
  }
448
 
449
- .yith-plugin-fw-field-wrapper .select2-container .select2-selection--single .select2-selection__arrow{
450
- height: 100%;
451
  }
452
 
453
  /****************
@@ -480,157 +481,192 @@ YITH UI
480
  }
481
 
482
  .yith-icon-paypal-svgrepo-com:before {
483
- content: "\e91b";
484
  }
 
485
  .yith-icon-check-circle:before {
486
- content: "\e921";
487
- color: #757575;
488
  }
 
489
  .yith-icon-info-squared:before {
490
- content: "\e922";
491
- color: #757575;
492
  }
 
493
  .yith-icon-warning-triangle:before {
494
- content: "\e923";
495
- color: #757575;
496
  }
 
497
  .yith-icon-bank:before {
498
- content: "\e91c";
499
  }
 
500
  .yith-icon-accounting:before {
501
- content: "\e91d";
502
  }
 
503
  .yith-icon-bank-check:before {
504
- content: "\e91e";
505
  }
 
506
  .yith-icon-cash:before {
507
- content: "\e91f";
508
  }
 
509
  .yith-icon-credit-card:before {
510
- content: "\e920";
511
  }
 
512
  .yith-icon-calendar_add:before {
513
- content: "\e913";
514
- color: #757575;
515
  }
 
516
  .yith-icon-calendar_money:before {
517
- content: "\e914";
518
- color: #757575;
519
  }
 
520
  .yith-icon-calendar2:before {
521
- content: "\e915";
522
- color: #757575;
523
  }
 
524
  .yith-icon-people:before {
525
- content: "\e916";
526
- color: #757575;
527
  }
 
528
  .yith-icon-shield_money:before {
529
- content: "\e917";
530
- color: #757575;
531
  }
 
532
  .yith-icon-time_check:before {
533
- content: "\e918";
534
- color: #757575;
535
  }
 
536
  .yith-icon-world_settings:before {
537
- content: "\e919";
538
- color: #757575;
539
  }
 
540
  .yith-icon-arrow_eye_closed:before {
541
- content: "\e912";
542
- color: #757575;
543
  }
 
544
  .yith-icon-arrow_eye:before {
545
- content: "\e911";
546
- color: #757575;
547
  }
 
548
  .yith-icon-reset:before {
549
- content: "\e910";
550
- color: #757575;
551
  }
 
552
  .yith-icon-drag:before {
553
- content: "\e90f";
554
- color: #757575;
555
  }
 
556
  .yith-icon-trash:before {
557
- content: "\e90d";
558
- color: #757575;
559
  }
 
560
  .yith-icon-info:before {
561
- content: "\e90e";
562
- color: #757575;
563
  }
 
564
  .yith-icon-arrow_down:before {
565
- content: "\e900";
566
- color: #757575;
567
  }
 
568
  .yith-icon-arrow_left:before {
569
- content: "\e901";
570
- color: #757575;
571
  }
 
572
  .yith-icon-arrow_right:before {
573
- content: "\e902";
574
- color: #757575;
575
  }
 
576
  .yith-icon-arrow_up:before {
577
- content: "\e903";
578
- color: #757575;
579
  }
 
580
  .yith-icon-calendar:before {
581
- content: "\e904";
582
- color: #757575;
583
  }
 
584
  .yith-icon-check:before {
585
- content: "\e905";
586
- color: #757575;
587
  }
 
588
  .yith-icon-close:before {
589
- content: "\e906";
590
- color: #757575;
591
  }
 
592
  .yith-icon-edit:before {
593
- content: "\e907";
594
- color: #757575;
595
  }
 
596
  .yith-icon-magnifier:before {
597
- content: "\e908";
598
- color: #757575;
599
  }
 
600
  .yith-icon-pencil:before {
601
- content: "\e909";
602
- color: #757575;
603
  }
 
604
  .yith-icon-plus:before {
605
- content: "\e90a";
606
- color: #757575;
607
  }
 
608
  .yith-icon-update:before {
609
- content: "\e90b";
610
- color: #757575;
611
  }
 
612
  .yith-icon-upload:before {
613
- content: "\e90c";
614
- color: #757575;
615
  }
 
616
  .yith-icon-reply:before {
617
- content: "\e91a";
618
  }
619
 
620
  .yith-plugin-fw-banner {
621
- width : 100%;
622
- height: 45px;
623
- background : url('../images/banner-premium.png');
624
- display: flex;
625
- align-items: center;
626
- padding-right: -23px;
627
  }
628
 
629
  .yith-plugin-fw-banner h1 {
630
  text-transform : uppercase;
631
  color : #0c5777;
632
  font-size : 15px;
633
- padding: 0 0 0 110px;
634
  font-weight : 700;
635
  text-align : left;
636
  display : inline-block;
@@ -653,19 +689,20 @@ YITH UI
653
  box-shadow : none;
654
  }
655
 
656
- .yith-plugin-fw-rate{
657
- margin: 20px 0;
658
  }
659
 
660
- .yith-plugin-fw-rate .dashicons-star-filled{
661
- font-size: 12px;
662
- margin: 4px -4px;
663
- color: #0c5777;
664
  }
665
 
666
- .yith-plugin-fw-rate a{
667
- text-decoration: none;
668
  }
 
669
  .yith-plugin-ui a {
670
  outline : none;
671
  box-shadow : none;
@@ -784,9 +821,11 @@ YITH UI
784
  .yith-plugin-ui #plugin-fw-wc table.form-table th, #yith-plugin-fw-panel table.form-table th.titledesc, .yith-plugin-ui #plugin-fw-wc table.form-table td, #yith-plugin-fw-panel table.form-table td.forminp {
785
  padding : 30px 20px;
786
  }
 
787
  .yith-plugin-ui #plugin-fw-wc table.form-table tr.toggle-element-fixed td, #yith-plugin-fw-panel table.form-table tr.toggle-element-fixed td.forminp {
788
- padding: 0 20px 30px;
789
  }
 
790
  .yith-plugin-ui #plugin-fw-wc h2 + div {
791
  background : #fff;
792
  border-left : 1px solid #d9d9d9;
@@ -863,11 +902,11 @@ YITH UI
863
  .yith-plugin-ui input[type=text]:not(.select2-search__field).wp-color-picker,
864
  .yith-plugin-ui table.form-table input[type=text].wp-color-picker,
865
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text].wp-color-picker {
866
- border: 0;
867
- height: 30px;
868
- max-width: 121px;
869
- font-size: 11px;
870
- padding: 0;
871
  }
872
 
873
  .yith-plugin-ui .search-box input[name="s"] {
@@ -1125,14 +1164,14 @@ YITH UI
1125
  .yith-plugin-ui .select2-container.select2-container--focus .select2-selection--single,
1126
  .yith-plugin-ui .select2-container.select2-container--focus .select2-selection--multiple,
1127
  .yith-plugin-ui .select2-container.select2-container--open .select2-selection--single,
1128
- .yith-plugin-ui .select2-container.select2-container--open .select2-selection--multiple{
1129
- margin : 0;
1130
- border : 0;
1131
  box-shadow : none;
1132
  }
1133
 
1134
- .yith-plugin-ui .select2-container .select2-selection--single .select2-selection__arrow{
1135
- background: none;
1136
  }
1137
 
1138
  /* old panel*/
@@ -1602,8 +1641,8 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
1602
 
1603
  .yith-plugin-ui .yith-plugin-fw-field-wrapper .wp-picker-input-wrap,
1604
  .yith-plugin-ui .yith-plugin-fw-field-wrapper .wp-picker-input-wrap > * {
1605
- display: inline-block !important;
1606
- vertical-align: middle;
1607
  }
1608
 
1609
  .yith-plugin-ui .yith-plugin-fw-field-wrapper .wp-picker-active .iris-picker,
@@ -1660,7 +1699,7 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
1660
  }
1661
 
1662
  .yith-plugin-ui .wp-picker-default-custom:before {
1663
- content: "\e91a";
1664
  text-indent : 0;
1665
  font-family : 'yith-icon';
1666
  font-size : 20px;
@@ -1755,7 +1794,7 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
1755
  cursor : grab;
1756
  }
1757
 
1758
- .yith-plugin-ui .yith-plugin-fw-slider-container .ui-slider-horizontal .ui-slider-handle:active:after{
1759
  cursor : grabbing;
1760
  }
1761
 
@@ -1787,9 +1826,11 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
1787
  cursor : pointer;
1788
  transition : all ease 0.5s;
1789
  }
 
1790
  .yith-plugin-ui .yith-toggle-row.fixed {
1791
- margin: 0;
1792
  }
 
1793
  .yith-plugin-ui .yith-toggle-row.highlight {
1794
  transition : all ease 0.5s;
1795
  /*box-shadow: 0 0 7px rgb(81, 117, 129);*/
@@ -2098,29 +2139,113 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
2098
 
2099
  /** MULTI SELECT **/
2100
  .yith-plugin-ui .yith-plugin-fw-multi-select .yith-single-select {
2101
- display: inline-block;
2102
- width: 30%;
2103
- margin-right: 3%;
2104
- max-width: 400px;
2105
  }
 
2106
  .yith-plugin-ui .yith-plugin-fw-multi-select .yith-single-select label {
2107
- display: block;
2108
- font-size: 11px;
2109
- font-weight: 600;
2110
- margin: 0 0 10px 0;
2111
  }
 
2112
  .yith-plugin-ui .yith-plugin-fw-multi-select .yith-single-select select,
2113
  .yith-plugin-ui .yith-plugin-fw-multi-select .yith-single-select span.select2 {
2114
- width: 100% !important;
2115
- min-width: auto !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2116
  }
2117
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2118
  /** OVERRIDE WOOCOMMERCE CLASSES FOR 5.3 */
2119
- .branch-5-3 .yith-plugin-fw .select2-container .select2-selection--single .select2-selection__arrow{
2120
- background:none;
2121
  }
2122
- .branch-5-3 .yith-plugin-fw .select2-container.select2-container--focus .select2-selection--single, .branch-5-3 .yith-plugin-fw .select2-container.select2-container--open .select2-selection--multiple, .branch-5-3 .yith-plugin-fw .select2-container.select2-container--open .select2-selection--single{
2123
- box-shadow: none;
 
2124
  }
2125
 
2126
  @media screen and (max-width : 1440px) {
@@ -2161,10 +2286,12 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
2161
  .yith-plugin-fw-banner h1 {
2162
  line-height : 1.2em;
2163
  }
2164
- .yith-plugin-fw-banner h1{
2165
- font-size: 12px;
2166
- padding-right: 10px;
 
2167
  }
 
2168
  .yith-plugin-ui .yith-add-box,
2169
  .yith-plugin-ui .yith-toggle-row {
2170
  width : 100%;
@@ -2177,7 +2304,7 @@ div#ui-datepicker-div.yith-plugin-fw-datepicker-div {
2177
  }
2178
 
2179
  .yith-plugin-ui .wp-picker-container .wp-color-result.button {
2180
- padding: 0;
2181
  }
2182
 
2183
  }
28
  }
29
 
30
  .yith-plugin-fw-title-field-wrapper h3.title {
31
+ width : 100%;
32
+ padding : 0 !important;
33
  }
34
 
35
  .the-metabox .yith-plugin-fw-title-field-wrapper h3.title {
37
  }
38
 
39
  .yith-plugin-fw span.color-alpha {
40
+ height : 100% !important;
41
+ width : 100% !important;
42
+ border : 1px solid #d9d9d9;
43
+ margin : -1px;
44
  }
45
 
46
+ .yith-plugin-fw .wp-color-result-text {
47
+ height : 100%;
48
  }
49
+
50
  .yith-plugin-fw input[type=email],
51
  .yith-plugin-fw input[type=number],
52
  .yith-plugin-fw input[type=text]:not(.select2-search__field),
56
  .yith-plugin-ui input[type=password],
57
  .woocommerce .yith-plugin-fw table.form-table input[type=text]:not(.select2-search__field),
58
  .woocommerce .yith-plugin-fw table.form-table select {
59
+ width : 400px;
60
+ max-width : 100%;
61
+ height : 30px;
62
+ padding : 5px;
63
+ line-height : 1;
64
  }
65
 
66
  .woocommerce .yith-plugin-fw table.form-table input[type=text].wp-color-picker,
73
  padding : 3px 5px;
74
  }
75
 
76
+ .wp-core-ui .yith-plugin-fw-colorpicker-field-wrapper button {
77
+ border-color : #7e8993;
78
  }
79
 
80
  .woocommerce .yith-plugin-fw table.form-table input[type=text].colorpick,
443
  WordPress 5.3 with old panel fixes
444
  ****************/
445
  .yith-plugin-fw-field-wrapper .select2-container .select2-selection--single {
446
+ height : auto;
447
+ line-height : 1;
448
  }
449
 
450
+ .yith-plugin-fw-field-wrapper .select2-container .select2-selection--single .select2-selection__arrow {
451
+ height : 100%;
452
  }
453
 
454
  /****************
481
  }
482
 
483
  .yith-icon-paypal-svgrepo-com:before {
484
+ content : "\e91b";
485
  }
486
+
487
  .yith-icon-check-circle:before {
488
+ content : "\e921";
489
+ color : #757575;
490
  }
491
+
492
  .yith-icon-info-squared:before {
493
+ content : "\e922";
494
+ color : #757575;
495
  }
496
+
497
  .yith-icon-warning-triangle:before {
498
+ content : "\e923";
499
+ color : #757575;
500
  }
501
+
502
  .yith-icon-bank:before {
503
+ content : "\e91c";
504
  }
505
+
506
  .yith-icon-accounting:before {
507
+ content : "\e91d";
508
  }
509
+
510
  .yith-icon-bank-check:before {
511
+ content : "\e91e";
512
  }
513
+
514
  .yith-icon-cash:before {
515
+ content : "\e91f";
516
  }
517
+
518
  .yith-icon-credit-card:before {
519
+ content : "\e920";
520
  }
521
+
522
  .yith-icon-calendar_add:before {
523
+ content : "\e913";
524
+ color : #757575;
525
  }
526
+
527
  .yith-icon-calendar_money:before {
528
+ content : "\e914";
529
+ color : #757575;
530
  }
531
+
532
  .yith-icon-calendar2:before {
533
+ content : "\e915";
534
+ color : #757575;
535
  }
536
+
537
  .yith-icon-people:before {
538
+ content : "\e916";
539
+ color : #757575;
540
  }
541
+
542
  .yith-icon-shield_money:before {
543
+ content : "\e917";
544
+ color : #757575;
545
  }
546
+
547
  .yith-icon-time_check:before {
548
+ content : "\e918";
549
+ color : #757575;
550
  }
551
+
552
  .yith-icon-world_settings:before {
553
+ content : "\e919";
554
+ color : #757575;
555
  }
556
+
557
  .yith-icon-arrow_eye_closed:before {
558
+ content : "\e912";
559
+ color : #757575;
560
  }
561
+
562
  .yith-icon-arrow_eye:before {
563
+ content : "\e911";
564
+ color : #757575;
565
  }
566
+
567
  .yith-icon-reset:before {
568
+ content : "\e910";
569
+ color : #757575;
570
  }
571
+
572
  .yith-icon-drag:before {
573
+ content : "\e90f";
574
+ color : #757575;
575
  }
576
+
577
  .yith-icon-trash:before {
578
+ content : "\e90d";
579
+ color : #757575;
580
  }
581
+
582
  .yith-icon-info:before {
583
+ content : "\e90e";
584
+ color : #757575;
585
  }
586
+
587
  .yith-icon-arrow_down:before {
588
+ content : "\e900";
589
+ color : #757575;
590
  }
591
+
592
  .yith-icon-arrow_left:before {
593
+ content : "\e901";
594
+ color : #757575;
595
  }
596
+
597
  .yith-icon-arrow_right:before {
598
+ content : "\e902";
599
+ color : #757575;
600
  }
601
+
602
  .yith-icon-arrow_up:before {
603
+ content : "\e903";
604
+ color : #757575;
605
  }
606
+
607
  .yith-icon-calendar:before {
608
+ content : "\e904";
609
+ color : #757575;
610
  }
611
+
612
  .yith-icon-check:before {
613
+ content : "\e905";
614
+ color : #757575;
615
  }
616
+
617
  .yith-icon-close:before {
618
+ content : "\e906";
619
+ color : #757575;
620
  }
621
+
622
  .yith-icon-edit:before {
623
+ content : "\e907";
624
+ color : #757575;
625
  }
626
+
627
  .yith-icon-magnifier:before {
628
+ content : "\e908";
629
+ color : #757575;
630
  }
631
+
632
  .yith-icon-pencil:before {
633
+ content : "\e909";
634
+ color : #757575;
635
  }
636
+
637
  .yith-icon-plus:before {
638
+ content : "\e90a";
639
+ color : #757575;
640
  }
641
+
642
  .yith-icon-update:before {
643
+ content : "\e90b";
644
+ color : #757575;
645
  }
646
+
647
  .yith-icon-upload:before {
648
+ content : "\e90c";
649
+ color : #757575;
650
  }
651
+
652
  .yith-icon-reply:before {
653
+ content : "\e91a";
654
  }
655
 
656
  .yith-plugin-fw-banner {
657
+ width : 100%;
658
+ height : 45px;
659
+ background : url('../images/banner-premium.png');
660
+ display : flex;
661
+ align-items : center;
662
+ padding-right : -23px;
663
  }
664
 
665
  .yith-plugin-fw-banner h1 {
666
  text-transform : uppercase;
667
  color : #0c5777;
668
  font-size : 15px;
669
+ padding : 0 0 0 110px;
670
  font-weight : 700;
671
  text-align : left;
672
  display : inline-block;
689
  box-shadow : none;
690
  }
691
 
692
+ .yith-plugin-fw-rate {
693
+ margin : 20px 0;
694
  }
695
 
696
+ .yith-plugin-fw-rate .dashicons-star-filled {
697
+ font-size : 12px;
698
+ margin : 4px -4px;
699
+ color : #0c5777;
700
  }
701
 
702
+ .yith-plugin-fw-rate a {
703
+ text-decoration : none;
704
  }
705
+
706
  .yith-plugin-ui a {
707
  outline : none;
708
  box-shadow : none;
821
  .yith-plugin-ui #plugin-fw-wc table.form-table th, #yith-plugin-fw-panel table.form-table th.titledesc, .yith-plugin-ui #plugin-fw-wc table.form-table td, #yith-plugin-fw-panel table.form-table td.forminp {
822
  padding : 30px 20px;
823
  }
824
+
825
  .yith-plugin-ui #plugin-fw-wc table.form-table tr.toggle-element-fixed td, #yith-plugin-fw-panel table.form-table tr.toggle-element-fixed td.forminp {
826
+ padding : 0 20px 30px;
827
  }
828
+
829
  .yith-plugin-ui #plugin-fw-wc h2 + div {
830
  background : #fff;
831
  border-left : 1px solid #d9d9d9;
902
  .yith-plugin-ui input[type=text]:not(.select2-search__field).wp-color-picker,
903
  .yith-plugin-ui table.form-table input[type=text].wp-color-picker,
904
  .woocommerce.yith-plugin-fw-panel .yith-plugin-ui table.form-table input[type=text].wp-color-picker {
905
+ border : 0;
906
+ height : 30px;
907
+ max-width : 121px;
908
+ font-size : 11px;
909
+ padding : 0;
910
  }
911
 
912
  .yith-plugin-ui .search-box input[name="s"] {
1164
  .yith-plugin-ui .select2-container.select2-container--focus .select2-selection--single,
1165
  .yith-plugin-ui .select2-container.select2-container--focus .select2-selection--multiple,
1166
  .yith-plugin-ui .select2-container.select2-container--open .select2-selection--single,
1167
+ .yith-plugin-ui .select2-container.select2-container--open .select2-selection--multiple {
1168
+ margin : 0;
1169
+ border : 0;
1170
  box-shadow : none;
1171
  }
1172
 
1173
+ .yith-plugin-ui .select2-container .select2-selection--single .select2-selection__arrow {
1174
+ background : none;
1175
  }
1176
 
1177
  /* old panel*/
1641
 
1642
  .yith-plugin-ui .yith-plugin-fw-field-wrapper .wp-picker-input-wrap,
1643
  .yith-plugin-ui .yith-plugin-fw-field-wrapper .wp-picker-input-wrap > * {
1644
+ display : inline-block !important;
1645
+ vertical-align : middle;
1646
  }
1647
 
1648
  .yith-plugin-ui .yith-plugin-fw-field-wrapper .wp-picker-active .iris-picker,
1699
  }
1700
 
1701
  .yith-plugin-ui .wp-picker-default-custom:before {
1702
+ content : "\e91a";
1703
  text-indent : 0;
1704
  font-family : 'yith-icon';
1705
  font-size : 20px;
1794
  cursor : grab;
1795
  }
1796
 
1797
+ .yith-plugin-ui .yith-plugin-fw-slider-container .ui-slider-horizontal .ui-slider-handle:active:after {
1798
  cursor : grabbing;
1799
  }
1800
 
1826
  cursor : pointer;
1827
  transition : all ease 0.5s;
1828
  }
1829
+
1830
  .yith-plugin-ui .yith-toggle-row.fixed {
1831
+ margin : 0;
1832
  }
1833
+
1834
  .yith-plugin-ui .yith-toggle-row.highlight {
1835
  transition : all ease 0.5s;
1836
  /*box-shadow: 0 0 7px rgb(81, 117, 129);*/
2139
 
2140
  /** MULTI SELECT **/
2141
  .yith-plugin-ui .yith-plugin-fw-multi-select .yith-single-select {
2142
+ display : inline-block;
2143
+ width : 30%;
2144
+ margin-right : 3%;
2145
+ max-width : 400px;
2146
  }
2147
+
2148
  .yith-plugin-ui .yith-plugin-fw-multi-select .yith-single-select label {
2149
+ display : block;
2150
+ font-size : 11px;
2151
+ font-weight : 600;
2152
+ margin : 0 0 10px 0;
2153
  }
2154
+
2155
  .yith-plugin-ui .yith-plugin-fw-multi-select .yith-single-select select,
2156
  .yith-plugin-ui .yith-plugin-fw-multi-select .yith-single-select span.select2 {
2157
+ width : 100% !important;
2158
+ min-width : auto !important;
2159
+ }
2160
+
2161
+ /**
2162
+ * Dimensions
2163
+ */
2164
+
2165
+ .yith-plugin-fw-dimensions {
2166
+ max-width : 400px;
2167
+ }
2168
+
2169
+ .yith-plugin-fw-dimensions__units {
2170
+ text-align : right;
2171
+ text-transform : uppercase;
2172
+ }
2173
+
2174
+ .yith-plugin-fw-dimensions__unit {
2175
+ display : inline-block;
2176
+ padding : 5px 3px;
2177
+ cursor : pointer;
2178
+ font-weight : 700;
2179
+ }
2180
+
2181
+ .yith-plugin-fw-dimensions__unit--selected {
2182
+ text-decoration : underline;
2183
+ color : #007694;
2184
+ }
2185
+
2186
+ .yith-plugin-fw-dimensions__dimensions {
2187
+ display : flex;
2188
+ margin-top : 3px;
2189
+ }
2190
+
2191
+ .yith-plugin-fw-dimensions__dimension {
2192
+ text-align : center;
2193
+ }
2194
+
2195
+ .yith-plugin-fw-dimensions__dimension > input[type=number].yith-plugin-fw-dimensions__dimension__number {
2196
+ width : 100% !important;
2197
+ min-width : 0 !important;
2198
+ border-radius : 0 !important;
2199
+ border : 1px solid #d8d8d8 !important;
2200
+ border-left : none !important;
2201
+ height : 38px !important;
2202
+ text-align : center;
2203
+ }
2204
+
2205
+ .yith-plugin-fw-dimensions__dimension:first-child > input[type=number].yith-plugin-fw-dimensions__dimension__number {
2206
+ border-left : 1px solid #d8d8d8 !important;
2207
+ border-radius : 6px 0 0 6px !important;
2208
+ }
2209
+
2210
+ .yith-plugin-fw-dimensions__dimension:last-child > input[type=number].yith-plugin-fw-dimensions__dimension__number {
2211
+ border-radius : 0 6px 6px 0 !important;
2212
+ }
2213
+
2214
+ .yith-plugin-fw-dimensions__dimension__label {
2215
+ text-transform : uppercase;
2216
+ font-weight : 700;
2217
+ color : #91959b;
2218
+ font-size : .8em;
2219
+ }
2220
+
2221
+ .yith-plugin-fw-dimensions__linked {
2222
+ cursor : pointer;
2223
  }
2224
 
2225
+ .yith-plugin-fw-dimensions__linked span {
2226
+ border : 1px solid #d8d8d8;
2227
+ border-left : none;
2228
+ height : 38px;
2229
+ border-radius : 0 6px 6px 0;
2230
+ box-sizing : border-box;
2231
+ padding : 8px 10px;
2232
+ width : 100%;
2233
+ }
2234
+
2235
+ .yith-plugin-fw-dimensions--linked-active .yith-plugin-fw-dimensions__linked span {
2236
+ color : #fff;
2237
+ background : #007694;
2238
+ border-color : #007694;
2239
+ }
2240
+
2241
+
2242
  /** OVERRIDE WOOCOMMERCE CLASSES FOR 5.3 */
2243
+ .branch-5-3 .yith-plugin-fw .select2-container .select2-selection--single .select2-selection__arrow {
2244
+ background : none;
2245
  }
2246
+
2247
+ .branch-5-3 .yith-plugin-fw .select2-container.select2-container--focus .select2-selection--single, .branch-5-3 .yith-plugin-fw .select2-container.select2-container--open .select2-selection--multiple, .branch-5-3 .yith-plugin-fw .select2-container.select2-container--open .select2-selection--single {
2248
+ box-shadow : none;
2249
  }
2250
 
2251
  @media screen and (max-width : 1440px) {
2286
  .yith-plugin-fw-banner h1 {
2287
  line-height : 1.2em;
2288
  }
2289
+
2290
+ .yith-plugin-fw-banner h1 {
2291
+ font-size : 12px;
2292
+ padding-right : 10px;
2293
  }
2294
+
2295
  .yith-plugin-ui .yith-add-box,
2296
  .yith-plugin-ui .yith-toggle-row {
2297
  width : 100%;
2304
  }
2305
 
2306
  .yith-plugin-ui .wp-picker-container .wp-color-result.button {
2307
+ padding : 0;
2308
  }
2309
 
2310
  }
plugin-fw/assets/js/how-to.min.js CHANGED
@@ -1 +1 @@
1
- (function(a){a=a("#yith-how-to-premium").parent();"undefined"!=typeof a&&a.prop("target","_blank")})(jQuery);
1
+ !function(r){var t=jQuery("#yith-how-to-premium").parent();void 0!==t&&t.prop("target","_blank")}();
plugin-fw/assets/js/jquery.colorbox.min.js CHANGED
@@ -1,33 +1,6 @@
1
- /*
2
- Colorbox 1.6.3
3
- license: MIT
4
- http://www.jacklmoore.com/colorbox
5
  */
6
- var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(b,h,g){b instanceof String&&(b=String(b));for(var d=b.length,r=0;r<d;r++){var C=b[r];if(h.call(g,C,r,b))return{i:r,v:C}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(b,h,g){b!=Array.prototype&&b!=Object.prototype&&(b[h]=g.value)};
7
- $jscomp.getGlobal=function(b){return"undefined"!=typeof window&&window===b?b:"undefined"!=typeof global&&null!=global?global:b};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(b,h,g,d){if(h){g=$jscomp.global;b=b.split(".");for(d=0;d<b.length-1;d++){var r=b[d];r in g||(g[r]={});g=g[r]}b=b[b.length-1];d=g[b];h=h(d);h!=d&&null!=h&&$jscomp.defineProperty(g,b,{configurable:!0,writable:!0,value:h})}};
8
- $jscomp.polyfill("Array.prototype.find",function(b){return b?b:function(b,g){return $jscomp.findInternal(this,b,g).v}},"es6","es3");
9
- (function(b,h,g){function d(a,f,H){a=h.createElement(a);f&&(a.id="cbox"+f);H&&(a.style.cssText=H);return b(a)}function r(){return g.innerHeight?g.innerHeight:b(g).height()}function C(a,f){f!==Object(f)&&(f={});this.cache={};this.el=a;this.value=function(a){if(void 0===this.cache[a]){var c=b(this.el).attr("data-cbox-"+a);void 0!==c?this.cache[a]=c:void 0!==f[a]?this.cache[a]=f[a]:void 0!==S[a]&&(this.cache[a]=S[a])}return this.cache[a]};this.get=function(a){a=this.value(a);return b.isFunction(a)?a.call(this.el,
10
- this):a}}function O(a){var c=n.length;a=(p+a)%c;return 0>a?c+a:a}function q(a,b){return Math.round((/%/.test(a)?("x"===b?x.width():r())/100:1)*parseInt(a,10))}function ca(a,b){return a.get("photo")||a.get("photoRegex").test(b)}function da(a,b){return a.get("retinaUrl")&&1<g.devicePixelRatio?b.replace(a.get("photoRegex"),a.get("retinaSuffix")):b}function ea(a){"contains"in k[0]&&!k[0].contains(a.target)&&a.target!==y[0]&&(a.stopPropagation(),k.focus())}function I(a){I.str!==a&&(k.add(y).removeClass(I.str).addClass(a),
11
- I.str=a)}function ja(c){p=0;c&&!1!==c&&"nofollow"!==c?(n=b(".cboxElement").filter(function(){var a=b.data(this,"colorbox");return(new C(this,a)).get("rel")===c}),p=n.index(a.el),-1===p&&(n=n.add(a.el),p=n.length-1)):n=b(a.el)}function E(a){b(h).trigger(a);t.triggerHandler(a)}function P(c){if(!J){var f=b(c).data("colorbox");a=new C(c,f);ja(a.get("rel"));if(!z){z=K=!0;I(a.get("className"));k.css({visibility:"hidden",display:"block",opacity:""});l=d("div","LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden");
12
- u.css({width:"",height:""}).append(l);v=T.height()+U.height()+u.outerHeight(!0)-u.height();w=V.width()+W.width()+u.outerWidth(!0)-u.width();A=l.outerHeight(!0);B=l.outerWidth(!0);c=q(a.get("initialWidth"),"x");f=q(a.get("initialHeight"),"y");var H=a.get("maxWidth"),e=a.get("maxHeight");a.w=Math.max((!1!==H?Math.min(c,q(H,"x")):c)-B-w,0);a.h=Math.max((!1!==e?Math.min(f,q(e,"y")):f)-A-v,0);l.css({width:"",height:a.h});m.position();E("cbox_open");a.get("onOpen");X.add(Y).hide();k.focus();a.get("trapFocus")&&
13
- h.addEventListener&&(h.addEventListener("focus",ea,!0),t.one("cbox_closed",function(){h.removeEventListener("focus",ea,!0)}));if(a.get("returnFocus"))t.one("cbox_closed",function(){b(a.el).focus()})}c=parseFloat(a.get("opacity"));y.css({opacity:c===c?c:"",cursor:a.get("overlayClose")?"pointer":"",visibility:"visible"}).show();a.get("closeButton")?Q.html(a.get("close")).appendTo(u):Q.appendTo("<div/>");ka()}}function fa(){k||(Z=!1,x=b(g),k=d("div").attr({id:"colorbox","class":!1===b.support.opacity?
14
- "cboxIE":"",role:"dialog",tabindex:"-1"}).hide(),y=d("div","Overlay").hide(),R=b([d("div","LoadingOverlay")[0],d("div","LoadingGraphic")[0]]),F=d("div","Wrapper"),u=d("div","Content").append(Y=d("div","Title"),aa=d("div","Current"),L=b('<button type="button"/>').attr({id:"cboxPrevious"}),M=b('<button type="button"/>').attr({id:"cboxNext"}),G=d("button","Slideshow"),R),Q=b('<button type="button"/>').attr({id:"cboxClose"}),F.append(d("div").append(d("div","TopLeft"),T=d("div","TopCenter"),d("div","TopRight")),
15
- d("div",!1,"clear:left").append(V=d("div","MiddleLeft"),u,W=d("div","MiddleRight")),d("div",!1,"clear:left").append(d("div","BottomLeft"),U=d("div","BottomCenter"),d("div","BottomRight"))).find("div div").css({"float":"left"}),N=d("div",!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),X=M.add(L).add(aa).add(G));h.body&&!k.parent().length&&b(h.body).append(y,k.append(F,N))}function la(){function c(a){1<a.which||a.shiftKey||a.altKey||a.metaKey||a.ctrlKey||(a.preventDefault(),
16
- P(this))}if(k){if(!Z)if(Z=!0,M.click(function(){m.next()}),L.click(function(){m.prev()}),Q.click(function(){m.close()}),y.click(function(){a.get("overlayClose")&&m.close()}),b(h).bind("keydown.cbox",function(b){var c=b.keyCode;z&&a.get("escKey")&&27===c&&(b.preventDefault(),m.close());z&&a.get("arrowKey")&&n[1]&&!b.altKey&&(37===c?(b.preventDefault(),L.click()):39===c&&(b.preventDefault(),M.click()))}),b.isFunction(b.fn.on))b(h).on("click.cbox",".cboxElement",c);else b(".cboxElement").live("click.cbox",
17
- c);return!0}return!1}function ka(){var c,f=m.prep,k=++ba;K=!0;e=!1;E("cbox_purge");E("cbox_load");a.get("onLoad");a.h=a.get("height")?q(a.get("height"),"y")-A-v:a.get("innerHeight")&&q(a.get("innerHeight"),"y");a.w=a.get("width")?q(a.get("width"),"x")-B-w:a.get("innerWidth")&&q(a.get("innerWidth"),"x");a.mw=a.w;a.mh=a.h;a.get("maxWidth")&&(a.mw=q(a.get("maxWidth"),"x")-B-w,a.mw=a.w&&a.w<a.mw?a.w:a.mw);a.get("maxHeight")&&(a.mh=q(a.get("maxHeight"),"y")-A-v,a.mh=a.h&&a.h<a.mh?a.h:a.mh);var D=a.get("href");
18
- ha=setTimeout(function(){R.show()},100);if(a.get("inline")){var h=b(D);var l=b("<div>").hide().insertBefore(h);t.one("cbox_purge",function(){l.replaceWith(h)});f(h)}else a.get("iframe")?f(" "):a.get("html")?f(a.get("html")):ca(a,D)?(D=da(a,D),e=a.get("createImg"),b(e).addClass("cboxPhoto").bind("error.cbox",function(){f(d("div","Error").html(a.get("imgError")))}).one("load",function(){k===ba&&setTimeout(function(){a.get("retinaImage")&&1<g.devicePixelRatio&&(e.height/=g.devicePixelRatio,e.width/=
19
- g.devicePixelRatio);if(a.get("scalePhotos")){c=function(){e.height-=e.height*d;e.width-=e.width*d};if(a.mw&&e.width>a.mw){var d=(e.width-a.mw)/e.width;c()}a.mh&&e.height>a.mh&&(d=(e.height-a.mh)/e.height,c())}a.h&&(e.style.marginTop=Math.max(a.mh-e.height,0)/2+"px");n[1]&&(a.get("loop")||n[p+1])&&(e.style.cursor="pointer",b(e).bind("click.cbox",function(){m.next()}));e.style.width=e.width+"px";e.style.height=e.height+"px";f(e)},1)}),e.src=D):D&&N.load(D,a.get("data"),function(c,e){k===ba&&f("error"===
20
- e?d("div","Error").html(a.get("xhrError")):b(this).contents())})}var S={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,
21
- slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return b(this).attr("href")},
22
- title:function(){return this.title},createImg:function(){var a=new Image,f=b(this).data("cbox-img-attrs");"object"===typeof f&&b.each(f,function(b,c){a[b]=c});return a},createIframe:function(){var a=h.createElement("iframe"),f=b(this).data("cbox-iframe-attrs");"object"===typeof f&&b.each(f,function(b,c){a[b]=c});"frameBorder"in a&&(a.frameBorder=0);"allowTransparency"in a&&(a.allowTransparency="true");a.name=(new Date).getTime();a.allowFullscreen=!0;return a}},y,k,F,u,T,V,W,U,n,x,l,N,R,Y,aa,G,M,L,
23
- Q,X,t=b("<a/>"),a,v,w,A,B,p,e,z,K,J,ha,ba=0,ia={},Z,ma=function(){function b(){clearTimeout(l)}function f(){if(a.get("loop")||n[p+1])b(),l=setTimeout(m.next,a.get("slideshowSpeed"))}function d(){G.html(a.get("slideshowStop")).unbind("click.cbox").one("click.cbox",e);t.bind("cbox_complete",f).bind("cbox_load",b);k.removeClass("cboxSlideshow_off").addClass("cboxSlideshow_on")}function e(){b();t.unbind("cbox_complete",f).unbind("cbox_load",b);G.html(a.get("slideshowStart")).unbind("click.cbox").one("click.cbox",
24
- function(){m.next();d()});k.removeClass("cboxSlideshow_on").addClass("cboxSlideshow_off")}function h(){g=!1;G.hide();b();t.unbind("cbox_complete",f).unbind("cbox_load",b);k.removeClass("cboxSlideshow_off cboxSlideshow_on")}var g,l;return function(){g?a.get("slideshow")||(t.unbind("cbox_cleanup",h),h()):a.get("slideshow")&&n[1]&&(g=!0,t.one("cbox_cleanup",h),a.get("slideshowAuto")?d():e(),G.show())}}();if(!b.colorbox){b(fa);var m=b.fn.colorbox=b.colorbox=function(a,f){var c=this;a=a||{};b.isFunction(c)&&
25
- (c=b("<a/>"),a.open=!0);if(!c[0])return c;fa();la()&&(f&&(a.onComplete=f),c.each(function(){var c=b.data(this,"colorbox")||{};b.data(this,"colorbox",b.extend(c,a))}).addClass("cboxElement"),f=new C(c[0],a),f.get("open")&&P(c[0]));return c};m.position=function(c,f){function d(){T[0].style.width=U[0].style.width=u[0].style.width=parseInt(k[0].style.width,10)-w+"px";u[0].style.height=V[0].style.height=W[0].style.height=parseInt(k[0].style.height,10)-v+"px"}var e=0,h=0,g=k.offset();x.unbind("resize.cbox");
26
- k.css({top:-9E4,left:-9E4});var l=x.scrollTop();var n=x.scrollLeft();a.get("fixed")?(g.top-=l,g.left-=n,k.css({position:"fixed"})):(e=l,h=n,k.css({position:"absolute"}));h=!1!==a.get("right")?h+Math.max(x.width()-a.w-B-w-q(a.get("right"),"x"),0):!1!==a.get("left")?h+q(a.get("left"),"x"):h+Math.round(Math.max(x.width()-a.w-B-w,0)/2);e=!1!==a.get("bottom")?e+Math.max(r()-a.h-A-v-q(a.get("bottom"),"y"),0):!1!==a.get("top")?e+q(a.get("top"),"y"):e+Math.round(Math.max(r()-a.h-A-v,0)/2);k.css({top:g.top,
27
- left:g.left,visibility:"visible"});F[0].style.width=F[0].style.height="9999px";var p={width:a.w+B+w,height:a.h+A+v,top:e,left:h};if(c){var t=0;b.each(p,function(a){p[a]!==ia[a]&&(t=c)});c=t}ia=p;c||k.css(p);k.dequeue().animate(p,{duration:c||0,complete:function(){d();K=!1;F[0].style.width=a.w+B+w+"px";F[0].style.height=a.h+A+v+"px";a.get("reposition")&&setTimeout(function(){x.bind("resize.cbox",m.position)},1);b.isFunction(f)&&f()},step:d})};m.resize=function(b){if(z){b=b||{};b.width&&(a.w=q(b.width,
28
- "x")-B-w);b.innerWidth&&(a.w=q(b.innerWidth,"x"));l.css({width:a.w});b.height&&(a.h=q(b.height,"y")-A-v);b.innerHeight&&(a.h=q(b.innerHeight,"y"));if(!b.innerHeight&&!b.height){var c=l.scrollTop();l.css({height:"auto"});a.h=l.height()}l.css({height:a.h});c&&l.scrollTop(c);m.position("none"===a.get("transition")?0:a.get("speed"))}};m.prep=function(c){if(z){var f="none"===a.get("transition")?0:a.get("speed");l.remove();l=d("div","LoadedContent").append(c);l.hide().appendTo(N.show()).css({width:function(){a.w=
29
- a.w||l.width();a.w=a.mw&&a.mw<a.w?a.mw:a.w;return a.w}(),overflow:a.get("scrolling")?"auto":"hidden"}).css({height:function(){a.h=a.h||l.height();a.h=a.mh&&a.mh<a.h?a.mh:a.h;return a.h}()}).prependTo(u);N.hide();b(e).css({"float":"none"});I(a.get("className"));var g=function(){function c(){!1===b.support.opacity&&k[0].style.removeAttribute("filter")}var d=n.length;if(z){var e=function(){clearTimeout(ha);R.hide();E("cbox_complete");a.get("onComplete")};Y.html(a.get("title")).show();l.show();1<d?("string"===
30
- typeof a.get("current")&&aa.html(a.get("current").replace("{current}",p+1).replace("{total}",d)).show(),M[a.get("loop")||p<d-1?"show":"hide"]().html(a.get("next")),L[a.get("loop")||p?"show":"hide"]().html(a.get("previous")),ma(),a.get("preloading")&&b.each([O(-1),O(1)],function(){var a=n[this];var c=new C(a,b.data(a,"colorbox"));(a=c.get("href"))&&ca(c,a)&&(a=da(c,a),c=h.createElement("img"),c.src=a)})):X.hide();if(a.get("iframe")){var g=a.get("createIframe");a.get("scrolling")||(g.scrolling="no");
31
- b(g).attr({src:a.get("href"),"class":"cboxIframe"}).one("load",e).appendTo(l);t.one("cbox_purge",function(){g.src="//about:blank"});a.get("fastIframe")&&b(g).trigger("load")}else e();"fade"===a.get("transition")?k.fadeTo(f,1,c):c()}};"fade"===a.get("transition")?k.fadeTo(f,0,function(){m.position(0,g)}):m.position(f,g)}};m.next=function(){!K&&n[1]&&(a.get("loop")||n[p+1])&&(p=O(1),P(n[p]))};m.prev=function(){!K&&n[1]&&(a.get("loop")||p)&&(p=O(-1),P(n[p]))};m.close=function(){z&&!J&&(J=!0,z=!1,E("cbox_cleanup"),
32
- a.get("onCleanup"),x.unbind(".cbox"),y.fadeTo(a.get("fadeOut")||0,0),k.stop().fadeTo(a.get("fadeOut")||0,0,function(){k.hide();y.hide();E("cbox_purge");l.remove();setTimeout(function(){J=!1;E("cbox_closed");a.get("onClosed")},1)}))};m.remove=function(){k&&(k.stop(),b.colorbox.close(),k.stop(!1,!0).remove(),y.remove(),J=!1,k=null,b(".cboxElement").removeData("colorbox").removeClass("cboxElement"),b(h).unbind("click.cbox").unbind("keydown.cbox"))};m.element=function(){return b(a.el)};m.settings=S}})(jQuery,
33
- document,window);
1
+ /*!
2
+ Colorbox 1.6.3
3
+ license: MIT
4
+ http://www.jacklmoore.com/colorbox
5
  */
6
+ !function(t,e,i){var n,o,h,r,a,s,l,d,c,g,u,f,p,m,w,v,x,y,b,T,C,H,k,W,E,I,M,L,F,R,S,K,P,B={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:undefined,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return t(this).attr("href")},title:function(){return this.title},createImg:function(){var e=new Image,i=t(this).data("cbox-img-attrs");return"object"==typeof i&&t.each(i,function(t,i){e[t]=i}),e},createIframe:function(){var i=e.createElement("iframe"),n=t(this).data("cbox-iframe-attrs");return"object"==typeof n&&t.each(n,function(t,e){i[t]=e}),"frameBorder"in i&&(i.frameBorder=0),"allowTransparency"in i&&(i.allowTransparency="true"),i.name=(new Date).getTime(),i.allowFullscreen=!0,i}},O="colorbox",_="cbox",j=_+"Element",D=_+"_open",N=_+"_load",z=_+"_complete",A=_+"_cleanup",U=_+"_closed",$=_+"_purge",q=t("<a/>"),G="div",Q=0,J={};function V(i,n,o){var h=e.createElement(i);return n&&(h.id=_+n),o&&(h.style.cssText=o),t(h)}function X(){return i.innerHeight?i.innerHeight:t(i).height()}function Y(e,i){i!==Object(i)&&(i={}),this.cache={},this.el=e,this.value=function(e){var n;return this.cache[e]===undefined&&((n=t(this.el).attr("data-cbox-"+e))!==undefined?this.cache[e]=n:i[e]!==undefined?this.cache[e]=i[e]:B[e]!==undefined&&(this.cache[e]=B[e])),this.cache[e]},this.get=function(e){var i=this.value(e);return t.isFunction(i)?i.call(this.el,this):i}}function Z(t){var e=c.length,i=(I+t)%e;return i<0?e+i:i}function tt(t,e){return Math.round((/%/.test(t)?("x"===e?g.width():X())/100:1)*parseInt(t,10))}function et(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function it(t,e){return t.get("retinaUrl")&&i.devicePixelRatio>1?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e}function nt(t){"contains"in o[0]&&!o[0].contains(t.target)&&t.target!==n[0]&&(t.stopPropagation(),o.focus())}function ot(t){ot.str!==t&&(o.add(n).removeClass(ot.str).addClass(t),ot.str=t)}function ht(i){t(e).trigger(i),q.triggerHandler(i)}var rt=function(){var t,e,i=_+"Slideshow_",n="click."+_;function h(){clearTimeout(e)}function r(){(C.get("loop")||c[I+1])&&(h(),e=setTimeout(K.next,C.get("slideshowSpeed")))}function a(){v.html(C.get("slideshowStop")).unbind(n).one(n,s),q.bind(z,r).bind(N,h),o.removeClass(i+"off").addClass(i+"on")}function s(){h(),q.unbind(z,r).unbind(N,h),v.html(C.get("slideshowStart")).unbind(n).one(n,function(){K.next(),a()}),o.removeClass(i+"on").addClass(i+"off")}function l(){t=!1,v.hide(),h(),q.unbind(z,r).unbind(N,h),o.removeClass(i+"off "+i+"on")}return function(){t?C.get("slideshow")||(q.unbind(A,l),l()):C.get("slideshow")&&c[1]&&(t=!0,q.one(A,l),C.get("slideshowAuto")?a():s(),v.show())}}();function at(h){var g,w;if(!R){if(g=t(h).data(O),C=new Y(h,g),w=C.get("rel"),I=0,w&&!1!==w&&"nofollow"!==w?(c=t("."+j).filter(function(){return new Y(this,t.data(this,O)).get("rel")===w}),-1===(I=c.index(C.el))&&(c=c.add(C.el),I=c.length-1)):c=t(C.el),!L){L=F=!0,ot(C.get("className")),o.css({visibility:"hidden",display:"block",opacity:""}),u=V(G,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),r.css({width:"",height:""}).append(u),H=a.height()+d.height()+r.outerHeight(!0)-r.height(),k=s.width()+l.width()+r.outerWidth(!0)-r.width(),W=u.outerHeight(!0),E=u.outerWidth(!0);var v=tt(C.get("initialWidth"),"x"),x=tt(C.get("initialHeight"),"y"),y=C.get("maxWidth"),P=C.get("maxHeight");C.w=Math.max((!1!==y?Math.min(v,tt(y,"x")):v)-E-k,0),C.h=Math.max((!1!==P?Math.min(x,tt(P,"y")):x)-W-H,0),u.css({width:"",height:C.h}),K.position(),ht(D),C.get("onOpen"),T.add(m).hide(),o.focus(),C.get("trapFocus")&&e.addEventListener&&(e.addEventListener("focus",nt,!0),q.one(U,function(){e.removeEventListener("focus",nt,!0)})),C.get("returnFocus")&&q.one(U,function(){t(C.el).focus()})}var B=parseFloat(C.get("opacity"));n.css({opacity:B==B?B:"",cursor:C.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),C.get("closeButton")?b.html(C.get("close")).appendTo(r):b.appendTo("<div/>"),function(){var e,n,o,h=K.prep,r=++Q;F=!0,M=!1,ht($),ht(N),C.get("onLoad"),C.h=C.get("height")?tt(C.get("height"),"y")-W-H:C.get("innerHeight")&&tt(C.get("innerHeight"),"y"),C.w=C.get("width")?tt(C.get("width"),"x")-E-k:C.get("innerWidth")&&tt(C.get("innerWidth"),"x"),C.mw=C.w,C.mh=C.h,C.get("maxWidth")&&(C.mw=tt(C.get("maxWidth"),"x")-E-k,C.mw=C.w&&C.w<C.mw?C.w:C.mw);C.get("maxHeight")&&(C.mh=tt(C.get("maxHeight"),"y")-W-H,C.mh=C.h&&C.h<C.mh?C.h:C.mh);if(e=C.get("href"),S=setTimeout(function(){p.show()},100),C.get("inline")){var a=t(e);o=t("<div>").hide().insertBefore(a),q.one($,function(){o.replaceWith(a)}),h(a)}else C.get("iframe")?h(" "):C.get("html")?h(C.get("html")):et(C,e)?(e=it(C,e),M=C.get("createImg"),t(M).addClass(_+"Photo").bind("error."+_,function(){h(V(G,"Error").html(C.get("imgError")))}).one("load",function(){r===Q&&setTimeout(function(){var e;C.get("retinaImage")&&i.devicePixelRatio>1&&(M.height=M.height/i.devicePixelRatio,M.width=M.width/i.devicePixelRatio),C.get("scalePhotos")&&(n=function(){M.height-=M.height*e,M.width-=M.width*e},C.mw&&M.width>C.mw&&(e=(M.width-C.mw)/M.width,n()),C.mh&&M.height>C.mh&&(e=(M.height-C.mh)/M.height,n())),C.h&&(M.style.marginTop=Math.max(C.mh-M.height,0)/2+"px"),c[1]&&(C.get("loop")||c[I+1])&&(M.style.cursor="pointer",t(M).bind("click."+_,function(){K.next()})),M.style.width=M.width+"px",M.style.height=M.height+"px",h(M)},1)}),M.src=e):e&&f.load(e,C.get("data"),function(e,i){r===Q&&h("error"===i?V(G,"Error").html(C.get("xhrError")):t(this).contents())})}()}}function st(){o||(P=!1,g=t(i),o=V(G).attr({id:O,"class":!1===t.support.opacity?_+"IE":"",role:"dialog",tabindex:"-1"}).hide(),n=V(G,"Overlay").hide(),p=t([V(G,"LoadingOverlay")[0],V(G,"LoadingGraphic")[0]]),h=V(G,"Wrapper"),r=V(G,"Content").append(m=V(G,"Title"),w=V(G,"Current"),y=t('<button type="button"/>').attr({id:_+"Previous"}),x=t('<button type="button"/>').attr({id:_+"Next"}),v=V("button","Slideshow"),p),b=t('<button type="button"/>').attr({id:_+"Close"}),h.append(V(G).append(V(G,"TopLeft"),a=V(G,"TopCenter"),V(G,"TopRight")),V(G,!1,"clear:left").append(s=V(G,"MiddleLeft"),r,l=V(G,"MiddleRight")),V(G,!1,"clear:left").append(V(G,"BottomLeft"),d=V(G,"BottomCenter"),V(G,"BottomRight"))).find("div div").css({float:"left"}),f=V(G,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),T=x.add(y).add(w).add(v)),e.body&&!o.parent().length&&t(e.body).append(n,o.append(h,f))}function lt(){function i(t){t.which>1||t.shiftKey||t.altKey||t.metaKey||t.ctrlKey||(t.preventDefault(),at(this))}return!!o&&(P||(P=!0,x.click(function(){K.next()}),y.click(function(){K.prev()}),b.click(function(){K.close()}),n.click(function(){C.get("overlayClose")&&K.close()}),t(e).bind("keydown."+_,function(t){var e=t.keyCode;L&&C.get("escKey")&&27===e&&(t.preventDefault(),K.close()),L&&C.get("arrowKey")&&c[1]&&!t.altKey&&(37===e?(t.preventDefault(),y.click()):39===e&&(t.preventDefault(),x.click()))}),t.isFunction(t.fn.on)?t(e).on("click."+_,"."+j,i):t("."+j).live("click."+_,i)),!0)}t[O]||(t(st),(K=t.fn[O]=t[O]=function(e,i){var n=this;return e=e||{},t.isFunction(n)&&(n=t("<a/>"),e.open=!0),n[0]?(st(),lt()&&(i&&(e.onComplete=i),n.each(function(){var i=t.data(this,O)||{};t.data(this,O,t.extend(i,e))}).addClass(j),new Y(n[0],e).get("open")&&at(n[0])),n):n}).position=function(e,i){var n,c,u,f=0,p=0,m=o.offset();function w(){a[0].style.width=d[0].style.width=r[0].style.width=parseInt(o[0].style.width,10)-k+"px",r[0].style.height=s[0].style.height=l[0].style.height=parseInt(o[0].style.height,10)-H+"px"}if(g.unbind("resize."+_),o.css({top:-9e4,left:-9e4}),c=g.scrollTop(),u=g.scrollLeft(),C.get("fixed")?(m.top-=c,m.left-=u,o.css({position:"fixed"})):(f=c,p=u,o.css({position:"absolute"})),!1!==C.get("right")?p+=Math.max(g.width()-C.w-E-k-tt(C.get("right"),"x"),0):!1!==C.get("left")?p+=tt(C.get("left"),"x"):p+=Math.round(Math.max(g.width()-C.w-E-k,0)/2),!1!==C.get("bottom")?f+=Math.max(X()-C.h-W-H-tt(C.get("bottom"),"y"),0):!1!==C.get("top")?f+=tt(C.get("top"),"y"):f+=Math.round(Math.max(X()-C.h-W-H,0)/2),o.css({top:m.top,left:m.left,visibility:"visible"}),h[0].style.width=h[0].style.height="9999px",n={width:C.w+E+k,height:C.h+W+H,top:f,left:p},e){var v=0;t.each(n,function(t){n[t]===J[t]||(v=e)}),e=v}J=n,e||o.css(n),o.dequeue().animate(n,{duration:e||0,complete:function(){w(),F=!1,h[0].style.width=C.w+E+k+"px",h[0].style.height=C.h+W+H+"px",C.get("reposition")&&setTimeout(function(){g.bind("resize."+_,K.position)},1),t.isFunction(i)&&i()},step:w})},K.resize=function(t){var e;L&&((t=t||{}).width&&(C.w=tt(t.width,"x")-E-k),t.innerWidth&&(C.w=tt(t.innerWidth,"x")),u.css({width:C.w}),t.height&&(C.h=tt(t.height,"y")-W-H),t.innerHeight&&(C.h=tt(t.innerHeight,"y")),t.innerHeight||t.height||(e=u.scrollTop(),u.css({height:"auto"}),C.h=u.height()),u.css({height:C.h}),e&&u.scrollTop(e),K.position("none"===C.get("transition")?0:C.get("speed")))},K.prep=function(i){if(L){var n,h="none"===C.get("transition")?0:C.get("speed");u.remove(),(u=V(G,"LoadedContent").append(i)).hide().appendTo(f.show()).css({width:(C.w=C.w||u.width(),C.w=C.mw&&C.mw<C.w?C.mw:C.w,C.w),overflow:C.get("scrolling")?"auto":"hidden"}).css({height:(C.h=C.h||u.height(),C.h=C.mh&&C.mh<C.h?C.mh:C.h,C.h)}).prependTo(r),f.hide(),t(M).css({float:"none"}),ot(C.get("className")),n=function(){var i,n,r=c.length;function a(){!1===t.support.opacity&&o[0].style.removeAttribute("filter")}L&&(n=function(){clearTimeout(S),p.hide(),ht(z),C.get("onComplete")},m.html(C.get("title")).show(),u.show(),r>1?("string"==typeof C.get("current")&&w.html(C.get("current").replace("{current}",I+1).replace("{total}",r)).show(),x[C.get("loop")||I<r-1?"show":"hide"]().html(C.get("next")),y[C.get("loop")||I?"show":"hide"]().html(C.get("previous")),rt(),C.get("preloading")&&t.each([Z(-1),Z(1)],function(){var i=c[this],n=new Y(i,t.data(i,O)),o=n.get("href");o&&et(n,o)&&(o=it(n,o),e.createElement("img").src=o)})):T.hide(),C.get("iframe")?(i=C.get("createIframe"),C.get("scrolling")||(i.scrolling="no"),t(i).attr({src:C.get("href"),"class":_+"Iframe"}).one("load",n).appendTo(u),q.one($,function(){i.src="//about:blank"}),C.get("fastIframe")&&t(i).trigger("load")):n(),"fade"===C.get("transition")?o.fadeTo(h,1,a):a())},"fade"===C.get("transition")?o.fadeTo(h,0,function(){K.position(0,n)}):K.position(h,n)}},K.next=function(){!F&&c[1]&&(C.get("loop")||c[I+1])&&(I=Z(1),at(c[I]))},K.prev=function(){!F&&c[1]&&(C.get("loop")||I)&&(I=Z(-1),at(c[I]))},K.close=function(){L&&!R&&(R=!0,L=!1,ht(A),C.get("onCleanup"),g.unbind("."+_),n.fadeTo(C.get("fadeOut")||0,0),o.stop().fadeTo(C.get("fadeOut")||0,0,function(){o.hide(),n.hide(),ht($),u.remove(),setTimeout(function(){R=!1,ht(U),C.get("onClosed")},1)}))},K.remove=function(){o&&(o.stop(),t[O].close(),o.stop(!1,!0).remove(),n.remove(),R=!1,o=null,t("."+j).removeData(O).removeClass(j),t(e).unbind("click."+_).unbind("keydown."+_))},K.element=function(){return t(C.el)},K.settings=B)}(jQuery,document,window);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/assets/js/metabox.js CHANGED
@@ -128,6 +128,13 @@
128
  case 'hideme':
129
  $current_field.hide();
130
  break;
 
 
 
 
 
 
 
131
  default:
132
  if( ! $current_container.hasClass('fade-in')){
133
  $current_container.hide();
@@ -148,6 +155,13 @@
148
  case 'hideme':
149
  $current_field.show();
150
  break;
 
 
 
 
 
 
 
151
  default:
152
  $current_container.show();
153
  $current_container.fadeTo("slow" , 1).addClass('fade-in');
128
  case 'hideme':
129
  $current_field.hide();
130
  break;
131
+ case 'fadeInOut':
132
+ case 'fadeOut':
133
+ $current_container.hide( 500 );
134
+ break;
135
+ case 'fadeIn':
136
+ $current_container.hide();
137
+ break;
138
  default:
139
  if( ! $current_container.hasClass('fade-in')){
140
  $current_container.hide();
155
  case 'hideme':
156
  $current_field.show();
157
  break;
158
+ case 'fadeInOut':
159
+ case 'fadeIn':
160
+ $current_container.show( 500 );
161
+ break;
162
+ case 'fadeOut':
163
+ $current_container.show();
164
+ break;
165
  default:
166
  $current_container.show();
167
  $current_container.fadeTo("slow" , 1).addClass('fade-in');
plugin-fw/assets/js/metabox.min.js CHANGED
@@ -1 +1 @@
1
- !function(h){h(".metaboxes-tab").each(function(){h(".tabs-panel",this).hide();var t=wpCookies.get("active_metabox_tab");t=null==t?h("ul.metaboxes-tabs li:first-child a",this).attr("href"):"#"+t,h(t).show(),h(".metaboxes-tabs a",this).click(function(t){if(!h(this).parent().hasClass("tabs")){var e=h(this).attr("href");return h(this).parent().addClass("tabs").siblings("li").removeClass("tabs"),h(this).closest(".metaboxes-tab").find(".tabs-panel").hide(),h(e).show(),!1}t.preventDefault()})});var t=h("#_active_page_options-container").parent().html();function n(t,e,a,i){var s=!0;if("string"==typeof e){":radio"==e.substr(0,6)&&(e+=":checked");var n=h(e).val();if("checkbox"==h(e).attr("type"))n=h(e).is(":checked")?"yes":"no";a=a.split(",");for(var o=0;o<a.length;o++){if(n==a[o]){s=!0;break}s=!1}}var d,r=h(t),c=h(t+"-container").parent(),l=i.split("-");for(d in l){var p=l[d];if(s)switch(p){case"disable":c.removeClass("yith-disabled"),r.attr("disabled",!1);break;case"hideme":r.show();break;default:c.show(),c.fadeTo("slow",1).addClass("fade-in")}else switch(p){case"disable":c.addClass("yith-disabled"),r.attr("disabled",!0);break;case"hideme":r.hide();break;default:c.hasClass("fade-in")?c.fadeTo("slow",0,function(){h(this).hide().removeClass("fade-in")}):(c.hide(),c.css({opacity:"0"}))}}}h("#_active_page_options-container").parent().remove(),h(t).insertAfter("#yit-post-setting .handlediv"),h(t).insertAfter("#yit-page-setting .handlediv"),h("#_active_page_options-container").on("click",function(){h("#_active_page_options").is(":checked")?h("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:1,"pointer-events":"auto"}):h("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:.5,"pointer-events":"none"})}).click(),h(document.body).on("yith-plugin-fw-metabox-init-deps",function(){h(document.body).trigger("yith-plugin-fw-init-radio"),h(".metaboxes-tab [data-dep-target]:not(.yith-plugin-fw-metabox-deps-initialized)").each(function(){var t=h(this),e="#"+t.data("dep-target"),a="#"+t.data("dep-id"),i=t.data("dep-value"),s=t.data("dep-type");n(e,a,i.toString(),s),h(a).on("change",function(){n(e,a,i.toString(),s)}).change(),t.addClass("yith-plugin-fw-metabox-deps-initialized")})}).trigger("yith-plugin-fw-metabox-init-deps")}(jQuery);
1
+ !function(e){e(".metaboxes-tab").each(function(){e(".tabs-panel",this).hide();var t=wpCookies.get("active_metabox_tab");t=null==t?e("ul.metaboxes-tabs li:first-child a",this).attr("href"):"#"+t,e(t).show(),e(".metaboxes-tabs a",this).click(function(t){if(!e(this).parent().hasClass("tabs")){var a=e(this).attr("href");return e(this).parent().addClass("tabs").siblings("li").removeClass("tabs"),e(this).closest(".metaboxes-tab").find(".tabs-panel").hide(),e(a).show(),!1}t.preventDefault()})});var t=e("#_active_page_options-container").parent().html();function a(t,a,i,s){var n=!0;if("string"==typeof a){":radio"==a.substr(0,6)&&(a+=":checked");var o=e(a).val();if("checkbox"==e(a).attr("type"))o=e(a).is(":checked")?"yes":"no";i=i.split(",");for(var d=0;d<i.length;d++){if(o==i[d]){n=!0;break}n=!1}}var r,c=e(t),h=e(t+"-container").parent(),b=s.split("-");for(r in b){var l=b[r];if(n)switch(l){case"disable":h.removeClass("yith-disabled"),c.attr("disabled",!1);break;case"hideme":c.show();break;case"fadeInOut":case"fadeIn":h.show(500);break;case"fadeOut":h.show();break;default:h.show(),h.fadeTo("slow",1).addClass("fade-in")}else switch(l){case"disable":h.addClass("yith-disabled"),c.attr("disabled",!0);break;case"hideme":c.hide();break;case"fadeInOut":case"fadeOut":h.hide(500);break;case"fadeIn":h.hide();break;default:h.hasClass("fade-in")?h.fadeTo("slow",0,function(){e(this).hide().removeClass("fade-in")}):(h.hide(),h.css({opacity:"0"}))}}}e("#_active_page_options-container").parent().remove(),e(t).insertAfter("#yit-post-setting .handlediv"),e(t).insertAfter("#yit-page-setting .handlediv"),e("#_active_page_options-container").on("click",function(){e("#_active_page_options").is(":checked")?e("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:1,"pointer-events":"auto"}):e("#yit-page-setting .inside .metaboxes-tab, #yit-post-setting .inside .metaboxes-tab").css({opacity:.5,"pointer-events":"none"})}).click(),e(document.body).on("yith-plugin-fw-metabox-init-deps",function(){e(document.body).trigger("yith-plugin-fw-init-radio"),e(".metaboxes-tab [data-dep-target]:not(.yith-plugin-fw-metabox-deps-initialized)").each(function(){var t=e(this),i="#"+t.data("dep-target"),s="#"+t.data("dep-id"),n=t.data("dep-value"),o=t.data("dep-type");a(i,s,n.toString(),o),e(s).on("change",function(){a(i,s,n.toString(),o)}).change(),t.addClass("yith-plugin-fw-metabox-deps-initialized")})}).trigger("yith-plugin-fw-metabox-init-deps")}(jQuery);
plugin-fw/assets/js/multisite-updater.min.js CHANGED
@@ -1 +1 @@
1
- !function(e){var a=e("#menu-plugins"),n=a.find(".update-plugins").find(".plugin-count").text(),t=plugins.registered,s=plugins.activated;if(0==n||""==n){n=0,a.find(".wp-menu-name").append('<span class="update-plugins"><span class="plugin-count"></span></span>')}function i(e,a,n){this.php_js=this.php_js||{},this.php_js.ENV=this.php_js.ENV||{};var t,s=0,i=0,r={dev:-6,alpha:-5,a:-5,beta:-4,b:-4,RC:-3,rc:-3,"#":-2,p:1,pl:1},l=function(e){return(e=(e=(""+e).replace(/[_\-+]/g,".")).replace(/([^.\d]+)/g,".$1.").replace(/\.{2,}/g,".")).length?e.split("."):[-8]};for(numVersion=function(e){return e?isNaN(e)?r[e]||-7:parseInt(e,10):0},e=l(e),a=l(a),t=Math.max(e.length,a.length),s=0;s<t;s++)if(e[s]!=a[s]){if(e[s]=numVersion(e[s]),a[s]=numVersion(a[s]),e[s]<a[s]){i=-1;break}if(e[s]>a[s]){i=1;break}}if(!n)return i;switch(n){case">":case"gt":return i>0;case">=":case"ge":return i>=0;case"<=":case"le":return i<=0;case"==":case"=":case"eq":return 0===i;case"<>":case"!=":case"ne":return 0!==i;case"":case"<":case"lt":return i<0;default:return null}}!function(a,n,t,s){for(var r in a){var l=a[r];for(var p in l)if("slug"!=p&&!i(l[p].Version,l[p].Latest,"=")){t=parseInt(t)+1,e(".plugin-count").empty().html(t);var u=new RegExp(" ","g"),c=l[p],g=""+c.Name,o=g.replace(u,"-").trim(),d='*[data-slug="'+o.toLowerCase()+'"]';e(d).addClass("update");var f='<tr class="plugin-update-tr"><td colspan="3" class="plugin-update colspanchange"><div class="update-message notice inline notice-warning notice-alt">'+s.strings.new_version.replace("%plugin_name%",g)+'<a class="thickbox open-plugin-details-modal" href="'+s.details_url[r]+'">'+s.strings.latest.replace("%latest%",l[p].Latest)+"</a>";f=void 0===n[r]?f+" <em>"+s.strings.unavailable+"</em>"+s.strings.activate.replace("%activate_link%",s.licence_activation_url).replace("%plugin_name%",g):f+'. <a href="'+s.update_url[r]+'">'+s.strings.update_now+"</a>",i(l[p].Version,l[p].Latest,">")&&(f+=s.strings.version_issue.replace("%plugin_name%",g)),e(f+="</div></td></tr>").insertAfter(d)}}}(t,s,n,plugins),e("body").on("click",".yit-changelog-button",function(){e("#TB_window").remove()})}(jQuery);
1
+ !function(e){var n=e("#menu-plugins"),a=n.find(".update-plugins").find(".plugin-count").text(),t=plugins.registered,s=plugins.activated;if(0==a||""==a){a=0,n.find(".wp-menu-name").append('<span class="update-plugins"><span class="plugin-count"></span></span>')}function i(e,n,a){this.php_js=this.php_js||{},this.php_js.ENV=this.php_js.ENV||{};var t,s=0,i=0,r={dev:-6,alpha:-5,a:-5,beta:-4,b:-4,RC:-3,rc:-3,"#":-2,p:1,pl:1},l=function(e){return(e=(e=(""+e).replace(/[_\-+]/g,".")).replace(/([^.\d]+)/g,".$1.").replace(/\.{2,}/g,".")).length?e.split("."):[-8]};for(numVersion=function(e){return e?isNaN(e)?r[e]||-7:parseInt(e,10):0},e=l(e),n=l(n),t=Math.max(e.length,n.length),s=0;s<t;s++)if(e[s]!=n[s]){if(e[s]=numVersion(e[s]),n[s]=numVersion(n[s]),e[s]<n[s]){i=-1;break}if(e[s]>n[s]){i=1;break}}if(!a)return i;switch(a){case">":case"gt":return i>0;case">=":case"ge":return i>=0;case"<=":case"le":return i<=0;case"==":case"=":case"eq":return 0===i;case"<>":case"!=":case"ne":return 0!==i;case"":case"<":case"lt":return i<0;default:return null}}!function(n,a,t,s){for(var r in n){var l=n[r];for(var p in l)if("slug"!=p&&!i(l[p].Version,l[p].Latest,"=")){t=parseInt(t)+1,e(".plugin-count").empty().html(t);var u=new RegExp(" ","g"),c=l[p],g=""+c.Name,o=g.replace(u,"-").trim(),d='*[data-slug="'+o.toLowerCase()+'"]';e(d).addClass("update");var f='<tr class="plugin-update-tr"><td colspan="3" class="plugin-update colspanchange"><div class="update-message notice inline notice-warning notice-alt">'+s.strings.new_version.replace("%plugin_name%",g)+'<a class="thickbox open-plugin-details-modal" href="'+s.details_url[r]+'">'+s.strings.latest.replace("%latest%",l[p].Latest)+"</a>";f="undefined"==typeof a[r]?f+" <em>"+s.strings.unavailable+"</em>"+s.strings.activate.replace("%activate_link%",s.licence_activation_url).replace("%plugin_name%",g):f+'. <a href="'+s.update_url[r]+'">'+s.strings.update_now+"</a>",i(l[p].Version,l[p].Latest,">")&&(f+=s.strings.version_issue.replace("%plugin_name%",g)),e(f+="</div></td></tr>").insertAfter(d)}}}(t,s,a,plugins),e("body").on("click",".yit-changelog-button",function(){e("#TB_window").remove()})}(jQuery);
plugin-fw/assets/js/wp-pages.min.js CHANGED
@@ -1 +1 @@
1
- jQuery(function(a){var b=a(".yith-plugin-fw-wp-page-wrapper"),c=a("div.updated, div.error, div.notice");a(".yith-plugin-fw-wp-page-wrapper .woo-nav-tab-wrapper").removeClass("woo-nav-tab-wrapper").addClass("yith-nav-tab-wrapper");c.addClass("inline");b.length&&b.prepend(c)});
1
+ jQuery(function(a){var p=a(".yith-plugin-fw-wp-page-wrapper"),e=a("div.updated, div.error, div.notice");a(".yith-plugin-fw-wp-page-wrapper .woo-nav-tab-wrapper").removeClass("woo-nav-tab-wrapper").addClass("yith-nav-tab-wrapper"),e.addClass("inline"),p.length&&p.prepend(e)});
plugin-fw/assets/js/yit-cpt-unlimited.min.js CHANGED
@@ -1,2 +1 @@
1
- (function(c){c(".wrap h1, .wrap h2").on("click","a.multi-uploader",function(f){f.preventDefault();var a=c(this),d=!1;a.next("span.spinner").css("display","inline-block");if(!b){var b=wp.media.frames.file_frame=wp.media({title:a.data("uploader_title"),button:{text:a.data("uploader_button_text")},library:{type:"image"},multiple:!0});b.on("select",function(){var e=[];b.state().get("selection").map(function(a){a=a.toJSON();e.push({id:a.id,url:a.url,title:a.title})});console.log(a.data("nonce"));c.post(ajaxurl,
2
- {images:e,post_type:typenow,action:"yit_cptu_multiuploader",_ajax_nonce:a.data("nonce")},function(a){location.reload()});a.next("span.spinner").css("display","inline-block");d=!0});b.on("close",function(){d||a.next("span.spinner").hide()})}b.open()})})(jQuery);
1
+ !function(t){"use strict";t(".wrap h1, .wrap h2").on("click","a.multi-uploader",function(e){e.preventDefault();var n,a=t(this),i=!1;a.next("span.spinner").css("display","inline-block"),n?n.open():((n=wp.media.frames.file_frame=wp.media({title:a.data("uploader_title"),button:{text:a.data("uploader_button_text")},library:{type:"image"},multiple:!0})).on("select",function(){var e=[];n.state().get("selection").map(function(t){t=t.toJSON(),e.push({id:t.id,url:t.url,title:t.title})}),console.log(a.data("nonce")),t.post(ajaxurl,{images:e,post_type:typenow,action:"yit_cptu_multiuploader",_ajax_nonce:a.data("nonce")},function(t){location.reload()}),a.next("span.spinner").css("display","inline-block"),i=!0}),n.on("close",function(){i||a.next("span.spinner").hide()}),n.open())})}(jQuery);
 
plugin-fw/assets/js/yit-plugin-panel.js CHANGED
@@ -28,7 +28,7 @@ jQuery( function ( $ ) {
28
  function dependencies_handler( id, deps, values, type ) {
29
  var result = true;
30
  //Single dependency
31
- if ( typeof( deps ) == 'string' ) {
32
  if ( deps.substr( 0, 6 ) == ':radio' ) {
33
  deps = deps + ':checked';
34
  }
@@ -39,8 +39,7 @@ jQuery( function ( $ ) {
39
  var thisCheck = $( deps );
40
  if ( thisCheck.is( ':checked' ) ) {
41
  val = 'yes';
42
- }
43
- else {
44
  val = 'no';
45
  }
46
  }
@@ -50,8 +49,7 @@ jQuery( function ( $ ) {
50
  for ( var i = 0; i < values.length; i++ ) {
51
  if ( val != values[ i ] ) {
52
  result = false;
53
- }
54
- else {
55
  result = true;
56
  break;
57
  }
@@ -69,7 +67,7 @@ jQuery( function ( $ ) {
69
  var types = type.split( '-' ), j;
70
  for ( j in types ) {
71
  var current_type = types[ j ];
72
-
73
  if ( !result ) {
74
  switch ( current_type ) {
75
  case 'disable':
@@ -79,14 +77,21 @@ jQuery( function ( $ ) {
79
  case 'hideme':
80
  $current_field.hide();
81
  break;
 
 
 
 
 
 
 
82
  default:
83
- if( ! $current_container.hasClass('fade-in')){
84
  $current_container.hide();
85
- $current_container.css({'opacity':'0'});
86
- }else{
87
- $current_container.fadeTo("slow" , 0, function(){
88
- $(this).hide().removeClass('fade-in');
89
- });
90
  }
91
 
92
  }
@@ -100,9 +105,16 @@ jQuery( function ( $ ) {
100
  case 'hideme':
101
  $current_field.show();
102
  break;
 
 
 
 
 
 
 
103
  default:
104
  $current_container.show();
105
- $current_container.fadeTo("slow" , 1).addClass('fade-in');
106
  }
107
  }
108
  }
@@ -127,7 +139,7 @@ jQuery( function ( $ ) {
127
  value[ $( this ).data( 'list' ) ] = options;
128
  } );
129
 
130
- input.val( (JSON.stringify( value )).replace( /[\\"']/g, '\\$&' ).replace( /\u0000/g, '\\0' ) );
131
  }
132
  } ).disableSelection();
133
  } );
28
  function dependencies_handler( id, deps, values, type ) {
29
  var result = true;
30
  //Single dependency
31
+ if ( typeof ( deps ) == 'string' ) {
32
  if ( deps.substr( 0, 6 ) == ':radio' ) {
33
  deps = deps + ':checked';
34
  }
39
  var thisCheck = $( deps );
40
  if ( thisCheck.is( ':checked' ) ) {
41
  val = 'yes';
42
+ } else {
 
43
  val = 'no';
44
  }
45
  }
49
  for ( var i = 0; i < values.length; i++ ) {
50
  if ( val != values[ i ] ) {
51
  result = false;
52
+ } else {
 
53
  result = true;
54
  break;
55
  }
67
  var types = type.split( '-' ), j;
68
  for ( j in types ) {
69
  var current_type = types[ j ];
70
+
71
  if ( !result ) {
72
  switch ( current_type ) {
73
  case 'disable':
77
  case 'hideme':
78
  $current_field.hide();
79
  break;
80
+ case 'fadeInOut':
81
+ case 'fadeOut':
82
+ $current_container.hide( 500 );
83
+ break;
84
+ case 'fadeIn':
85
+ $current_container.hide();
86
+ break;
87
  default:
88
+ if ( !$current_container.hasClass( 'fade-in' ) ) {
89
  $current_container.hide();
90
+ $current_container.css( { 'opacity': '0' } );
91
+ } else {
92
+ $current_container.fadeTo( "slow", 0, function () {
93
+ $( this ).hide().removeClass( 'fade-in' );
94
+ } );
95
  }
96
 
97
  }
105
  case 'hideme':
106
  $current_field.show();
107
  break;
108
+ case 'fadeInOut':
109
+ case 'fadeIn':
110
+ $current_container.show( 500 );
111
+ break;
112
+ case 'fadeOut':
113
+ $current_container.show();
114
+ break;
115
  default:
116
  $current_container.show();
117
+ $current_container.fadeTo( "slow", 1 ).addClass( 'fade-in' );
118
  }
119
  }
120
  }
139
  value[ $( this ).data( 'list' ) ] = options;
140
  } );
141
 
142
+ input.val( ( JSON.stringify( value ) ).replace( /[\\"']/g, '\\$&' ).replace( /\u0000/g, '\\0' ) );
143
  }
144
  } ).disableSelection();
145
  } );
plugin-fw/assets/js/yit-plugin-panel.min.js CHANGED
@@ -1,8 +1 @@
1
- var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,e,c){a instanceof String&&(a=String(a));for(var d=a.length,b=0;b<d;b++){var f=a[b];if(e.call(c,f,b,a))return{i:b,v:f}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,e,c){a!=Array.prototype&&a!=Object.prototype&&(a[e]=c.value)};
2
- $jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,e,c,d){if(e){c=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var b=a[d];b in c||(c[b]={});c=c[b]}a=a[a.length-1];d=c[a];e=e(d);e!=d&&null!=e&&$jscomp.defineProperty(c,a,{configurable:!0,writable:!0,value:e})}};
3
- $jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,c){return $jscomp.findInternal(this,a,c).v}},"es6","es3");
4
- jQuery(function(a){function e(b,f,g,c){var e=!0;if("string"==typeof f){":radio"==f.substr(0,6)&&(f+=":checked");var d=a(f).val();"checkbox"==a(f).attr("type")&&(d=a(f).is(":checked")?"yes":"no");g=g.split(",");for(f=0;f<g.length;f++)if(d!=g[f])e=!1;else{e=!0;break}}g=a(b);b=a(b+"-container").closest("tr");1>b.length&&(b=g.closest(".yith-plugin-fw-panel-wc-row"));c=c.split("-");for(var h in c)if(d=c[h],e)switch(d){case "disable":b.removeClass("yith-disabled");g.attr("disabled",!1);break;case "hideme":g.show();
5
- break;default:b.show(),b.fadeTo("slow",1).addClass("fade-in")}else switch(d){case "disable":b.addClass("yith-disabled");g.attr("disabled",!0);break;case "hideme":g.hide();break;default:b.hasClass("fade-in")?b.fadeTo("slow",0,function(){a(this).hide().removeClass("fade-in")}):(b.hide(),b.css({opacity:"0"}))}}a("[data-dep-target]").each(function(){var b=a(this),c="#"+b.data("dep-target"),d="#"+b.data("dep-id"),h=b.data("dep-value"),k=b.data("dep-type");e(c,d,h.toString(),k);a(d).on("change",function(){e(c,
6
- d,h.toString(),k)}).change()});a(".rm_connectedlist").each(function(){var b=a(this).find("ul"),c=a(this).find(":hidden");b.sortable({connectWith:b,update:function(d,e){var f={};b.each(function(){var b={};a(this).children().each(function(){b[a(this).data("option")]=a(this).text()});f[a(this).data("list")]=b});c.val(JSON.stringify(f).replace(/[\\"']/g,"\\$&").replace(/\u0000/g,"\\0"))}}).disableSelection()});a(document).ready(function(){a(".google-analytic-generate").click(function(){var b=a("#"+a(this).data("textarea")).data("codemirrorInstance"),
7
- c=a("#"+a(this).data("input")).val(),d=a(this).data("basename");b.replaceRange("(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\nm=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n"+("ga('create', '"+c+"', '"+d+"');\n")+"ga('send', 'pageview');\n",b.getCursor("start"),b.getCursor("end"))})});
8
- a(".yith-plugin-fw-panel .woo-nav-tab-wrapper").removeClass("woo-nav-tab-wrapper").addClass("yith-nav-tab-wrapper");var c=a(".wrap.yith-plugin-ui").first(),d=a("div.updated, div.error, div.notice");d.addClass("inline");c.length&&c.prepend(d)});
1
+ jQuery(function(a){function e(e,t,i,n){var s=!0;if("string"==typeof t){":radio"==t.substr(0,6)&&(t+=":checked");var r=a(t).val();if("checkbox"==a(t).attr("type"))r=a(t).is(":checked")?"yes":"no";i=i.split(",");for(var d=0;d<i.length;d++){if(r==i[d]){s=!0;break}s=!1}}var c=a(e),o=a(e+"-container").closest("tr");o.length<1&&(o=c.closest(".yith-plugin-fw-panel-wc-row"));var l,h=n.split("-");for(l in h){var f=h[l];if(s)switch(f){case"disable":o.removeClass("yith-disabled"),c.attr("disabled",!1);break;case"hideme":c.show();break;case"fadeInOut":case"fadeIn":o.show(500);break;case"fadeOut":o.show();break;default:o.show(),o.fadeTo("slow",1).addClass("fade-in")}else switch(f){case"disable":o.addClass("yith-disabled"),c.attr("disabled",!0);break;case"hideme":c.hide();break;case"fadeInOut":case"fadeOut":o.hide(500);break;case"fadeIn":o.hide();break;default:o.hasClass("fade-in")?o.fadeTo("slow",0,function(){a(this).hide().removeClass("fade-in")}):(o.hide(),o.css({opacity:"0"}))}}}a("[data-dep-target]").each(function(){var t=a(this),i="#"+t.data("dep-target"),n="#"+t.data("dep-id"),s=t.data("dep-value"),r=t.data("dep-type");e(i,n,s.toString(),r),a(n).on("change",function(){e(i,n,s.toString(),r)}).change()}),a(".rm_connectedlist").each(function(){var e=a(this).find("ul"),t=a(this).find(":hidden");e.sortable({connectWith:e,update:function(i,n){var s={};e.each(function(){var e={};a(this).children().each(function(){e[a(this).data("option")]=a(this).text()}),s[a(this).data("list")]=e}),t.val(JSON.stringify(s).replace(/[\\"']/g,"\\$&").replace(/\u0000/g,"\\0"))}}).disableSelection()}),a(document).ready(function(){a(".google-analytic-generate").click(function(){var e=a("#"+a(this).data("textarea")).data("codemirrorInstance"),t="(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n";t+="(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement( o ),\n",t+="m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n",t+="})(window,document,'script','//www.google-analytics.com/analytics.js','ga');\n\n",t+="ga('create', '"+a("#"+a(this).data("input")).val()+"', '"+a(this).data("basename")+"');\n",t+="ga('send', 'pageview');\n",e.replaceRange(t,e.getCursor("start"),e.getCursor("end"))})}),a(".yith-plugin-fw-panel .woo-nav-tab-wrapper").removeClass("woo-nav-tab-wrapper").addClass("yith-nav-tab-wrapper");var t=a(".wrap.yith-plugin-ui").first(),i=a("div.updated, div.error, div.notice");i.addClass("inline"),t.length&&t.prepend(i)});
 
 
 
 
 
 
 
plugin-fw/assets/js/yit-wp-pointer.min.js CHANGED
@@ -1,6 +1 @@
1
- var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,c,b){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var f=a[e];if(c.call(b,f,e,a))return{i:e,v:f}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,c,b){a!=Array.prototype&&a!=Object.prototype&&(a[c]=b.value)};
2
- $jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,c,b,d){if(c){b=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var e=a[d];e in b||(b[e]={});b=b[e]}a=a[a.length-1];d=b[a];c=c(d);c!=d&&null!=c&&$jscomp.defineProperty(b,a,{configurable:!0,writable:!0,value:c})}};
3
- $jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,b){return $jscomp.findInternal(this,a,b).v}},"es6","es3");
4
- jQuery(document).ready(function(a){var c=custom_pointer.pointers[0],b=c.options,d=a(c.target),e=c.pointer_id;a(d).find(".wp-submenu li a").each(function(){var f=a(this),h=f.attr("href");h=h.replace("admin.php?page=","");if(h==e){var k=f.add(d),g=d.find(c.target.replace("#","."));d.toggleClass("wp-no-current-submenu wp-menu-open wp-has-current-submenu");f.pointer({pointerClass:"yit-wp-pointer",content:b.content,position:b.position,open:function(){k.toggleClass("yit-pointer-selected-row");g.addClass("yit-pointer")},
5
- close:function(){d.toggleClass("wp-no-current-submenu wp-menu-open wp-has-current-submenu");k.toggleClass("yit-pointer-selected-row");g.removeClass("yit-pointer");a.ajax({type:"POST",url:ajaxurl,data:{action:"dismiss-wp-pointer",pointer:e},success:function(a){}})}}).pointer("open")}else if("yith_default_pointer"==e){k=f.add(d);g=d.find(c.target.replace("#","."));var l=a(c.target);l.addClass("wp-has-current-submenu");g.pointer({pointerClass:"yit-wp-pointer",content:b.content,position:b.position,open:function(){l.addClass("yit-pointer-selected-row")},
6
- close:function(){l.removeClass("yit-pointer-selected-row wp-has-current-submenu");a.ajax({type:"POST",url:ajaxurl,data:{action:"dismiss-wp-pointer",pointer:e},success:function(a){}})}}).pointer("open")}})});
1
+ jQuery(document).ready(function(e){var t=custom_pointer.pointers[0],n=t.options,o=e(t.target),i=t.pointer_id;e(o).find(".wp-submenu li a").each(function(){var s=e(this),r=s.attr("href");if((r=r.replace("admin.php?page=",""))==i){var p=s.add(o),a=o.find(t.target.replace("#","."));o.toggleClass("wp-no-current-submenu wp-menu-open wp-has-current-submenu"),s.pointer({pointerClass:"yit-wp-pointer",content:n.content,position:n.position,open:function(){p.toggleClass("yit-pointer-selected-row"),a.addClass("yit-pointer")},close:function(){o.toggleClass("wp-no-current-submenu wp-menu-open wp-has-current-submenu"),p.toggleClass("yit-pointer-selected-row"),a.removeClass("yit-pointer"),e.ajax({type:"POST",url:ajaxurl,data:{action:"dismiss-wp-pointer",pointer:i},success:function(e){}})}}).pointer("open")}else if("yith_default_pointer"==i){p=s.add(o),a=o.find(t.target.replace("#","."));var u=e(t.target);u.addClass("wp-has-current-submenu"),a.pointer({pointerClass:"yit-wp-pointer",content:n.content,position:n.position,open:function(){u.addClass("yit-pointer-selected-row")},close:function(){u.removeClass("yit-pointer-selected-row wp-has-current-submenu"),e.ajax({type:"POST",url:ajaxurl,data:{action:"dismiss-wp-pointer",pointer:i},success:function(e){}})}}).pointer("open")}})});
 
 
 
 
 
plugin-fw/assets/js/yith-dashboard.min.js CHANGED
@@ -1,2 +1 @@
1
- (function(a){a(".yith-last-changelog").click(function(b){b.preventDefault();b=a(this).data("changelogid");var c=a("#"+b);b=a(this).data("plugininfo");var d={};d[yith_dashboard.buttons.close]=function(){a(this).dialog("close")};c.dialog({title:b,dialogClass:"wp-dialog",autoOpen:!1,draggable:!1,width:"auto",modal:!0,resizable:!1,closeOnEscape:!0,position:{my:"center",at:"center",of:window},buttons:d,show:{effect:"blind",duration:1E3},open:function(){a(".ui-widget-overlay").bind("click",function(){c.dialog("close")})},
2
- create:function(){a(".ui-dialog-titlebar-close").addClass("ui-button")}});c.dialog("open")})})(jQuery);
1
+ !function(i){i(".yith-last-changelog").click(function(o){o.preventDefault();var t=i(this).data("changelogid"),a=i("#"+t),e=i(this).data("plugininfo"),n={};n[yith_dashboard.buttons.close]=function(){i(this).dialog("close")},a.dialog({title:e,dialogClass:"wp-dialog",autoOpen:!1,draggable:!1,width:"auto",modal:!0,resizable:!1,closeOnEscape:!0,position:{my:"center",at:"center",of:window},buttons:n,show:{effect:"blind",duration:1e3},open:function(){i(".ui-widget-overlay").bind("click",function(){a.dialog("close")})},create:function(){i(".ui-dialog-titlebar-close").addClass("ui-button")}}),a.dialog("open")})}(jQuery);
 
plugin-fw/assets/js/yith-enhanced-select-wc-2.6.min.js CHANGED
@@ -1,5 +1 @@
1
- jQuery(document).ready(function(b){b(document.body).on("yith-framework-enhanced-select-init",function(){b(":input.yith-post-search").filter(":not(.enhanced)").each(function(){var d=b.extend({action:"yith_plugin_fw_json_search_posts",security:yith_framework_enhanced_select_params.search_posts_nonce,post_type:"post"},b(this).data()),c={allowClear:b(this).data("allow_clear")?!0:!1,placeholder:b(this).data("placeholder"),minimumInputLength:b(this).data("minimum_input_length")?b(this).data("minimum_input_length"):
2
- "3",escapeMarkup:function(a){return a},ajax:{url:yith_framework_enhanced_select_params.ajax_url,dataType:"json",quietMillis:250,data:function(a){d.term=a;return d},results:function(a){var c=[];a&&b.each(a,function(a,b){c.push({id:a,text:b})});return{results:c}},cache:!0}};!0===b(this).data("multiple")?(c.multiple=!0,c.initSelection=function(a,c){var f=b.parseJSON(a.attr("data-selected")),e=[];b(a.val().split(",")).each(function(a,b){e.push({id:b,text:f[b]})});return c(e)},c.formatSelection=function(a){return'<div class="selected-option" data-id="'+
3
- a.id+'">'+a.text+"</div>"}):(c.multiple=!1,c.initSelection=function(a,b){a={id:a.val(),text:a.attr("data-selected")};return b(a)});b(this).select2(c).addClass("enhanced")});b(":input.yith-term-search").filter(":not(.enhanced)").each(function(){var d=b.extend({action:"yith_plugin_fw_json_search_terms",security:yith_framework_enhanced_select_params.search_terms_nonce,taxonomy:"category"},b(this).data()),c={allowClear:b(this).data("allow_clear")?!0:!1,placeholder:b(this).data("placeholder"),minimumInputLength:b(this).data("minimum_input_length")?
4
- b(this).data("minimum_input_length"):"3",escapeMarkup:function(a){return a},ajax:{url:yith_framework_enhanced_select_params.ajax_url,dataType:"json",quietMillis:250,data:function(a){d.term=a;return d},results:function(a){var c=[];a&&b.each(a,function(a,b){c.push({id:a,text:b})});return{results:c}},cache:!0}};!0===b(this).data("multiple")?(c.multiple=!0,c.initSelection=function(a,c){var d=b.parseJSON(a.attr("data-selected")),e=[];b(a.val().split(",")).each(function(a,b){e.push({id:b,text:d[b]})});
5
- return c(e)},c.formatSelection=function(a){return'<div class="selected-option" data-id="'+a.id+'">'+a.text+"</div>"}):(c.multiple=!1,c.initSelection=function(a,b){a={id:a.val(),text:a.attr("data-selected")};return b(a)});b(this).select2(c).addClass("enhanced")})}).trigger("yith-framework-enhanced-select-init")});
1
+ jQuery(document).ready(function(t){"use strict";t(document.body).on("yith-framework-enhanced-select-init",function(){t(":input.yith-post-search").filter(":not(.enhanced)").each(function(){var e={action:"yith_plugin_fw_json_search_posts",security:yith_framework_enhanced_select_params.search_posts_nonce,post_type:"post"},a=t.extend(e,t(this).data()),n={allowClear:!!t(this).data("allow_clear"),placeholder:t(this).data("placeholder"),minimumInputLength:t(this).data("minimum_input_length")?t(this).data("minimum_input_length"):"3",escapeMarkup:function(t){return t},ajax:{url:yith_framework_enhanced_select_params.ajax_url,dataType:"json",quietMillis:250,data:function(t){return a.term=t,a},results:function(e){var a=[];return e&&t.each(e,function(t,e){a.push({id:t,text:e})}),{results:a}},cache:!0}};!0===t(this).data("multiple")?(n.multiple=!0,n.initSelection=function(e,a){var n=t.parseJSON(e.attr("data-selected")),i=[];return t(e.val().split(",")).each(function(t,e){i.push({id:e,text:n[e]})}),a(i)},n.formatSelection=function(t){return'<div class="selected-option" data-id="'+t.id+'">'+t.text+"</div>"}):(n.multiple=!1,n.initSelection=function(t,e){return e({id:t.val(),text:t.attr("data-selected")})}),t(this).select2(n).addClass("enhanced")}),t(":input.yith-term-search").filter(":not(.enhanced)").each(function(){var e={action:"yith_plugin_fw_json_search_terms",security:yith_framework_enhanced_select_params.search_terms_nonce,taxonomy:"category"},a=t.extend(e,t(this).data()),n={allowClear:!!t(this).data("allow_clear"),placeholder:t(this).data("placeholder"),minimumInputLength:t(this).data("minimum_input_length")?t(this).data("minimum_input_length"):"3",escapeMarkup:function(t){return t},ajax:{url:yith_framework_enhanced_select_params.ajax_url,dataType:"json",quietMillis:250,data:function(t){return a.term=t,a},results:function(e){var a=[];return e&&t.each(e,function(t,e){a.push({id:t,text:e})}),{results:a}},cache:!0}};!0===t(this).data("multiple")?(n.multiple=!0,n.initSelection=function(e,a){var n=t.parseJSON(e.attr("data-selected")),i=[];return t(e.val().split(",")).each(function(t,e){i.push({id:e,text:n[e]})}),a(i)},n.formatSelection=function(t){return'<div class="selected-option" data-id="'+t.id+'">'+t.text+"</div>"}):(n.multiple=!1,n.initSelection=function(t,e){return e({id:t.val(),text:t.attr("data-selected")})}),t(this).select2(n).addClass("enhanced")})}).trigger("yith-framework-enhanced-select-init")});
 
 
 
 
plugin-fw/assets/js/yith-enhanced-select.min.js CHANGED
@@ -1,10 +1 @@
1
- var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,f,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var b=a[e];if(f.call(c,b,e,a))return{i:e,v:b}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,f,c){a!=Array.prototype&&a!=Object.prototype&&(a[f]=c.value)};
2
- $jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,f,c,d){if(f){c=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];f=f(d);f!=d&&null!=f&&$jscomp.defineProperty(c,a,{configurable:!0,writable:!0,value:f})}};
3
- $jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,c){return $jscomp.findInternal(this,a,c).v}},"es6","es3");
4
- jQuery(document).ready(function(a){a(document.body).on("yith-framework-enhanced-select-init",function(){a(".yith-post-search").filter(":not(.enhanced)").each(function(){var f=a.extend({action:"yith_plugin_fw_json_search_posts",security:yith_framework_enhanced_select_params.search_posts_nonce,post_type:"post"},a(this).data()),c={allowClear:a(this).data("allow_clear")?!0:!1,placeholder:a(this).data("placeholder"),minimumInputLength:a(this).data("minimum_input_length")?a(this).data("minimum_input_length"):
5
- "3",escapeMarkup:function(a){return a},ajax:{url:ajaxurl,dataType:"json",quietMillis:250,data:function(b){return a.extend({term:b.term},f)},processResults:function(b){var c=[];b&&a.each(b,function(a,b){c.push({id:a,text:b})});return{results:c}},cache:!0}};a(this).select2(c).addClass("enhanced");if(a(this).data("sortable")){var d=a(this),e=a(this).next(".select2-container").find("ul.select2-selection__rendered");e.sortable({placeholder:"ui-state-highlight select2-selection__choice",forcePlaceholderSize:!0,
6
- items:"li:not(.select2-search__field)",tolerance:"pointer",stop:function(){a(e.find(".select2-selection__choice").get().reverse()).each(function(){var b=a(this).data("data").id;b=d.find('option[value="'+b+'"]')[0];d.prepend(b)})}})}});a(".yith-customer-search").filter(":not(.enhanced)").each(function(){var f=a.extend({action:"woocommerce_json_search_customers",security:yith_framework_enhanced_select_params.search_customers_nonce},a(this).data()),c={allowClear:a(this).data("allow_clear")?!0:!1,placeholder:a(this).data("placeholder"),
7
- minimumInputLength:a(this).data("minimum_input_length")?a(this).data("minimum_input_length"):"3",escapeMarkup:function(a){return a},ajax:{url:ajaxurl,dataType:"json",quietMillis:250,data:function(b){return a.extend({term:b.term},f)},processResults:function(b){var c=[];b&&a.each(b,function(a,b){c.push({id:a,text:b})});return{results:c}},cache:!0}};a(this).select2(c).addClass("enhanced");if(a(this).data("sortable")){var d=a(this),e=a(this).next(".select2-container").find("ul.select2-selection__rendered");
8
- e.sortable({placeholder:"ui-state-highlight select2-selection__choice",forcePlaceholderSize:!0,items:"li:not(.select2-search__field)",tolerance:"pointer",stop:function(){a(e.find(".select2-selection__choice").get().reverse()).each(function(){var b=a(this).data("data").id;b=d.find('option[value="'+b+'"]')[0];d.prepend(b)})}})}});a(".yith-term-search").filter(":not(.enhanced)").each(function(){var f=a.extend({action:"yith_plugin_fw_json_search_terms",security:yith_framework_enhanced_select_params.search_terms_nonce,
9
- taxonomy:"category"},a(this).data()),c={allowClear:a(this).data("allow_clear")?!0:!1,placeholder:a(this).data("placeholder"),minimumInputLength:a(this).data("minimum_input_length")?a(this).data("minimum_input_length"):"3",escapeMarkup:function(a){return a},ajax:{url:ajaxurl,dataType:"json",quietMillis:250,data:function(b){return a.extend({term:b.term},f)},processResults:function(b){var c=[];b&&a.each(b,function(a,b){c.push({id:a,text:b})});return{results:c}},cache:!0}};a(this).select2(c).addClass("enhanced");
10
- if(a(this).data("sortable")){var d=a(this),e=a(this).next(".select2-container").find("ul.select2-selection__rendered");e.sortable({placeholder:"ui-state-highlight select2-selection__choice",forcePlaceholderSize:!0,items:"li:not(.select2-search__field)",tolerance:"pointer",stop:function(){a(e.find(".select2-selection__choice").get().reverse()).each(function(){var b=a(this).data("data").id;b=d.find('option[value="'+b+'"]')[0];d.prepend(b)})}})}})}).trigger("yith-framework-enhanced-select-init")});
1
+ jQuery(document).ready(function(e){"use strict";e(document.body).on("yith-framework-enhanced-select-init",function(){e(".yith-post-search").filter(":not(.enhanced)").each(function(){var t={action:"yith_plugin_fw_json_search_posts",security:yith_framework_enhanced_select_params.search_posts_nonce,post_type:"post"},a=e.extend(t,e(this).data()),n={allowClear:!!e(this).data("allow_clear"),placeholder:e(this).data("placeholder"),minimumInputLength:e(this).data("minimum_input_length")?e(this).data("minimum_input_length"):"3",escapeMarkup:function(e){return e},ajax:{url:ajaxurl,dataType:"json",quietMillis:250,data:function(t){var n={term:t.term};return e.extend(n,a)},processResults:function(t){var a=[];return t&&e.each(t,function(e,t){a.push({id:e,text:t})}),{results:a}},cache:!0}};if(e(this).select2(n).addClass("enhanced"),e(this).data("sortable")){var i=e(this),c=e(this).next(".select2-container").find("ul.select2-selection__rendered");c.sortable({placeholder:"ui-state-highlight select2-selection__choice",forcePlaceholderSize:!0,items:"li:not(.select2-search__field)",tolerance:"pointer",stop:function(){e(c.find(".select2-selection__choice").get().reverse()).each(function(){var t=e(this).data("data").id,a=i.find('option[value="'+t+'"]')[0];i.prepend(a)})}})}}),e(".yith-customer-search").filter(":not(.enhanced)").each(function(){var t={action:"woocommerce_json_search_customers",security:yith_framework_enhanced_select_params.search_customers_nonce},a=e.extend(t,e(this).data()),n={allowClear:!!e(this).data("allow_clear"),placeholder:e(this).data("placeholder"),minimumInputLength:e(this).data("minimum_input_length")?e(this).data("minimum_input_length"):"3",escapeMarkup:function(e){return e},ajax:{url:ajaxurl,dataType:"json",quietMillis:250,data:function(t){var n={term:t.term};return e.extend(n,a)},processResults:function(t){var a=[];return t&&e.each(t,function(e,t){a.push({id:e,text:t})}),{results:a}},cache:!0}};if(e(this).select2(n).addClass("enhanced"),e(this).data("sortable")){var i=e(this),c=e(this).next(".select2-container").find("ul.select2-selection__rendered");c.sortable({placeholder:"ui-state-highlight select2-selection__choice",forcePlaceholderSize:!0,items:"li:not(.select2-search__field)",tolerance:"pointer",stop:function(){e(c.find(".select2-selection__choice").get().reverse()).each(function(){var t=e(this).data("data").id,a=i.find('option[value="'+t+'"]')[0];i.prepend(a)})}})}}),e(".yith-term-search").filter(":not(.enhanced)").each(function(){var t={action:"yith_plugin_fw_json_search_terms",security:yith_framework_enhanced_select_params.search_terms_nonce,taxonomy:"category"},a=e.extend(t,e(this).data()),n={allowClear:!!e(this).data("allow_clear"),placeholder:e(this).data("placeholder"),minimumInputLength:e(this).data("minimum_input_length")?e(this).data("minimum_input_length"):"3",escapeMarkup:function(e){return e},ajax:{url:ajaxurl,dataType:"json",quietMillis:250,data:function(t){var n={term:t.term};return e.extend(n,a)},processResults:function(t){var a=[];return t&&e.each(t,function(e,t){a.push({id:e,text:t})}),{results:a}},cache:!0}};if(e(this).select2(n).addClass("enhanced"),e(this).data("sortable")){var i=e(this),c=e(this).next(".select2-container").find("ul.select2-selection__rendered");c.sortable({placeholder:"ui-state-highlight select2-selection__choice",forcePlaceholderSize:!0,items:"li:not(.select2-search__field)",tolerance:"pointer",stop:function(){e(c.find(".select2-selection__choice").get().reverse()).each(function(){var t=e(this).data("data").id,a=i.find('option[value="'+t+'"]')[0];i.prepend(a)})}})}})}).trigger("yith-framework-enhanced-select-init")});
 
 
 
 
 
 
 
 
 
plugin-fw/assets/js/yith-fields.js CHANGED
@@ -1,732 +1,798 @@
1
  ( function ( $ ) {
2
 
3
- /* global yith_framework_fw_fields*/
4
-
5
- var yith_fields_init = function () {
6
- var $datepicker = $( '.yith-plugin-fw-datepicker' ),
7
- $colorpicker = $( '.yith-plugin-fw-colorpicker' ),
8
- $upload = {
9
- imgPreviewHandler : '.yith-plugin-fw-upload-img-preview',
10
- uploadButtonHandler: '.yith-plugin-fw-upload-button',
11
- imgUrlHandler : '.yith-plugin-fw-upload-img-url',
12
- resetButtonHandler : '.yith-plugin-fw-upload-button-reset',
13
- imgUrl : $( '.yith-plugin-fw-upload-img-url' )
14
- },
15
- $wpAddMedia = $( '.add_media' ),
16
- $imageGallery = {
17
- sliderWrapper: $( '.yith-plugin-fw .image-gallery ul.slides-wrapper' ),
18
- buttonHandler: '.yith-plugin-fw .image-gallery-button'
19
- },
20
- $sidebars = $( '.yith-plugin-fw-sidebar-layout' ),
21
- $slider = $( '.yith-plugin-fw .yith-plugin-fw-slider-container .ui-slider-horizontal' ),
22
- $codemirror = $( '.codemirror' ),
23
- $icons = $( '.yit-icons-manager-wrapper' ),
24
- $checkgroup = $( ".yith-plugin-ui td.forminp-checkbox" );
25
-
26
- /* Datepicker */
27
- $datepicker.each( function () {
28
- var args = $( this ).data();
29
-
30
- // set animation to false to prevent style 'glitches' when removing class on closing
31
- args.showAnim = false;
32
- args.beforeShow = function ( input, instance ) {
33
- instance.dpDiv.addClass( 'yith-plugin-fw-datepicker-div' );
34
- };
35
- args.onClose = function ( selectedDate, instance ) {
36
- instance.dpDiv.removeClass( 'yith-plugin-fw-datepicker-div' );
37
- };
38
-
39
- $( this ).datepicker( args );
40
- } );
41
-
42
- /* Colorpicker */
43
- $colorpicker.wpColorPicker( {
44
- palettes: false,
45
- width : 200,
46
- mode : 'hsl',
47
- clear : function () {
48
- var input = $( this );
49
- input.val( input.data( 'default-color' ) );
50
- input.change();
51
- }
52
- } );
53
-
54
-
55
- $colorpicker.each( function () {
56
- var select_label = $( this ).data( 'variations-label' ),
57
- wrap_main1 = $( this ).closest( '.yith-plugin-fw-colorpicker-field-wrapper' ),
58
- wrap_main2 = $( this ).closest( '.yith-single-colorpicker' ),
59
- wrap1 = wrap_main1.find( '.wp-picker-input-wrap' ),
60
- wrap2 = wrap_main2.find( '.wp-picker-input-wrap' );
61
-
62
- wrap1.length && wrap_main1.find( 'a.wp-color-result' ).attr( 'title', select_label );
63
- wrap_main2.length && wrap_main2.find( 'a.wp-color-result' ).attr( 'title', select_label );
64
-
65
- if ( !wrap1.find( '.wp-picker-clear-custom' ).length ) {
66
- var button = $( '<span/>' ).attr( {
67
- class: "wp-picker-default-custom"
68
- } );
69
- wrap1.find( '.wp-picker-default' ).wrap( button );
70
- }
71
-
72
- if ( !wrap2.find( '.wp-picker-clear-custom' ).length ) {
73
- var button = $( '<span/>' ).attr( {
74
- class: "wp-picker-default-custom"
75
- } );
76
- wrap2.find( '.wp-picker-default' ).wrap( button );
77
- }
78
- } );
79
-
80
-
81
- /* Upload */
82
- if ( typeof wp !== 'undefined' && typeof wp.media !== 'undefined' ) {
83
- var _custom_media = true;
84
- // preview
85
- $upload.imgUrl.change( function () {
86
- var url = $( this ).val(),
87
- re = new RegExp( "(http|ftp|https)://[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico)" ),
88
- preview = $( this ).parent().find( $upload.imgPreviewHandler ).first();
89
-
90
- if ( preview.length < 1 ) {
91
- preview = $( this ).parent().parent().find( $upload.imgPreviewHandler ).first();
92
- }
93
-
94
- if ( re.test( url ) ) {
95
- preview.html( '<img src="' + url + '" style="max-width:100px; max-height:100px;" />' );
96
- } else {
97
- preview.html( '' );
98
- }
99
- } ).trigger( 'change' );
100
-
101
- $( document ).on( 'click', $upload.uploadButtonHandler, function ( e ) {
102
- e.preventDefault();
103
-
104
- var t = $( this ),
105
- custom_uploader,
106
- id = t.attr( 'id' ).replace( /-button$/, '' );
107
-
108
- //If the uploader object has already been created, reopen the dialog
109
- if ( custom_uploader ) {
110
- custom_uploader.open();
111
- return;
112
- }
113
-
114
- var custom_uploader_states = [
115
- // Main states.
116
- new wp.media.controller.Library( {
117
- library : wp.media.query(),
118
- multiple : false,
119
- title : 'Choose Image',
120
- priority : 20,
121
- filterable: 'uploaded'
122
- } )
123
- ];
124
-
125
- // Create the media frame.
126
- custom_uploader = wp.media.frames.downloadable_file = wp.media( {
127
- // Set the title of the modal.
128
- title : 'Choose Image',
129
- library : {
130
- type: ''
131
- },
132
- button : {
133
- text: 'Choose Image'
134
- },
135
- multiple: false,
136
- states : custom_uploader_states
137
- } );
138
-
139
- //When a file is selected, grab the URL and set it as the text field's value
140
- custom_uploader.on( 'select', function () {
141
- var attachment = custom_uploader.state().get( 'selection' ).first().toJSON();
142
-
143
- $( "#" + id ).val( attachment.url );
144
- // Save the id of the selected element to an element which name is the same with a suffix "-yith-attachment-id"
145
- if ( $( "#" + id + "-yith-attachment-id" ) ) {
146
- $( "#" + id + "-yith-attachment-id" ).val( attachment.id );
147
- }
148
- $upload.imgUrl.trigger( 'change' );
149
- } );
150
-
151
- //Open the uploader dialog
152
- custom_uploader.open();
153
- } );
154
-
155
- $( document ).on( 'click', $upload.resetButtonHandler, function ( e ) {
156
- var t = $( this ),
157
- id = t.attr( 'id' ),
158
- input_id = t.attr( 'id' ).replace( /-button-reset$/, '' ),
159
- default_value = $( '#' + id ).data( 'default' );
160
-
161
- $( "#" + input_id ).val( default_value );
162
- $upload.imgUrl.trigger( 'change' );
163
- } );
164
- }
165
-
166
- $wpAddMedia.on( 'click', function () {
167
- _custom_media = false;
168
- } );
169
-
170
- /* Image Gallery */
171
- if ( typeof wp !== 'undefined' && typeof wp.media !== 'undefined' ) {
172
- $( document ).on( 'click', $imageGallery.buttonHandler, function ( e ) {
173
- var $t = $( this ),
174
- $container = $t.closest( '.image-gallery' ),
175
- $image_gallery_ids = $container.find( '.image_gallery_ids' ),
176
- attachment_ids = $image_gallery_ids.val(),
177
- $gallery_images_wrapper = $container.find( 'ul.slides-wrapper' );
178
-
179
- // Create the media frame.
180
- var image_gallery_frame = wp.media.frames.image_gallery = wp.media( {
181
- // Set the title of the modal.
182
- title : $t.data( 'choose' ),
183
- button: {
184
- text: $t.data( 'update' )
185
- },
186
- states: [
187
- new wp.media.controller.Library( {
188
- title : $t.data( 'choose' ),
189
- filterable: 'all',
190
- multiple : true
191
- } )
192
- ]
193
- } );
194
-
195
- // When an image is selected, run a callback.
196
- image_gallery_frame.on( 'select', function () {
197
- var selection = image_gallery_frame.state().get( 'selection' );
198
- selection.map( function ( attachment ) {
199
- attachment = attachment.toJSON();
200
-
201
- if ( attachment.id ) {
202
- attachment_ids = attachment_ids ? attachment_ids + "," + attachment.id : attachment.id;
203
- $gallery_images_wrapper.append( '<li class="image" data-attachment_id="' + attachment.id + '"><img src="' + attachment.sizes.thumbnail.url + '"/><ul class="actions"><li><a href="#" class="delete" title="' + $t.data( 'delete' ) + '">x</a></li></ul></li>' );
204
- }
205
- } );
206
-
207
- $image_gallery_ids.val( attachment_ids );
208
- } );
209
-
210
- image_gallery_frame.open();
211
-
212
- } );
213
-
214
- // Image ordering
215
- $imageGallery.sliderWrapper.each( function () {
216
- var $t = $( this );
217
- $t.sortable( {
218
- items : 'li.image',
219
- cursor : 'move',
220
- scrollSensitivity : 40,
221
- forcePlaceholderSize: true,
222
- forceHelperSize : false,
223
- helper : 'clone',
224
- opacity : 0.65,
225
- start : function ( event, ui ) {
226
- ui.item.css( 'background-color', '#f6f6f6' );
227
- },
228
- stop : function ( event, ui ) {
229
- ui.item.removeAttr( 'style' );
230
- },
231
- update : function ( event, ui ) {
232
- var attachment_ids = '';
233
-
234
- $t.find( 'li.image' ).css( 'cursor', 'default' ).each( function () {
235
- var attachment_id = $( this ).attr( 'data-attachment_id' );
236
- attachment_ids = attachment_ids + attachment_id + ',';
237
- } );
238
-
239
- $t.closest( '.image-gallery' ).find( '.image_gallery_ids' ).val( attachment_ids );
240
- }
241
- } );
242
- } );
243
-
244
- // Remove images
245
- $imageGallery.sliderWrapper.on( 'click', 'a.delete', function () {
246
- var $wrapper = $( this ).closest( '.image-gallery' ),
247
- $gallery = $( this ).closest( '.image-gallery ul.slides-wrapper' ),
248
- $image_gallery_ids = $wrapper.find( '.image_gallery_ids' ),
249
- attachment_ids = '';
250
-
251
- $( this ).closest( 'li.image' ).remove();
252
-
253
- $gallery.find( 'li.image' ).css( 'cursor', 'default' ).each( function () {
254
- var attachment_id = $( this ).attr( 'data-attachment_id' );
255
- attachment_ids = attachment_ids + attachment_id + ',';
256
- } );
257
-
258
- $image_gallery_ids.val( attachment_ids );
259
- } );
260
- }
261
-
262
-
263
- /* Sidebars */
264
- $sidebars.each( function () {
265
- var $images = $( this ).find( 'img' );
266
- $images.on( 'click', function () {
267
- var $container = $( this ).closest( '.yith-plugin-fw-sidebar-layout' ),
268
- $left = $container.find( '.yith-plugin-fw-sidebar-layout-sidebar-left-container' ),
269
- $right = $container.find( '.yith-plugin-fw-sidebar-layout-sidebar-right-container' ),
270
- type = $( this ).data( 'type' );
271
-
272
- $( this ).parent().children( ':radio' ).attr( 'checked', false );
273
- $( this ).prev( ':radio' ).attr( 'checked', true );
274
-
275
- if ( typeof type != 'undefined' ) {
276
- switch ( type ) {
277
- case 'left':
278
- $left.show();
279
- $right.hide();
280
- break;
281
- case 'right':
282
- $right.show();
283
- $left.hide();
284
- break;
285
- case 'double':
286
- $left.show();
287
- $right.show();
288
- break;
289
- default:
290
- $left.hide();
291
- $right.hide();
292
- break;
293
- }
294
- }
295
- } );
296
- } );
297
-
298
- /* Slider */
299
- $slider.each( function () {
300
- var val = $( this ).data( 'val' ),
301
- minValue = $( this ).data( 'min' ),
302
- maxValue = $( this ).data( 'max' ),
303
- step = $( this ).data( 'step' ),
304
- labels = $( this ).data( 'labels' );
305
-
306
- $( this ).slider( {
307
- value: val,
308
- min : minValue,
309
- max : maxValue,
310
- range: 'min',
311
- step : step,
312
-
313
- create: function () {
314
- $( this ).find( '.ui-slider-handle' ).text( $( this ).slider( "value" ) );
315
- },
316
-
317
-
318
- slide: function ( event, ui ) {
319
- $( this ).find( 'input' ).val( ui.value );
320
- $( this ).find( '.ui-slider-handle' ).text( ui.value );
321
- $( this ).siblings( '.feedback' ).find( 'strong' ).text( ui.value + labels );
322
- }
323
- } );
324
- } );
325
-
326
- /* codemirror */
327
- $codemirror.each( function ( i, v ) {
328
- var editor = CodeMirror.fromTextArea( v, {
329
- lineNumbers : 1,
330
- mode : 'javascript',
331
- showCursorWhenSelecting: true
332
- } );
333
-
334
- $( v ).data( 'codemirrorInstance', editor );
335
- } );
336
-
337
- /* Select All - Deselect All */
338
- $( document ).on( 'click', '.yith-plugin-fw-select-all', function () {
339
- var $targetSelect = $( '#' + $( this ).data( 'select-id' ) );
340
- $targetSelect.find( 'option' ).prop( 'selected', true ).trigger( 'change' );
341
- } );
342
-
343
- $( document ).on( 'click', '.yith-plugin-fw-deselect-all', function () {
344
- var $targetSelect = $( '#' + $( this ).data( 'select-id' ) );
345
- $targetSelect.find( 'option' ).prop( 'selected', false ).trigger( 'change' );
346
- } );
347
-
348
-
349
- $icons.each( function () {
350
- var $container = $( this ),
351
- $preview = $container.find( '.yit-icons-manager-icon-preview' ).first(),
352
- $text = $container.find( '.yit-icons-manager-icon-text' );
353
-
354
- $container.on( 'click', '.yit-icons-manager-list li', function ( event ) {
355
- var $target = $( event.target ).closest( 'li' ),
356
- font = $target.data( 'font' ),
357
- icon = $target.data( 'icon' ),
358
- key = $target.data( 'key' ),
359
- name = $target.data( 'name' );
360
-
361
- $preview.attr( 'data-font', font );
362
- $preview.attr( 'data-icon', icon );
363
- $preview.attr( 'data-key', key );
364
- $preview.attr( 'data-name', name );
365
-
366
- $text.val( font + ':' + name );
367
-
368
- $container.find( '.yit-icons-manager-list li' ).removeClass( 'active' );
369
- $target.addClass( 'active' );
370
- } );
371
-
372
- $container.on( 'click', '.yit-icons-manager-action-set-default', function () {
373
- $container.find( '.yit-icons-manager-list li.default' ).trigger( 'click' );
374
- } );
375
- } );
376
-
377
- /** Select Images */
378
- $( document ).on( 'click', '.yith-plugin-fw-select-images__item', function () {
379
- var item = $( this ),
380
- key = item.data( 'key' ),
381
- wrapper = item.closest( '.yith-plugin-fw-select-images__wrapper' ),
382
- items = wrapper.find( '.yith-plugin-fw-select-images__item' ),
383
- select = wrapper.find( 'select' ).first();
384
-
385
- if ( select.length ) {
386
- select.val( key );
387
- items.removeClass( 'yith-plugin-fw-select-images__item--selected' );
388
- item.addClass( 'yith-plugin-fw-select-images__item--selected' );
389
- }
390
- } );
391
-
392
- $( document.body ).trigger( 'wc-enhanced-select-init' );
393
-
394
- $( document ).find( '.ui-sortable .yith-toggle-elements' ).sortable(
395
- {
396
- cursor : 'move',
397
- axis : 'y',
398
- scrollSensitivity : 40,
399
- forcePlaceholderSize: true,
400
- helper : 'clone',
401
-
402
- stop: function ( event, ui ) {
403
- var keys = jQuery( '.ui-sortable-handle' ),
404
- i = 0,
405
- array_keys = new Array();
406
- for ( i = 0; i < keys.length; i++ ) {
407
- array_keys[ i ] = $( keys[ i ] ).data( 'item_key' );
408
- }
409
- if ( array_keys.length > 0 ) {
410
- var toggle = $( this ).closest( '.toggle-element' );
411
- toggle.saveToggleElement( null, array_keys );
412
- }
413
- }
414
- }
415
- );
416
-
417
- $( document.body ).trigger( 'yith-framework-enhanced-select-init' );
418
- };
419
-
420
- $( document ).on( 'yith_fields_init', yith_fields_init ).trigger( 'yith_fields_init' );
421
-
422
- /* on-off */
423
- $( document ).on( 'click', '.yith-plugin-fw-onoff-container span', function () {
424
- var input = $( this ).prev( 'input' ),
425
- checked = input.prop( 'checked' );
426
-
427
- if ( checked ) {
428
- input.prop( 'checked', false ).attr( 'value', 'no' ).removeClass( 'onoffchecked' );
429
- } else {
430
- input.prop( 'checked', true ).attr( 'value', 'yes' ).addClass( 'onoffchecked' );
431
- }
432
-
433
- input.change();
434
- } );
435
-
436
-
437
- /** Toggle **/
438
-
439
-
440
-
441
- //TOGGLE ELEMENT
442
- $.fn.saveToggleElement = function ( spinner, array_keys ) {
443
- var toggle = $( this ),
444
- action = 'yith_plugin_fw_save_toggle_element',
445
- formdata = toggle.serializeToggleElement(),
446
- wrapper = toggle.find( '.yith-toggle_wrapper' ),
447
- id = wrapper.attr( 'id' ),
448
- current_tab = $.urlParam( 'tab' );
449
-
450
- formdata.append( 'security', wrapper.data( 'nonce' ) );
451
-
452
- if ( typeof array_keys != 'undefined' && array_keys.length > 0 ) {
453
- formdata.append( 'yith_toggle_elements_order_keys', array_keys );
454
- }
455
-
456
- if ( toggle.closest( '.metaboxes-tab.yith-plugin-ui' ).length ) {
457
- action = 'yith_plugin_fw_save_toggle_element_metabox';
458
- post_id = $( this ).closest( 'form#post' ).find( '#post_ID' ).val();
459
- yit_metaboxes_nonce = $( this ).closest( 'form#post' ).find( '#yit_metaboxes_nonce' ).val();
460
- metabox_tab = $( this ).closest( '.tabs-panel' ).attr( 'id' );
461
- url = yith_framework_fw_fields.ajax_url +
462
- '?action=' + action +
463
- "&post_ID=" + post_id +
464
- '&yit_metaboxes_nonce=' + yit_metaboxes_nonce +
465
- "&toggle_id=" + id +
466
- "&metabox_tab=" + metabox_tab;
467
- } else {
468
- url = yith_framework_fw_fields.admin_url + '?action=' + action + '&tab=' + current_tab + "&toggle_id=" + id;
469
- }
470
-
471
- $.ajax( {
472
- type : "POST",
473
- url : url,
474
- data : formdata,
475
- contentType: false,
476
- processData: false,
477
- success : function ( result ) {
478
- if ( spinner ) {
479
- spinner.removeClass( 'show' );
480
- }
481
-
482
- $( document ).trigger( 'yith_save_toggle_element_done', [result, toggle] );
483
- }
484
- } );
485
- };
486
-
487
- $.fn.serializeToggleElement = function () {
488
- var obj = $( this );
489
- /* ADD FILE TO PARAM AJAX */
490
- var formData = new FormData();
491
- var params = $( obj ).find( ":input" ).serializeArray();
492
-
493
- $.each( params, function ( i, val ) {
494
- el_name = val.name;
495
- formData.append( val.name, val.value );
496
- } );
497
-
498
- return formData;
499
- };
500
-
501
- $.fn.formatToggleTitle = function () {
502
- var toggle_el = $( this ),
503
- fields = toggle_el.find( ':input' ),
504
- title = toggle_el.find( 'span.title' ).data( 'title_format' ),
505
- subtitle = toggle_el.find( '.subtitle' ).data( 'subtitle_format' ),
506
- regExp = new RegExp( "[^%%]+(?=[%%])", 'g' );
507
-
508
- if ( typeof title != 'undefined' ) {
509
- var res = title.match( regExp );
510
- }
511
-
512
- if ( typeof subtitle != 'undefined' ) {
513
- var ressub = subtitle.match( regExp );
514
- }
515
-
516
- $.each( fields, function ( i, field ) {
517
- if ( typeof $( field ).attr( 'id' ) != 'undefined' ) {
518
- $field_id = $( field ).attr( 'id' );
519
- $field_array = $field_id.split( '_' );
520
- $field_array.pop();
521
- $field_id = $field_array.join( '_' );
522
- $field_val = $( field ).val();
523
-
524
- if ( res != null && typeof res != 'undefined' && res.indexOf( $field_id ) !== -1 ) {
525
- title = title.replace( '%%' + $field_id + '%%', $field_val );
526
- }
527
- if ( ressub != null && typeof ressub != 'undefined' && ressub.indexOf( $field_id ) !== -1 ) {
528
- subtitle = subtitle.replace( '%%' + $field_id + '%%', $field_val );
529
- }
530
- }
531
- } );
532
-
533
- if ( '' !== title ) {
534
- toggle_el.find( 'span.title' ).html( title );
535
- }
536
-
537
- if ( '' !== subtitle ) {
538
- toggle_el.find( '.subtitle' ).html( subtitle );
539
- }
540
-
541
- $( document ).trigger( 'yith-toggle-element-item-title', [toggle_el] );
542
- };
543
-
544
- $.urlParam = function ( name ) {
545
- var results = new RegExp( '[\?&]' + name + '=([^&#]*)' )
546
- .exec( window.location.search );
547
-
548
- return ( results !== null ) ? results[ 1 ] || 0 : false;
549
- };
550
-
551
- $( document ).on( 'click', '.yith-toggle-title', function ( event ) {
552
- var _toggle = $( event.target ),
553
- _section = _toggle.closest( '.yith-toggle-row' ),
554
- _content = _section.find( '.yith-toggle-content' );
555
-
556
- if ( _toggle.hasClass( 'yith-plugin-fw-onoff' ) || _toggle.hasClass( 'yith-icon-drag' ) ) {
557
- return false;
558
- }
559
-
560
- if ( _section.is( '.yith-toggle-row-opened' ) ) {
561
- _content.slideUp( 400 );
562
- } else {
563
- _content.slideDown( 400 );
564
- }
565
- _section.toggleClass( 'yith-toggle-row-opened' );
566
- } );
567
-
568
- /**Add new box toggle**/
569
- $( document ).on( 'click', '.yith-add-box-button', function ( event ) {
570
- event.preventDefault();
571
- var $this = $( this ),
572
- target_id = $this.data( 'box_id' ),
573
- closed_label = $this.data( 'closed_label' ),
574
- label = $this.data( 'opened_label' ),
575
- id = $this.closest( '.yith-toggle_wrapper' ).attr( 'id' );
576
- template = wp.template( 'yith-toggle-element-add-box-content-' + id );
577
-
578
- if ( '' !== target_id ) {
579
- $( '#' + target_id ).html( template( { index: 'box_id' } ) ).slideToggle();
580
- if ( closed_label !== '' ) {
581
- if ( $this.html() === closed_label ) {
582
- $this.html( label ).removeClass( 'closed' );
583
- } else {
584
- $this.html( closed_label ).addClass( 'closed' );
585
- }
586
- }
587
-
588
- $( document ).trigger( 'yith_fields_init' );
589
- $( document ).trigger( 'yith-add-box-button-toggle', [$this] );
590
- }
591
- } );
592
-
593
- $( document ).on( 'click', '.yith-add-box-buttons .yith-save-button', function ( event ) {
594
-
595
- event.preventDefault();
596
- var add_box = $( this ).parents( '.yith-add-box' ),
597
- id = $( this ).closest( '.yith-toggle_wrapper' ).attr( 'id' ),
598
- spinner = add_box.find( '.spinner' ),
599
- toggle_element = $( this ).parents( '.toggle-element' ),
600
- fields = add_box.find( ':input' ),
601
- counter = toggle_element.find( '.yith-toggle-row' ).length,
602
- hidden_obj = $( '<input type="hidden">' );
603
-
604
- hidden_obj.val( counter );
605
-
606
- $( document ).trigger( 'yith-toggle-change-counter', [hidden_obj, add_box] );
607
-
608
- counter = hidden_obj.val();
609
- var template = wp.template( 'yith-toggle-element-item-' + id ),
610
- toggle_el = $( template( { index: counter } ) );
611
-
612
- spinner.addClass( 'show' );
613
-
614
- $.each( fields, function ( i, field ) {
615
- if ( typeof $( field ).attr( 'id' ) != 'undefined' ) {
616
-
617
- $field_id = $( field ).attr( 'id' );
618
- $field_val = $( field ).val();
619
-
620
- if ( 'radio' == $( field ).attr( 'type' ) ) {
621
- $field_id = $field_id.replace( 'new_', '' );
622
- $field_id = $field_id.replace( '-' + $field_val, '' );
623
- $field_id = $field_id + '_dataindex-' + $field_val;
624
- } else {
625
- $field_id = $field_id.replace( 'new_', '' ) + '_' + counter;
626
- }
627
-
628
- if ( $( field ).is( ':checked' ) ) {
629
- $( toggle_el ).find( '#' + $field_id ).prop( 'checked', true );
630
- }
631
-
632
- if ( $( field ).hasClass( 'yith-post-search' ) || $( field ).hasClass( 'yith-term-search' ) ) {
633
- $( toggle_el ).find( '#' + $field_id ).html( $( '#' + $( field ).attr( 'id' ) ).html() );
634
- }
635
-
636
- $( toggle_el ).find( '#' + $field_id ).val( $field_val );
637
-
638
- }
639
-
640
- } );
641
-
642
- $( toggle_el ).formatToggleTitle();
643
- var form_is_valid = $( '<input type="hidden">' ).val( 'yes' );
644
- $( document ).trigger( 'yith-toggle-element-item-before-add', [add_box, toggle_el, form_is_valid] );
645
-
646
- var delayInMilliseconds = 1000; //1 second
647
- setTimeout( function () {
648
- if ( form_is_valid.val() === 'yes' ) {
649
- $( toggle_element ).find( '.yith-toggle-elements' ).append( toggle_el );
650
- $( add_box ).find( '.yith-plugin-fw-datepicker' ).datepicker( 'destroy' );
651
- $( add_box ).html( '' );
652
- $( add_box ).prev( '.yith-add-box-button' ).trigger( 'click' );
653
- toggle_element.saveToggleElement();
654
-
655
- var delayInMilliseconds = 2000; //1 second
656
- setTimeout( function () {
657
- $( toggle_element ).find( '.highlight' ).removeClass( 'highlight' );
658
- }, delayInMilliseconds );
659
-
660
-
661
- $( document ).trigger( 'yith_fields_init' );
662
- }
663
- }, delayInMilliseconds );
664
-
665
-
666
- } );
667
-
668
- $( document ).on( 'click', '.yith-toggle-row .yith-save-button', function ( event ) {
669
- event.preventDefault();
670
- var toggle = $( this ).closest( '.toggle-element' ),
671
- toggle_row = $( this ).closest( '.yith-toggle-row' ),
672
- spinner = toggle_row.find( '.spinner' );
673
- toggle_row.formatToggleTitle();
674
-
675
- var form_is_valid = $( '<input type="hidden">' ).val( 'yes' );
676
- $( document ).trigger( 'yith-toggle-element-item-before-update', [toggle, toggle_row, form_is_valid] );
677
- if ( form_is_valid.val() === 'yes' ) {
678
- spinner.addClass( 'show' );
679
- toggle.saveToggleElement( spinner );
680
- }
681
- } );
682
-
683
- //register remove the dome and save the toggle
684
- $( document ).on( 'click', '.yith-toggle-row .yith-delete-button', function ( event ) {
685
- event.preventDefault();
686
- var toggle = $( this ).closest( '.toggle-element' ),
687
- toggle_row = $( this ).closest( '.yith-toggle-row' );
688
- toggle_row.remove();
689
- toggle.saveToggleElement();
690
- } );
691
-
692
- //register onoff status
693
- $( document ).on( 'click', '.yith-toggle-onoff', function ( event ) {
694
- event.preventDefault();
695
- var toggle = $( this ).closest( '.toggle-element' );
696
- toggle.saveToggleElement();
697
- } );
698
-
699
- // Radio
700
- $( document ).on( 'click', '.yith-plugin-fw-radio input[type=radio]', function () {
701
- $( this ).closest( '.yith-plugin-fw-radio' ).val( $( this ).val() ).trigger( 'change' );
702
- } );
703
-
704
- $( document ).on( 'click', '.yith-password-eye', function () {
705
- var $this = $( this ),
706
- inp = $( this ).closest( '.yith-password-wrapper' ).find( 'input' );
707
- if ( inp.attr( 'type' ) === "password" ) {
708
- inp.attr( 'type', 'text' );
709
- $this.addClass( 'yith-password-eye-closed' );
710
- } else {
711
- inp.attr( 'type', 'password' );
712
- $this.removeClass( 'yith-password-eye-closed' );
713
- }
714
- } );
715
-
716
- $( document.body ).on( 'yith-plugin-fw-init-radio', function () {
717
- $( '.yith-plugin-fw-radio:not(.yith-plugin-fw-radio--initialized)' ).each( function () {
718
- $( this ).val( $( this ).attr( 'value' ) );
719
- $( this ).addClass( 'yith-plugin-fw-radio--initialized' );
720
- } );
721
- } ).trigger( 'yith-plugin-fw-init-radio' );
722
-
723
- /**
724
- * Select2 - add class to stylize it with the new plugin-fw style
725
- */
726
- $( document ).on( 'select2:open', function ( e ) {
727
- if ( $( e.target ).closest( '.yith-plugin-ui' ).length ) {
728
- $( '.select2-results' ).closest( '.select2-container' ).addClass( 'yith-plugin-fw-select2-container' );
729
- }
730
- } );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
731
 
732
  } )( jQuery );
1
  ( function ( $ ) {
2
 
3
+ /* global yith_framework_fw_fields*/
4
+
5
+ var yith_fields_init = function () {
6
+ var $datepicker = $( '.yith-plugin-fw-datepicker' ),
7
+ $colorpicker = $( '.yith-plugin-fw-colorpicker' ),
8
+ $upload = {
9
+ imgPreviewHandler : '.yith-plugin-fw-upload-img-preview',
10
+ uploadButtonHandler: '.yith-plugin-fw-upload-button',
11
+ imgUrlHandler : '.yith-plugin-fw-upload-img-url',
12
+ resetButtonHandler : '.yith-plugin-fw-upload-button-reset',
13
+ imgUrl : $( '.yith-plugin-fw-upload-img-url' )
14
+ },
15
+ $wpAddMedia = $( '.add_media' ),
16
+ $imageGallery = {
17
+ sliderWrapper: $( '.yith-plugin-fw .image-gallery ul.slides-wrapper' ),
18
+ buttonHandler: '.yith-plugin-fw .image-gallery-button'
19
+ },
20
+ $sidebars = $( '.yith-plugin-fw-sidebar-layout' ),
21
+ $slider = $( '.yith-plugin-fw .yith-plugin-fw-slider-container .ui-slider-horizontal' ),
22
+ $codemirror = $( '.codemirror' ),
23
+ $icons = $( '.yit-icons-manager-wrapper' ),
24
+ $checkgroup = $( ".yith-plugin-ui td.forminp-checkbox" );
25
+
26
+ /* Datepicker */
27
+ $datepicker.each( function () {
28
+ var args = $( this ).data();
29
+
30
+ // set animation to false to prevent style 'glitches' when removing class on closing
31
+ args.showAnim = false;
32
+ args.beforeShow = function ( input, instance ) {
33
+ instance.dpDiv.addClass( 'yith-plugin-fw-datepicker-div' );
34
+ };
35
+ args.onClose = function ( selectedDate, instance ) {
36
+ instance.dpDiv.removeClass( 'yith-plugin-fw-datepicker-div' );
37
+ };
38
+
39
+ $( this ).datepicker( args );
40
+ } );
41
+
42
+ /* Colorpicker */
43
+ $colorpicker.wpColorPicker( {
44
+ palettes: false,
45
+ width : 200,
46
+ mode : 'hsl',
47
+ clear : function () {
48
+ var input = $( this );
49
+ input.val( input.data( 'default-color' ) );
50
+ input.change();
51
+ }
52
+ } );
53
+
54
+
55
+ $colorpicker.each( function () {
56
+ var select_label = $( this ).data( 'variations-label' ),
57
+ wrap_main1 = $( this ).closest( '.yith-plugin-fw-colorpicker-field-wrapper' ),
58
+ wrap_main2 = $( this ).closest( '.yith-single-colorpicker' ),
59
+ wrap1 = wrap_main1.find( '.wp-picker-input-wrap' ),
60
+ wrap2 = wrap_main2.find( '.wp-picker-input-wrap' );
61
+
62
+ wrap1.length && wrap_main1.find( 'a.wp-color-result' ).attr( 'title', select_label );
63
+ wrap_main2.length && wrap_main2.find( 'a.wp-color-result' ).attr( 'title', select_label );
64
+
65
+ if ( !wrap1.find( '.wp-picker-clear-custom' ).length ) {
66
+ var button = $( '<span/>' ).attr( {
67
+ class: "wp-picker-default-custom"
68
+ } );
69
+ wrap1.find( '.wp-picker-default' ).wrap( button );
70
+ }
71
+
72
+ if ( !wrap2.find( '.wp-picker-clear-custom' ).length ) {
73
+ var button = $( '<span/>' ).attr( {
74
+ class: "wp-picker-default-custom"
75
+ } );
76
+ wrap2.find( '.wp-picker-default' ).wrap( button );
77
+ }
78
+ } );
79
+
80
+
81
+ /* Upload */
82
+ if ( typeof wp !== 'undefined' && typeof wp.media !== 'undefined' ) {
83
+ var _custom_media = true;
84
+ // preview
85
+ $upload.imgUrl.change( function () {
86
+ var url = $( this ).val(),
87
+ re = new RegExp( "(http|ftp|https)://[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico|svg)" ),
88
+ preview = $( this ).parent().find( $upload.imgPreviewHandler ).first();
89
+
90
+ if ( preview.length < 1 ) {
91
+ preview = $( this ).parent().parent().find( $upload.imgPreviewHandler ).first();
92
+ }
93
+
94
+ if ( re.test( url ) ) {
95
+ preview.html( '<img src="' + url + '" style="max-width:100px; max-height:100px;" />' );
96
+ } else {
97
+ preview.html( '' );
98
+ }
99
+ } ).trigger( 'change' );
100
+
101
+ $( document ).on( 'click', $upload.uploadButtonHandler, function ( e ) {
102
+ e.preventDefault();
103
+
104
+ var t = $( this ),
105
+ custom_uploader,
106
+ id = t.attr( 'id' ).replace( /-button$/, '' );
107
+
108
+ //If the uploader object has already been created, reopen the dialog
109
+ if ( custom_uploader ) {
110
+ custom_uploader.open();
111
+ return;
112
+ }
113
+
114
+ var custom_uploader_states = [
115
+ // Main states.
116
+ new wp.media.controller.Library( {
117
+ library : wp.media.query(),
118
+ multiple : false,
119
+ title : 'Choose Image',
120
+ priority : 20,
121
+ filterable: 'uploaded'
122
+ } )
123
+ ];
124
+
125
+ // Create the media frame.
126
+ custom_uploader = wp.media.frames.downloadable_file = wp.media( {
127
+ // Set the title of the modal.
128
+ title : 'Choose Image',
129
+ library : {
130
+ type: ''
131
+ },
132
+ button : {
133
+ text: 'Choose Image'
134
+ },
135
+ multiple: false,
136
+ states : custom_uploader_states
137
+ } );
138
+
139
+ //When a file is selected, grab the URL and set it as the text field's value
140
+ custom_uploader.on( 'select', function () {
141
+ var attachment = custom_uploader.state().get( 'selection' ).first().toJSON();
142
+
143
+ $( "#" + id ).val( attachment.url );
144
+ // Save the id of the selected element to an element which name is the same with a suffix "-yith-attachment-id"
145
+ if ( $( "#" + id + "-yith-attachment-id" ) ) {
146
+ $( "#" + id + "-yith-attachment-id" ).val( attachment.id );
147
+ }
148
+ $upload.imgUrl.trigger( 'change' );
149
+ } );
150
+
151
+ //Open the uploader dialog
152
+ custom_uploader.open();
153
+ } );
154
+
155
+ $( document ).on( 'click', $upload.resetButtonHandler, function ( e ) {
156
+ var t = $( this ),
157
+ id = t.attr( 'id' ),
158
+ input_id = t.attr( 'id' ).replace( /-button-reset$/, '' ),
159
+ default_value = $( '#' + id ).data( 'default' );
160
+
161
+ $( "#" + input_id ).val( default_value );
162
+ $upload.imgUrl.trigger( 'change' );
163
+ } );
164
+ }
165
+
166
+ $wpAddMedia.on( 'click', function () {
167
+ _custom_media = false;
168
+ } );
169
+
170
+ /* Image Gallery */
171
+ if ( typeof wp !== 'undefined' && typeof wp.media !== 'undefined' ) {
172
+ $( document ).on( 'click', $imageGallery.buttonHandler, function ( e ) {
173
+ var $t = $( this ),
174
+ $container = $t.closest( '.image-gallery' ),
175
+ $image_gallery_ids = $container.find( '.image_gallery_ids' ),
176
+ attachment_ids = $image_gallery_ids.val(),
177
+ $gallery_images_wrapper = $container.find( 'ul.slides-wrapper' );
178
+
179
+ // Create the media frame.
180
+ var image_gallery_frame = wp.media.frames.image_gallery = wp.media( {
181
+ // Set the title of the modal.
182
+ title : $t.data( 'choose' ),
183
+ button: {
184
+ text: $t.data( 'update' )
185
+ },
186
+ states: [
187
+ new wp.media.controller.Library( {
188
+ title : $t.data( 'choose' ),
189
+ filterable: 'all',
190
+ multiple : true
191
+ } )
192
+ ]
193
+ } );
194
+
195
+ // When an image is selected, run a callback.
196
+ image_gallery_frame.on( 'select', function () {
197
+ var selection = image_gallery_frame.state().get( 'selection' );
198
+ selection.map( function ( attachment ) {
199
+ attachment = attachment.toJSON();
200
+
201
+ if ( attachment.id ) {
202
+ attachment_ids = attachment_ids ? attachment_ids + "," + attachment.id : attachment.id;
203
+ $gallery_images_wrapper.append( '<li class="image" data-attachment_id="' + attachment.id + '"><img src="' + attachment.sizes.thumbnail.url + '"/><ul class="actions"><li><a href="#" class="delete" title="' + $t.data( 'delete' ) + '">x</a></li></ul></li>' );
204
+ }
205
+ } );
206
+
207
+ $image_gallery_ids.val( attachment_ids );
208
+ } );
209
+
210
+ image_gallery_frame.open();
211
+
212
+ } );
213
+
214
+ // Image ordering
215
+ $imageGallery.sliderWrapper.each( function () {
216
+ var $t = $( this );
217
+ $t.sortable( {
218
+ items : 'li.image',
219
+ cursor : 'move',
220
+ scrollSensitivity : 40,
221
+ forcePlaceholderSize: true,
222
+ forceHelperSize : false,
223
+ helper : 'clone',
224
+ opacity : 0.65,
225
+ start : function ( event, ui ) {
226
+ ui.item.css( 'background-color', '#f6f6f6' );
227
+ },
228
+ stop : function ( event, ui ) {
229
+ ui.item.removeAttr( 'style' );
230
+ },
231
+ update : function ( event, ui ) {
232
+ var attachment_ids = '';
233
+
234
+ $t.find( 'li.image' ).css( 'cursor', 'default' ).each( function () {
235
+ var attachment_id = $( this ).attr( 'data-attachment_id' );
236
+ attachment_ids = attachment_ids + attachment_id + ',';
237
+ } );
238
+
239
+ $t.closest( '.image-gallery' ).find( '.image_gallery_ids' ).val( attachment_ids );
240
+ }
241
+ } );
242
+ } );
243
+
244
+ // Remove images
245
+ $imageGallery.sliderWrapper.on( 'click', 'a.delete', function () {
246
+ var $wrapper = $( this ).closest( '.image-gallery' ),
247
+ $gallery = $( this ).closest( '.image-gallery ul.slides-wrapper' ),
248
+ $image_gallery_ids = $wrapper.find( '.image_gallery_ids' ),
249
+ attachment_ids = '';
250
+
251
+ $( this ).closest( 'li.image' ).remove();
252
+
253
+ $gallery.find( 'li.image' ).css( 'cursor', 'default' ).each( function () {
254
+ var attachment_id = $( this ).attr( 'data-attachment_id' );
255
+ attachment_ids = attachment_ids + attachment_id + ',';
256
+ } );
257
+
258
+ $image_gallery_ids.val( attachment_ids );
259
+ } );
260
+ }
261
+
262
+
263
+ /* Sidebars */
264
+ $sidebars.each( function () {
265
+ var $images = $( this ).find( 'img' );
266
+ $images.on( 'click', function () {
267
+ var $container = $( this ).closest( '.yith-plugin-fw-sidebar-layout' ),
268
+ $left = $container.find( '.yith-plugin-fw-sidebar-layout-sidebar-left-container' ),
269
+ $right = $container.find( '.yith-plugin-fw-sidebar-layout-sidebar-right-container' ),
270
+ type = $( this ).data( 'type' );
271
+
272
+ $( this ).parent().children( ':radio' ).attr( 'checked', false );
273
+ $( this ).prev( ':radio' ).attr( 'checked', true );
274
+
275
+ if ( typeof type != 'undefined' ) {
276
+ switch ( type ) {
277
+ case 'left':
278
+ $left.show();
279
+ $right.hide();
280
+ break;
281
+ case 'right':
282
+ $right.show();
283
+ $left.hide();
284
+ break;
285
+ case 'double':
286
+ $left.show();
287
+ $right.show();
288
+ break;
289
+ default:
290
+ $left.hide();
291
+ $right.hide();
292
+ break;
293
+ }
294
+ }
295
+ } );
296
+ } );
297
+
298
+ /* Slider */
299
+ $slider.each( function () {
300
+ var val = $( this ).data( 'val' ),
301
+ minValue = $( this ).data( 'min' ),
302
+ maxValue = $( this ).data( 'max' ),
303
+ step = $( this ).data( 'step' ),
304
+ labels = $( this ).data( 'labels' );
305
+
306
+ $( this ).slider( {
307
+ value: val,
308
+ min : minValue,
309
+ max : maxValue,
310
+ range: 'min',
311
+ step : step,
312
+
313
+ create: function () {
314
+ $( this ).find( '.ui-slider-handle' ).text( $( this ).slider( "value" ) );
315
+ },
316
+
317
+
318
+ slide: function ( event, ui ) {
319
+ $( this ).find( 'input' ).val( ui.value );
320
+ $( this ).find( '.ui-slider-handle' ).text( ui.value );
321
+ $( this ).siblings( '.feedback' ).find( 'strong' ).text( ui.value + labels );
322
+ }
323
+ } );
324
+ } );
325
+
326
+ /* codemirror */
327
+ $codemirror.each( function ( i, v ) {
328
+ var editor = CodeMirror.fromTextArea( v, {
329
+ lineNumbers : 1,
330
+ mode : 'javascript',
331
+ showCursorWhenSelecting: true
332
+ } );
333
+
334
+ $( v ).data( 'codemirrorInstance', editor );
335
+ } );
336
+
337
+ /* Select All - Deselect All */
338
+ $( document ).on( 'click', '.yith-plugin-fw-select-all', function () {
339
+ var $targetSelect = $( '#' + $( this ).data( 'select-id' ) );
340
+ $targetSelect.find( 'option' ).prop( 'selected', true ).trigger( 'change' );
341
+ } );
342
+
343
+ $( document ).on( 'click', '.yith-plugin-fw-deselect-all', function () {
344
+ var $targetSelect = $( '#' + $( this ).data( 'select-id' ) );
345
+ $targetSelect.find( 'option' ).prop( 'selected', false ).trigger( 'change' );
346
+ } );
347
+
348
+
349
+ $icons.each( function () {
350
+ var $container = $( this ),
351
+ $preview = $container.find( '.yit-icons-manager-icon-preview' ).first(),
352
+ $text = $container.find( '.yit-icons-manager-icon-text' );
353
+
354
+ $container.on( 'click', '.yit-icons-manager-list li', function ( event ) {
355
+ var $target = $( event.target ).closest( 'li' ),
356
+ font = $target.data( 'font' ),
357
+ icon = $target.data( 'icon' ),
358
+ key = $target.data( 'key' ),
359
+ name = $target.data( 'name' );
360
+
361
+ $preview.attr( 'data-font', font );
362
+ $preview.attr( 'data-icon', icon );
363
+ $preview.attr( 'data-key', key );
364
+ $preview.attr( 'data-name', name );
365
+
366
+ $text.val( font + ':' + name );
367
+
368
+ $container.find( '.yit-icons-manager-list li' ).removeClass( 'active' );
369
+ $target.addClass( 'active' );
370
+ } );
371
+
372
+ $container.on( 'click', '.yit-icons-manager-action-set-default', function () {
373
+ $container.find( '.yit-icons-manager-list li.default' ).trigger( 'click' );
374
+ } );
375
+ } );
376
+
377
+ /** Select Images */
378
+ $( document ).on( 'click', '.yith-plugin-fw-select-images__item', function () {
379
+ var item = $( this ),
380
+ key = item.data( 'key' ),
381
+ wrapper = item.closest( '.yith-plugin-fw-select-images__wrapper' ),
382
+ items = wrapper.find( '.yith-plugin-fw-select-images__item' ),
383
+ select = wrapper.find( 'select' ).first();
384
+
385
+ if ( select.length ) {
386
+ select.val( key );
387
+ items.removeClass( 'yith-plugin-fw-select-images__item--selected' );
388
+ item.addClass( 'yith-plugin-fw-select-images__item--selected' );
389
+ }
390
+ } );
391
+
392
+ $( document.body ).trigger( 'wc-enhanced-select-init' );
393
+
394
+ $( document ).find( '.ui-sortable .yith-toggle-elements' ).sortable(
395
+ {
396
+ cursor : 'move',
397
+ axis : 'y',
398
+ scrollSensitivity : 40,
399
+ forcePlaceholderSize: true,
400
+ helper : 'clone',
401
+
402
+ stop: function ( event, ui ) {
403
+ var keys = jQuery( '.ui-sortable-handle' ),
404
+ i = 0,
405
+ array_keys = new Array();
406
+ for ( i = 0; i < keys.length; i++ ) {
407
+ array_keys[ i ] = $( keys[ i ] ).data( 'item_key' );
408
+ }
409
+ if ( array_keys.length > 0 ) {
410
+ var toggle = $( this ).closest( '.toggle-element' );
411
+ toggle.saveToggleElement( null, array_keys );
412
+ }
413
+ }
414
+ }
415
+ );
416
+
417
+ $( document.body ).trigger( 'yith-framework-enhanced-select-init' );
418
+ };
419
+
420
+ $( document ).on( 'yith_fields_init', yith_fields_init ).trigger( 'yith_fields_init' );
421
+
422
+ /* on-off */
423
+ $( document ).on( 'click', '.yith-plugin-fw-onoff-container span', function () {
424
+ var input = $( this ).prev( 'input' ),
425
+ checked = input.prop( 'checked' );
426
+
427
+ if ( checked ) {
428
+ input.prop( 'checked', false ).attr( 'value', 'no' ).removeClass( 'onoffchecked' );
429
+ } else {
430
+ input.prop( 'checked', true ).attr( 'value', 'yes' ).addClass( 'onoffchecked' );
431
+ }
432
+
433
+ input.change();
434
+ } );
435
+
436
+
437
+ /** Toggle **/
438
+
439
+
440
+
441
+ //TOGGLE ELEMENT
442
+ $.fn.saveToggleElement = function ( spinner, array_keys ) {
443
+ var toggle = $( this ),
444
+ action = 'yith_plugin_fw_save_toggle_element',
445
+ formdata = toggle.serializeToggleElement(),
446
+ wrapper = toggle.find( '.yith-toggle_wrapper' ),
447
+ id = wrapper.attr( 'id' ),
448
+ current_tab = $.urlParam( 'tab' );
449
+
450
+ formdata.append( 'security', wrapper.data( 'nonce' ) );
451
+
452
+ if ( typeof array_keys != 'undefined' && array_keys.length > 0 ) {
453
+ formdata.append( 'yith_toggle_elements_order_keys', array_keys );
454
+ }
455
+
456
+ if ( toggle.closest( '.metaboxes-tab.yith-plugin-ui' ).length ) {
457
+ action = 'yith_plugin_fw_save_toggle_element_metabox';
458
+ post_id = $( this ).closest( 'form#post' ).find( '#post_ID' ).val();
459
+ yit_metaboxes_nonce = $( this ).closest( 'form#post' ).find( '#yit_metaboxes_nonce' ).val();
460
+ metabox_tab = $( this ).closest( '.tabs-panel' ).attr( 'id' );
461
+ url = yith_framework_fw_fields.ajax_url +
462
+ '?action=' + action +
463
+ "&post_ID=" + post_id +
464
+ '&yit_metaboxes_nonce=' + yit_metaboxes_nonce +
465
+ "&toggle_id=" + id +
466
+ "&metabox_tab=" + metabox_tab;
467
+ } else {
468
+ url = yith_framework_fw_fields.admin_url + '?action=' + action + '&tab=' + current_tab + "&toggle_id=" + id;
469
+ }
470
+
471
+ $.ajax( {
472
+ type : "POST",
473
+ url : url,
474
+ data : formdata,
475
+ contentType: false,
476
+ processData: false,
477
+ success : function ( result ) {
478
+ if ( spinner ) {
479
+ spinner.removeClass( 'show' );
480
+ }
481
+
482
+ $( document ).trigger( 'yith_save_toggle_element_done', [result, toggle] );
483
+ }
484
+ } );
485
+ };
486
+
487
+ $.fn.serializeToggleElement = function () {
488
+ var obj = $( this );
489
+ /* ADD FILE TO PARAM AJAX */
490
+ var formData = new FormData();
491
+ var params = $( obj ).find( ":input" ).serializeArray();
492
+
493
+ $.each( params, function ( i, val ) {
494
+ el_name = val.name;
495
+ formData.append( val.name, val.value );
496
+ } );
497
+
498
+ return formData;
499
+ };
500
+
501
+ $.fn.formatToggleTitle = function () {
502
+ var toggle_el = $( this ),
503
+ fields = toggle_el.find( ':input' ),
504
+ title = toggle_el.find( 'span.title' ).data( 'title_format' ),
505
+ subtitle = toggle_el.find( '.subtitle' ).data( 'subtitle_format' ),
506
+ regExp = new RegExp( "[^%%]+(?=[%%])", 'g' );
507
+
508
+ if ( typeof title != 'undefined' ) {
509
+ var res = title.match( regExp );
510
+ }
511
+
512
+ if ( typeof subtitle != 'undefined' ) {
513
+ var ressub = subtitle.match( regExp );
514
+ }
515
+
516
+ $.each( fields, function ( i, field ) {
517
+ if ( typeof $( field ).attr( 'id' ) != 'undefined' ) {
518
+ $field_id = $( field ).attr( 'id' );
519
+ $field_array = $field_id.split( '_' );
520
+ $field_array.pop();
521
+ $field_id = $field_array.join( '_' );
522
+ $field_val = $( field ).val();
523
+
524
+ if ( res != null && typeof res != 'undefined' && res.indexOf( $field_id ) !== -1 ) {
525
+ title = title.replace( '%%' + $field_id + '%%', $field_val );
526
+ }
527
+ if ( ressub != null && typeof ressub != 'undefined' && ressub.indexOf( $field_id ) !== -1 ) {
528
+ subtitle = subtitle.replace( '%%' + $field_id + '%%', $field_val );
529
+ }
530
+ }
531
+ } );
532
+
533
+ if ( '' !== title ) {
534
+ toggle_el.find( 'span.title' ).html( title );
535
+ }
536
+
537
+ if ( '' !== subtitle ) {
538
+ toggle_el.find( '.subtitle' ).html( subtitle );
539
+ }
540
+
541
+ $( document ).trigger( 'yith-toggle-element-item-title', [toggle_el] );
542
+ };
543
+
544
+ $.urlParam = function ( name ) {
545
+ var results = new RegExp( '[\?&]' + name + '=([^&#]*)' )
546
+ .exec( window.location.search );
547
+
548
+ return ( results !== null ) ? results[ 1 ] || 0 : false;
549
+ };
550
+
551
+ $( document ).on( 'click', '.yith-toggle-title', function ( event ) {
552
+ var _toggle = $( event.target ),
553
+ _section = _toggle.closest( '.yith-toggle-row' ),
554
+ _content = _section.find( '.yith-toggle-content' );
555
+
556
+ if ( _toggle.hasClass( 'yith-plugin-fw-onoff' ) || _toggle.hasClass( 'yith-icon-drag' ) ) {
557
+ return false;
558
+ }
559
+
560
+ if ( _section.is( '.yith-toggle-row-opened' ) ) {
561
+ _content.slideUp( 400 );
562
+ } else {
563
+ _content.slideDown( 400 );
564
+ }
565
+ _section.toggleClass( 'yith-toggle-row-opened' );
566
+ } );
567
+
568
+ /**Add new box toggle**/
569
+ $( document ).on( 'click', '.yith-add-box-button', function ( event ) {
570
+ event.preventDefault();
571
+ var $this = $( this ),
572
+ target_id = $this.data( 'box_id' ),
573
+ closed_label = $this.data( 'closed_label' ),
574
+ label = $this.data( 'opened_label' ),
575
+ id = $this.closest( '.yith-toggle_wrapper' ).attr( 'id' );
576
+ template = wp.template( 'yith-toggle-element-add-box-content-' + id );
577
+
578
+ if ( '' !== target_id ) {
579
+ $( '#' + target_id ).html( template( { index: 'box_id' } ) ).slideToggle();
580
+ if ( closed_label !== '' ) {
581
+ if ( $this.html() === closed_label ) {
582
+ $this.html( label ).removeClass( 'closed' );
583
+ } else {
584
+ $this.html( closed_label ).addClass( 'closed' );
585
+ }
586
+ }
587
+
588
+ $( document ).trigger( 'yith_fields_init' );
589
+ $( document ).trigger( 'yith-add-box-button-toggle', [$this] );
590
+ }
591
+ } );
592
+
593
+ $( document ).on( 'click', '.yith-add-box-buttons .yith-save-button', function ( event ) {
594
+
595
+ event.preventDefault();
596
+ var add_box = $( this ).parents( '.yith-add-box' ),
597
+ id = $( this ).closest( '.yith-toggle_wrapper' ).attr( 'id' ),
598
+ spinner = add_box.find( '.spinner' ),
599
+ toggle_element = $( this ).parents( '.toggle-element' ),
600
+ fields = add_box.find( ':input' ),
601
+ counter = toggle_element.find( '.yith-toggle-row' ).length,
602
+ hidden_obj = $( '<input type="hidden">' );
603
+
604
+ hidden_obj.val( counter );
605
+
606
+ $( document ).trigger( 'yith-toggle-change-counter', [hidden_obj, add_box] );
607
+
608
+ counter = hidden_obj.val();
609
+ var template = wp.template( 'yith-toggle-element-item-' + id ),
610
+ toggle_el = $( template( { index: counter } ) );
611
+
612
+ spinner.addClass( 'show' );
613
+
614
+ $.each( fields, function ( i, field ) {
615
+ if ( typeof $( field ).attr( 'id' ) != 'undefined' ) {
616
+
617
+ $field_id = $( field ).attr( 'id' );
618
+ $field_val = $( field ).val();
619
+
620
+ if ( 'radio' == $( field ).attr( 'type' ) ) {
621
+ $field_id = $field_id.replace( 'new_', '' );
622
+ $field_id = $field_id.replace( '-' + $field_val, '' );
623
+ $field_id = $field_id + '_dataindex-' + $field_val;
624
+ } else {
625
+ $field_id = $field_id.replace( 'new_', '' ) + '_' + counter;
626
+ }
627
+
628
+ if ( $( field ).is( ':checked' ) ) {
629
+ $( toggle_el ).find( '#' + $field_id ).prop( 'checked', true );
630
+ }
631
+
632
+ if ( $( field ).hasClass( 'yith-post-search' ) || $( field ).hasClass( 'yith-term-search' ) ) {
633
+ $( toggle_el ).find( '#' + $field_id ).html( $( '#' + $( field ).attr( 'id' ) ).html() );
634
+ }
635
+
636
+ $( toggle_el ).find( '#' + $field_id ).val( $field_val );
637
+
638
+ }
639
+
640
+ } );
641
+
642
+ $( toggle_el ).formatToggleTitle();
643
+ var form_is_valid = $( '<input type="hidden">' ).val( 'yes' );
644
+ $( document ).trigger( 'yith-toggle-element-item-before-add', [add_box, toggle_el, form_is_valid] );
645
+
646
+ var delayInMilliseconds = 1000; //1 second
647
+ setTimeout( function () {
648
+ if ( form_is_valid.val() === 'yes' ) {
649
+ $( toggle_element ).find( '.yith-toggle-elements' ).append( toggle_el );
650
+ $( add_box ).find( '.yith-plugin-fw-datepicker' ).datepicker( 'destroy' );
651
+ $( add_box ).html( '' );
652
+ $( add_box ).prev( '.yith-add-box-button' ).trigger( 'click' );
653
+ toggle_element.saveToggleElement();
654
+
655
+ var delayInMilliseconds = 2000; //1 second
656
+ setTimeout( function () {
657
+ $( toggle_element ).find( '.highlight' ).removeClass( 'highlight' );
658
+ }, delayInMilliseconds );
659
+
660
+
661
+ $( document ).trigger( 'yith_fields_init' );
662
+ }
663
+ }, delayInMilliseconds );
664
+
665
+
666
+ } );
667
+
668
+ $( document ).on( 'click', '.yith-toggle-row .yith-save-button', function ( event ) {
669
+ event.preventDefault();
670
+ var toggle = $( this ).closest( '.toggle-element' ),
671
+ toggle_row = $( this ).closest( '.yith-toggle-row' ),
672
+ spinner = toggle_row.find( '.spinner' );
673
+ toggle_row.formatToggleTitle();
674
+
675
+ var form_is_valid = $( '<input type="hidden">' ).val( 'yes' );
676
+ $( document ).trigger( 'yith-toggle-element-item-before-update', [toggle, toggle_row, form_is_valid] );
677
+ if ( form_is_valid.val() === 'yes' ) {
678
+ spinner.addClass( 'show' );
679
+ toggle.saveToggleElement( spinner );
680
+ }
681
+ } );
682
+
683
+ //register remove the dome and save the toggle
684
+ $( document ).on( 'click', '.yith-toggle-row .yith-delete-button', function ( event ) {
685
+ event.preventDefault();
686
+ var toggle = $( this ).closest( '.toggle-element' ),
687
+ toggle_row = $( this ).closest( '.yith-toggle-row' );
688
+ toggle_row.remove();
689
+ toggle.saveToggleElement();
690
+ } );
691
+
692
+ //register onoff status
693
+ $( document ).on( 'click', '.yith-toggle-onoff', function ( event ) {
694
+ event.preventDefault();
695
+ var toggle = $( this ).closest( '.toggle-element' );
696
+ toggle.saveToggleElement();
697
+ } );
698
+
699
+ // Radio
700
+ $( document ).on( 'click', '.yith-plugin-fw-radio input[type=radio]', function () {
701
+ $( this ).closest( '.yith-plugin-fw-radio' ).val( $( this ).val() ).trigger( 'change' );
702
+ } );
703
+
704
+ $( document ).on( 'click', '.yith-password-eye', function () {
705
+ var $this = $( this ),
706
+ inp = $( this ).closest( '.yith-password-wrapper' ).find( 'input' );
707
+ if ( inp.attr( 'type' ) === "password" ) {
708
+ inp.attr( 'type', 'text' );
709
+ $this.addClass( 'yith-password-eye-closed' );
710
+ } else {
711
+ inp.attr( 'type', 'password' );
712
+ $this.removeClass( 'yith-password-eye-closed' );
713
+ }
714
+ } );
715
+
716
+ $( document.body ).on( 'yith-plugin-fw-init-radio', function () {
717
+ $( '.yith-plugin-fw-radio:not(.yith-plugin-fw-radio--initialized)' ).each( function () {
718
+ $( this ).val( $( this ).attr( 'value' ) );
719
+ $( this ).addClass( 'yith-plugin-fw-radio--initialized' );
720
+ } );
721
+ } ).trigger( 'yith-plugin-fw-init-radio' );
722
+
723
+ /**
724
+ * Select2 - add class to stylize it with the new plugin-fw style
725
+ */
726
+ $( document ).on( 'select2:open', function ( e ) {
727
+ if ( $( e.target ).closest( '.yith-plugin-ui' ).length ) {
728
+ $( '.select2-results' ).closest( '.select2-container' ).addClass( 'yith-plugin-fw-select2-container' );
729
+ }
730
+ } );
731
+
732
+ /**
733
+ * Dimensions
734
+ */
735
+ var fw_dimensions = {
736
+ selectors : {
737
+ wrapper : '.yith-plugin-fw-dimensions',
738
+ units : {
739
+ wrapper : '.yith-plugin-fw-dimensions__units',
740
+ single : '.yith-plugin-fw-dimensions__unit',
741
+ value : '.yith-plugin-fw-dimensions__unit__value',
742
+ selectedClass: 'yith-plugin-fw-dimensions__unit--selected'
743
+ },
744
+ linked : {
745
+ button : '.yith-plugin-fw-dimensions__linked',
746
+ value : '.yith-plugin-fw-dimensions__linked__value',
747
+ wrapperActiveClass: 'yith-plugin-fw-dimensions--linked-active'
748
+ },
749
+ dimensions: {
750
+ number: '.yith-plugin-fw-dimensions__dimension__number'
751
+ }
752
+ },
753
+ init : function () {
754
+ var self = fw_dimensions;
755
+ $( document ).on( 'click', self.selectors.units.single, self.unitChange );
756
+ $( document ).on( 'click', self.selectors.linked.button, self.linkedChange );
757
+ $( document ).on( 'change keyup', self.selectors.dimensions.number, self.numberChange );
758
+ },
759
+ unitChange : function ( e ) {
760
+ var unit = $( this ).closest( fw_dimensions.selectors.units.single ),
761
+ wrapper = unit.closest( fw_dimensions.selectors.units.wrapper ),
762
+ units = wrapper.find( fw_dimensions.selectors.units.single ),
763
+ valueField = wrapper.find( fw_dimensions.selectors.units.value ).first(),
764
+ value = unit.data( 'value' );
765
+
766
+ units.removeClass( fw_dimensions.selectors.units.selectedClass );
767
+ unit.addClass( fw_dimensions.selectors.units.selectedClass );
768
+ valueField.val( value );
769
+ },
770
+ linkedChange: function () {
771
+ var button = $( this ).closest( fw_dimensions.selectors.linked.button ),
772
+ mainWrapper = button.closest( fw_dimensions.selectors.wrapper ),
773
+ valueField = button.find( fw_dimensions.selectors.linked.value ),
774
+ value = valueField.val();
775
+
776
+ if ( 'yes' === value ) {
777
+ mainWrapper.removeClass( fw_dimensions.selectors.linked.wrapperActiveClass );
778
+ valueField.val( 'no' );
779
+ } else {
780
+ mainWrapper.addClass( fw_dimensions.selectors.linked.wrapperActiveClass );
781
+ valueField.val( 'yes' );
782
+
783
+ mainWrapper.find( fw_dimensions.selectors.dimensions.number ).first().trigger( 'change' );
784
+ }
785
+ },
786
+ numberChange: function ( e ) {
787
+ var number = $( this ).closest( fw_dimensions.selectors.dimensions.number ),
788
+ mainWrapper = number.closest( fw_dimensions.selectors.wrapper );
789
+ if ( mainWrapper.hasClass( fw_dimensions.selectors.linked.wrapperActiveClass ) ) {
790
+ var numbers = mainWrapper.find( fw_dimensions.selectors.dimensions.number );
791
+
792
+ numbers.val( number.val() );
793
+ }
794
+ }
795
+ };
796
+ fw_dimensions.init();
797
 
798
  } )( jQuery );
plugin-fw/assets/js/yith-fields.min.js CHANGED
@@ -1,30 +1 @@
1
- var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,b,c){a instanceof String&&(a=String(a));for(var d=a.length,e=0;e<d;e++){var g=a[e];if(b.call(c,g,e,a))return{i:e,v:g}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)};
2
- $jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,b,c,d){if(b){c=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&$jscomp.defineProperty(c,a,{configurable:!0,writable:!0,value:b})}};
3
- $jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,c){return $jscomp.findInternal(this,a,c).v}},"es6","es3");
4
- (function(a){a(document).on("yith_fields_init",function(){var b=a(".yith-plugin-fw-datepicker"),c=a(".yith-plugin-fw-colorpicker"),d=a(".yith-plugin-fw-upload-img-url"),e=a(".add_media"),g=a(".yith-plugin-fw .image-gallery ul.slides-wrapper"),h=a(".yith-plugin-fw-sidebar-layout"),k=a(".yith-plugin-fw .yith-plugin-fw-slider-container .ui-slider-horizontal"),l=a(".codemirror"),m=a(".yit-icons-manager-wrapper");a(".yith-plugin-ui td.forminp-checkbox");b.each(function(){var b=a(this).data();b.showAnim=
5
- !1;b.beforeShow=function(a,b){b.dpDiv.addClass("yith-plugin-fw-datepicker-div")};b.onClose=function(a,b){b.dpDiv.removeClass("yith-plugin-fw-datepicker-div")};a(this).datepicker(b)});c.wpColorPicker({palettes:!1,width:200,mode:"hsl",clear:function(){var b=a(this);b.val(b.data("default-color"));b.change()}});c.each(function(){var b=a(this).data("variations-label"),f=a(this).closest(".yith-plugin-fw-colorpicker-field-wrapper"),c=a(this).closest(".yith-single-colorpicker"),d=f.find(".wp-picker-input-wrap"),
6
- e=c.find(".wp-picker-input-wrap");d.length&&f.find("a.wp-color-result").attr("title",b);c.length&&c.find("a.wp-color-result").attr("title",b);d.find(".wp-picker-clear-custom").length||(b=a("<span/>").attr({class:"wp-picker-default-custom"}),d.find(".wp-picker-default").wrap(b));e.find(".wp-picker-clear-custom").length||(b=a("<span/>").attr({class:"wp-picker-default-custom"}),e.find(".wp-picker-default").wrap(b))});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&(d.change(function(){var b=
7
- a(this).val(),f=a(this).parent().find(".yith-plugin-fw-upload-img-preview").first();1>f.length&&(f=a(this).parent().parent().find(".yith-plugin-fw-upload-img-preview").first());/(http|ftp|https):\/\/[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico)/.test(b)?f.html('<img src="'+b+'" style="max-width:100px; max-height:100px;" />'):f.html("")}).trigger("change"),a(document).on("click",".yith-plugin-fw-upload-button",function(b){b.preventDefault();var f=a(this).attr("id").replace(/-button$/,"");if(!c){b=
8
- [new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})];var c=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,states:b});c.on("select",function(){var b=c.state().get("selection").first().toJSON();a("#"+f).val(b.url);a("#"+f+"-yith-attachment-id")&&a("#"+f+"-yith-attachment-id").val(b.id);d.trigger("change")})}c.open()}),a(document).on("click",".yith-plugin-fw-upload-button-reset",
9
- function(b){var f=a(this);b=f.attr("id");f=f.attr("id").replace(/-button-reset$/,"");b=a("#"+b).data("default");a("#"+f).val(b);d.trigger("change")}));e.on("click",function(){});"undefined"!==typeof wp&&"undefined"!==typeof wp.media&&(a(document).on("click",".yith-plugin-fw .image-gallery-button",function(b){var f=a(this);b=f.closest(".image-gallery");var c=b.find(".image_gallery_ids"),d=c.val(),e=b.find("ul.slides-wrapper"),n=wp.media.frames.image_gallery=wp.media({title:f.data("choose"),button:{text:f.data("update")},
10
- states:[new wp.media.controller.Library({title:f.data("choose"),filterable:"all",multiple:!0})]});n.on("select",function(){n.state().get("selection").map(function(a){a=a.toJSON();a.id&&(d=d?d+","+a.id:a.id,e.append('<li class="image" data-attachment_id="'+a.id+'"><img src="'+a.sizes.thumbnail.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+f.data("delete")+'">x</a></li></ul></li>'))});c.val(d)});n.open()}),g.each(function(){var b=a(this);b.sortable({items:"li.image",cursor:"move",
11
- scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,start:function(a,b){b.item.css("background-color","#f6f6f6")},stop:function(a,b){b.item.removeAttr("style")},update:function(c,d){var f="";b.find("li.image").css("cursor","default").each(function(){var b=a(this).attr("data-attachment_id");f=f+b+","});b.closest(".image-gallery").find(".image_gallery_ids").val(f)}})}),g.on("click","a.delete",function(){var b=a(this).closest(".image-gallery"),c=a(this).closest(".image-gallery ul.slides-wrapper");
12
- b=b.find(".image_gallery_ids");var d="";a(this).closest("li.image").remove();c.find("li.image").css("cursor","default").each(function(){var b=a(this).attr("data-attachment_id");d=d+b+","});b.val(d)}));h.each(function(){a(this).find("img").on("click",function(){var b=a(this).closest(".yith-plugin-fw-sidebar-layout"),c=b.find(".yith-plugin-fw-sidebar-layout-sidebar-left-container");b=b.find(".yith-plugin-fw-sidebar-layout-sidebar-right-container");var d=a(this).data("type");a(this).parent().children(":radio").attr("checked",
13
- !1);a(this).prev(":radio").attr("checked",!0);if("undefined"!=typeof d)switch(d){case "left":c.show();b.hide();break;case "right":b.show();c.hide();break;case "double":c.show();b.show();break;default:c.hide(),b.hide()}})});k.each(function(){var b=a(this).data("val"),c=a(this).data("min"),d=a(this).data("max"),e=a(this).data("step"),g=a(this).data("labels");a(this).slider({value:b,min:c,max:d,range:"min",step:e,create:function(){a(this).find(".ui-slider-handle").text(a(this).slider("value"))},slide:function(b,
14
- c){a(this).find("input").val(c.value);a(this).find(".ui-slider-handle").text(c.value);a(this).siblings(".feedback").find("strong").text(c.value+g)}})});l.each(function(b,c){b=CodeMirror.fromTextArea(c,{lineNumbers:1,mode:"javascript",showCursorWhenSelecting:!0});a(c).data("codemirrorInstance",b)});a(document).on("click",".yith-plugin-fw-select-all",function(){a("#"+a(this).data("select-id")).find("option").prop("selected",!0).trigger("change")});a(document).on("click",".yith-plugin-fw-deselect-all",
15
- function(){a("#"+a(this).data("select-id")).find("option").prop("selected",!1).trigger("change")});m.each(function(){var b=a(this),c=b.find(".yit-icons-manager-icon-preview").first(),d=b.find(".yit-icons-manager-icon-text");b.on("click",".yit-icons-manager-list li",function(e){e=a(e.target).closest("li");var f=e.data("font"),g=e.data("icon"),h=e.data("key"),k=e.data("name");c.attr("data-font",f);c.attr("data-icon",g);c.attr("data-key",h);c.attr("data-name",k);d.val(f+":"+k);b.find(".yit-icons-manager-list li").removeClass("active");
16
- e.addClass("active")});b.on("click",".yit-icons-manager-action-set-default",function(){b.find(".yit-icons-manager-list li.default").trigger("click")})});a(document).on("click",".yith-plugin-fw-select-images__item",function(){var b=a(this),c=b.data("key"),d=b.closest(".yith-plugin-fw-select-images__wrapper"),e=d.find(".yith-plugin-fw-select-images__item");d=d.find("select").first();d.length&&(d.val(c),e.removeClass("yith-plugin-fw-select-images__item--selected"),b.addClass("yith-plugin-fw-select-images__item--selected"))});
17
- a(document.body).trigger("wc-enhanced-select-init");a(document).find(".ui-sortable .yith-toggle-elements").sortable({cursor:"move",axis:"y",scrollSensitivity:40,forcePlaceholderSize:!0,helper:"clone",stop:function(b,c){b=jQuery(".ui-sortable-handle");var d=[];for(c=0;c<b.length;c++)d[c]=a(b[c]).data("item_key");0<d.length&&a(this).closest(".toggle-element").saveToggleElement(null,d)}});a(document.body).trigger("yith-framework-enhanced-select-init")}).trigger("yith_fields_init");a(document).on("click",
18
- ".yith-plugin-fw-onoff-container span",function(){var b=a(this).prev("input");b.prop("checked")?b.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):b.prop("checked",!0).attr("value","yes").addClass("onoffchecked");b.change()});a.fn.saveToggleElement=function(b,c){var d=a(this),e="yith_plugin_fw_save_toggle_element",g=d.serializeToggleElement(),h=d.find(".yith-toggle_wrapper"),k=h.attr("id"),l=a.urlParam("tab");g.append("security",h.data("nonce"));"undefined"!=typeof c&&0<c.length&&
19
- g.append("yith_toggle_elements_order_keys",c);d.closest(".metaboxes-tab.yith-plugin-ui").length?(e="yith_plugin_fw_save_toggle_element_metabox",post_id=a(this).closest("form#post").find("#post_ID").val(),yit_metaboxes_nonce=a(this).closest("form#post").find("#yit_metaboxes_nonce").val(),metabox_tab=a(this).closest(".tabs-panel").attr("id"),url=yith_framework_fw_fields.ajax_url+"?action="+e+"&post_ID="+post_id+"&yit_metaboxes_nonce="+yit_metaboxes_nonce+"&toggle_id="+k+"&metabox_tab="+metabox_tab):
20
- url=yith_framework_fw_fields.admin_url+"?action="+e+"&tab="+l+"&toggle_id="+k;a.ajax({type:"POST",url:url,data:g,contentType:!1,processData:!1,success:function(c){b&&b.removeClass("show");a(document).trigger("yith_save_toggle_element_done",[c,d])}})};a.fn.serializeToggleElement=function(){var b=a(this),c=new FormData;b=a(b).find(":input").serializeArray();a.each(b,function(a,b){el_name=b.name;c.append(b.name,b.value)});return c};a.fn.formatToggleTitle=function(){var b=a(this),c=b.find(":input"),d=
21
- b.find("span.title").data("title_format"),e=b.find(".subtitle").data("subtitle_format"),g=/[^%%]+(?=[%%])/g;if("undefined"!=typeof d)var h=d.match(g);if("undefined"!=typeof e)var k=e.match(g);a.each(c,function(b,c){"undefined"!=typeof a(c).attr("id")&&($field_id=a(c).attr("id"),$field_array=$field_id.split("_"),$field_array.pop(),$field_id=$field_array.join("_"),$field_val=a(c).val(),null!=h&&"undefined"!=typeof h&&-1!==h.indexOf($field_id)&&(d=d.replace("%%"+$field_id+"%%",$field_val)),null!=k&&
22
- "undefined"!=typeof k&&-1!==k.indexOf($field_id)&&(e=e.replace("%%"+$field_id+"%%",$field_val)))});""!==d&&b.find("span.title").html(d);""!==e&&b.find(".subtitle").html(e);a(document).trigger("yith-toggle-element-item-title",[b])};a.urlParam=function(a){a=(new RegExp("[?&]"+a+"=([^&#]*)")).exec(window.location.search);return null!==a?a[1]||0:!1};a(document).on("click",".yith-toggle-title",function(b){b=a(b.target);var c=b.closest(".yith-toggle-row"),d=c.find(".yith-toggle-content");if(b.hasClass("yith-plugin-fw-onoff")||
23
- b.hasClass("yith-icon-drag"))return!1;c.is(".yith-toggle-row-opened")?d.slideUp(400):d.slideDown(400);c.toggleClass("yith-toggle-row-opened")});a(document).on("click",".yith-add-box-button",function(b){b.preventDefault();b=a(this);var c=b.data("box_id"),d=b.data("closed_label"),e=b.data("opened_label"),g=b.closest(".yith-toggle_wrapper").attr("id");template=wp.template("yith-toggle-element-add-box-content-"+g);""!==c&&(a("#"+c).html(template({index:"box_id"})).slideToggle(),""!==d&&(b.html()===d?
24
- b.html(e).removeClass("closed"):b.html(d).addClass("closed")),a(document).trigger("yith_fields_init"),a(document).trigger("yith-add-box-button-toggle",[b]))});a(document).on("click",".yith-add-box-buttons .yith-save-button",function(b){b.preventDefault();var c=a(this).parents(".yith-add-box"),d=a(this).closest(".yith-toggle_wrapper").attr("id");b=c.find(".spinner");var e=a(this).parents(".toggle-element"),g=c.find(":input"),h=e.find(".yith-toggle-row").length,k=a('<input type="hidden">');k.val(h);
25
- a(document).trigger("yith-toggle-change-counter",[k,c]);h=k.val();d=wp.template("yith-toggle-element-item-"+d);var l=a(d({index:h}));b.addClass("show");a.each(g,function(b,c){"undefined"!=typeof a(c).attr("id")&&($field_id=a(c).attr("id"),$field_val=a(c).val(),"radio"==a(c).attr("type")?($field_id=$field_id.replace("new_",""),$field_id=$field_id.replace("-"+$field_val,""),$field_id=$field_id+"_dataindex-"+$field_val):$field_id=$field_id.replace("new_","")+"_"+h,a(c).is(":checked")&&a(l).find("#"+
26
- $field_id).prop("checked",!0),(a(c).hasClass("yith-post-search")||a(c).hasClass("yith-term-search"))&&a(l).find("#"+$field_id).html(a("#"+a(c).attr("id")).html()),a(l).find("#"+$field_id).val($field_val))});a(l).formatToggleTitle();var m=a('<input type="hidden">').val("yes");a(document).trigger("yith-toggle-element-item-before-add",[c,l,m]);setTimeout(function(){"yes"===m.val()&&(a(e).find(".yith-toggle-elements").append(l),a(c).find(".yith-plugin-fw-datepicker").datepicker("destroy"),a(c).html(""),
27
- a(c).prev(".yith-add-box-button").trigger("click"),e.saveToggleElement(),setTimeout(function(){a(e).find(".highlight").removeClass("highlight")},2E3),a(document).trigger("yith_fields_init"))},1E3)});a(document).on("click",".yith-toggle-row .yith-save-button",function(b){b.preventDefault();b=a(this).closest(".toggle-element");var c=a(this).closest(".yith-toggle-row"),d=c.find(".spinner");c.formatToggleTitle();var e=a('<input type="hidden">').val("yes");a(document).trigger("yith-toggle-element-item-before-update",
28
- [b,c,e]);"yes"===e.val()&&(d.addClass("show"),b.saveToggleElement(d))});a(document).on("click",".yith-toggle-row .yith-delete-button",function(b){b.preventDefault();b=a(this).closest(".toggle-element");a(this).closest(".yith-toggle-row").remove();b.saveToggleElement()});a(document).on("click",".yith-toggle-onoff",function(b){b.preventDefault();a(this).closest(".toggle-element").saveToggleElement()});a(document).on("click",".yith-plugin-fw-radio input[type=radio]",function(){a(this).closest(".yith-plugin-fw-radio").val(a(this).val()).trigger("change")});
29
- a(document).on("click",".yith-password-eye",function(){var b=a(this),c=a(this).closest(".yith-password-wrapper").find("input");"password"===c.attr("type")?(c.attr("type","text"),b.addClass("yith-password-eye-closed")):(c.attr("type","password"),b.removeClass("yith-password-eye-closed"))});a(document.body).on("yith-plugin-fw-init-radio",function(){a(".yith-plugin-fw-radio:not(.yith-plugin-fw-radio--initialized)").each(function(){a(this).val(a(this).attr("value"));a(this).addClass("yith-plugin-fw-radio--initialized")})}).trigger("yith-plugin-fw-init-radio");
30
- a(document).on("select2:open",function(b){a(b.target).closest(".yith-plugin-ui").length&&a(".select2-results").closest(".select2-container").addClass("yith-plugin-fw-select2-container")})})(jQuery);
1
+ !function(e){e(document).on("yith_fields_init",function(){var t=e(".yith-plugin-fw-datepicker"),i=e(".yith-plugin-fw-colorpicker"),a={imgPreviewHandler:".yith-plugin-fw-upload-img-preview",uploadButtonHandler:".yith-plugin-fw-upload-button",imgUrlHandler:".yith-plugin-fw-upload-img-url",resetButtonHandler:".yith-plugin-fw-upload-button-reset",imgUrl:e(".yith-plugin-fw-upload-img-url")},n=e(".add_media"),l={sliderWrapper:e(".yith-plugin-fw .image-gallery ul.slides-wrapper"),buttonHandler:".yith-plugin-fw .image-gallery-button"},s=e(".yith-plugin-fw-sidebar-layout"),o=e(".yith-plugin-fw .yith-plugin-fw-slider-container .ui-slider-horizontal"),r=e(".codemirror"),d=e(".yit-icons-manager-wrapper");e(".yith-plugin-ui td.forminp-checkbox");t.each(function(){var t=e(this).data();t.showAnim=!1,t.beforeShow=function(e,t){t.dpDiv.addClass("yith-plugin-fw-datepicker-div")},t.onClose=function(e,t){t.dpDiv.removeClass("yith-plugin-fw-datepicker-div")},e(this).datepicker(t)}),i.wpColorPicker({palettes:!1,width:200,mode:"hsl",clear:function(){var t=e(this);t.val(t.data("default-color")),t.change()}}),i.each(function(){var t=e(this).data("variations-label"),i=e(this).closest(".yith-plugin-fw-colorpicker-field-wrapper"),a=e(this).closest(".yith-single-colorpicker"),n=i.find(".wp-picker-input-wrap"),l=a.find(".wp-picker-input-wrap");if(n.length&&i.find("a.wp-color-result").attr("title",t),a.length&&a.find("a.wp-color-result").attr("title",t),!n.find(".wp-picker-clear-custom").length){var s=e("<span/>").attr({"class":"wp-picker-default-custom"});n.find(".wp-picker-default").wrap(s)}l.find(".wp-picker-clear-custom").length||(s=e("<span/>").attr({"class":"wp-picker-default-custom"}),l.find(".wp-picker-default").wrap(s))}),"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&(a.imgUrl.change(function(){var t=e(this).val(),i=new RegExp("(http|ftp|https)://[a-zA-Z0-9@?^=%&amp;:/~+#-_.]*.(gif|jpg|jpeg|png|ico|svg)"),n=e(this).parent().find(a.imgPreviewHandler).first();n.length<1&&(n=e(this).parent().parent().find(a.imgPreviewHandler).first()),i.test(t)?n.html('<img src="'+t+'" style="max-width:100px; max-height:100px;" />'):n.html("")}).trigger("change"),e(document).on("click",a.uploadButtonHandler,function(t){t.preventDefault();var i,n=e(this).attr("id").replace(/-button$/,"");if(i)i.open();else{var l=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:"Choose Image",priority:20,filterable:"uploaded"})];(i=wp.media.frames.downloadable_file=wp.media({title:"Choose Image",library:{type:""},button:{text:"Choose Image"},multiple:!1,states:l})).on("select",function(){var t=i.state().get("selection").first().toJSON();e("#"+n).val(t.url),e("#"+n+"-yith-attachment-id")&&e("#"+n+"-yith-attachment-id").val(t.id),a.imgUrl.trigger("change")}),i.open()}}),e(document).on("click",a.resetButtonHandler,function(t){var i=e(this),n=i.attr("id"),l=i.attr("id").replace(/-button-reset$/,""),s=e("#"+n).data("default");e("#"+l).val(s),a.imgUrl.trigger("change")}));n.on("click",function(){}),"undefined"!=typeof wp&&"undefined"!=typeof wp.media&&(e(document).on("click",l.buttonHandler,function(t){var i=e(this),a=i.closest(".image-gallery"),n=a.find(".image_gallery_ids"),l=n.val(),s=a.find("ul.slides-wrapper"),o=wp.media.frames.image_gallery=wp.media({title:i.data("choose"),button:{text:i.data("update")},states:[new wp.media.controller.Library({title:i.data("choose"),filterable:"all",multiple:!0})]});o.on("select",function(){o.state().get("selection").map(function(e){(e=e.toJSON()).id&&(l=l?l+","+e.id:e.id,s.append('<li class="image" data-attachment_id="'+e.id+'"><img src="'+e.sizes.thumbnail.url+'"/><ul class="actions"><li><a href="#" class="delete" title="'+i.data("delete")+'">x</a></li></ul></li>'))}),n.val(l)}),o.open()}),l.sliderWrapper.each(function(){var t=e(this);t.sortable({items:"li.image",cursor:"move",scrollSensitivity:40,forcePlaceholderSize:!0,forceHelperSize:!1,helper:"clone",opacity:.65,start:function(e,t){t.item.css("background-color","#f6f6f6")},stop:function(e,t){t.item.removeAttr("style")},update:function(i,a){var n="";t.find("li.image").css("cursor","default").each(function(){var t=e(this).attr("data-attachment_id");n=n+t+","}),t.closest(".image-gallery").find(".image_gallery_ids").val(n)}})}),l.sliderWrapper.on("click","a.delete",function(){var t=e(this).closest(".image-gallery"),i=e(this).closest(".image-gallery ul.slides-wrapper"),a=t.find(".image_gallery_ids"),n="";e(this).closest("li.image").remove(),i.find("li.image").css("cursor","default").each(function(){var t=e(this).attr("data-attachment_id");n=n+t+","}),a.val(n)})),s.each(function(){e(this).find("img").on("click",function(){var t=e(this).closest(".yith-plugin-fw-sidebar-layout"),i=t.find(".yith-plugin-fw-sidebar-layout-sidebar-left-container"),a=t.find(".yith-plugin-fw-sidebar-layout-sidebar-right-container"),n=e(this).data("type");if(e(this).parent().children(":radio").attr("checked",!1),e(this).prev(":radio").attr("checked",!0),void 0!==n)switch(n){case"left":i.show(),a.hide();break;case"right":a.show(),i.hide();break;case"double":i.show(),a.show();break;default:i.hide(),a.hide()}})}),o.each(function(){var t=e(this).data("val"),i=e(this).data("min"),a=e(this).data("max"),n=e(this).data("step"),l=e(this).data("labels");e(this).slider({value:t,min:i,max:a,range:"min",step:n,create:function(){e(this).find(".ui-slider-handle").text(e(this).slider("value"))},slide:function(t,i){e(this).find("input").val(i.value),e(this).find(".ui-slider-handle").text(i.value),e(this).siblings(".feedback").find("strong").text(i.value+l)}})}),r.each(function(t,i){var a=CodeMirror.fromTextArea(i,{lineNumbers:1,mode:"javascript",showCursorWhenSelecting:!0});e(i).data("codemirrorInstance",a)}),e(document).on("click",".yith-plugin-fw-select-all",function(){e("#"+e(this).data("select-id")).find("option").prop("selected",!0).trigger("change")}),e(document).on("click",".yith-plugin-fw-deselect-all",function(){e("#"+e(this).data("select-id")).find("option").prop("selected",!1).trigger("change")}),d.each(function(){var t=e(this),i=t.find(".yit-icons-manager-icon-preview").first(),a=t.find(".yit-icons-manager-icon-text");t.on("click",".yit-icons-manager-list li",function(n){var l=e(n.target).closest("li"),s=l.data("font"),o=l.data("icon"),r=l.data("key"),d=l.data("name");i.attr("data-font",s),i.attr("data-icon",o),i.attr("data-key",r),i.attr("data-name",d),a.val(s+":"+d),t.find(".yit-icons-manager-list li").removeClass("active"),l.addClass("active")}),t.on("click",".yit-icons-manager-action-set-default",function(){t.find(".yit-icons-manager-list li.default").trigger("click")})}),e(document).on("click",".yith-plugin-fw-select-images__item",function(){var t=e(this),i=t.data("key"),a=t.closest(".yith-plugin-fw-select-images__wrapper"),n=a.find(".yith-plugin-fw-select-images__item"),l=a.find("select").first();l.length&&(l.val(i),n.removeClass("yith-plugin-fw-select-images__item--selected"),t.addClass("yith-plugin-fw-select-images__item--selected"))}),e(document.body).trigger("wc-enhanced-select-init"),e(document).find(".ui-sortable .yith-toggle-elements").sortable({cursor:"move",axis:"y",scrollSensitivity:40,forcePlaceholderSize:!0,helper:"clone",stop:function(t,i){var a=jQuery(".ui-sortable-handle"),n=0,l=new Array;for(n=0;n<a.length;n++)l[n]=e(a[n]).data("item_key");l.length>0&&e(this).closest(".toggle-element").saveToggleElement(null,l)}}),e(document.body).trigger("yith-framework-enhanced-select-init")}).trigger("yith_fields_init"),e(document).on("click",".yith-plugin-fw-onoff-container span",function(){var t=e(this).prev("input");t.prop("checked")?t.prop("checked",!1).attr("value","no").removeClass("onoffchecked"):t.prop("checked",!0).attr("value","yes").addClass("onoffchecked"),t.change()}),e.fn.saveToggleElement=function(t,i){var a=e(this),n="yith_plugin_fw_save_toggle_element",l=a.serializeToggleElement(),s=a.find(".yith-toggle_wrapper"),o=s.attr("id"),r=e.urlParam("tab");l.append("security",s.data("nonce")),void 0!==i&&i.length>0&&l.append("yith_toggle_elements_order_keys",i),a.closest(".metaboxes-tab.yith-plugin-ui").length?(n="yith_plugin_fw_save_toggle_element_metabox",post_id=e(this).closest("form#post").find("#post_ID").val(),yit_metaboxes_nonce=e(this).closest("form#post").find("#yit_metaboxes_nonce").val(),metabox_tab=e(this).closest(".tabs-panel").attr("id"),url=yith_framework_fw_fields.ajax_url+"?action="+n+"&post_ID="+post_id+"&yit_metaboxes_nonce="+yit_metaboxes_nonce+"&toggle_id="+o+"&metabox_tab="+metabox_tab):url=yith_framework_fw_fields.admin_url+"?action="+n+"&tab="+r+"&toggle_id="+o,e.ajax({type:"POST",url:url,data:l,contentType:!1,processData:!1,success:function(i){t&&t.removeClass("show"),e(document).trigger("yith_save_toggle_element_done",[i,a])}})},e.fn.serializeToggleElement=function(){var t=e(this),i=new FormData,a=e(t).find(":input").serializeArray();return e.each(a,function(e,t){el_name=t.name,i.append(t.name,t.value)}),i},e.fn.formatToggleTitle=function(){var t=e(this),i=t.find(":input"),a=t.find("span.title").data("title_format"),n=t.find(".subtitle").data("subtitle_format"),l=new RegExp("[^%%]+(?=[%%])","g");if(void 0!==a)var s=a.match(l);if(void 0!==n)var o=n.match(l);e.each(i,function(t,i){void 0!==e(i).attr("id")&&($field_id=e(i).attr("id"),$field_array=$field_id.split("_"),$field_array.pop(),$field_id=$field_array.join("_"),$field_val=e(i).val(),null!=s&&void 0!==s&&-1!==s.indexOf($field_id)&&(a=a.replace("%%"+$field_id+"%%",$field_val)),null!=o&&void 0!==o&&-1!==o.indexOf($field_id)&&(n=n.replace("%%"+$field_id+"%%",$field_val)))}),""!==a&&t.find("span.title").html(a),""!==n&&t.find(".subtitle").html(n),e(document).trigger("yith-toggle-element-item-title",[t])},e.urlParam=function(e){var t=new RegExp("[?&]"+e+"=([^&#]*)").exec(window.location.search);return null!==t&&(t[1]||0)},e(document).on("click",".yith-toggle-title",function(t){var i=e(t.target),a=i.closest(".yith-toggle-row"),n=a.find(".yith-toggle-content");if(i.hasClass("yith-plugin-fw-onoff")||i.hasClass("yith-icon-drag"))return!1;a.is(".yith-toggle-row-opened")?n.slideUp(400):n.slideDown(400),a.toggleClass("yith-toggle-row-opened")}),e(document).on("click",".yith-add-box-button",function(t){t.preventDefault();var i=e(this),a=i.data("box_id"),n=i.data("closed_label"),l=i.data("opened_label"),s=i.closest(".yith-toggle_wrapper").attr("id");template=wp.template("yith-toggle-element-add-box-content-"+s),""!==a&&(e("#"+a).html(template({index:"box_id"})).slideToggle(),""!==n&&(i.html()===n?i.html(l).removeClass("closed"):i.html(n).addClass("closed")),e(document).trigger("yith_fields_init"),e(document).trigger("yith-add-box-button-toggle",[i]))}),e(document).on("click",".yith-add-box-buttons .yith-save-button",function(t){t.preventDefault();var i=e(this).parents(".yith-add-box"),a=e(this).closest(".yith-toggle_wrapper").attr("id"),n=i.find(".spinner"),l=e(this).parents(".toggle-element"),s=i.find(":input"),o=l.find(".yith-toggle-row").length,r=e('<input type="hidden">');r.val(o),e(document).trigger("yith-toggle-change-counter",[r,i]),o=r.val();var d=wp.template("yith-toggle-element-item-"+a),c=e(d({index:o}));n.addClass("show"),e.each(s,function(t,i){void 0!==e(i).attr("id")&&($field_id=e(i).attr("id"),$field_val=e(i).val(),"radio"==e(i).attr("type")?($field_id=$field_id.replace("new_",""),$field_id=$field_id.replace("-"+$field_val,""),$field_id=$field_id+"_dataindex-"+$field_val):$field_id=$field_id.replace("new_","")+"_"+o,e(i).is(":checked")&&e(c).find("#"+$field_id).prop("checked",!0),(e(i).hasClass("yith-post-search")||e(i).hasClass("yith-term-search"))&&e(c).find("#"+$field_id).html(e("#"+e(i).attr("id")).html()),e(c).find("#"+$field_id).val($field_val))}),e(c).formatToggleTitle();var u=e('<input type="hidden">').val("yes");e(document).trigger("yith-toggle-element-item-before-add",[i,c,u]);setTimeout(function(){if("yes"===u.val()){e(l).find(".yith-toggle-elements").append(c),e(i).find(".yith-plugin-fw-datepicker").datepicker("destroy"),e(i).html(""),e(i).prev(".yith-add-box-button").trigger("click"),l.saveToggleElement();setTimeout(function(){e(l).find(".highlight").removeClass("highlight")},2e3),e(document).trigger("yith_fields_init")}},1e3)}),e(document).on("click",".yith-toggle-row .yith-save-button",function(t){t.preventDefault();var i=e(this).closest(".toggle-element"),a=e(this).closest(".yith-toggle-row"),n=a.find(".spinner");a.formatToggleTitle();var l=e('<input type="hidden">').val("yes");e(document).trigger("yith-toggle-element-item-before-update",[i,a,l]),"yes"===l.val()&&(n.addClass("show"),i.saveToggleElement(n))}),e(document).on("click",".yith-toggle-row .yith-delete-button",function(t){t.preventDefault();var i=e(this).closest(".toggle-element");e(this).closest(".yith-toggle-row").remove(),i.saveToggleElement()}),e(document).on("click",".yith-toggle-onoff",function(t){t.preventDefault(),e(this).closest(".toggle-element").saveToggleElement()}),e(document).on("click",".yith-plugin-fw-radio input[type=radio]",function(){e(this).closest(".yith-plugin-fw-radio").val(e(this).val()).trigger("change")}),e(document).on("click",".yith-password-eye",function(){var t=e(this),i=e(this).closest(".yith-password-wrapper").find("input");"password"===i.attr("type")?(i.attr("type","text"),t.addClass("yith-password-eye-closed")):(i.attr("type","password"),t.removeClass("yith-password-eye-closed"))}),e(document.body).on("yith-plugin-fw-init-radio",function(){e(".yith-plugin-fw-radio:not(.yith-plugin-fw-radio--initialized)").each(function(){e(this).val(e(this).attr("value")),e(this).addClass("yith-plugin-fw-radio--initialized")})}).trigger("yith-plugin-fw-init-radio"),e(document).on("select2:open",function(t){e(t.target).closest(".yith-plugin-ui").length&&e(".select2-results").closest(".select2-container").addClass("yith-plugin-fw-select2-container")});var t={selectors:{wrapper:".yith-plugin-fw-dimensions",units:{wrapper:".yith-plugin-fw-dimensions__units",single:".yith-plugin-fw-dimensions__unit",value:".yith-plugin-fw-dimensions__unit__value",selectedClass:"yith-plugin-fw-dimensions__unit--selected"},linked:{button:".yith-plugin-fw-dimensions__linked",value:".yith-plugin-fw-dimensions__linked__value",wrapperActiveClass:"yith-plugin-fw-dimensions--linked-active"},dimensions:{number:".yith-plugin-fw-dimensions__dimension__number"}},init:function(){var i=t;e(document).on("click",i.selectors.units.single,i.unitChange),e(document).on("click",i.selectors.linked.button,i.linkedChange),e(document).on("change keyup",i.selectors.dimensions.number,i.numberChange)},unitChange:function(i){var a=e(this).closest(t.selectors.units.single),n=a.closest(t.selectors.units.wrapper),l=n.find(t.selectors.units.single),s=n.find(t.selectors.units.value).first(),o=a.data("value");l.removeClass(t.selectors.units.selectedClass),a.addClass(t.selectors.units.selectedClass),s.val(o)},linkedChange:function(){var i=e(this).closest(t.selectors.linked.button),a=i.closest(t.selectors.wrapper),n=i.find(t.selectors.linked.value);"yes"===n.val()?(a.removeClass(t.selectors.linked.wrapperActiveClass),n.val("no")):(a.addClass(t.selectors.linked.wrapperActiveClass),n.val("yes"),a.find(t.selectors.dimensions.number).first().trigger("change"))},numberChange:function(i){var a=e(this).closest(t.selectors.dimensions.number),n=a.closest(t.selectors.wrapper);n.hasClass(t.selectors.linked.wrapperActiveClass)&&n.find(t.selectors.dimensions.number).val(a.val())}};t.init()}(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
plugin-fw/assets/js/yith-gutenberg.min.js CHANGED
@@ -1,6 +1 @@
1
- (function(f){function k(e,a,d){var g="";g="";if("undefined"!=typeof a.callback&&"function"==typeof f[a.callback])g=f[a.callback](e,a);else{var b="["+a.shortcode_name;f.each(e.attributes,function(c,l){"className"!=c&&(b+=" "+c+"=",b=1==a.attributes[c].remove_quotes?b+l:b+('"'+l+'"'))});b+="]";e=md5(b);g='<span class="yith_block_'+e+'">'+b+"</span>";"edit"==d&&0!=a.do_shortcode&&function(c){var a=null;f(document).trigger("yith_plugin_fw_gutenberg_before_do_shortcode",[b,c]);f.ajax({async:!0,url:yith_gutenberg_ajax.ajaxurl,
2
- method:"post",data:{action:"yith_plugin_fw_gutenberg_do_shortcode",shortcode:b},success:function(d){a=d;""!=a&&(f(".yith_block_"+c).html(a),f(document).trigger("yith_plugin_fw_gutenberg_success_do_shortcode",[b,c,a]))}});f(document).trigger("yith_plugin_fw_gutenberg_after_do_shortcode",[b,c,a]);return a}(e);g=h(n,null,g)}return g}function m(e,a,d,g){var b={};if("colorpicker"==g||"color"==g)e=e.hex;b[a]=e;d.setAttributes(b);return d}var h=wp.element.createElement,p=wp.element.Fragment,q=wp.blocks.registerBlockType,
3
- r=wp.editor.InspectorControls,n=wp.element.RawHTML,t=wp.components.SelectControl,u=wp.components.ToggleControl,v=wp.components.CheckboxControl,w=wp.components.RangeControl,x=wp.components.ColorPicker,y=wp.components.RadioControl,z=wp.components.TextControl,A=wp.components.TextareaControl,B=h("svg",{width:22,height:22},h("path",{d:"M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z"}));
4
- f.each(yith_gutenberg,function(e,a){q("yith/"+e,{title:a.title,description:a.description,category:a.category,attributes:a.attributes,icon:"undefined"!=typeof a.icon?a.icon:B,keywords:a.keywords,edit:function(d){var g=[];f.each(a.attributes,function(a,c){var b=null,e=c.blocktype;if("undefined"!=typeof e){switch(e){case "select":b=t;break;case "text":b=z;break;case "textarea":b=A;break;case "toggle":b=u;break;case "checkbox":b=v;break;case "number":case "range":b=w;break;case "color":case "colorpicker":b=
5
- x;break;case "radio":b=y}if(null!=b){var f=helpMessageUncheked="";"undefined"!=typeof c.helps&&"undefined"!=typeof c.helps.checked&&"undefined"!=typeof c.helps.unchecked?(f=c.helps.checked,helpMessageUncheked=c.helps.unchecked):"undefined"!=typeof c.help&&(f=helpMessageUncheked=c.help);g.push(h(b,{value:d.attributes[a],options:c.options,label:c.label,checked:d.attributes[a],selected:d.attributes[a],help:d.attributes[a]?f:helpMessageUncheked,disableAlpha:c.disableAlpha,min:c.min,max:c.max,multiple:c.multiple,
6
- onChange:function(b,c){c=void 0===c?a:c;d=m(b,c,d,e)},onChangeComplete:function(c,b){b=void 0===b?a:b;d=m(c,b,d,e)}}))}}});sc=k(d,a,"edit");return[h(p,null,h(r,null,g),sc)]},save:function(d){return k(d,a,"save")}})})})(jQuery);
1
+ !function(e){wp.i18n.__;var t=wp.element.createElement,o=wp.element.Fragment,n=wp.blocks.registerBlockType,c=(wp.editor.RichText,wp.editor.BlockControls,wp.editor.InspectorControls),r=(wp.editor.AlignmentToolbar,wp.components,wp.element.RawHTML),a=wp.components.SelectControl,s=wp.components.ToggleControl,i=wp.components.CheckboxControl,l=wp.components.RangeControl,p=wp.components.ColorPicker,u=wp.components.RadioControl,d=wp.components.TextControl,h=wp.components.TextareaControl;const C=t("svg",{width:22,height:22},t("path",{d:"M 18.24 7.628 C 17.291 8.284 16.076 8.971 14.587 9.688 C 15.344 7.186 15.765 4.851 15.849 2.684 C 15.912 0.939 15.133 0.045 13.514 0.003 C 11.558 -0.06 10.275 1.033 9.665 3.284 C 10.007 3.137 10.359 3.063 10.723 3.063 C 11.021 3.063 11.267 3.184 11.459 3.426 C 11.651 3.668 11.736 3.947 11.715 4.262 C 11.695 5.082 11.276 5.961 10.46 6.896 C 9.644 7.833 8.918 8.3 8.282 8.3 C 7.837 8.3 7.625 7.922 7.646 7.165 C 7.667 6.765 7.804 5.955 8.056 4.735 C 8.287 3.579 8.403 2.801 8.403 2.401 C 8.403 1.707 8.224 1.144 7.867 0.713 C 7.509 0.282 6.994 0.098 6.321 0.161 C 5.858 0.203 5.175 0.624 4.27 1.422 C 3.596 2.035 2.923 2.644 2.25 3.254 L 2.976 4.106 C 3.564 3.664 3.922 3.443 4.048 3.443 C 4.448 3.443 4.637 3.717 4.617 4.263 C 4.617 4.306 4.427 4.968 4.049 6.251 C 3.671 7.534 3.471 8.491 3.449 9.122 C 3.407 9.985 3.565 10.647 3.924 11.109 C 4.367 11.677 5.106 11.919 6.142 11.835 C 7.366 11.751 8.591 11.298 9.816 10.479 C 10.323 10.142 10.808 9.753 11.273 9.311 C 11.105 10.153 10.905 10.868 10.673 11.457 C 8.402 12.487 6.762 13.37 5.752 14.107 C 4.321 15.137 3.554 16.241 3.449 17.419 C 3.259 19.459 4.29 20.479 6.541 20.479 C 8.055 20.479 9.517 19.554 10.926 17.703 C 12.125 16.126 13.166 14.022 14.049 11.394 C 15.578 10.635 16.87 9.892 17.928 9.164 C 17.894 9.409 18.319 7.308 18.24 7.628 Z M 7.393 16.095 C 7.056 16.095 6.898 15.947 6.919 15.653 C 6.961 15.106 7.908 14.38 9.759 13.476 C 8.791 15.221 8.002 16.095 7.393 16.095 Z"}));function g(o,n,c){var a="",s="";if("undefined"!=typeof n.callback&&"function"==typeof e[n.callback])a=e[n.callback](o,n);else{var i="["+n.shortcode_name;e.each(o.attributes,function(e,t){if("className"!=e){i+=" "+e+"=";var o=n.attributes[e].remove_quotes;i+=1==o?t:'"'+t+'"'}}),i+="]";var l=md5(i);s='<span class="yith_block_'+l+'">'+i+"</span>","edit"==c&&0!=n.do_shortcode&&function(t){var o=null;return e(document).trigger("yith_plugin_fw_gutenberg_before_do_shortcode",[i,t]),e.ajax({async:!0,url:yith_gutenberg_ajax.ajaxurl,method:"post",data:{action:"yith_plugin_fw_gutenberg_do_shortcode",shortcode:i},success:function(n){""!=(o=n)&&(e(".yith_block_"+t).html(o),e(document).trigger("yith_plugin_fw_gutenberg_success_do_shortcode",[i,t,o]))}}),e(document).trigger("yith_plugin_fw_gutenberg_after_do_shortcode",[i,t,o]),o}(l),a=t(r,null,s)}return a}function b(e,t,o,n){var c={};return"colorpicker"!=n&&"color"!=n||(e=e.hex),c[t]=e,o.setAttributes(c),o}e.each(yith_gutenberg,function(r,f){n("yith/"+r,{title:f.title,description:f.description,category:f.category,attributes:f.attributes,icon:"undefined"!=typeof f.icon?f.icon:C,keywords:f.keywords,edit:function(n){var r=new Array;return e.each(f.attributes,function(e,o){var c=null,C=o.blocktype;if(void 0!==C){switch(C){case"select":c=a;break;case"text":c=d;break;case"textarea":c=h;break;case"toggle":c=s;break;case"checkbox":c=i;break;case"number":case"range":c=l;break;case"color":case"colorpicker":c=p;break;case"radio":c=u}if(null!=c){var g=helpMessageUncheked="";"undefined"!=typeof o.helps&&"undefined"!=typeof o.helps.checked&&"undefined"!=typeof o.helps.unchecked?(g=o.helps.checked,helpMessageUncheked=o.helps.unchecked):"undefined"!=typeof o.help&&(g=helpMessageUncheked=o.help),r.push(t(c,{value:n.attributes[e],options:o.options,label:o.label,checked:n.attributes[e],selected:n.attributes[e],help:n.attributes[e]?g:helpMessageUncheked,disableAlpha:o.disableAlpha,min:o.min,max:o.max,multiple:o.multiple,onChange:function(t,o=e){n=b(t,o,n,C)},onChangeComplete:function(t,o=e){n=b(t,o,n,C)}}))}}}),sc=g(n,f,"edit"),[t(o,null,t(c,null,r),sc)]},save:function(e){return g(e,f,"save")}})})}(jQuery);
 
 
 
 
 
plugin-fw/assets/js/yith-promo.min.js CHANGED
@@ -1 +1 @@
1
- (function(c){c(document).on("click",".notice-dismiss",function(){var a=c(this).parent("div.yith-notice-is-dismissible"),b=a.attr("id");"undefined"!=typeof b&&(b="hide_"+b,a=a.data("expiry"),a=new Date(a),a.setUTCHours(23),a.setUTCMinutes(59),a.setUTCSeconds(59),document.cookie=b+"=yes;expires="+a.toUTCString()+";path=/")})})(jQuery);
1
+ !function(i){i(document).on("click",".notice-dismiss",function(){var e=i(this).parent("div.yith-notice-is-dismissible"),t=e.attr("id");if(void 0!==t){var s="hide_"+t,n=e.data("expiry"),o=new Date(n);o.setUTCHours(23),o.setUTCMinutes(59),o.setUTCSeconds(59),document.cookie=s+"=yes;expires="+o.toUTCString()+";path=/"}})}(jQuery);
plugin-fw/assets/js/yith-system-info.min.js CHANGED
@@ -1 +1 @@
1
- (function(a){a(document).on("click",".notice-dismiss",function(){"yith-system-alert"===a(this).parent().attr("id")&&(document.cookie="hide_yith_system_alert=yes;path=/")})})(jQuery);
1
+ !function(t){t(document).on("click",".notice-dismiss",function(){if("yith-system-alert"===t(this).parent().attr("id")){document.cookie="hide_yith_system_alert=yes;path=/"}})}(jQuery);
plugin-fw/assets/js/yith-update-plugins.min.js CHANGED
@@ -1,2 +1 @@
1
- (function(b){b(document).on("click","a.yith-update-link",function(e){var a=b(this),c=a.parent("p");e.preventDefault();b.ajax({type:"POST",url:yith_plugin_fw.ajaxurl,data:{action:"update-plugin",plugin:a.data("plugin"),slug:a.data("slug"),name:a.data("name"),_ajax_nonce:yith_plugin_fw.ajax_nonce},beforeSend:function(){c.text(yith_plugin_fw.l10n.updating.replace("%s",a.data("name")));c.addClass("yith-updating")},success:function(b){c.removeClass("yith-updating").addClass("yith-updated");var d=c.parent("div");
2
- d.removeClass("notice-warning");result_text="";!0===b.success?(d.addClass("notice-success updated-message").removeClass("update-message"),result_text=yith_plugin_fw.l10n.updated):(d.addClass("notice-error"),result_text=yith_plugin_fw.l10n.failed);c.text(result_text.replace("%s",a.data("name")))}})})})(jQuery);
1
+ !function(a){a(document).on("click","a.yith-update-link",function(e){var t=a(this),n=t.parent("p");e.preventDefault(),a.ajax({type:"POST",url:yith_plugin_fw.ajaxurl,data:{action:"update-plugin",plugin:t.data("plugin"),slug:t.data("slug"),name:t.data("name"),_ajax_nonce:yith_plugin_fw.ajax_nonce},beforeSend:function(){n.text(yith_plugin_fw.l10n.updating.replace("%s",t.data("name"))),n.addClass("yith-updating")},success:function(a){n.removeClass("yith-updating").addClass("yith-updated");var e=n.parent("div");e.removeClass("notice-warning"),result_text="",!0===a.success?(e.addClass("notice-success updated-message").removeClass("update-message"),result_text=yith_plugin_fw.l10n.updated):(e.addClass("notice-error"),result_text=yith_plugin_fw.l10n.failed),n.text(result_text.replace("%s",t.data("name")))}})})}(jQuery);
 
plugin-fw/init.php CHANGED
@@ -1,13 +1,13 @@
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
- * Version: 3.4.13
5
- * Author: YITHEMES
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author Your Inspiration Themes
10
- * @version 3.4.13
11
  */
12
  /**
13
  * This file belongs to the YIT Plugin Framework.
1
  <?php
2
  /**
3
  * Framework Name: YIT Plugin Framework
4
+ * Version: 3.4.19
5
+ * Author: YITH
6
  * Text Domain: yith-plugin-fw
7
  * Domain Path: /languages/
8
  *
9
  * @author Your Inspiration Themes
10
+ * @version 3.4.19
11
  */
12
  /**
13
  * This file belongs to the YIT Plugin Framework.
plugin-fw/languages/yith-plugin-fw-el.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-el.po CHANGED
@@ -3,10 +3,12 @@
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
6
- "Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2020-01-10 13:40+0100\n"
8
- "PO-Revision-Date: 2020-03-02 13:49+0000\n"
 
9
  "Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
 
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
@@ -18,113 +20,47 @@ msgstr ""
18
  "X-Poedit-SourceCharset: UTF-8\n"
19
  "X-Poedit-Basepath: ..\n"
20
  "X-Textdomain-Support: yes\n"
21
- "Last-Translator: \n"
22
- "Language: el_GR\n"
23
  "X-Poedit-SearchPath-0: .\n"
24
 
25
- #: lib/privacy/yit-privacy.php:24
26
- msgctxt "Privacy Policy Guide Title"
27
- msgid "YITH Plugins"
28
- msgstr "Πρόσθετα YITH"
29
-
30
- #: lib/privacy/yit-privacy.php:59
31
- msgctxt "Privacy Policy Content"
32
- msgid ""
33
- "This sample language includes the basics around what personal data your "
34
- "store may be collecting, storing and sharing, as well as who may have access "
35
- "to that data. Depending on what settings are enabled and which additional "
36
- "plugins are used, the specific information shared by your store will vary. "
37
- "We recommend consulting with a lawyer when deciding what information to "
38
- "disclose on your privacy policy."
39
- msgstr ""
40
- "Αυτό το δείγμα γλώσσας περιλαμβάνει τα βασικά στοιχεία γύρω από το τι "
41
- "προσωπικά δεδομένα το κατάστημά σας μπορεί να συλλέγει, την αποθήκευση και "
42
- "την κοινή χρήση, καθώς και ποιοι μπορεί να έχουν πρόσβαση σε αυτά τα "
43
- "δεδομένα. Ανάλογα με τις ρυθμίσεις που είναι ενεργοποιημένες και ποια "
44
- "επιπλέον πρόσθετα χρησιμοποιούνται, οι συγκεκριμένες πληροφορίες που "
45
- "κοινοποιούνται από το κατάστημά σας θα ποικίλλουν. Συνιστούμε τη διαβούλευση "
46
- "με έναν δικηγόρο, όταν αποφασίζετε ποιες πληροφορίες να αποκαλύπτετε στην "
47
- "πολιτική απορρήτου σας."
48
-
49
- #: lib/privacy/yit-privacy.php:63
50
- msgctxt "Privacy Policy Content"
51
- msgid "What we collect and store"
52
- msgstr "Τι συλλέγουμε και αποθηκεύουμε"
53
-
54
- #: lib/privacy/yit-privacy.php:66
55
- msgctxt "Privacy Policy Content"
56
- msgid "Who on our team has access"
57
- msgstr "Ποιος στην ομάδα μας έχει πρόσβαση"
58
-
59
- #: lib/privacy/yit-privacy.php:69
60
- msgctxt "Privacy Policy Content"
61
- msgid "What we share with others"
62
- msgstr "Τι μοιραζόμαστε με τους άλλους"
63
-
64
- #: lib/privacy/yit-privacy.php:72
65
- msgctxt "Privacy Policy Content"
66
- msgid "Payments"
67
- msgstr "Πληρωμές"
68
-
69
  #: lib/yit-cpt-unlimited.php:462 lib/yit-cpt-unlimited.php:576
70
  #: lib/yit-cpt-unlimited.php:721 lib/yit-cpt-unlimited.php:1636
71
- #, php-format
72
  msgid "Add %s"
73
  msgstr "Προσθήκη %s"
74
 
75
  #: lib/yit-cpt-unlimited.php:463 lib/yit-cpt-unlimited.php:577
76
- #, php-format
77
  msgid "Add New %s"
78
  msgstr "Προσθήκη Νέου %s"
79
 
80
  #: lib/yit-cpt-unlimited.php:464 lib/yit-cpt-unlimited.php:578
81
  #: lib/yit-cpt-unlimited.php:1269 lib/yit-cpt-unlimited.php:1306
82
- #, php-format
83
  msgid "Edit %s"
84
  msgstr "Επεξεργασία %s"
85
 
86
  #: lib/yit-cpt-unlimited.php:465 lib/yit-cpt-unlimited.php:579
87
- #, php-format
88
  msgid "New %s"
89
  msgstr "Νέο %s"
90
 
91
  #: lib/yit-cpt-unlimited.php:466 lib/yit-cpt-unlimited.php:580
92
- #, php-format
93
  msgid "All %s"
94
  msgstr "Όλα %s"
95
 
96
  #: lib/yit-cpt-unlimited.php:467 lib/yit-cpt-unlimited.php:581
97
  #: lib/yit-cpt-unlimited.php:1253 lib/yit-cpt-unlimited.php:1307
98
- #, php-format
99
  msgid "View %s"
100
  msgstr "Προβολή %s"
101
 
102
  #: lib/yit-cpt-unlimited.php:468 lib/yit-cpt-unlimited.php:582
103
- #, php-format
104
  msgid "Search %s"
105
  msgstr "Αναζήτηση %s"
106
 
107
  #: lib/yit-cpt-unlimited.php:469 lib/yit-cpt-unlimited.php:583
108
- #, php-format
109
  msgid "No %s found"
110
  msgstr "Δεν βρέθηκε %s"
111
 
112
  #: lib/yit-cpt-unlimited.php:470 lib/yit-cpt-unlimited.php:584
113
- #, php-format
114
  msgid "No %s found in Trash"
115
  msgstr "Δεν βρέθηκε %s στον Κάδο Ανακύκλωσης"
116
 
117
- #: lib/yit-cpt-unlimited.php:627
118
- #, php-format
119
- msgctxt "taxonomy general name"
120
- msgid "%s Categories"
121
- msgstr "Κατηγορίες %s"
122
-
123
- #: lib/yit-cpt-unlimited.php:628
124
- msgctxt "taxonomy singular name"
125
- msgid "Category"
126
- msgstr "Κατηγορία"
127
-
128
  #: lib/yit-cpt-unlimited.php:629 templates/fields/ajax-terms.php:56
129
  msgid "Search Categories"
130
  msgstr "Αναζήτηση Κατηγοριών"
@@ -166,7 +102,6 @@ msgid "Categories"
166
  msgstr "Κατηγορίες"
167
 
168
  #: lib/yit-cpt-unlimited.php:1044
169
- #, php-format
170
  msgid "%s Settings"
171
  msgstr "Ρυθμίσεις %s"
172
 
@@ -180,7 +115,6 @@ msgid "Type"
180
  msgstr "Τύπος"
181
 
182
  #: lib/yit-cpt-unlimited.php:1054
183
- #, php-format
184
  msgid "Layout for this %s"
185
  msgstr "Διάταξη για %s"
186
 
@@ -252,7 +186,6 @@ msgid "Quick links"
252
  msgstr "Γρήγορα λινκ"
253
 
254
  #: lib/yit-cpt-unlimited.php:1477
255
- #, php-format
256
  msgid "Show frontend of the %s"
257
  msgstr "Προβολή εμφάνισης του %s"
258
 
@@ -262,7 +195,6 @@ msgid "Name"
262
  msgstr "Όνομα"
263
 
264
  #: lib/yit-cpt-unlimited.php:1635
265
- #, php-format
266
  msgid "Add %s from images"
267
  msgstr "Προσθήκη %s από εικόνες"
268
 
@@ -270,7 +202,7 @@ msgstr "Προσθήκη %s από εικόνες"
270
  msgid "Upload multiple files"
271
  msgstr "Ανέβασμα πολλαπλών αρχείων"
272
 
273
- #: lib/yit-plugin-panel-wc.php:397
274
  msgid "The changes you have made will be lost if you leave this page."
275
  msgstr ""
276
  "Οι αλλαγές που έχετε δημιουργήσει θα χαθούν αν αφήσετε αυτήν την σελίδα."
@@ -279,16 +211,16 @@ msgstr ""
279
  msgid "Plugin Settings"
280
  msgstr "Ρυθμίσεις Προσθέτου"
281
 
282
- #: lib/yit-plugin-panel.php:424 lib/yit-plugin-panel.php:427
283
  msgid "How to install premium version"
284
  msgstr "Πώς να εγκαταστήσετε την προηγμένη έκδοση"
285
 
286
- #: lib/yit-plugin-panel.php:571 lib/yit-plugin-subpanel.php:151
287
  #: templates/panel/woocommerce/woocommerce-form.php:14
288
  msgid "Save Changes"
289
  msgstr "Αποθήκευση Αλλαγών"
290
 
291
- #: lib/yit-plugin-panel.php:574 lib/yit-plugin-subpanel.php:154
292
  #: templates/panel/woocommerce/woocommerce-form.php:17
293
  msgid ""
294
  "If you continue with this action, you will reset all options in this page."
@@ -296,70 +228,70 @@ msgstr ""
296
  "Αν συνεχίσετε με αυτή την ενέργεια θα επαναφέρετε όλες τις επιλογές στη "
297
  "σελίδα."
298
 
299
- #: lib/yit-plugin-panel.php:576 lib/yit-plugin-subpanel.php:156
300
  msgid "Reset to default"
301
  msgstr "Επαναφορά σε προεπιλεγμένο"
302
 
303
- #: lib/yit-plugin-panel.php:577 lib/yit-plugin-subpanel.php:157
304
  #: templates/panel/woocommerce/woocommerce-form.php:21
305
  msgid "Are you sure?"
306
  msgstr "Είστε σίγουρος;"
307
 
308
- #: lib/yit-plugin-panel.php:775
309
  msgid ""
310
  "The element you have entered already exists. Please, enter another name."
311
- msgstr "Το στοιχείο που εισάγατε υπάρχει ήδη. Παρακαλώ, εισάγετε άλλο όνομα. "
312
 
313
- #: lib/yit-plugin-panel.php:776
314
  msgid "Settings saved"
315
  msgstr "Ρυθμίσεις αποθηκεύτηκαν"
316
 
317
- #: lib/yit-plugin-panel.php:777
318
  msgid "Settings reset"
319
  msgstr "Επαναφορά ρυθμίσεων"
320
 
321
- #: lib/yit-plugin-panel.php:778
322
  msgid "Element deleted correctly."
323
  msgstr "Το στοιχείο διαγράφηκε επιτυχώς."
324
 
325
- #: lib/yit-plugin-panel.php:779 lib/yit-plugin-panel.php:780
326
  msgid "Element updated correctly."
327
  msgstr "Το στοιχείο αναβαθμίστηκε επιτυχώς."
328
 
329
- #: lib/yit-plugin-panel.php:781
330
  msgid "Database imported correctly."
331
  msgstr "Επιτυχής εισαγωγή βάσης δεδομένων."
332
 
333
- #: lib/yit-plugin-panel.php:782
334
  msgid "An error has occurred during import. Please try again."
335
  msgstr "Παρουσιάστηκε σφάλμα κατά την εισαγωγή. Παρακαλώ προσπαθήστε ξανά."
336
 
337
- #: lib/yit-plugin-panel.php:783
338
  msgid "The added file is not valid."
339
  msgstr "Το προστιθέμενο αρχείο δεν είναι έγκυρο."
340
 
341
- #: lib/yit-plugin-panel.php:784
342
  msgid "Sorry, import is disabled."
343
  msgstr "Συγνώμη, η εισαγωγή είναι απενεργοποιημένη."
344
 
345
- #: lib/yit-plugin-panel.php:785
346
  msgid "Sorting successful."
347
  msgstr "Διαλογή επιτυχής."
348
 
349
- #: lib/yit-plugin-panel.php:1233
350
  msgid "We need your support"
351
  msgstr "Χρειαζόμαστε την υποστήριξή σας"
352
 
353
- #: lib/yit-plugin-panel.php:1234
354
  msgid "to keep updating and improving the plugin. Please,"
355
  msgstr ""
356
- "για να διατηρήσετε την ενημέρωση και τη βελτίωση του πρόσθετου. Παρακαλώ"
357
 
358
- #: lib/yit-plugin-panel.php:1236
359
  msgid "help us by leaving a five-star rating"
360
- msgstr "Βοηθήστε μας αφήνοντας μια βαθμολογία πέντε αστέρων"
361
 
362
- #: lib/yit-plugin-panel.php:1237
363
  msgid ":) Thanks!"
364
  msgstr ":) Ευχαριστώ!"
365
 
@@ -384,7 +316,7 @@ msgstr "Ανακαλύψτε όλα τα διαθέσιμά μας πρόσθε
384
 
385
  #: lib/yit-pointers.php:74 lib/yit-pointers.php:90
386
  msgid "and"
387
- msgstr "Και"
388
 
389
  #: lib/yit-pointers.php:84
390
  msgid "Plugins Upgraded"
@@ -432,96 +364,75 @@ msgstr ""
432
  "Παρουσιάστηκε σφάλμα, που πιθανότατα σημαίνει ότι έπεσε το τροφοδοτικό. "
433
  "Προσπαθήστε ξανά αργότερα."
434
 
435
- #: lib/yith-dashboard.php:99
436
- msgctxt "Plugin FW"
437
- msgid "View Changelog"
438
- msgstr "Προβολή Αρχείου Καταγραφής"
439
-
440
- #: lib/yith-dashboard.php:100
441
- msgctxt "Plugin FW"
442
- msgid "Latest update released on"
443
- msgstr "Τελευταία αναβάθμιση κυκλοφόρησε στις"
444
-
445
- #: lib/yith-dashboard.php:143
446
- msgctxt "Button label"
447
- msgid "Close"
448
- msgstr "Απενεργοποίηση"
449
-
450
- #: lib/yith-gutenberg.php:134
451
- msgctxt "[gutenberg]: Category Name"
452
- msgid "YITH"
453
- msgstr "YITH"
454
-
455
- #: lib/yith-system-status.php:97 lib/yith-system-status.php:98
456
- msgid "System Status"
457
- msgstr "Κατάσταση Συστήματος"
458
-
459
- #: lib/yith-system-status.php:104
460
  msgid "WordPress Version"
461
  msgstr "Έκδοση WordPress"
462
 
463
- #: lib/yith-system-status.php:105
464
  msgid "WooCommerce Version"
465
  msgstr "Έκδοση WooCommerce"
466
 
467
- #: lib/yith-system-status.php:106
468
  msgid "Available Memory"
469
  msgstr "Διαθέσιμη Μνήμη"
470
 
471
- #: lib/yith-system-status.php:107
472
  msgid "PHP Version"
473
  msgstr "Έκδοση PHP"
474
 
475
- #: lib/yith-system-status.php:108
476
  msgid "TLS Version"
477
  msgstr "Έκδοση TLS"
478
 
479
- #: lib/yith-system-status.php:109
480
  msgid "WordPress Cron"
481
  msgstr "WordPress Cron"
482
 
483
- #: lib/yith-system-status.php:110
484
  msgid "SimpleXML"
485
  msgstr "SimpleXML"
486
 
487
- #: lib/yith-system-status.php:111
488
  msgid "MultiByte String"
489
  msgstr "MultiByte String"
490
 
491
- #: lib/yith-system-status.php:112
492
  msgid "ImageMagick Version"
493
  msgstr "Έκδοση ImageMagick"
494
 
495
- #: lib/yith-system-status.php:113
496
  msgid "GD Library"
497
  msgstr "Βιβλιοθήκη GD"
498
 
499
- #: lib/yith-system-status.php:114
500
  msgid "Iconv Module"
501
  msgstr "Άρθρωμα Iconv"
502
 
503
- #: lib/yith-system-status.php:115
504
  msgid "OPCache Save Comments"
505
  msgstr "OPCache Save Comments"
506
 
507
- #: lib/yith-system-status.php:116
508
  msgid "URL FOpen"
509
  msgstr "URL FOpen"
510
 
511
- #: lib/yith-system-status.php:173
 
 
 
 
512
  msgid "YITH Plugins"
513
  msgstr "Πρόσθετα YITH"
514
 
515
- #: lib/yith-system-status.php:174
516
  msgid "WooCommerce"
517
  msgstr "WooCommerce"
518
 
519
- #: lib/yith-system-status.php:291
520
  msgid "Warning!"
521
  msgstr "Προσοχή!"
522
 
523
- #: lib/yith-system-status.php:292
524
- #, php-format
525
  msgid ""
526
  "The system check has detected some compatibility issues on your "
527
  "installation. %sClick here%s to know more"
@@ -535,7 +446,6 @@ msgstr "Αναζήτηση Πελατών"
535
 
536
  #: templates/fields/ajax-customers.php:83
537
  #: templates/fields/ajax-customers.php:93
538
- #, php-format
539
  msgid "%1$s (#%2$s &ndash; %3$s)"
540
  msgstr "%1$s (#%2$s &ndash; %3$s)"
541
 
@@ -603,16 +513,6 @@ msgstr "Προσθέστε εικόνες"
603
  msgid "Delete"
604
  msgstr "Διαγραφή"
605
 
606
- #: templates/fields/onoff.php:24
607
- msgctxt "ON/OFF button: use MAX 3 characters!"
608
- msgid "ON"
609
- msgstr "ΕΝΕΡΓΟΠΟΙΗΣΗ"
610
-
611
- #: templates/fields/onoff.php:25
612
- msgctxt "ON/OFF button: use MAX 3 characters!"
613
- msgid "OFF"
614
- msgstr "ΑΠΕΝΕΡΓΟΠΟΙΗΣΗ"
615
-
616
  #: templates/fields/select-buttons.php:21
617
  msgid "Add All"
618
  msgstr "Προσθήκη Όλων"
@@ -659,12 +559,10 @@ msgid "Image preview"
659
  msgstr "Προεπισκόπηση εικόνας"
660
 
661
  #: templates/metaboxes/types/icon-list.php:90
662
- #, php-format
663
  msgid "(Default: %s <img src=\"%s\"/>)"
664
  msgstr "(Default: %s <img src=“%s”/>)"
665
 
666
  #: templates/metaboxes/types/icon-list.php:92
667
- #, php-format
668
  msgid "(Default: <i %s></i> )"
669
  msgstr "(Default: <i %s></i> )"
670
 
@@ -697,18 +595,15 @@ msgid "N/A"
697
  msgstr "N/A"
698
 
699
  #: templates/sysinfo/system-information-panel.php:96
700
- #, php-format
701
  msgid "%s needs %s enabled"
702
  msgstr "%s χρειάζεται %s ενεργοποιημένο"
703
 
704
  #: templates/sysinfo/system-information-panel.php:98
705
- #, php-format
706
  msgid "%s needs at least %s of available memory"
707
  msgstr "%s χρειάζεται τουλάχιστον %s διαθέσιμης μνήμης"
708
 
709
  #: templates/sysinfo/system-information-panel.php:100
710
  #: templates/sysinfo/system-information-panel.php:149
711
- #, php-format
712
  msgid ""
713
  "For optimal functioning of our plugins, we suggest setting at least %s of "
714
  "available memory"
@@ -719,7 +614,6 @@ msgstr ""
719
  #: templates/sysinfo/system-information-panel.php:102
720
  #: templates/sysinfo/system-information-panel.php:137
721
  #: templates/sysinfo/system-information-panel.php:151
722
- #, php-format
723
  msgid ""
724
  "Read more %s here%s or contact your hosting company in order to increase it."
725
  msgstr ""
@@ -727,7 +621,6 @@ msgstr ""
727
  "να το βελτιώσετε."
728
 
729
  #: templates/sysinfo/system-information-panel.php:105
730
- #, php-format
731
  msgid "%s needs at least %s version"
732
  msgstr "%s χρειάζεται τουλάχιστον %s έκδοση"
733
 
@@ -744,7 +637,6 @@ msgid "Contact your hosting company in order to update it."
744
  msgstr "Επικοινωνήστε με την εταιρεία hosting σας για να αναβαθμίσετε."
745
 
746
  #: templates/sysinfo/system-information-panel.php:126
747
- #, php-format
748
  msgid "Remove %s from %s file"
749
  msgstr "Αφαίρεση %s από αρχείο %s"
750
 
@@ -781,6 +673,123 @@ msgstr "Πίσω στο πάνελ Συστήματος"
781
  msgid "Back to top"
782
  msgstr "Πίσω στην κορυφή"
783
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
784
  #: yit-plugin.php:83
785
  msgctxt "Plugin Row Meta"
786
  msgid "Live Demo"
@@ -806,6 +815,10 @@ msgctxt "Action links"
806
  msgid "Settings"
807
  msgstr "Ρυθμίσεις"
808
 
809
- #: yit-plugin.php:194
810
- msgid "License"
811
- msgstr "Άδεια χρήσης προϊόντος"
 
 
 
 
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
6
+ "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2020-04-23 06:38:32+00:00\n"
8
+ "PO-Revision-Date: 2020-04-06 10:45+0200\n"
9
+ "Last-Translator: \n"
10
  "Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
11
+ "Language: el_GR\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
20
  "X-Poedit-SourceCharset: UTF-8\n"
21
  "X-Poedit-Basepath: ..\n"
22
  "X-Textdomain-Support: yes\n"
 
 
23
  "X-Poedit-SearchPath-0: .\n"
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  #: lib/yit-cpt-unlimited.php:462 lib/yit-cpt-unlimited.php:576
26
  #: lib/yit-cpt-unlimited.php:721 lib/yit-cpt-unlimited.php:1636
 
27
  msgid "Add %s"
28
  msgstr "Προσθήκη %s"
29
 
30
  #: lib/yit-cpt-unlimited.php:463 lib/yit-cpt-unlimited.php:577
 
31
  msgid "Add New %s"
32
  msgstr "Προσθήκη Νέου %s"
33
 
34
  #: lib/yit-cpt-unlimited.php:464 lib/yit-cpt-unlimited.php:578
35
  #: lib/yit-cpt-unlimited.php:1269 lib/yit-cpt-unlimited.php:1306
 
36
  msgid "Edit %s"
37
  msgstr "Επεξεργασία %s"
38
 
39
  #: lib/yit-cpt-unlimited.php:465 lib/yit-cpt-unlimited.php:579
 
40
  msgid "New %s"
41
  msgstr "Νέο %s"
42
 
43
  #: lib/yit-cpt-unlimited.php:466 lib/yit-cpt-unlimited.php:580
 
44
  msgid "All %s"
45
  msgstr "Όλα %s"
46
 
47
  #: lib/yit-cpt-unlimited.php:467 lib/yit-cpt-unlimited.php:581
48
  #: lib/yit-cpt-unlimited.php:1253 lib/yit-cpt-unlimited.php:1307
 
49
  msgid "View %s"
50
  msgstr "Προβολή %s"
51
 
52
  #: lib/yit-cpt-unlimited.php:468 lib/yit-cpt-unlimited.php:582
 
53
  msgid "Search %s"
54
  msgstr "Αναζήτηση %s"
55
 
56
  #: lib/yit-cpt-unlimited.php:469 lib/yit-cpt-unlimited.php:583
 
57
  msgid "No %s found"
58
  msgstr "Δεν βρέθηκε %s"
59
 
60
  #: lib/yit-cpt-unlimited.php:470 lib/yit-cpt-unlimited.php:584
 
61
  msgid "No %s found in Trash"
62
  msgstr "Δεν βρέθηκε %s στον Κάδο Ανακύκλωσης"
63
 
 
 
 
 
 
 
 
 
 
 
 
64
  #: lib/yit-cpt-unlimited.php:629 templates/fields/ajax-terms.php:56
65
  msgid "Search Categories"
66
  msgstr "Αναζήτηση Κατηγοριών"
102
  msgstr "Κατηγορίες"
103
 
104
  #: lib/yit-cpt-unlimited.php:1044
 
105
  msgid "%s Settings"
106
  msgstr "Ρυθμίσεις %s"
107
 
115
  msgstr "Τύπος"
116
 
117
  #: lib/yit-cpt-unlimited.php:1054
 
118
  msgid "Layout for this %s"
119
  msgstr "Διάταξη για %s"
120
 
186
  msgstr "Γρήγορα λινκ"
187
 
188
  #: lib/yit-cpt-unlimited.php:1477
 
189
  msgid "Show frontend of the %s"
190
  msgstr "Προβολή εμφάνισης του %s"
191
 
195
  msgstr "Όνομα"
196
 
197
  #: lib/yit-cpt-unlimited.php:1635
 
198
  msgid "Add %s from images"
199
  msgstr "Προσθήκη %s από εικόνες"
200
 
202
  msgid "Upload multiple files"
203
  msgstr "Ανέβασμα πολλαπλών αρχείων"
204
 
205
+ #: lib/yit-plugin-panel-wc.php:399
206
  msgid "The changes you have made will be lost if you leave this page."
207
  msgstr ""
208
  "Οι αλλαγές που έχετε δημιουργήσει θα χαθούν αν αφήσετε αυτήν την σελίδα."
211
  msgid "Plugin Settings"
212
  msgstr "Ρυθμίσεις Προσθέτου"
213
 
214
+ #: lib/yit-plugin-panel.php:455 lib/yit-plugin-panel.php:458
215
  msgid "How to install premium version"
216
  msgstr "Πώς να εγκαταστήσετε την προηγμένη έκδοση"
217
 
218
+ #: lib/yit-plugin-panel.php:603 lib/yit-plugin-subpanel.php:151
219
  #: templates/panel/woocommerce/woocommerce-form.php:14
220
  msgid "Save Changes"
221
  msgstr "Αποθήκευση Αλλαγών"
222
 
223
+ #: lib/yit-plugin-panel.php:606 lib/yit-plugin-subpanel.php:154
224
  #: templates/panel/woocommerce/woocommerce-form.php:17
225
  msgid ""
226
  "If you continue with this action, you will reset all options in this page."
228
  "Αν συνεχίσετε με αυτή την ενέργεια θα επαναφέρετε όλες τις επιλογές στη "
229
  "σελίδα."
230
 
231
+ #: lib/yit-plugin-panel.php:608 lib/yit-plugin-subpanel.php:156
232
  msgid "Reset to default"
233
  msgstr "Επαναφορά σε προεπιλεγμένο"
234
 
235
+ #: lib/yit-plugin-panel.php:609 lib/yit-plugin-subpanel.php:157
236
  #: templates/panel/woocommerce/woocommerce-form.php:21
237
  msgid "Are you sure?"
238
  msgstr "Είστε σίγουρος;"
239
 
240
+ #: lib/yit-plugin-panel.php:807
241
  msgid ""
242
  "The element you have entered already exists. Please, enter another name."
243
+ msgstr "Το στοιχείο που εισάγατε υπάρχει ήδη. Παρακαλώ, εισάγετε άλλο όνομα."
244
 
245
+ #: lib/yit-plugin-panel.php:808
246
  msgid "Settings saved"
247
  msgstr "Ρυθμίσεις αποθηκεύτηκαν"
248
 
249
+ #: lib/yit-plugin-panel.php:809
250
  msgid "Settings reset"
251
  msgstr "Επαναφορά ρυθμίσεων"
252
 
253
+ #: lib/yit-plugin-panel.php:810
254
  msgid "Element deleted correctly."
255
  msgstr "Το στοιχείο διαγράφηκε επιτυχώς."
256
 
257
+ #: lib/yit-plugin-panel.php:811 lib/yit-plugin-panel.php:812
258
  msgid "Element updated correctly."
259
  msgstr "Το στοιχείο αναβαθμίστηκε επιτυχώς."
260
 
261
+ #: lib/yit-plugin-panel.php:813
262
  msgid "Database imported correctly."
263
  msgstr "Επιτυχής εισαγωγή βάσης δεδομένων."
264
 
265
+ #: lib/yit-plugin-panel.php:814
266
  msgid "An error has occurred during import. Please try again."
267
  msgstr "Παρουσιάστηκε σφάλμα κατά την εισαγωγή. Παρακαλώ προσπαθήστε ξανά."
268
 
269
+ #: lib/yit-plugin-panel.php:815
270
  msgid "The added file is not valid."
271
  msgstr "Το προστιθέμενο αρχείο δεν είναι έγκυρο."
272
 
273
+ #: lib/yit-plugin-panel.php:816
274
  msgid "Sorry, import is disabled."
275
  msgstr "Συγνώμη, η εισαγωγή είναι απενεργοποιημένη."
276
 
277
+ #: lib/yit-plugin-panel.php:817
278
  msgid "Sorting successful."
279
  msgstr "Διαλογή επιτυχής."
280
 
281
+ #: lib/yit-plugin-panel.php:1265
282
  msgid "We need your support"
283
  msgstr "Χρειαζόμαστε την υποστήριξή σας"
284
 
285
+ #: lib/yit-plugin-panel.php:1266
286
  msgid "to keep updating and improving the plugin. Please,"
287
  msgstr ""
288
+ "για να διατηρήσετε την ενημέρωση και τη βελτίωση του πρόσθετου. Παρακαλώ,"
289
 
290
+ #: lib/yit-plugin-panel.php:1268
291
  msgid "help us by leaving a five-star rating"
292
+ msgstr "βοηθήστε μας αφήνοντας μια βαθμολογία πέντε αστέρων"
293
 
294
+ #: lib/yit-plugin-panel.php:1269
295
  msgid ":) Thanks!"
296
  msgstr ":) Ευχαριστώ!"
297
 
316
 
317
  #: lib/yit-pointers.php:74 lib/yit-pointers.php:90
318
  msgid "and"
319
+ msgstr "και"
320
 
321
  #: lib/yit-pointers.php:84
322
  msgid "Plugins Upgraded"
364
  "Παρουσιάστηκε σφάλμα, που πιθανότατα σημαίνει ότι έπεσε το τροφοδοτικό. "
365
  "Προσπαθήστε ξανά αργότερα."
366
 
367
+ #: lib/yith-system-status.php:105
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
368
  msgid "WordPress Version"
369
  msgstr "Έκδοση WordPress"
370
 
371
+ #: lib/yith-system-status.php:106
372
  msgid "WooCommerce Version"
373
  msgstr "Έκδοση WooCommerce"
374
 
375
+ #: lib/yith-system-status.php:107
376
  msgid "Available Memory"
377
  msgstr "Διαθέσιμη Μνήμη"
378
 
379
+ #: lib/yith-system-status.php:108
380
  msgid "PHP Version"
381
  msgstr "Έκδοση PHP"
382
 
383
+ #: lib/yith-system-status.php:109
384
  msgid "TLS Version"
385
  msgstr "Έκδοση TLS"
386
 
387
+ #: lib/yith-system-status.php:110
388
  msgid "WordPress Cron"
389
  msgstr "WordPress Cron"
390
 
391
+ #: lib/yith-system-status.php:111
392
  msgid "SimpleXML"
393
  msgstr "SimpleXML"
394
 
395
+ #: lib/yith-system-status.php:112
396
  msgid "MultiByte String"
397
  msgstr "MultiByte String"
398
 
399
+ #: lib/yith-system-status.php:113
400
  msgid "ImageMagick Version"
401
  msgstr "Έκδοση ImageMagick"
402
 
403
+ #: lib/yith-system-status.php:114
404
  msgid "GD Library"
405
  msgstr "Βιβλιοθήκη GD"
406
 
407
+ #: lib/yith-system-status.php:115
408
  msgid "Iconv Module"
409
  msgstr "Άρθρωμα Iconv"
410
 
411
+ #: lib/yith-system-status.php:116
412
  msgid "OPCache Save Comments"
413
  msgstr "OPCache Save Comments"
414
 
415
+ #: lib/yith-system-status.php:117
416
  msgid "URL FOpen"
417
  msgstr "URL FOpen"
418
 
419
+ #: lib/yith-system-status.php:135 lib/yith-system-status.php:136
420
+ msgid "System Status"
421
+ msgstr "Κατάσταση Συστήματος"
422
+
423
+ #: lib/yith-system-status.php:179
424
  msgid "YITH Plugins"
425
  msgstr "Πρόσθετα YITH"
426
 
427
+ #: lib/yith-system-status.php:180
428
  msgid "WooCommerce"
429
  msgstr "WooCommerce"
430
 
431
+ #: lib/yith-system-status.php:297
432
  msgid "Warning!"
433
  msgstr "Προσοχή!"
434
 
435
+ #: lib/yith-system-status.php:298
 
436
  msgid ""
437
  "The system check has detected some compatibility issues on your "
438
  "installation. %sClick here%s to know more"
446
 
447
  #: templates/fields/ajax-customers.php:83
448
  #: templates/fields/ajax-customers.php:93
 
449
  msgid "%1$s (#%2$s &ndash; %3$s)"
450
  msgstr "%1$s (#%2$s &ndash; %3$s)"
451
 
513
  msgid "Delete"
514
  msgstr "Διαγραφή"
515
 
 
 
 
 
 
 
 
 
 
 
516
  #: templates/fields/select-buttons.php:21
517
  msgid "Add All"
518
  msgstr "Προσθήκη Όλων"
559
  msgstr "Προεπισκόπηση εικόνας"
560
 
561
  #: templates/metaboxes/types/icon-list.php:90
 
562
  msgid "(Default: %s <img src=\"%s\"/>)"
563
  msgstr "(Default: %s <img src=“%s”/>)"
564
 
565
  #: templates/metaboxes/types/icon-list.php:92
 
566
  msgid "(Default: <i %s></i> )"
567
  msgstr "(Default: <i %s></i> )"
568
 
595
  msgstr "N/A"
596
 
597
  #: templates/sysinfo/system-information-panel.php:96
 
598
  msgid "%s needs %s enabled"
599
  msgstr "%s χρειάζεται %s ενεργοποιημένο"
600
 
601
  #: templates/sysinfo/system-information-panel.php:98
 
602
  msgid "%s needs at least %s of available memory"
603
  msgstr "%s χρειάζεται τουλάχιστον %s διαθέσιμης μνήμης"
604
 
605
  #: templates/sysinfo/system-information-panel.php:100
606
  #: templates/sysinfo/system-information-panel.php:149
 
607
  msgid ""
608
  "For optimal functioning of our plugins, we suggest setting at least %s of "
609
  "available memory"
614
  #: templates/sysinfo/system-information-panel.php:102
615
  #: templates/sysinfo/system-information-panel.php:137
616
  #: templates/sysinfo/system-information-panel.php:151
 
617
  msgid ""
618
  "Read more %s here%s or contact your hosting company in order to increase it."
619
  msgstr ""
621
  "να το βελτιώσετε."
622
 
623
  #: templates/sysinfo/system-information-panel.php:105
 
624
  msgid "%s needs at least %s version"
625
  msgstr "%s χρειάζεται τουλάχιστον %s έκδοση"
626
 
637
  msgstr "Επικοινωνήστε με την εταιρεία hosting σας για να αναβαθμίσετε."
638
 
639
  #: templates/sysinfo/system-information-panel.php:126
 
640
  msgid "Remove %s from %s file"
641
  msgstr "Αφαίρεση %s από αρχείο %s"
642
 
673
  msgid "Back to top"
674
  msgstr "Πίσω στην κορυφή"
675
 
676
+ #: yit-plugin.php:194
677
+ msgid "License"
678
+ msgstr "Άδεια χρήσης προϊόντος"
679
+
680
+ #. Author of the plugin/theme
681
+ msgid "YITH"
682
+ msgstr "YITH"
683
+
684
+ #: lib/privacy/yit-privacy.php:24
685
+ msgctxt "Privacy Policy Guide Title"
686
+ msgid "YITH Plugins"
687
+ msgstr "Πρόσθετα YITH"
688
+
689
+ #: lib/privacy/yit-privacy.php:59
690
+ msgctxt "Privacy Policy Content"
691
+ msgid ""
692
+ "This sample language includes the basics around what personal data your "
693
+ "store may be collecting, storing and sharing, as well as who may have access "
694
+ "to that data. Depending on what settings are enabled and which additional "
695
+ "plugins are used, the specific information shared by your store will vary. "
696
+ "We recommend consulting with a lawyer when deciding what information to "
697
+ "disclose on your privacy policy."
698
+ msgstr ""
699
+ "Αυτό το δείγμα γλώσσας περιλαμβάνει τα βασικά στοιχεία γύρω από το τι "
700
+ "προσωπικά δεδομένα το κατάστημά σας μπορεί να συλλέγει, την αποθήκευση και "
701
+ "την κοινή χρήση, καθώς και ποιοι μπορεί να έχουν πρόσβαση σε αυτά τα "
702
+ "δεδομένα. Ανάλογα με τις ρυθμίσεις που είναι ενεργοποιημένες και ποια "
703
+ "επιπλέον πρόσθετα χρησιμοποιούνται, οι συγκεκριμένες πληροφορίες που "
704
+ "κοινοποιούνται από το κατάστημά σας θα ποικίλλουν. Συνιστούμε τη διαβούλευση "
705
+ "με έναν δικηγόρο, όταν αποφασίζετε ποιες πληροφορίες να αποκαλύπτετε στην "
706
+ "πολιτική απορρήτου σας."
707
+
708
+ #: lib/privacy/yit-privacy.php:63
709
+ msgctxt "Privacy Policy Content"
710
+ msgid "What we collect and store"
711
+ msgstr "Τι συλλέγουμε και αποθηκεύουμε"
712
+
713
+ #: lib/privacy/yit-privacy.php:66
714
+ msgctxt "Privacy Policy Content"
715
+ msgid "Who on our team has access"
716
+ msgstr "Ποιος στην ομάδα μας έχει πρόσβαση"
717
+
718
+ #: lib/privacy/yit-privacy.php:69
719
+ msgctxt "Privacy Policy Content"
720
+ msgid "What we share with others"
721
+ msgstr "Τι μοιραζόμαστε με τους άλλους"
722
+
723
+ #: lib/privacy/yit-privacy.php:72
724
+ msgctxt "Privacy Policy Content"
725
+ msgid "Payments"
726
+ msgstr "Πληρωμές"
727
+
728
+ #: lib/yit-cpt-unlimited.php:627
729
+ msgctxt "taxonomy general name"
730
+ msgid "%s Categories"
731
+ msgstr "Κατηγορίες %s"
732
+
733
+ #: lib/yit-cpt-unlimited.php:628
734
+ msgctxt "taxonomy singular name"
735
+ msgid "Category"
736
+ msgstr "Κατηγορία"
737
+
738
+ #: lib/yith-dashboard.php:99
739
+ msgctxt "Plugin FW"
740
+ msgid "View Changelog"
741
+ msgstr "Προβολή Αρχείου Καταγραφής"
742
+
743
+ #: lib/yith-dashboard.php:100
744
+ msgctxt "Plugin FW"
745
+ msgid "Latest update released on"
746
+ msgstr "Τελευταία αναβάθμιση κυκλοφόρησε στις"
747
+
748
+ #: lib/yith-dashboard.php:143
749
+ msgctxt "Button label"
750
+ msgid "Close"
751
+ msgstr "Απενεργοποίηση"
752
+
753
+ #: lib/yith-gutenberg.php:134
754
+ msgctxt "[gutenberg]: Category Name"
755
+ msgid "YITH"
756
+ msgstr "YITH"
757
+
758
+ #: templates/fields/dimensions.php:16
759
+ msgctxt "Position in the \"Dimensions\" field"
760
+ msgid "Top"
761
+ msgstr ""
762
+
763
+ #: templates/fields/dimensions.php:17
764
+ msgctxt "Position in the \"Dimensions\" field"
765
+ msgid "Right"
766
+ msgstr ""
767
+
768
+ #: templates/fields/dimensions.php:18
769
+ msgctxt "Position in the \"Dimensions\" field"
770
+ msgid "Bottom"
771
+ msgstr ""
772
+
773
+ #: templates/fields/dimensions.php:19
774
+ msgctxt "Position in the \"Dimensions\" field"
775
+ msgid "Left"
776
+ msgstr ""
777
+
778
+ #: templates/fields/dimensions.php:117
779
+ msgctxt "Tooltip in the \"Dimensions\" field"
780
+ msgid "Link values together"
781
+ msgstr ""
782
+
783
+ #: templates/fields/onoff.php:24
784
+ msgctxt "YES/NO button: use MAX 3 characters!"
785
+ msgid "YES"
786
+ msgstr "ΝΑΙ"
787
+
788
+ #: templates/fields/onoff.php:25
789
+ msgctxt "YES/NO button: use MAX 3 characters!"
790
+ msgid "NO"
791
+ msgstr "ΟΧΙ"
792
+
793
  #: yit-plugin.php:83
794
  msgctxt "Plugin Row Meta"
795
  msgid "Live Demo"
815
  msgid "Settings"
816
  msgstr "Ρυθμίσεις"
817
 
818
+ #~ msgctxt "ON/OFF button: use MAX 3 characters!"
819
+ #~ msgid "ON"
820
+ #~ msgstr "ΕΝΕΡΓΟΠΟΙΗΣΗ"
821
+
822
+ #~ msgctxt "ON/OFF button: use MAX 3 characters!"
823
+ #~ msgid "OFF"
824
+ #~ msgstr "ΑΠΕΝΕΡΓΟΠΟΙΗΣΗ"
plugin-fw/languages/yith-plugin-fw-es_ES.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-es_ES.po CHANGED
@@ -3,16 +3,16 @@
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
6
- "Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2020-01-14 09:59+0000\n"
8
- "PO-Revision-Date: 2020-01-14 10:23+0000\n"
9
  "Last-Translator: \n"
10
  "Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
11
  "Language: es_ES\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
- "X-Generator: Poedit 1.8.12\n"
16
  "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
17
  "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
18
  "esc_html_x:1,2c\n"
@@ -22,108 +22,45 @@ msgstr ""
22
  "X-Textdomain-Support: yes\n"
23
  "X-Poedit-SearchPath-0: .\n"
24
 
25
- #: lib/privacy/yit-privacy.php:24
26
- msgctxt "Privacy Policy Guide Title"
27
- msgid "YITH Plugins"
28
- msgstr "Plugins de YITH"
29
-
30
- #: lib/privacy/yit-privacy.php:59
31
- msgctxt "Privacy Policy Content"
32
- msgid ""
33
- "This sample language includes the basics around what personal data your "
34
- "store may be collecting, storing and sharing, as well as who may have access "
35
- "to that data. Depending on what settings are enabled and which additional "
36
- "plugins are used, the specific information shared by your store will vary. "
37
- "We recommend consulting with a lawyer when deciding what information to "
38
- "disclose on your privacy policy."
39
- msgstr ""
40
- "Este lenguaje de muestra incluye los conceptos básicos sobre qué datos "
41
- "personales puede estar recolectando, almacenando y compartiendo tu tienda, "
42
- "así como quién puede tener acceso a esos datos. Dependiendo de qué "
43
- "configuración esté habilitada y qué complementos adicionales se utilicen, la "
44
- "información específica compartida por tu tienda variará. Recomendamos "
45
- "consultar con un abogado cuando decidas qué información divulgar sobre tu "
46
- "política de privacidad."
47
-
48
- #: lib/privacy/yit-privacy.php:63
49
- msgctxt "Privacy Policy Content"
50
- msgid "What we collect and store"
51
- msgstr "Qué recopilamos y almacenamos"
52
-
53
- #: lib/privacy/yit-privacy.php:66
54
- msgctxt "Privacy Policy Content"
55
- msgid "Who on our team has access"
56
- msgstr "Quién en nuestro equipo tiene acceso"
57
-
58
- #: lib/privacy/yit-privacy.php:69
59
- msgctxt "Privacy Policy Content"
60
- msgid "What we share with others"
61
- msgstr "Qué compartimos con otros"
62
-
63
- #: lib/privacy/yit-privacy.php:72
64
- msgctxt "Privacy Policy Content"
65
- msgid "Payments"
66
- msgstr "Pagos"
67
-
68
  #: lib/yit-cpt-unlimited.php:462 lib/yit-cpt-unlimited.php:576
69
  #: lib/yit-cpt-unlimited.php:721 lib/yit-cpt-unlimited.php:1636
70
- #, php-format
71
  msgid "Add %s"
72
  msgstr "Añadir %s"
73
 
74
  #: lib/yit-cpt-unlimited.php:463 lib/yit-cpt-unlimited.php:577
75
- #, php-format
76
  msgid "Add New %s"
77
  msgstr "Añadir nuevo/a %s"
78
 
79
  #: lib/yit-cpt-unlimited.php:464 lib/yit-cpt-unlimited.php:578
80
  #: lib/yit-cpt-unlimited.php:1269 lib/yit-cpt-unlimited.php:1306
81
- #, php-format
82
  msgid "Edit %s"
83
  msgstr "Editar %s"
84
 
85
  #: lib/yit-cpt-unlimited.php:465 lib/yit-cpt-unlimited.php:579
86
- #, php-format
87
  msgid "New %s"
88
  msgstr "Nuevo/a %s"
89
 
90
  #: lib/yit-cpt-unlimited.php:466 lib/yit-cpt-unlimited.php:580
91
- #, php-format
92
  msgid "All %s"
93
  msgstr "Todo %s"
94
 
95
  #: lib/yit-cpt-unlimited.php:467 lib/yit-cpt-unlimited.php:581
96
  #: lib/yit-cpt-unlimited.php:1253 lib/yit-cpt-unlimited.php:1307
97
- #, php-format
98
  msgid "View %s"
99
  msgstr "Ver %s"
100
 
101
  #: lib/yit-cpt-unlimited.php:468 lib/yit-cpt-unlimited.php:582
102
- #, php-format
103
  msgid "Search %s"
104
  msgstr "Buscar %s"
105
 
106
  #: lib/yit-cpt-unlimited.php:469 lib/yit-cpt-unlimited.php:583
107
- #, php-format
108
  msgid "No %s found"
109
  msgstr "No se encontraron %s"
110
 
111
  #: lib/yit-cpt-unlimited.php:470 lib/yit-cpt-unlimited.php:584
112
- #, php-format
113
  msgid "No %s found in Trash"
114
  msgstr "No se encontraron %s en la papelera"
115
 
116
- #: lib/yit-cpt-unlimited.php:627
117
- #, php-format
118
- msgctxt "taxonomy general name"
119
- msgid "%s Categories"
120
- msgstr "%s Categorías"
121
-
122
- #: lib/yit-cpt-unlimited.php:628
123
- msgctxt "taxonomy singular name"
124
- msgid "Category"
125
- msgstr "Categoría"
126
-
127
  #: lib/yit-cpt-unlimited.php:629 templates/fields/ajax-terms.php:56
128
  msgid "Search Categories"
129
  msgstr "Buscar Categorías"
@@ -165,7 +102,6 @@ msgid "Categories"
165
  msgstr "Categorías"
166
 
167
  #: lib/yit-cpt-unlimited.php:1044
168
- #, php-format
169
  msgid "%s Settings"
170
  msgstr "%s Ajustes"
171
 
@@ -179,7 +115,6 @@ msgid "Type"
179
  msgstr "Tipo"
180
 
181
  #: lib/yit-cpt-unlimited.php:1054
182
- #, php-format
183
  msgid "Layout for this %s"
184
  msgstr "Diseño para este %s"
185
 
@@ -252,7 +187,6 @@ msgid "Quick links"
252
  msgstr "Enlaces rápidos"
253
 
254
  #: lib/yit-cpt-unlimited.php:1477
255
- #, php-format
256
  msgid "Show frontend of the %s"
257
  msgstr "Mostrar parte delantera de %s"
258
 
@@ -262,7 +196,6 @@ msgid "Name"
262
  msgstr "Nombre"
263
 
264
  #: lib/yit-cpt-unlimited.php:1635
265
- #, php-format
266
  msgid "Add %s from images"
267
  msgstr "Añadir %s desde imágenes"
268
 
@@ -270,7 +203,7 @@ msgstr "Añadir %s desde imágenes"
270
  msgid "Upload multiple files"
271
  msgstr "Cargar archivos múltiples"
272
 
273
- #: lib/yit-plugin-panel-wc.php:397
274
  msgid "The changes you have made will be lost if you leave this page."
275
  msgstr "Los cambios que has hecho se perderán si abandonas esta página."
276
 
@@ -278,87 +211,87 @@ msgstr "Los cambios que has hecho se perderán si abandonas esta página."
278
  msgid "Plugin Settings"
279
  msgstr "Ajustes del plugin"
280
 
281
- #: lib/yit-plugin-panel.php:424 lib/yit-plugin-panel.php:427
282
  msgid "How to install premium version"
283
  msgstr "Cómo instalar la versión premium"
284
 
285
- #: lib/yit-plugin-panel.php:571 lib/yit-plugin-subpanel.php:151
286
  #: templates/panel/woocommerce/woocommerce-form.php:14
287
  msgid "Save Changes"
288
  msgstr "Guardar cambios"
289
 
290
- #: lib/yit-plugin-panel.php:574 lib/yit-plugin-subpanel.php:154
291
  #: templates/panel/woocommerce/woocommerce-form.php:17
292
  msgid ""
293
  "If you continue with this action, you will reset all options in this page."
294
  msgstr ""
295
  "Si sigues con esta acción, se reiniciarán todas las opciones en esta página."
296
 
297
- #: lib/yit-plugin-panel.php:576 lib/yit-plugin-subpanel.php:156
298
  msgid "Reset to default"
299
  msgstr "Restablecer a predeterminado"
300
 
301
- #: lib/yit-plugin-panel.php:577 lib/yit-plugin-subpanel.php:157
302
  #: templates/panel/woocommerce/woocommerce-form.php:21
303
  msgid "Are you sure?"
304
  msgstr "¿Estás seguro/a?"
305
 
306
- #: lib/yit-plugin-panel.php:775
307
  msgid ""
308
  "The element you have entered already exists. Please, enter another name."
309
  msgstr ""
310
  "El elemento que has introducido ya existe. Por favor, introduce otro nombre."
311
 
312
- #: lib/yit-plugin-panel.php:776
313
  msgid "Settings saved"
314
  msgstr "Ajustes guardados"
315
 
316
- #: lib/yit-plugin-panel.php:777
317
  msgid "Settings reset"
318
  msgstr "Ajustes reiniciados"
319
 
320
- #: lib/yit-plugin-panel.php:778
321
  msgid "Element deleted correctly."
322
  msgstr "Elemento borrado correctamente."
323
 
324
- #: lib/yit-plugin-panel.php:779 lib/yit-plugin-panel.php:780
325
  msgid "Element updated correctly."
326
  msgstr "Elemento actualizado correctamente."
327
 
328
- #: lib/yit-plugin-panel.php:781
329
  msgid "Database imported correctly."
330
  msgstr "Base de datos importada correctamente."
331
 
332
- #: lib/yit-plugin-panel.php:782
333
  msgid "An error has occurred during import. Please try again."
334
  msgstr ""
335
  "Ha ocurrido un error durante la importación. Por favor, inténtalo de nuevo."
336
 
337
- #: lib/yit-plugin-panel.php:783
338
  msgid "The added file is not valid."
339
  msgstr "El archivo añadido no es válido."
340
 
341
- #: lib/yit-plugin-panel.php:784
342
  msgid "Sorry, import is disabled."
343
  msgstr "Lo sentimos, la importación está deshabilitada."
344
 
345
- #: lib/yit-plugin-panel.php:785
346
  msgid "Sorting successful."
347
  msgstr "Clasificación fue realizada con éxito."
348
 
349
- #: lib/yit-plugin-panel.php:1233
350
  msgid "We need your support"
351
  msgstr "Necesitamos tu ayuda"
352
 
353
- #: lib/yit-plugin-panel.php:1234
354
  msgid "to keep updating and improving the plugin. Please,"
355
  msgstr "para seguir actualizando y mejora el plugin. Por favor,"
356
 
357
- #: lib/yit-plugin-panel.php:1236
358
  msgid "help us by leaving a five-star rating"
359
  msgstr "ayúdanos dejando una valoración de 5 estrellas"
360
 
361
- #: lib/yit-plugin-panel.php:1237
362
  msgid ":) Thanks!"
363
  msgstr ":) ¡Gracias!"
364
 
@@ -432,96 +365,75 @@ msgstr ""
432
  "Ha ocurrido un error, lo que probablemente significa que el feed está caído. "
433
  "Inténtalo de nuevo más tarde."
434
 
435
- #: lib/yith-dashboard.php:99
436
- msgctxt "Plugin FW"
437
- msgid "View Changelog"
438
- msgstr "Ver registro de cambios"
439
-
440
- #: lib/yith-dashboard.php:100
441
- msgctxt "Plugin FW"
442
- msgid "Latest update released on"
443
- msgstr "Última actualización publicada el"
444
-
445
- #: lib/yith-dashboard.php:143
446
- msgctxt "Button label"
447
- msgid "Close"
448
- msgstr "Cerrar"
449
-
450
- #: lib/yith-gutenberg.php:134
451
- msgctxt "[gutenberg]: Category Name"
452
- msgid "YITH"
453
- msgstr "YITH"
454
-
455
- #: lib/yith-system-status.php:97 lib/yith-system-status.php:98
456
- msgid "System Status"
457
- msgstr "Estado del sistema"
458
-
459
- #: lib/yith-system-status.php:104
460
  msgid "WordPress Version"
461
  msgstr "Versión de WordPress"
462
 
463
- #: lib/yith-system-status.php:105
464
  msgid "WooCommerce Version"
465
  msgstr "Versión de WooCommerce"
466
 
467
- #: lib/yith-system-status.php:106
468
  msgid "Available Memory"
469
  msgstr "Memoria disponible"
470
 
471
- #: lib/yith-system-status.php:107
472
  msgid "PHP Version"
473
  msgstr "Versión PHP"
474
 
475
- #: lib/yith-system-status.php:108
476
  msgid "TLS Version"
477
  msgstr "Versión TLS"
478
 
479
- #: lib/yith-system-status.php:109
480
  msgid "WordPress Cron"
481
  msgstr "Cron de WordPress"
482
 
483
- #: lib/yith-system-status.php:110
484
  msgid "SimpleXML"
485
  msgstr "SimpleXML"
486
 
487
- #: lib/yith-system-status.php:111
488
  msgid "MultiByte String"
489
  msgstr "Cadena MultiByte"
490
 
491
- #: lib/yith-system-status.php:112
492
  msgid "ImageMagick Version"
493
  msgstr "Versión ImageMagick"
494
 
495
- #: lib/yith-system-status.php:113
496
  msgid "GD Library"
497
  msgstr "Biblioteca GD"
498
 
499
- #: lib/yith-system-status.php:114
500
  msgid "Iconv Module"
501
  msgstr "Módulo Iconv"
502
 
503
- #: lib/yith-system-status.php:115
504
  msgid "OPCache Save Comments"
505
  msgstr "Guardar comentarios OPCache"
506
 
507
- #: lib/yith-system-status.php:116
508
  msgid "URL FOpen"
509
  msgstr "URL FOpen"
510
 
511
- #: lib/yith-system-status.php:173
 
 
 
 
512
  msgid "YITH Plugins"
513
  msgstr "Plugins de YITH"
514
 
515
- #: lib/yith-system-status.php:174
516
  msgid "WooCommerce"
517
  msgstr "WooCommerce"
518
 
519
- #: lib/yith-system-status.php:291
520
  msgid "Warning!"
521
  msgstr "¡Atención! "
522
 
523
- #: lib/yith-system-status.php:292
524
- #, php-format
525
  msgid ""
526
  "The system check has detected some compatibility issues on your "
527
  "installation. %sClick here%s to know more"
@@ -535,7 +447,6 @@ msgstr "Buscar clientes"
535
 
536
  #: templates/fields/ajax-customers.php:83
537
  #: templates/fields/ajax-customers.php:93
538
- #, php-format
539
  msgid "%1$s (#%2$s &ndash; %3$s)"
540
  msgstr "%1$s (#%2$s &ndash; %3$s)"
541
 
@@ -603,16 +514,6 @@ msgstr "Añadir imágenes"
603
  msgid "Delete"
604
  msgstr "Borrar"
605
 
606
- #: templates/fields/onoff.php:24
607
- msgctxt "ON/OFF button: use MAX 3 characters!"
608
- msgid "ON"
609
- msgstr "ON"
610
-
611
- #: templates/fields/onoff.php:25
612
- msgctxt "ON/OFF button: use MAX 3 characters!"
613
- msgid "OFF"
614
- msgstr "OFF"
615
-
616
  #: templates/fields/select-buttons.php:21
617
  msgid "Add All"
618
  msgstr "Añadir todo"
@@ -659,12 +560,10 @@ msgid "Image preview"
659
  msgstr "Previsualización de imagen"
660
 
661
  #: templates/metaboxes/types/icon-list.php:90
662
- #, php-format
663
  msgid "(Default: %s <img src=\"%s\"/>)"
664
  msgstr "(Por defecto: %s <img src=\"%s\"/>)"
665
 
666
  #: templates/metaboxes/types/icon-list.php:92
667
- #, php-format
668
  msgid "(Default: <i %s></i> )"
669
  msgstr "(Por defecto: <i %s></i> )"
670
 
@@ -697,18 +596,15 @@ msgid "N/A"
697
  msgstr "N/D"
698
 
699
  #: templates/sysinfo/system-information-panel.php:96
700
- #, php-format
701
  msgid "%s needs %s enabled"
702
  msgstr "%s necesita %s enabled"
703
 
704
  #: templates/sysinfo/system-information-panel.php:98
705
- #, php-format
706
  msgid "%s needs at least %s of available memory"
707
  msgstr "%s necesita al menos %s de memoria disponible"
708
 
709
  #: templates/sysinfo/system-information-panel.php:100
710
  #: templates/sysinfo/system-information-panel.php:149
711
- #, php-format
712
  msgid ""
713
  "For optimal functioning of our plugins, we suggest setting at least %s of "
714
  "available memory"
@@ -719,14 +615,12 @@ msgstr ""
719
  #: templates/sysinfo/system-information-panel.php:102
720
  #: templates/sysinfo/system-information-panel.php:137
721
  #: templates/sysinfo/system-information-panel.php:151
722
- #, php-format
723
  msgid ""
724
  "Read more %s here%s or contact your hosting company in order to increase it."
725
  msgstr ""
726
  "Lee más %s aquí%s o contacta a tu compañía de hosting para incrementarlo."
727
 
728
  #: templates/sysinfo/system-information-panel.php:105
729
- #, php-format
730
  msgid "%s needs at least %s version"
731
  msgstr "%s necesita al menos la versión %s"
732
 
@@ -743,7 +637,6 @@ msgid "Contact your hosting company in order to update it."
743
  msgstr "Contacta a tu compañía de hosting para actualizarlo."
744
 
745
  #: templates/sysinfo/system-information-panel.php:126
746
- #, php-format
747
  msgid "Remove %s from %s file"
748
  msgstr "Eliminar %s del archivo %s"
749
 
@@ -780,6 +673,123 @@ msgstr "Volver al panel del Sistema"
780
  msgid "Back to top"
781
  msgstr "Volver arriba"
782
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
783
  #: yit-plugin.php:83
784
  msgctxt "Plugin Row Meta"
785
  msgid "Live Demo"
@@ -805,9 +815,13 @@ msgctxt "Action links"
805
  msgid "Settings"
806
  msgstr "Ajustes"
807
 
808
- #: yit-plugin.php:194
809
- msgid "License"
810
- msgstr "Licencia"
 
 
 
 
811
 
812
  #~ msgid "An unexpected error occurred, please try again later. Thanks!"
813
  #~ msgstr ""
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
6
+ "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2020-04-23 06:38:32+00:00\n"
8
+ "PO-Revision-Date: 2020-04-06 10:45+0200\n"
9
  "Last-Translator: \n"
10
  "Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
11
  "Language: es_ES\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 2.2.1\n"
16
  "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
17
  "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
18
  "esc_html_x:1,2c\n"
22
  "X-Textdomain-Support: yes\n"
23
  "X-Poedit-SearchPath-0: .\n"
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  #: lib/yit-cpt-unlimited.php:462 lib/yit-cpt-unlimited.php:576
26
  #: lib/yit-cpt-unlimited.php:721 lib/yit-cpt-unlimited.php:1636
 
27
  msgid "Add %s"
28
  msgstr "Añadir %s"
29
 
30
  #: lib/yit-cpt-unlimited.php:463 lib/yit-cpt-unlimited.php:577
 
31
  msgid "Add New %s"
32
  msgstr "Añadir nuevo/a %s"
33
 
34
  #: lib/yit-cpt-unlimited.php:464 lib/yit-cpt-unlimited.php:578
35
  #: lib/yit-cpt-unlimited.php:1269 lib/yit-cpt-unlimited.php:1306
 
36
  msgid "Edit %s"
37
  msgstr "Editar %s"
38
 
39
  #: lib/yit-cpt-unlimited.php:465 lib/yit-cpt-unlimited.php:579
 
40
  msgid "New %s"
41
  msgstr "Nuevo/a %s"
42
 
43
  #: lib/yit-cpt-unlimited.php:466 lib/yit-cpt-unlimited.php:580
 
44
  msgid "All %s"
45
  msgstr "Todo %s"
46
 
47
  #: lib/yit-cpt-unlimited.php:467 lib/yit-cpt-unlimited.php:581
48
  #: lib/yit-cpt-unlimited.php:1253 lib/yit-cpt-unlimited.php:1307
 
49
  msgid "View %s"
50
  msgstr "Ver %s"
51
 
52
  #: lib/yit-cpt-unlimited.php:468 lib/yit-cpt-unlimited.php:582
 
53
  msgid "Search %s"
54
  msgstr "Buscar %s"
55
 
56
  #: lib/yit-cpt-unlimited.php:469 lib/yit-cpt-unlimited.php:583
 
57
  msgid "No %s found"
58
  msgstr "No se encontraron %s"
59
 
60
  #: lib/yit-cpt-unlimited.php:470 lib/yit-cpt-unlimited.php:584
 
61
  msgid "No %s found in Trash"
62
  msgstr "No se encontraron %s en la papelera"
63
 
 
 
 
 
 
 
 
 
 
 
 
64
  #: lib/yit-cpt-unlimited.php:629 templates/fields/ajax-terms.php:56
65
  msgid "Search Categories"
66
  msgstr "Buscar Categorías"
102
  msgstr "Categorías"
103
 
104
  #: lib/yit-cpt-unlimited.php:1044
 
105
  msgid "%s Settings"
106
  msgstr "%s Ajustes"
107
 
115
  msgstr "Tipo"
116
 
117
  #: lib/yit-cpt-unlimited.php:1054
 
118
  msgid "Layout for this %s"
119
  msgstr "Diseño para este %s"
120
 
187
  msgstr "Enlaces rápidos"
188
 
189
  #: lib/yit-cpt-unlimited.php:1477
 
190
  msgid "Show frontend of the %s"
191
  msgstr "Mostrar parte delantera de %s"
192
 
196
  msgstr "Nombre"
197
 
198
  #: lib/yit-cpt-unlimited.php:1635
 
199
  msgid "Add %s from images"
200
  msgstr "Añadir %s desde imágenes"
201
 
203
  msgid "Upload multiple files"
204
  msgstr "Cargar archivos múltiples"
205
 
206
+ #: lib/yit-plugin-panel-wc.php:399
207
  msgid "The changes you have made will be lost if you leave this page."
208
  msgstr "Los cambios que has hecho se perderán si abandonas esta página."
209
 
211
  msgid "Plugin Settings"
212
  msgstr "Ajustes del plugin"
213
 
214
+ #: lib/yit-plugin-panel.php:455 lib/yit-plugin-panel.php:458
215
  msgid "How to install premium version"
216
  msgstr "Cómo instalar la versión premium"
217
 
218
+ #: lib/yit-plugin-panel.php:603 lib/yit-plugin-subpanel.php:151
219
  #: templates/panel/woocommerce/woocommerce-form.php:14
220
  msgid "Save Changes"
221
  msgstr "Guardar cambios"
222
 
223
+ #: lib/yit-plugin-panel.php:606 lib/yit-plugin-subpanel.php:154
224
  #: templates/panel/woocommerce/woocommerce-form.php:17
225
  msgid ""
226
  "If you continue with this action, you will reset all options in this page."
227
  msgstr ""
228
  "Si sigues con esta acción, se reiniciarán todas las opciones en esta página."
229
 
230
+ #: lib/yit-plugin-panel.php:608 lib/yit-plugin-subpanel.php:156
231
  msgid "Reset to default"
232
  msgstr "Restablecer a predeterminado"
233
 
234
+ #: lib/yit-plugin-panel.php:609 lib/yit-plugin-subpanel.php:157
235
  #: templates/panel/woocommerce/woocommerce-form.php:21
236
  msgid "Are you sure?"
237
  msgstr "¿Estás seguro/a?"
238
 
239
+ #: lib/yit-plugin-panel.php:807
240
  msgid ""
241
  "The element you have entered already exists. Please, enter another name."
242
  msgstr ""
243
  "El elemento que has introducido ya existe. Por favor, introduce otro nombre."
244
 
245
+ #: lib/yit-plugin-panel.php:808
246
  msgid "Settings saved"
247
  msgstr "Ajustes guardados"
248
 
249
+ #: lib/yit-plugin-panel.php:809
250
  msgid "Settings reset"
251
  msgstr "Ajustes reiniciados"
252
 
253
+ #: lib/yit-plugin-panel.php:810
254
  msgid "Element deleted correctly."
255
  msgstr "Elemento borrado correctamente."
256
 
257
+ #: lib/yit-plugin-panel.php:811 lib/yit-plugin-panel.php:812
258
  msgid "Element updated correctly."
259
  msgstr "Elemento actualizado correctamente."
260
 
261
+ #: lib/yit-plugin-panel.php:813
262
  msgid "Database imported correctly."
263
  msgstr "Base de datos importada correctamente."
264
 
265
+ #: lib/yit-plugin-panel.php:814
266
  msgid "An error has occurred during import. Please try again."
267
  msgstr ""
268
  "Ha ocurrido un error durante la importación. Por favor, inténtalo de nuevo."
269
 
270
+ #: lib/yit-plugin-panel.php:815
271
  msgid "The added file is not valid."
272
  msgstr "El archivo añadido no es válido."
273
 
274
+ #: lib/yit-plugin-panel.php:816
275
  msgid "Sorry, import is disabled."
276
  msgstr "Lo sentimos, la importación está deshabilitada."
277
 
278
+ #: lib/yit-plugin-panel.php:817
279
  msgid "Sorting successful."
280
  msgstr "Clasificación fue realizada con éxito."
281
 
282
+ #: lib/yit-plugin-panel.php:1265
283
  msgid "We need your support"
284
  msgstr "Necesitamos tu ayuda"
285
 
286
+ #: lib/yit-plugin-panel.php:1266
287
  msgid "to keep updating and improving the plugin. Please,"
288
  msgstr "para seguir actualizando y mejora el plugin. Por favor,"
289
 
290
+ #: lib/yit-plugin-panel.php:1268
291
  msgid "help us by leaving a five-star rating"
292
  msgstr "ayúdanos dejando una valoración de 5 estrellas"
293
 
294
+ #: lib/yit-plugin-panel.php:1269
295
  msgid ":) Thanks!"
296
  msgstr ":) ¡Gracias!"
297
 
365
  "Ha ocurrido un error, lo que probablemente significa que el feed está caído. "
366
  "Inténtalo de nuevo más tarde."
367
 
368
+ #: lib/yith-system-status.php:105
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
369
  msgid "WordPress Version"
370
  msgstr "Versión de WordPress"
371
 
372
+ #: lib/yith-system-status.php:106
373
  msgid "WooCommerce Version"
374
  msgstr "Versión de WooCommerce"
375
 
376
+ #: lib/yith-system-status.php:107
377
  msgid "Available Memory"
378
  msgstr "Memoria disponible"
379
 
380
+ #: lib/yith-system-status.php:108
381
  msgid "PHP Version"
382
  msgstr "Versión PHP"
383
 
384
+ #: lib/yith-system-status.php:109
385
  msgid "TLS Version"
386
  msgstr "Versión TLS"
387
 
388
+ #: lib/yith-system-status.php:110
389
  msgid "WordPress Cron"
390
  msgstr "Cron de WordPress"
391
 
392
+ #: lib/yith-system-status.php:111
393
  msgid "SimpleXML"
394
  msgstr "SimpleXML"
395
 
396
+ #: lib/yith-system-status.php:112
397
  msgid "MultiByte String"
398
  msgstr "Cadena MultiByte"
399
 
400
+ #: lib/yith-system-status.php:113
401
  msgid "ImageMagick Version"
402
  msgstr "Versión ImageMagick"
403
 
404
+ #: lib/yith-system-status.php:114
405
  msgid "GD Library"
406
  msgstr "Biblioteca GD"
407
 
408
+ #: lib/yith-system-status.php:115
409
  msgid "Iconv Module"
410
  msgstr "Módulo Iconv"
411
 
412
+ #: lib/yith-system-status.php:116
413
  msgid "OPCache Save Comments"
414
  msgstr "Guardar comentarios OPCache"
415
 
416
+ #: lib/yith-system-status.php:117
417
  msgid "URL FOpen"
418
  msgstr "URL FOpen"
419
 
420
+ #: lib/yith-system-status.php:135 lib/yith-system-status.php:136
421
+ msgid "System Status"
422
+ msgstr "Estado del sistema"
423
+
424
+ #: lib/yith-system-status.php:179
425
  msgid "YITH Plugins"
426
  msgstr "Plugins de YITH"
427
 
428
+ #: lib/yith-system-status.php:180
429
  msgid "WooCommerce"
430
  msgstr "WooCommerce"
431
 
432
+ #: lib/yith-system-status.php:297
433
  msgid "Warning!"
434
  msgstr "¡Atención! "
435
 
436
+ #: lib/yith-system-status.php:298
 
437
  msgid ""
438
  "The system check has detected some compatibility issues on your "
439
  "installation. %sClick here%s to know more"
447
 
448
  #: templates/fields/ajax-customers.php:83
449
  #: templates/fields/ajax-customers.php:93
 
450
  msgid "%1$s (#%2$s &ndash; %3$s)"
451
  msgstr "%1$s (#%2$s &ndash; %3$s)"
452
 
514
  msgid "Delete"
515
  msgstr "Borrar"
516
 
 
 
 
 
 
 
 
 
 
 
517
  #: templates/fields/select-buttons.php:21
518
  msgid "Add All"
519
  msgstr "Añadir todo"
560
  msgstr "Previsualización de imagen"
561
 
562
  #: templates/metaboxes/types/icon-list.php:90
 
563
  msgid "(Default: %s <img src=\"%s\"/>)"
564
  msgstr "(Por defecto: %s <img src=\"%s\"/>)"
565
 
566
  #: templates/metaboxes/types/icon-list.php:92
 
567
  msgid "(Default: <i %s></i> )"
568
  msgstr "(Por defecto: <i %s></i> )"
569
 
596
  msgstr "N/D"
597
 
598
  #: templates/sysinfo/system-information-panel.php:96
 
599
  msgid "%s needs %s enabled"
600
  msgstr "%s necesita %s enabled"
601
 
602
  #: templates/sysinfo/system-information-panel.php:98
 
603
  msgid "%s needs at least %s of available memory"
604
  msgstr "%s necesita al menos %s de memoria disponible"
605
 
606
  #: templates/sysinfo/system-information-panel.php:100
607
  #: templates/sysinfo/system-information-panel.php:149
 
608
  msgid ""
609
  "For optimal functioning of our plugins, we suggest setting at least %s of "
610
  "available memory"
615
  #: templates/sysinfo/system-information-panel.php:102
616
  #: templates/sysinfo/system-information-panel.php:137
617
  #: templates/sysinfo/system-information-panel.php:151
 
618
  msgid ""
619
  "Read more %s here%s or contact your hosting company in order to increase it."
620
  msgstr ""
621
  "Lee más %s aquí%s o contacta a tu compañía de hosting para incrementarlo."
622
 
623
  #: templates/sysinfo/system-information-panel.php:105
 
624
  msgid "%s needs at least %s version"
625
  msgstr "%s necesita al menos la versión %s"
626
 
637
  msgstr "Contacta a tu compañía de hosting para actualizarlo."
638
 
639
  #: templates/sysinfo/system-information-panel.php:126
 
640
  msgid "Remove %s from %s file"
641
  msgstr "Eliminar %s del archivo %s"
642
 
673
  msgid "Back to top"
674
  msgstr "Volver arriba"
675
 
676
+ #: yit-plugin.php:194
677
+ msgid "License"
678
+ msgstr "Licencia"
679
+
680
+ #. Author of the plugin/theme
681
+ #, fuzzy
682
+ msgid "YITH"
683
+ msgstr "YITH"
684
+
685
+ #: lib/privacy/yit-privacy.php:24
686
+ msgctxt "Privacy Policy Guide Title"
687
+ msgid "YITH Plugins"
688
+ msgstr "Plugins de YITH"
689
+
690
+ #: lib/privacy/yit-privacy.php:59
691
+ msgctxt "Privacy Policy Content"
692
+ msgid ""
693
+ "This sample language includes the basics around what personal data your "
694
+ "store may be collecting, storing and sharing, as well as who may have access "
695
+ "to that data. Depending on what settings are enabled and which additional "
696
+ "plugins are used, the specific information shared by your store will vary. "
697
+ "We recommend consulting with a lawyer when deciding what information to "
698
+ "disclose on your privacy policy."
699
+ msgstr ""
700
+ "Este lenguaje de muestra incluye los conceptos básicos sobre qué datos "
701
+ "personales puede estar recolectando, almacenando y compartiendo tu tienda, "
702
+ "así como quién puede tener acceso a esos datos. Dependiendo de qué "
703
+ "configuración esté habilitada y qué complementos adicionales se utilicen, la "
704
+ "información específica compartida por tu tienda variará. Recomendamos "
705
+ "consultar con un abogado cuando decidas qué información divulgar sobre tu "
706
+ "política de privacidad."
707
+
708
+ #: lib/privacy/yit-privacy.php:63
709
+ msgctxt "Privacy Policy Content"
710
+ msgid "What we collect and store"
711
+ msgstr "Qué recopilamos y almacenamos"
712
+
713
+ #: lib/privacy/yit-privacy.php:66
714
+ msgctxt "Privacy Policy Content"
715
+ msgid "Who on our team has access"
716
+ msgstr "Quién en nuestro equipo tiene acceso"
717
+
718
+ #: lib/privacy/yit-privacy.php:69
719
+ msgctxt "Privacy Policy Content"
720
+ msgid "What we share with others"
721
+ msgstr "Qué compartimos con otros"
722
+
723
+ #: lib/privacy/yit-privacy.php:72
724
+ msgctxt "Privacy Policy Content"
725
+ msgid "Payments"
726
+ msgstr "Pagos"
727
+
728
+ #: lib/yit-cpt-unlimited.php:627
729
+ msgctxt "taxonomy general name"
730
+ msgid "%s Categories"
731
+ msgstr "%s Categorías"
732
+
733
+ #: lib/yit-cpt-unlimited.php:628
734
+ msgctxt "taxonomy singular name"
735
+ msgid "Category"
736
+ msgstr "Categoría"
737
+
738
+ #: lib/yith-dashboard.php:99
739
+ msgctxt "Plugin FW"
740
+ msgid "View Changelog"
741
+ msgstr "Ver registro de cambios"
742
+
743
+ #: lib/yith-dashboard.php:100
744
+ msgctxt "Plugin FW"
745
+ msgid "Latest update released on"
746
+ msgstr "Última actualización publicada el"
747
+
748
+ #: lib/yith-dashboard.php:143
749
+ msgctxt "Button label"
750
+ msgid "Close"
751
+ msgstr "Cerrar"
752
+
753
+ #: lib/yith-gutenberg.php:134
754
+ msgctxt "[gutenberg]: Category Name"
755
+ msgid "YITH"
756
+ msgstr "YITH"
757
+
758
+ #: templates/fields/dimensions.php:16
759
+ msgctxt "Position in the \"Dimensions\" field"
760
+ msgid "Top"
761
+ msgstr ""
762
+
763
+ #: templates/fields/dimensions.php:17
764
+ msgctxt "Position in the \"Dimensions\" field"
765
+ msgid "Right"
766
+ msgstr ""
767
+
768
+ #: templates/fields/dimensions.php:18
769
+ msgctxt "Position in the \"Dimensions\" field"
770
+ msgid "Bottom"
771
+ msgstr ""
772
+
773
+ #: templates/fields/dimensions.php:19
774
+ msgctxt "Position in the \"Dimensions\" field"
775
+ msgid "Left"
776
+ msgstr ""
777
+
778
+ #: templates/fields/dimensions.php:117
779
+ msgctxt "Tooltip in the \"Dimensions\" field"
780
+ msgid "Link values together"
781
+ msgstr ""
782
+
783
+ #: templates/fields/onoff.php:24
784
+ msgctxt "YES/NO button: use MAX 3 characters!"
785
+ msgid "YES"
786
+ msgstr "SI"
787
+
788
+ #: templates/fields/onoff.php:25
789
+ msgctxt "YES/NO button: use MAX 3 characters!"
790
+ msgid "NO"
791
+ msgstr "NO"
792
+
793
  #: yit-plugin.php:83
794
  msgctxt "Plugin Row Meta"
795
  msgid "Live Demo"
815
  msgid "Settings"
816
  msgstr "Ajustes"
817
 
818
+ #~ msgctxt "ON/OFF button: use MAX 3 characters!"
819
+ #~ msgid "ON"
820
+ #~ msgstr "ON"
821
+
822
+ #~ msgctxt "ON/OFF button: use MAX 3 characters!"
823
+ #~ msgid "OFF"
824
+ #~ msgstr "OFF"
825
 
826
  #~ msgid "An unexpected error occurred, please try again later. Thanks!"
827
  #~ msgstr ""
plugin-fw/languages/yith-plugin-fw-it_IT.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-it_IT.po CHANGED
@@ -3,16 +3,16 @@
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
6
- "Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2020-01-10 13:28+0100\n"
8
- "PO-Revision-Date: 2020-01-10 16:23+0100\n"
9
  "Last-Translator: \n"
10
  "Language-Team: YIThemes <plugins@yithemes.com>\n"
11
  "Language: it_IT\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
- "X-Generator: Poedit 2.2.3\n"
16
  "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
17
  "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
18
  "esc_html_x:1,2c\n"
@@ -22,108 +22,45 @@ msgstr ""
22
  "X-Textdomain-Support: yes\n"
23
  "X-Poedit-SearchPath-0: .\n"
24
 
25
- #: lib/privacy/yit-privacy.php:24
26
- msgctxt "Privacy Policy Guide Title"
27
- msgid "YITH Plugins"
28
- msgstr "YITH Plugins"
29
-
30
- #: lib/privacy/yit-privacy.php:59
31
- msgctxt "Privacy Policy Content"
32
- msgid ""
33
- "This sample language includes the basics around what personal data your "
34
- "store may be collecting, storing and sharing, as well as who may have access "
35
- "to that data. Depending on what settings are enabled and which additional "
36
- "plugins are used, the specific information shared by your store will vary. "
37
- "We recommend consulting with a lawyer when deciding what information to "
38
- "disclose on your privacy policy."
39
- msgstr ""
40
- "Questo esempio include gli elementi di base sulla raccolta dei dati "
41
- "personali, la memorizzazione e la condivisione, nonché su chi è autorizzato "
42
- "ad accedere a tali dati. In base alle impostazioni abilitate e ai moduli di "
43
- "estensione aggiuntivi utilizzati, le informazioni specifiche condivise dal "
44
- "nostro negozio possono variare. Ti consigliamo di consultare un legale al "
45
- "momento di decidere quali informazioni divulgare nell'informativa sulla "
46
- "privacy."
47
-
48
- #: lib/privacy/yit-privacy.php:63
49
- msgctxt "Privacy Policy Content"
50
- msgid "What we collect and store"
51
- msgstr "Cosa raccogliamo e salviamo"
52
-
53
- #: lib/privacy/yit-privacy.php:66
54
- msgctxt "Privacy Policy Content"
55
- msgid "Who on our team has access"
56
- msgstr "Persone del nostro gruppo di lavoro che hanno accesso"
57
-
58
- #: lib/privacy/yit-privacy.php:69
59
- msgctxt "Privacy Policy Content"
60
- msgid "What we share with others"
61
- msgstr "Cosa condividiamo con gli altri"
62
-
63
- #: lib/privacy/yit-privacy.php:72
64
- msgctxt "Privacy Policy Content"
65
- msgid "Payments"
66
- msgstr "Pagamenti"
67
-
68
  #: lib/yit-cpt-unlimited.php:462 lib/yit-cpt-unlimited.php:576
69
  #: lib/yit-cpt-unlimited.php:721 lib/yit-cpt-unlimited.php:1636
70
- #, php-format
71
  msgid "Add %s"
72
  msgstr "Aggiungi %s"
73
 
74
  #: lib/yit-cpt-unlimited.php:463 lib/yit-cpt-unlimited.php:577
75
- #, php-format
76
  msgid "Add New %s"
77
  msgstr "Aggiungi nuovo %s"
78
 
79
  #: lib/yit-cpt-unlimited.php:464 lib/yit-cpt-unlimited.php:578
80
  #: lib/yit-cpt-unlimited.php:1269 lib/yit-cpt-unlimited.php:1306
81
- #, php-format
82
  msgid "Edit %s"
83
  msgstr "Modifica %s"
84
 
85
  #: lib/yit-cpt-unlimited.php:465 lib/yit-cpt-unlimited.php:579
86
- #, php-format
87
  msgid "New %s"
88
  msgstr "Nuovo %s"
89
 
90
  #: lib/yit-cpt-unlimited.php:466 lib/yit-cpt-unlimited.php:580
91
- #, php-format
92
  msgid "All %s"
93
  msgstr "Tutti %s"
94
 
95
  #: lib/yit-cpt-unlimited.php:467 lib/yit-cpt-unlimited.php:581
96
  #: lib/yit-cpt-unlimited.php:1253 lib/yit-cpt-unlimited.php:1307
97
- #, php-format
98
  msgid "View %s"
99
  msgstr "Visualizza %s"
100
 
101
  #: lib/yit-cpt-unlimited.php:468 lib/yit-cpt-unlimited.php:582
102
- #, php-format
103
  msgid "Search %s"
104
  msgstr "Cerca %s"
105
 
106
  #: lib/yit-cpt-unlimited.php:469 lib/yit-cpt-unlimited.php:583
107
- #, php-format
108
  msgid "No %s found"
109
  msgstr "Nessun %s trovato"
110
 
111
  #: lib/yit-cpt-unlimited.php:470 lib/yit-cpt-unlimited.php:584
112
- #, php-format
113
  msgid "No %s found in Trash"
114
  msgstr "Nessun %s trovato nel cestino"
115
 
116
- #: lib/yit-cpt-unlimited.php:627
117
- #, php-format
118
- msgctxt "taxonomy general name"
119
- msgid "%s Categories"
120
- msgstr "%s Categorie"
121
-
122
- #: lib/yit-cpt-unlimited.php:628
123
- msgctxt "taxonomy singular name"
124
- msgid "Category"
125
- msgstr "Categoria"
126
-
127
  #: lib/yit-cpt-unlimited.php:629 templates/fields/ajax-terms.php:56
128
  msgid "Search Categories"
129
  msgstr "Cerca categorie"
@@ -165,7 +102,6 @@ msgid "Categories"
165
  msgstr "Categorie"
166
 
167
  #: lib/yit-cpt-unlimited.php:1044
168
- #, php-format
169
  msgid "%s Settings"
170
  msgstr "Impostazioni %s"
171
 
@@ -179,7 +115,6 @@ msgid "Type"
179
  msgstr "Tipologia"
180
 
181
  #: lib/yit-cpt-unlimited.php:1054
182
- #, php-format
183
  msgid "Layout for this %s"
184
  msgstr "Layout per questo %s"
185
 
@@ -251,7 +186,6 @@ msgid "Quick links"
251
  msgstr "Link rapidi"
252
 
253
  #: lib/yit-cpt-unlimited.php:1477
254
- #, php-format
255
  msgid "Show frontend of the %s"
256
  msgstr "Mostra front end di %s"
257
 
@@ -261,7 +195,6 @@ msgid "Name"
261
  msgstr "Nome"
262
 
263
  #: lib/yit-cpt-unlimited.php:1635
264
- #, php-format
265
  msgid "Add %s from images"
266
  msgstr "Aggiungi %s dalla immagini"
267
 
@@ -269,7 +202,7 @@ msgstr "Aggiungi %s dalla immagini"
269
  msgid "Upload multiple files"
270
  msgstr "Carica file multipli"
271
 
272
- #: lib/yit-plugin-panel-wc.php:397
273
  msgid "The changes you have made will be lost if you leave this page."
274
  msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
275
 
@@ -277,16 +210,16 @@ msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
277
  msgid "Plugin Settings"
278
  msgstr "Impostazioni plugin"
279
 
280
- #: lib/yit-plugin-panel.php:424 lib/yit-plugin-panel.php:427
281
  msgid "How to install premium version"
282
  msgstr "Come installare la versione premium"
283
 
284
- #: lib/yit-plugin-panel.php:571 lib/yit-plugin-subpanel.php:151
285
  #: templates/panel/woocommerce/woocommerce-form.php:14
286
  msgid "Save Changes"
287
  msgstr "Salva modifiche"
288
 
289
- #: lib/yit-plugin-panel.php:574 lib/yit-plugin-subpanel.php:154
290
  #: templates/panel/woocommerce/woocommerce-form.php:17
291
  msgid ""
292
  "If you continue with this action, you will reset all options in this page."
@@ -294,69 +227,69 @@ msgstr ""
294
  "Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
295
  "reimpostate."
296
 
297
- #: lib/yit-plugin-panel.php:576 lib/yit-plugin-subpanel.php:156
298
  msgid "Reset to default"
299
  msgstr "Ripristina configurazione predefinita"
300
 
301
- #: lib/yit-plugin-panel.php:577 lib/yit-plugin-subpanel.php:157
302
  #: templates/panel/woocommerce/woocommerce-form.php:21
303
  msgid "Are you sure?"
304
  msgstr "Sei sicuro?"
305
 
306
- #: lib/yit-plugin-panel.php:775
307
  msgid ""
308
  "The element you have entered already exists. Please, enter another name."
309
  msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
310
 
311
- #: lib/yit-plugin-panel.php:776
312
  msgid "Settings saved"
313
  msgstr "Impostazioni salvate"
314
 
315
- #: lib/yit-plugin-panel.php:777
316
  msgid "Settings reset"
317
  msgstr "Impostazioni azzerate"
318
 
319
- #: lib/yit-plugin-panel.php:778
320
  msgid "Element deleted correctly."
321
  msgstr "Elemento rimosso correttamente."
322
 
323
- #: lib/yit-plugin-panel.php:779 lib/yit-plugin-panel.php:780
324
  msgid "Element updated correctly."
325
  msgstr "Elemento aggiornato correttamente."
326
 
327
- #: lib/yit-plugin-panel.php:781
328
  msgid "Database imported correctly."
329
  msgstr "Database importato correttamente."
330
 
331
- #: lib/yit-plugin-panel.php:782
332
  msgid "An error has occurred during import. Please try again."
333
  msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
334
 
335
- #: lib/yit-plugin-panel.php:783
336
  msgid "The added file is not valid."
337
  msgstr "Il file aggiunto non è valido."
338
 
339
- #: lib/yit-plugin-panel.php:784
340
  msgid "Sorry, import is disabled."
341
  msgstr "Ci dispiace, l'importazione è disabilitata."
342
 
343
- #: lib/yit-plugin-panel.php:785
344
  msgid "Sorting successful."
345
  msgstr "Ordinamento effettuato con successo."
346
 
347
- #: lib/yit-plugin-panel.php:1233
348
  msgid "We need your support"
349
  msgstr "Abbiamo bisogno del tuo sostegno"
350
 
351
- #: lib/yit-plugin-panel.php:1234
352
  msgid "to keep updating and improving the plugin. Please,"
353
  msgstr "per poter continuare ad aggiornare e migliorare il plugin."
354
 
355
- #: lib/yit-plugin-panel.php:1236
356
  msgid "help us by leaving a five-star rating"
357
  msgstr "Puoi darci una mano lasciando una recensione a 5 stelle"
358
 
359
- #: lib/yit-plugin-panel.php:1237
360
  msgid ":) Thanks!"
361
  msgstr ":) Grazie!"
362
 
@@ -427,96 +360,75 @@ msgstr ""
427
  "Si è verificato un errore probabilmente causato dal feed non disponibile. "
428
  "Riprova più tardi."
429
 
430
- #: lib/yith-dashboard.php:99
431
- msgctxt "Plugin FW"
432
- msgid "View Changelog"
433
- msgstr "Visualizza il changelog"
434
-
435
- #: lib/yith-dashboard.php:100
436
- msgctxt "Plugin FW"
437
- msgid "Latest update released on"
438
- msgstr "Ultimo aggiornamento rilasciato il"
439
-
440
- #: lib/yith-dashboard.php:143
441
- msgctxt "Button label"
442
- msgid "Close"
443
- msgstr "Chiudi"
444
-
445
- #: lib/yith-gutenberg.php:134
446
- msgctxt "[gutenberg]: Category Name"
447
- msgid "YITH"
448
- msgstr "YITH"
449
-
450
- #: lib/yith-system-status.php:97 lib/yith-system-status.php:98
451
- msgid "System Status"
452
- msgstr "Stato del sistema"
453
-
454
- #: lib/yith-system-status.php:104
455
  msgid "WordPress Version"
456
  msgstr "Versione di WordPress"
457
 
458
- #: lib/yith-system-status.php:105
459
  msgid "WooCommerce Version"
460
  msgstr "Versione di WooCommerce"
461
 
462
- #: lib/yith-system-status.php:106
463
  msgid "Available Memory"
464
  msgstr "Memoria disponibile"
465
 
466
- #: lib/yith-system-status.php:107
467
  msgid "PHP Version"
468
  msgstr "Versione PHP"
469
 
470
- #: lib/yith-system-status.php:108
471
  msgid "TLS Version"
472
  msgstr "Versione TLS"
473
 
474
- #: lib/yith-system-status.php:109
475
  msgid "WordPress Cron"
476
  msgstr "Cron WordPress"
477
 
478
- #: lib/yith-system-status.php:110
479
  msgid "SimpleXML"
480
  msgstr "SimpleXML"
481
 
482
- #: lib/yith-system-status.php:111
483
  msgid "MultiByte String"
484
  msgstr "MultiByte String"
485
 
486
- #: lib/yith-system-status.php:112
487
  msgid "ImageMagick Version"
488
  msgstr "Versione di ImageMagick"
489
 
490
- #: lib/yith-system-status.php:113
491
  msgid "GD Library"
492
  msgstr "GD Library"
493
 
494
- #: lib/yith-system-status.php:114
495
  msgid "Iconv Module"
496
  msgstr "Iconv Module"
497
 
498
- #: lib/yith-system-status.php:115
499
  msgid "OPCache Save Comments"
500
  msgstr "OPCache Save Comments"
501
 
502
- #: lib/yith-system-status.php:116
503
  msgid "URL FOpen"
504
  msgstr "URL FOpen"
505
 
506
- #: lib/yith-system-status.php:173
 
 
 
 
507
  msgid "YITH Plugins"
508
  msgstr "Plugin YITH"
509
 
510
- #: lib/yith-system-status.php:174
511
  msgid "WooCommerce"
512
  msgstr "WooCommerce"
513
 
514
- #: lib/yith-system-status.php:291
515
  msgid "Warning!"
516
  msgstr "Attenzione!"
517
 
518
- #: lib/yith-system-status.php:292
519
- #, php-format
520
  msgid ""
521
  "The system check has detected some compatibility issues on your "
522
  "installation. %sClick here%s to know more"
@@ -530,7 +442,6 @@ msgstr "Cerca fra i clienti"
530
 
531
  #: templates/fields/ajax-customers.php:83
532
  #: templates/fields/ajax-customers.php:93
533
- #, php-format
534
  msgid "%1$s (#%2$s &ndash; %3$s)"
535
  msgstr "%1$s (#%2$s &ndash; %3$s)"
536
 
@@ -598,16 +509,6 @@ msgstr "Aggiungi immagini"
598
  msgid "Delete"
599
  msgstr "Rimuovi"
600
 
601
- #: templates/fields/onoff.php:24
602
- msgctxt "ON/OFF button: use MAX 3 characters!"
603
- msgid "ON"
604
- msgstr "SÌ"
605
-
606
- #: templates/fields/onoff.php:25
607
- msgctxt "ON/OFF button: use MAX 3 characters!"
608
- msgid "OFF"
609
- msgstr "NO"
610
-
611
  #: templates/fields/select-buttons.php:21
612
  msgid "Add All"
613
  msgstr "Aggiungi tutti"
@@ -654,12 +555,10 @@ msgid "Image preview"
654
  msgstr "Anteprima immagine"
655
 
656
  #: templates/metaboxes/types/icon-list.php:90
657
- #, php-format
658
  msgid "(Default: %s <img src=\"%s\"/>)"
659
  msgstr "(Default: %s <img src=\"%s\"/>)"
660
 
661
  #: templates/metaboxes/types/icon-list.php:92
662
- #, php-format
663
  msgid "(Default: <i %s></i> )"
664
  msgstr "(Default: <i %s></i> )"
665
 
@@ -692,18 +591,15 @@ msgid "N/A"
692
  msgstr "N.D."
693
 
694
  #: templates/sysinfo/system-information-panel.php:96
695
- #, php-format
696
  msgid "%s needs %s enabled"
697
  msgstr "%s necessita l'attivazione di %s"
698
 
699
  #: templates/sysinfo/system-information-panel.php:98
700
- #, php-format
701
  msgid "%s needs at least %s of available memory"
702
  msgstr "%s necessita almeno %s di memoria disponibile"
703
 
704
  #: templates/sysinfo/system-information-panel.php:100
705
  #: templates/sysinfo/system-information-panel.php:149
706
- #, php-format
707
  msgid ""
708
  "For optimal functioning of our plugins, we suggest setting at least %s of "
709
  "available memory"
@@ -714,7 +610,6 @@ msgstr ""
714
  #: templates/sysinfo/system-information-panel.php:102
715
  #: templates/sysinfo/system-information-panel.php:137
716
  #: templates/sysinfo/system-information-panel.php:151
717
- #, php-format
718
  msgid ""
719
  "Read more %s here%s or contact your hosting company in order to increase it."
720
  msgstr ""
@@ -722,7 +617,6 @@ msgstr ""
722
  "un upgrade."
723
 
724
  #: templates/sysinfo/system-information-panel.php:105
725
- #, php-format
726
  msgid "%s needs at least %s version"
727
  msgstr "%s necessita almeno della versione %s"
728
 
@@ -739,7 +633,6 @@ msgid "Contact your hosting company in order to update it."
739
  msgstr "Contatta il tuo servizio hosting per aggiornarlo."
740
 
741
  #: templates/sysinfo/system-information-panel.php:126
742
- #, php-format
743
  msgid "Remove %s from %s file"
744
  msgstr "Rimuovi %s dal file %s"
745
 
@@ -776,6 +669,123 @@ msgstr "Torna al pannello di Sistema"
776
  msgid "Back to top"
777
  msgstr "Torna su"
778
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
779
  #: yit-plugin.php:83
780
  msgctxt "Plugin Row Meta"
781
  msgid "Live Demo"
@@ -801,9 +811,13 @@ msgctxt "Action links"
801
  msgid "Settings"
802
  msgstr "Impostazioni"
803
 
804
- #: yit-plugin.php:194
805
- msgid "License"
806
- msgstr "Chiave di licenza"
 
 
 
 
807
 
808
  #~ msgid "An unexpected error occurred, please try again later. Thanks!"
809
  #~ msgstr "Si è verificato un errore inaspettato, riprova più tardi. Grazie!"
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
6
+ "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2020-04-23 06:38:32+00:00\n"
8
+ "PO-Revision-Date: 2020-04-06 10:46+0200\n"
9
  "Last-Translator: \n"
10
  "Language-Team: YIThemes <plugins@yithemes.com>\n"
11
  "Language: it_IT\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 2.2.1\n"
16
  "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
17
  "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
18
  "esc_html_x:1,2c\n"
22
  "X-Textdomain-Support: yes\n"
23
  "X-Poedit-SearchPath-0: .\n"
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  #: lib/yit-cpt-unlimited.php:462 lib/yit-cpt-unlimited.php:576
26
  #: lib/yit-cpt-unlimited.php:721 lib/yit-cpt-unlimited.php:1636
 
27
  msgid "Add %s"
28
  msgstr "Aggiungi %s"
29
 
30
  #: lib/yit-cpt-unlimited.php:463 lib/yit-cpt-unlimited.php:577
 
31
  msgid "Add New %s"
32
  msgstr "Aggiungi nuovo %s"
33
 
34
  #: lib/yit-cpt-unlimited.php:464 lib/yit-cpt-unlimited.php:578
35
  #: lib/yit-cpt-unlimited.php:1269 lib/yit-cpt-unlimited.php:1306
 
36
  msgid "Edit %s"
37
  msgstr "Modifica %s"
38
 
39
  #: lib/yit-cpt-unlimited.php:465 lib/yit-cpt-unlimited.php:579
 
40
  msgid "New %s"
41
  msgstr "Nuovo %s"
42
 
43
  #: lib/yit-cpt-unlimited.php:466 lib/yit-cpt-unlimited.php:580
 
44
  msgid "All %s"
45
  msgstr "Tutti %s"
46
 
47
  #: lib/yit-cpt-unlimited.php:467 lib/yit-cpt-unlimited.php:581
48
  #: lib/yit-cpt-unlimited.php:1253 lib/yit-cpt-unlimited.php:1307
 
49
  msgid "View %s"
50
  msgstr "Visualizza %s"
51
 
52
  #: lib/yit-cpt-unlimited.php:468 lib/yit-cpt-unlimited.php:582
 
53
  msgid "Search %s"
54
  msgstr "Cerca %s"
55
 
56
  #: lib/yit-cpt-unlimited.php:469 lib/yit-cpt-unlimited.php:583
 
57
  msgid "No %s found"
58
  msgstr "Nessun %s trovato"
59
 
60
  #: lib/yit-cpt-unlimited.php:470 lib/yit-cpt-unlimited.php:584
 
61
  msgid "No %s found in Trash"
62
  msgstr "Nessun %s trovato nel cestino"
63
 
 
 
 
 
 
 
 
 
 
 
 
64
  #: lib/yit-cpt-unlimited.php:629 templates/fields/ajax-terms.php:56
65
  msgid "Search Categories"
66
  msgstr "Cerca categorie"
102
  msgstr "Categorie"
103
 
104
  #: lib/yit-cpt-unlimited.php:1044
 
105
  msgid "%s Settings"
106
  msgstr "Impostazioni %s"
107
 
115
  msgstr "Tipologia"
116
 
117
  #: lib/yit-cpt-unlimited.php:1054
 
118
  msgid "Layout for this %s"
119
  msgstr "Layout per questo %s"
120
 
186
  msgstr "Link rapidi"
187
 
188
  #: lib/yit-cpt-unlimited.php:1477
 
189
  msgid "Show frontend of the %s"
190
  msgstr "Mostra front end di %s"
191
 
195
  msgstr "Nome"
196
 
197
  #: lib/yit-cpt-unlimited.php:1635
 
198
  msgid "Add %s from images"
199
  msgstr "Aggiungi %s dalla immagini"
200
 
202
  msgid "Upload multiple files"
203
  msgstr "Carica file multipli"
204
 
205
+ #: lib/yit-plugin-panel-wc.php:399
206
  msgid "The changes you have made will be lost if you leave this page."
207
  msgstr "Perderai tutti i cambiamenti effettuati se lasci questa pagina."
208
 
210
  msgid "Plugin Settings"
211
  msgstr "Impostazioni plugin"
212
 
213
+ #: lib/yit-plugin-panel.php:455 lib/yit-plugin-panel.php:458
214
  msgid "How to install premium version"
215
  msgstr "Come installare la versione premium"
216
 
217
+ #: lib/yit-plugin-panel.php:603 lib/yit-plugin-subpanel.php:151
218
  #: templates/panel/woocommerce/woocommerce-form.php:14
219
  msgid "Save Changes"
220
  msgstr "Salva modifiche"
221
 
222
+ #: lib/yit-plugin-panel.php:606 lib/yit-plugin-subpanel.php:154
223
  #: templates/panel/woocommerce/woocommerce-form.php:17
224
  msgid ""
225
  "If you continue with this action, you will reset all options in this page."
227
  "Se prosegui con questa azione, tutte le opzioni di questa pagina saranno "
228
  "reimpostate."
229
 
230
+ #: lib/yit-plugin-panel.php:608 lib/yit-plugin-subpanel.php:156
231
  msgid "Reset to default"
232
  msgstr "Ripristina configurazione predefinita"
233
 
234
+ #: lib/yit-plugin-panel.php:609 lib/yit-plugin-subpanel.php:157
235
  #: templates/panel/woocommerce/woocommerce-form.php:21
236
  msgid "Are you sure?"
237
  msgstr "Sei sicuro?"
238
 
239
+ #: lib/yit-plugin-panel.php:807
240
  msgid ""
241
  "The element you have entered already exists. Please, enter another name."
242
  msgstr "L'elemento inserito esiste già. Per favore, inserisci un altro nome."
243
 
244
+ #: lib/yit-plugin-panel.php:808
245
  msgid "Settings saved"
246
  msgstr "Impostazioni salvate"
247
 
248
+ #: lib/yit-plugin-panel.php:809
249
  msgid "Settings reset"
250
  msgstr "Impostazioni azzerate"
251
 
252
+ #: lib/yit-plugin-panel.php:810
253
  msgid "Element deleted correctly."
254
  msgstr "Elemento rimosso correttamente."
255
 
256
+ #: lib/yit-plugin-panel.php:811 lib/yit-plugin-panel.php:812
257
  msgid "Element updated correctly."
258
  msgstr "Elemento aggiornato correttamente."
259
 
260
+ #: lib/yit-plugin-panel.php:813
261
  msgid "Database imported correctly."
262
  msgstr "Database importato correttamente."
263
 
264
+ #: lib/yit-plugin-panel.php:814
265
  msgid "An error has occurred during import. Please try again."
266
  msgstr "Si è verificato un errore durante l'importazione. Prova di nuovo."
267
 
268
+ #: lib/yit-plugin-panel.php:815
269
  msgid "The added file is not valid."
270
  msgstr "Il file aggiunto non è valido."
271
 
272
+ #: lib/yit-plugin-panel.php:816
273
  msgid "Sorry, import is disabled."
274
  msgstr "Ci dispiace, l'importazione è disabilitata."
275
 
276
+ #: lib/yit-plugin-panel.php:817
277
  msgid "Sorting successful."
278
  msgstr "Ordinamento effettuato con successo."
279
 
280
+ #: lib/yit-plugin-panel.php:1265
281
  msgid "We need your support"
282
  msgstr "Abbiamo bisogno del tuo sostegno"
283
 
284
+ #: lib/yit-plugin-panel.php:1266
285
  msgid "to keep updating and improving the plugin. Please,"
286
  msgstr "per poter continuare ad aggiornare e migliorare il plugin."
287
 
288
+ #: lib/yit-plugin-panel.php:1268
289
  msgid "help us by leaving a five-star rating"
290
  msgstr "Puoi darci una mano lasciando una recensione a 5 stelle"
291
 
292
+ #: lib/yit-plugin-panel.php:1269
293
  msgid ":) Thanks!"
294
  msgstr ":) Grazie!"
295
 
360
  "Si è verificato un errore probabilmente causato dal feed non disponibile. "
361
  "Riprova più tardi."
362
 
363
+ #: lib/yith-system-status.php:105
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
364
  msgid "WordPress Version"
365
  msgstr "Versione di WordPress"
366
 
367
+ #: lib/yith-system-status.php:106
368
  msgid "WooCommerce Version"
369
  msgstr "Versione di WooCommerce"
370
 
371
+ #: lib/yith-system-status.php:107
372
  msgid "Available Memory"
373
  msgstr "Memoria disponibile"
374
 
375
+ #: lib/yith-system-status.php:108
376
  msgid "PHP Version"
377
  msgstr "Versione PHP"
378
 
379
+ #: lib/yith-system-status.php:109
380
  msgid "TLS Version"
381
  msgstr "Versione TLS"
382
 
383
+ #: lib/yith-system-status.php:110
384
  msgid "WordPress Cron"
385
  msgstr "Cron WordPress"
386
 
387
+ #: lib/yith-system-status.php:111
388
  msgid "SimpleXML"
389
  msgstr "SimpleXML"
390
 
391
+ #: lib/yith-system-status.php:112
392
  msgid "MultiByte String"
393
  msgstr "MultiByte String"
394
 
395
+ #: lib/yith-system-status.php:113
396
  msgid "ImageMagick Version"
397
  msgstr "Versione di ImageMagick"
398
 
399
+ #: lib/yith-system-status.php:114
400
  msgid "GD Library"
401
  msgstr "GD Library"
402
 
403
+ #: lib/yith-system-status.php:115
404
  msgid "Iconv Module"
405
  msgstr "Iconv Module"
406
 
407
+ #: lib/yith-system-status.php:116
408
  msgid "OPCache Save Comments"
409
  msgstr "OPCache Save Comments"
410
 
411
+ #: lib/yith-system-status.php:117
412
  msgid "URL FOpen"
413
  msgstr "URL FOpen"
414
 
415
+ #: lib/yith-system-status.php:135 lib/yith-system-status.php:136
416
+ msgid "System Status"
417
+ msgstr "Stato del sistema"
418
+
419
+ #: lib/yith-system-status.php:179
420
  msgid "YITH Plugins"
421
  msgstr "Plugin YITH"
422
 
423
+ #: lib/yith-system-status.php:180
424
  msgid "WooCommerce"
425
  msgstr "WooCommerce"
426
 
427
+ #: lib/yith-system-status.php:297
428
  msgid "Warning!"
429
  msgstr "Attenzione!"
430
 
431
+ #: lib/yith-system-status.php:298
 
432
  msgid ""
433
  "The system check has detected some compatibility issues on your "
434
  "installation. %sClick here%s to know more"
442
 
443
  #: templates/fields/ajax-customers.php:83
444
  #: templates/fields/ajax-customers.php:93
 
445
  msgid "%1$s (#%2$s &ndash; %3$s)"
446
  msgstr "%1$s (#%2$s &ndash; %3$s)"
447
 
509
  msgid "Delete"
510
  msgstr "Rimuovi"
511
 
 
 
 
 
 
 
 
 
 
 
512
  #: templates/fields/select-buttons.php:21
513
  msgid "Add All"
514
  msgstr "Aggiungi tutti"
555
  msgstr "Anteprima immagine"
556
 
557
  #: templates/metaboxes/types/icon-list.php:90
 
558
  msgid "(Default: %s <img src=\"%s\"/>)"
559
  msgstr "(Default: %s <img src=\"%s\"/>)"
560
 
561
  #: templates/metaboxes/types/icon-list.php:92
 
562
  msgid "(Default: <i %s></i> )"
563
  msgstr "(Default: <i %s></i> )"
564
 
591
  msgstr "N.D."
592
 
593
  #: templates/sysinfo/system-information-panel.php:96
 
594
  msgid "%s needs %s enabled"
595
  msgstr "%s necessita l'attivazione di %s"
596
 
597
  #: templates/sysinfo/system-information-panel.php:98
 
598
  msgid "%s needs at least %s of available memory"
599
  msgstr "%s necessita almeno %s di memoria disponibile"
600
 
601
  #: templates/sysinfo/system-information-panel.php:100
602
  #: templates/sysinfo/system-information-panel.php:149
 
603
  msgid ""
604
  "For optimal functioning of our plugins, we suggest setting at least %s of "
605
  "available memory"
610
  #: templates/sysinfo/system-information-panel.php:102
611
  #: templates/sysinfo/system-information-panel.php:137
612
  #: templates/sysinfo/system-information-panel.php:151
 
613
  msgid ""
614
  "Read more %s here%s or contact your hosting company in order to increase it."
615
  msgstr ""
617
  "un upgrade."
618
 
619
  #: templates/sysinfo/system-information-panel.php:105
 
620
  msgid "%s needs at least %s version"
621
  msgstr "%s necessita almeno della versione %s"
622
 
633
  msgstr "Contatta il tuo servizio hosting per aggiornarlo."
634
 
635
  #: templates/sysinfo/system-information-panel.php:126
 
636
  msgid "Remove %s from %s file"
637
  msgstr "Rimuovi %s dal file %s"
638
 
669
  msgid "Back to top"
670
  msgstr "Torna su"
671
 
672
+ #: yit-plugin.php:194
673
+ msgid "License"
674
+ msgstr "Chiave di licenza"
675
+
676
+ #. Author of the plugin/theme
677
+ #, fuzzy
678
+ msgid "YITH"
679
+ msgstr "YITH"
680
+
681
+ #: lib/privacy/yit-privacy.php:24
682
+ msgctxt "Privacy Policy Guide Title"
683
+ msgid "YITH Plugins"
684
+ msgstr "YITH Plugins"
685
+
686
+ #: lib/privacy/yit-privacy.php:59
687
+ msgctxt "Privacy Policy Content"
688
+ msgid ""
689
+ "This sample language includes the basics around what personal data your "
690
+ "store may be collecting, storing and sharing, as well as who may have access "
691
+ "to that data. Depending on what settings are enabled and which additional "
692
+ "plugins are used, the specific information shared by your store will vary. "
693
+ "We recommend consulting with a lawyer when deciding what information to "
694
+ "disclose on your privacy policy."
695
+ msgstr ""
696
+ "Questo esempio include gli elementi di base sulla raccolta dei dati "
697
+ "personali, la memorizzazione e la condivisione, nonché su chi è autorizzato "
698
+ "ad accedere a tali dati. In base alle impostazioni abilitate e ai moduli di "
699
+ "estensione aggiuntivi utilizzati, le informazioni specifiche condivise dal "
700
+ "nostro negozio possono variare. Ti consigliamo di consultare un legale al "
701
+ "momento di decidere quali informazioni divulgare nell'informativa sulla "
702
+ "privacy."
703
+
704
+ #: lib/privacy/yit-privacy.php:63
705
+ msgctxt "Privacy Policy Content"
706
+ msgid "What we collect and store"
707
+ msgstr "Cosa raccogliamo e salviamo"
708
+
709
+ #: lib/privacy/yit-privacy.php:66
710
+ msgctxt "Privacy Policy Content"
711
+ msgid "Who on our team has access"
712
+ msgstr "Persone del nostro gruppo di lavoro che hanno accesso"
713
+
714
+ #: lib/privacy/yit-privacy.php:69
715
+ msgctxt "Privacy Policy Content"
716
+ msgid "What we share with others"
717
+ msgstr "Cosa condividiamo con gli altri"
718
+
719
+ #: lib/privacy/yit-privacy.php:72
720
+ msgctxt "Privacy Policy Content"
721
+ msgid "Payments"
722
+ msgstr "Pagamenti"
723
+
724
+ #: lib/yit-cpt-unlimited.php:627
725
+ msgctxt "taxonomy general name"
726
+ msgid "%s Categories"
727
+ msgstr "%s Categorie"
728
+
729
+ #: lib/yit-cpt-unlimited.php:628
730
+ msgctxt "taxonomy singular name"
731
+ msgid "Category"
732
+ msgstr "Categoria"
733
+
734
+ #: lib/yith-dashboard.php:99
735
+ msgctxt "Plugin FW"
736
+ msgid "View Changelog"
737
+ msgstr "Visualizza il changelog"
738
+
739
+ #: lib/yith-dashboard.php:100
740
+ msgctxt "Plugin FW"
741
+ msgid "Latest update released on"
742
+ msgstr "Ultimo aggiornamento rilasciato il"
743
+
744
+ #: lib/yith-dashboard.php:143
745
+ msgctxt "Button label"
746
+ msgid "Close"
747
+ msgstr "Chiudi"
748
+
749
+ #: lib/yith-gutenberg.php:134
750
+ msgctxt "[gutenberg]: Category Name"
751
+ msgid "YITH"
752
+ msgstr "YITH"
753
+
754
+ #: templates/fields/dimensions.php:16
755
+ msgctxt "Position in the \"Dimensions\" field"
756
+ msgid "Top"
757
+ msgstr ""
758
+
759
+ #: templates/fields/dimensions.php:17
760
+ msgctxt "Position in the \"Dimensions\" field"
761
+ msgid "Right"
762
+ msgstr ""
763
+
764
+ #: templates/fields/dimensions.php:18
765
+ msgctxt "Position in the \"Dimensions\" field"
766
+ msgid "Bottom"
767
+ msgstr ""
768
+
769
+ #: templates/fields/dimensions.php:19
770
+ msgctxt "Position in the \"Dimensions\" field"
771
+ msgid "Left"
772
+ msgstr ""
773
+
774
+ #: templates/fields/dimensions.php:117
775
+ msgctxt "Tooltip in the \"Dimensions\" field"
776
+ msgid "Link values together"
777
+ msgstr ""
778
+
779
+ #: templates/fields/onoff.php:24
780
+ msgctxt "YES/NO button: use MAX 3 characters!"
781
+ msgid "YES"
782
+ msgstr "SI"
783
+
784
+ #: templates/fields/onoff.php:25
785
+ msgctxt "YES/NO button: use MAX 3 characters!"
786
+ msgid "NO"
787
+ msgstr "NO"
788
+
789
  #: yit-plugin.php:83
790
  msgctxt "Plugin Row Meta"
791
  msgid "Live Demo"
811
  msgid "Settings"
812
  msgstr "Impostazioni"
813
 
814
+ #~ msgctxt "ON/OFF button: use MAX 3 characters!"
815
+ #~ msgid "ON"
816
+ #~ msgstr ""
817
+
818
+ #~ msgctxt "ON/OFF button: use MAX 3 characters!"
819
+ #~ msgid "OFF"
820
+ #~ msgstr "NO"
821
 
822
  #~ msgid "An unexpected error occurred, please try again later. Thanks!"
823
  #~ msgstr "Si è verificato un errore inaspettato, riprova più tardi. Grazie!"
plugin-fw/languages/yith-plugin-fw-nl_NL.mo CHANGED
Binary file
plugin-fw/languages/yith-plugin-fw-nl_NL.po CHANGED
@@ -3,16 +3,16 @@
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
6
- "Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
7
- "POT-Creation-Date: 2020-01-14 10:06+0000\n"
8
- "PO-Revision-Date: 2020-01-14 10:29+0000\n"
9
  "Last-Translator: \n"
10
  "Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
11
  "Language: nl\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
- "X-Generator: Poedit 1.8.12\n"
16
  "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
17
  "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
18
  "esc_html_x:1,2c;_x;_ex\n"
@@ -22,108 +22,45 @@ msgstr ""
22
  "X-Textdomain-Support: yes\n"
23
  "X-Poedit-SearchPath-0: .\n"
24
 
25
- #: lib/privacy/yit-privacy.php:24
26
- msgctxt "Privacy Policy Guide Title"
27
- msgid "YITH Plugins"
28
- msgstr "YITH Plugins"
29
-
30
- #: lib/privacy/yit-privacy.php:59
31
- msgctxt "Privacy Policy Content"
32
- msgid ""
33
- "This sample language includes the basics around what personal data your "
34
- "store may be collecting, storing and sharing, as well as who may have access "
35
- "to that data. Depending on what settings are enabled and which additional "
36
- "plugins are used, the specific information shared by your store will vary. "
37
- "We recommend consulting with a lawyer when deciding what information to "
38
- "disclose on your privacy policy."
39
- msgstr ""
40
- "Deze voorbeeldtaal bevat de basisinformatie over de persoonlijke gegevens "
41
- "die je winkel mogelijk verzamelt, bewaart en deelt en wie toegang heeft tot "
42
- "die gegevens. Afhankelijk van welke instellingen zijn ingeschakeld en welke "
43
- "extra plug-ins worden gebruikt, varieert de specifieke informatie die door "
44
- "je winkel wordt gedeeld. We raden je aan om een advocaat te raadplegen "
45
- "wanneer je beslist welke informatie openbaar wordt gemaakt in je "
46
- "privacybeleid."
47
-
48
- #: lib/privacy/yit-privacy.php:63
49
- msgctxt "Privacy Policy Content"
50
- msgid "What we collect and store"
51
- msgstr "Wat we verzamelen en bewaren"
52
-
53
- #: lib/privacy/yit-privacy.php:66
54
- msgctxt "Privacy Policy Content"
55
- msgid "Who on our team has access"
56
- msgstr "Wie in ons team heeft toegang"
57
-
58
- #: lib/privacy/yit-privacy.php:69
59
- msgctxt "Privacy Policy Content"
60
- msgid "What we share with others"
61
- msgstr "Wat we delen met anderen"
62
-
63
- #: lib/privacy/yit-privacy.php:72
64
- msgctxt "Privacy Policy Content"
65
- msgid "Payments"
66
- msgstr "Betalingen"
67
-
68
  #: lib/yit-cpt-unlimited.php:462 lib/yit-cpt-unlimited.php:576
69
  #: lib/yit-cpt-unlimited.php:721 lib/yit-cpt-unlimited.php:1636
70
- #, php-format
71
  msgid "Add %s"
72
  msgstr "Toevoegen %s"
73
 
74
  #: lib/yit-cpt-unlimited.php:463 lib/yit-cpt-unlimited.php:577
75
- #, php-format
76
  msgid "Add New %s"
77
  msgstr "Nieuwe toevoegen %s"
78
 
79
  #: lib/yit-cpt-unlimited.php:464 lib/yit-cpt-unlimited.php:578
80
  #: lib/yit-cpt-unlimited.php:1269 lib/yit-cpt-unlimited.php:1306
81
- #, php-format
82
  msgid "Edit %s"
83
  msgstr "Bewerk %s"
84
 
85
  #: lib/yit-cpt-unlimited.php:465 lib/yit-cpt-unlimited.php:579
86
- #, php-format
87
  msgid "New %s"
88
  msgstr "Nieuwe %s"
89
 
90
  #: lib/yit-cpt-unlimited.php:466 lib/yit-cpt-unlimited.php:580
91
- #, php-format
92
  msgid "All %s"
93
  msgstr "Alle %s"
94
 
95
  #: lib/yit-cpt-unlimited.php:467 lib/yit-cpt-unlimited.php:581
96
  #: lib/yit-cpt-unlimited.php:1253 lib/yit-cpt-unlimited.php:1307
97
- #, php-format
98
  msgid "View %s"
99
  msgstr "Bekijk %s"
100
 
101
  #: lib/yit-cpt-unlimited.php:468 lib/yit-cpt-unlimited.php:582
102
- #, php-format
103
  msgid "Search %s"
104
  msgstr "Zoek %s"
105
 
106
  #: lib/yit-cpt-unlimited.php:469 lib/yit-cpt-unlimited.php:583
107
- #, php-format
108
  msgid "No %s found"
109
  msgstr "Geen %s gevonden"
110
 
111
  #: lib/yit-cpt-unlimited.php:470 lib/yit-cpt-unlimited.php:584
112
- #, php-format
113
  msgid "No %s found in Trash"
114
  msgstr "Geen %s gevonden in prullenbak"
115
 
116
- #: lib/yit-cpt-unlimited.php:627
117
- #, php-format
118
- msgctxt "taxonomy general name"
119
- msgid "%s Categories"
120
- msgstr "%s Categorieën"
121
-
122
- #: lib/yit-cpt-unlimited.php:628
123
- msgctxt "taxonomy singular name"
124
- msgid "Category"
125
- msgstr "Categorie"
126
-
127
  #: lib/yit-cpt-unlimited.php:629 templates/fields/ajax-terms.php:56
128
  msgid "Search Categories"
129
  msgstr "Zoek categorieën"
@@ -165,7 +102,6 @@ msgid "Categories"
165
  msgstr "Categorieën"
166
 
167
  #: lib/yit-cpt-unlimited.php:1044
168
- #, php-format
169
  msgid "%s Settings"
170
  msgstr "%s instellingen"
171
 
@@ -179,7 +115,6 @@ msgid "Type"
179
  msgstr "Type"
180
 
181
  #: lib/yit-cpt-unlimited.php:1054
182
- #, php-format
183
  msgid "Layout for this %s"
184
  msgstr "De lay-out hiervoor %s"
185
 
@@ -255,7 +190,6 @@ msgid "Quick links"
255
  msgstr "Snelle links"
256
 
257
  #: lib/yit-cpt-unlimited.php:1477
258
- #, php-format
259
  msgid "Show frontend of the %s"
260
  msgstr "Toon frontend van de %s"
261
 
@@ -265,7 +199,6 @@ msgid "Name"
265
  msgstr "Naam"
266
 
267
  #: lib/yit-cpt-unlimited.php:1635
268
- #, php-format
269
  msgid "Add %s from images"
270
  msgstr "Voeg %s toe vanaf afbeeldingen"
271
 
@@ -273,7 +206,7 @@ msgstr "Voeg %s toe vanaf afbeeldingen"
273
  msgid "Upload multiple files"
274
  msgstr "Upload meerdere bestanden"
275
 
276
- #: lib/yit-plugin-panel-wc.php:397
277
  msgid "The changes you have made will be lost if you leave this page."
278
  msgstr "Als je deze pagina verlaat zullen alle wijzigingen verloren gaan."
279
 
@@ -281,84 +214,84 @@ msgstr "Als je deze pagina verlaat zullen alle wijzigingen verloren gaan."
281
  msgid "Plugin Settings"
282
  msgstr "Plugin instellingen"
283
 
284
- #: lib/yit-plugin-panel.php:424 lib/yit-plugin-panel.php:427
285
  msgid "How to install premium version"
286
  msgstr "Hoe installeer ik de premium versie"
287
 
288
- #: lib/yit-plugin-panel.php:571 lib/yit-plugin-subpanel.php:151
289
  #: templates/panel/woocommerce/woocommerce-form.php:14
290
  msgid "Save Changes"
291
  msgstr "Wijzigingen opslaan"
292
 
293
- #: lib/yit-plugin-panel.php:574 lib/yit-plugin-subpanel.php:154
294
  #: templates/panel/woocommerce/woocommerce-form.php:17
295
  msgid ""
296
  "If you continue with this action, you will reset all options in this page."
297
  msgstr "Als u deze actie voortzet, zult u alle opties op deze pagina resetten."
298
 
299
- #: lib/yit-plugin-panel.php:576 lib/yit-plugin-subpanel.php:156
300
  msgid "Reset to default"
301
  msgstr "Resetten naar standaard"
302
 
303
- #: lib/yit-plugin-panel.php:577 lib/yit-plugin-subpanel.php:157
304
  #: templates/panel/woocommerce/woocommerce-form.php:21
305
  msgid "Are you sure?"
306
  msgstr "Weet u het zeker?"
307
 
308
- #: lib/yit-plugin-panel.php:775
309
  msgid ""
310
  "The element you have entered already exists. Please, enter another name."
311
  msgstr "Het element dat u hebt ingevoerd bestaat al. Voer een andere naam in."
312
 
313
- #: lib/yit-plugin-panel.php:776
314
  msgid "Settings saved"
315
  msgstr "Instellingen opgeslagen"
316
 
317
- #: lib/yit-plugin-panel.php:777
318
  msgid "Settings reset"
319
  msgstr "Instellingen resetten"
320
 
321
- #: lib/yit-plugin-panel.php:778
322
  msgid "Element deleted correctly."
323
  msgstr "Element succesvol verwijderd."
324
 
325
- #: lib/yit-plugin-panel.php:779 lib/yit-plugin-panel.php:780
326
  msgid "Element updated correctly."
327
  msgstr "Element juist bijgewerkt."
328
 
329
- #: lib/yit-plugin-panel.php:781
330
  msgid "Database imported correctly."
331
  msgstr "Database juist geïmporteerd."
332
 
333
- #: lib/yit-plugin-panel.php:782
334
  msgid "An error has occurred during import. Please try again."
335
  msgstr "Er is een fout opgetreden tijdens importeren. Probeer opnieuw."
336
 
337
- #: lib/yit-plugin-panel.php:783
338
  msgid "The added file is not valid."
339
  msgstr "Het toegevoegde bestand is ongeldig."
340
 
341
- #: lib/yit-plugin-panel.php:784
342
  msgid "Sorry, import is disabled."
343
  msgstr "Sorry, importeren is uitgeschakeld."
344
 
345
- #: lib/yit-plugin-panel.php:785
346
  msgid "Sorting successful."
347
  msgstr "Sorteren succesvol."
348
 
349
- #: lib/yit-plugin-panel.php:1233
350
  msgid "We need your support"
351
  msgstr "We hebben uw hulp nodig"
352
 
353
- #: lib/yit-plugin-panel.php:1234
354
  msgid "to keep updating and improving the plugin. Please,"
355
  msgstr "om de plugin te blijven updaten en verbeteren. A.u.b.,"
356
 
357
- #: lib/yit-plugin-panel.php:1236
358
  msgid "help us by leaving a five-star rating"
359
  msgstr "help ons door een vijf-sterenbeoordeling achter te laten"
360
 
361
- #: lib/yit-plugin-panel.php:1237
362
  msgid ":) Thanks!"
363
  msgstr ":) Bedankt!"
364
 
@@ -429,96 +362,75 @@ msgstr ""
429
  "Er is een fout opgetreden, wat waarschijnlijk betekend dat de feed uit te "
430
  "lucht is. Probeer het later opnieuw."
431
 
432
- #: lib/yith-dashboard.php:99
433
- msgctxt "Plugin FW"
434
- msgid "View Changelog"
435
- msgstr "Bekijk wijzigingenlogboek"
436
-
437
- #: lib/yith-dashboard.php:100
438
- msgctxt "Plugin FW"
439
- msgid "Latest update released on"
440
- msgstr "Laatste update uitgebracht op"
441
-
442
- #: lib/yith-dashboard.php:143
443
- msgctxt "Button label"
444
- msgid "Close"
445
- msgstr "Sluiten"
446
-
447
- #: lib/yith-gutenberg.php:134
448
- msgctxt "[gutenberg]: Category Name"
449
- msgid "YITH"
450
- msgstr "YITH"
451
-
452
- #: lib/yith-system-status.php:97 lib/yith-system-status.php:98
453
- msgid "System Status"
454
- msgstr "Systeem Status"
455
-
456
- #: lib/yith-system-status.php:104
457
  msgid "WordPress Version"
458
  msgstr "WordPress Versie"
459
 
460
- #: lib/yith-system-status.php:105
461
  msgid "WooCommerce Version"
462
  msgstr "WooCommerce Versie"
463
 
464
- #: lib/yith-system-status.php:106
465
  msgid "Available Memory"
466
  msgstr "Beschikbaar geheugen"
467
 
468
- #: lib/yith-system-status.php:107
469
  msgid "PHP Version"
470
  msgstr "PHP Versie"
471
 
472
- #: lib/yith-system-status.php:108
473
  msgid "TLS Version"
474
  msgstr "TLS Versie"
475
 
476
- #: lib/yith-system-status.php:109
477
  msgid "WordPress Cron"
478
  msgstr "WordPress Cron"
479
 
480
- #: lib/yith-system-status.php:110
481
  msgid "SimpleXML"
482
  msgstr "SimpleXML"
483
 
484
- #: lib/yith-system-status.php:111
485
  msgid "MultiByte String"
486
  msgstr "MultiByte String"
487
 
488
- #: lib/yith-system-status.php:112
489
  msgid "ImageMagick Version"
490
  msgstr "ImageMagick Versie"
491
 
492
- #: lib/yith-system-status.php:113
493
  msgid "GD Library"
494
  msgstr "GD Library"
495
 
496
- #: lib/yith-system-status.php:114
497
  msgid "Iconv Module"
498
  msgstr "Iconv Module"
499
 
500
- #: lib/yith-system-status.php:115
501
  msgid "OPCache Save Comments"
502
  msgstr "OPCache Save Comments"
503
 
504
- #: lib/yith-system-status.php:116
505
  msgid "URL FOpen"
506
  msgstr "URL FOpen"
507
 
508
- #: lib/yith-system-status.php:173
 
 
 
 
509
  msgid "YITH Plugins"
510
  msgstr "YITH Plugins"
511
 
512
- #: lib/yith-system-status.php:174
513
  msgid "WooCommerce"
514
  msgstr "WooCommerce"
515
 
516
- #: lib/yith-system-status.php:291
517
  msgid "Warning!"
518
  msgstr "Waarschuwing!"
519
 
520
- #: lib/yith-system-status.php:292
521
- #, php-format
522
  msgid ""
523
  "The system check has detected some compatibility issues on your "
524
  "installation. %sClick here%s to know more"
@@ -532,7 +444,6 @@ msgstr "Zoek klanten"
532
 
533
  #: templates/fields/ajax-customers.php:83
534
  #: templates/fields/ajax-customers.php:93
535
- #, php-format
536
  msgid "%1$s (#%2$s &ndash; %3$s)"
537
  msgstr "%1$s (#%2$s &ndash; %3$s)"
538
 
@@ -600,16 +511,6 @@ msgstr "Afbeeldingen toevoegen"
600
  msgid "Delete"
601
  msgstr "Verwijderen"
602
 
603
- #: templates/fields/onoff.php:24
604
- msgctxt "ON/OFF button: use MAX 3 characters!"
605
- msgid "ON"
606
- msgstr "AAN"
607
-
608
- #: templates/fields/onoff.php:25
609
- msgctxt "ON/OFF button: use MAX 3 characters!"
610
- msgid "OFF"
611
- msgstr "UIT"
612
-
613
  #: templates/fields/select-buttons.php:21
614
  msgid "Add All"
615
  msgstr "Allen toevoegen"
@@ -656,12 +557,10 @@ msgid "Image preview"
656
  msgstr "Voorbeeld afbeelding"
657
 
658
  #: templates/metaboxes/types/icon-list.php:90
659
- #, php-format
660
  msgid "(Default: %s <img src=\"%s\"/>)"
661
  msgstr "(Default: %s <img src=\"%s\"/>)"
662
 
663
  #: templates/metaboxes/types/icon-list.php:92
664
- #, php-format
665
  msgid "(Default: <i %s></i> )"
666
  msgstr "(Default: <i %s></i> )"
667
 
@@ -694,18 +593,15 @@ msgid "N/A"
694
  msgstr "N.V.T"
695
 
696
  #: templates/sysinfo/system-information-panel.php:96
697
- #, php-format
698
  msgid "%s needs %s enabled"
699
  msgstr "%s heeft nodig %s ingeschakeld"
700
 
701
  #: templates/sysinfo/system-information-panel.php:98
702
- #, php-format
703
  msgid "%s needs at least %s of available memory"
704
  msgstr "%s heeft ten minste %s beschikbaar geheugen nodig"
705
 
706
  #: templates/sysinfo/system-information-panel.php:100
707
  #: templates/sysinfo/system-information-panel.php:149
708
- #, php-format
709
  msgid ""
710
  "For optimal functioning of our plugins, we suggest setting at least %s of "
711
  "available memory"
@@ -716,7 +612,6 @@ msgstr ""
716
  #: templates/sysinfo/system-information-panel.php:102
717
  #: templates/sysinfo/system-information-panel.php:137
718
  #: templates/sysinfo/system-information-panel.php:151
719
- #, php-format
720
  msgid ""
721
  "Read more %s here%s or contact your hosting company in order to increase it."
722
  msgstr ""
@@ -724,7 +619,6 @@ msgstr ""
724
  "verhogen."
725
 
726
  #: templates/sysinfo/system-information-panel.php:105
727
- #, php-format
728
  msgid "%s needs at least %s version"
729
  msgstr "%s heeft minstens %s versie nodig"
730
 
@@ -741,7 +635,6 @@ msgid "Contact your hosting company in order to update it."
741
  msgstr "Neem contact op met uw hostingmaatschappij om het bij te werken."
742
 
743
  #: templates/sysinfo/system-information-panel.php:126
744
- #, php-format
745
  msgid "Remove %s from %s file"
746
  msgstr "Verwijder %s uit %s bestand"
747
 
@@ -778,6 +671,123 @@ msgstr "Terug naar systeempaneel"
778
  msgid "Back to top"
779
  msgstr "Terug naar boven"
780
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
781
  #: yit-plugin.php:83
782
  msgctxt "Plugin Row Meta"
783
  msgid "Live Demo"
@@ -803,9 +813,13 @@ msgctxt "Action links"
803
  msgid "Settings"
804
  msgstr "Instellingen"
805
 
806
- #: yit-plugin.php:194
807
- msgid "License"
808
- msgstr "Licentie"
 
 
 
 
809
 
810
  #~ msgid "An unexpected error occurred, please try again later. Thanks!"
811
  #~ msgstr ""
3
  msgid ""
4
  msgstr ""
5
  "Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
6
+ "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2020-04-23 06:38:32+00:00\n"
8
+ "PO-Revision-Date: 2020-04-06 15:05+0200\n"
9
  "Last-Translator: \n"
10
  "Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
11
  "Language: nl\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 2.2.1\n"
16
  "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
17
  "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
18
  "esc_html_x:1,2c;_x;_ex\n"
22
  "X-Textdomain-Support: yes\n"
23
  "X-Poedit-SearchPath-0: .\n"
24
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  #: lib/yit-cpt-unlimited.php:462 lib/yit-cpt-unlimited.php:576
26
  #: lib/yit-cpt-unlimited.php:721 lib/yit-cpt-unlimited.php:1636
 
27
  msgid "Add %s"
28
  msgstr "Toevoegen %s"
29
 
30
  #: lib/yit-cpt-unlimited.php:463 lib/yit-cpt-unlimited.php:577
 
31
  msgid "Add New %s"
32
  msgstr "Nieuwe toevoegen %s"
33
 
34
  #: lib/yit-cpt-unlimited.php:464 lib/yit-cpt-unlimited.php:578
35
  #: lib/yit-cpt-unlimited.php:1269 lib/yit-cpt-unlimited.php:1306
 
36
  msgid "Edit %s"
37
  msgstr "Bewerk %s"
38
 
39
  #: lib/yit-cpt-unlimited.php:465 lib/yit-cpt-unlimited.php:579
 
40
  msgid "New %s"
41
  msgstr "Nieuwe %s"
42
 
43
  #: lib/yit-cpt-unlimited.php:466 lib/yit-cpt-unlimited.php:580
 
44
  msgid "All %s"
45
  msgstr "Alle %s"
46
 
47
  #: lib/yit-cpt-unlimited.php:467 lib/yit-cpt-unlimited.php:581
48
  #: lib/yit-cpt-unlimited.php:1253 lib/yit-cpt-unlimited.php:1307
 
49
  msgid "View %s"
50
  msgstr "Bekijk %s"
51
 
52
  #: lib/yit-cpt-unlimited.php:468 lib/yit-cpt-unlimited.php:582
 
53
  msgid "Search %s"
54
  msgstr "Zoek %s"
55
 
56
  #: lib/yit-cpt-unlimited.php:469 lib/yit-cpt-unlimited.php:583
 
57
  msgid "No %s found"
58
  msgstr "Geen %s gevonden"
59
 
60
  #: lib/yit-cpt-unlimited.php:470 lib/yit-cpt-unlimited.php:584
 
61
  msgid "No %s found in Trash"
62
  msgstr "Geen %s gevonden in prullenbak"
63
 
 
 
 
 
 
 
 
 
 
 
 
64
  #: lib/yit-cpt-unlimited.php:629 templates/fields/ajax-terms.php:56
65
  msgid "Search Categories"
66
  msgstr "Zoek categorieën"
102
  msgstr "Categorieën"
103
 
104
  #: lib/yit-cpt-unlimited.php:1044
 
105
  msgid "%s Settings"
106
  msgstr "%s instellingen"
107
 
115
  msgstr "Type"
116
 
117
  #: lib/yit-cpt-unlimited.php:1054
 
118
  msgid "Layout for this %s"
119
  msgstr "De lay-out hiervoor %s"
120
 
190
  msgstr "Snelle links"
191
 
192
  #: lib/yit-cpt-unlimited.php:1477
 
193
  msgid "Show frontend of the %s"
194
  msgstr "Toon frontend van de %s"
195
 
199
  msgstr "Naam"
200
 
201
  #: lib/yit-cpt-unlimited.php:1635
 
202
  msgid "Add %s from images"
203
  msgstr "Voeg %s toe vanaf afbeeldingen"
204
 
206
  msgid "Upload multiple files"
207
  msgstr "Upload meerdere bestanden"
208
 
209
+ #: lib/yit-plugin-panel-wc.php:399
210
  msgid "The changes you have made will be lost if you leave this page."
211
  msgstr "Als je deze pagina verlaat zullen alle wijzigingen verloren gaan."
212
 
214
  msgid "Plugin Settings"
215
  msgstr "Plugin instellingen"
216
 
217
+ #: lib/yit-plugin-panel.php:455 lib/yit-plugin-panel.php:458
218
  msgid "How to install premium version"
219
  msgstr "Hoe installeer ik de premium versie"
220
 
221
+ #: lib/yit-plugin-panel.php:603 lib/yit-plugin-subpanel.php:151
222
  #: templates/panel/woocommerce/woocommerce-form.php:14
223
  msgid "Save Changes"
224
  msgstr "Wijzigingen opslaan"
225
 
226
+ #: lib/yit-plugin-panel.php:606 lib/yit-plugin-subpanel.php:154
227
  #: templates/panel/woocommerce/woocommerce-form.php:17
228
  msgid ""
229
  "If you continue with this action, you will reset all options in this page."
230
  msgstr "Als u deze actie voortzet, zult u alle opties op deze pagina resetten."
231
 
232
+ #: lib/yit-plugin-panel.php:608 lib/yit-plugin-subpanel.php:156
233
  msgid "Reset to default"
234
  msgstr "Resetten naar standaard"
235
 
236
+ #: lib/yit-plugin-panel.php:609 lib/yit-plugin-subpanel.php:157
237
  #: templates/panel/woocommerce/woocommerce-form.php:21
238
  msgid "Are you sure?"
239
  msgstr "Weet u het zeker?"
240
 
241
+ #: lib/yit-plugin-panel.php:807
242
  msgid ""
243
  "The element you have entered already exists. Please, enter another name."
244
  msgstr "Het element dat u hebt ingevoerd bestaat al. Voer een andere naam in."
245
 
246
+ #: lib/yit-plugin-panel.php:808
247
  msgid "Settings saved"
248
  msgstr "Instellingen opgeslagen"
249
 
250
+ #: lib/yit-plugin-panel.php:809
251
  msgid "Settings reset"
252
  msgstr "Instellingen resetten"
253
 
254
+ #: lib/yit-plugin-panel.php:810
255
  msgid "Element deleted correctly."
256
  msgstr "Element succesvol verwijderd."
257
 
258
+ #: lib/yit-plugin-panel.php:811 lib/yit-plugin-panel.php:812
259
  msgid "Element updated correctly."
260
  msgstr "Element juist bijgewerkt."
261
 
262
+ #: lib/yit-plugin-panel.php:813
263
  msgid "Database imported correctly."
264
  msgstr "Database juist geïmporteerd."
265
 
266
+ #: lib/yit-plugin-panel.php:814
267
  msgid "An error has occurred during import. Please try again."
268
  msgstr "Er is een fout opgetreden tijdens importeren. Probeer opnieuw."
269
 
270
+ #: lib/yit-plugin-panel.php:815
271
  msgid "The added file is not valid."
272
  msgstr "Het toegevoegde bestand is ongeldig."
273
 
274
+ #: lib/yit-plugin-panel.php:816
275
  msgid "Sorry, import is disabled."
276
  msgstr "Sorry, importeren is uitgeschakeld."
277
 
278
+ #: lib/yit-plugin-panel.php:817
279
  msgid "Sorting successful."
280
  msgstr "Sorteren succesvol."
281
 
282
+ #: lib/yit-plugin-panel.php:1265
283
  msgid "We need your support"
284
  msgstr "We hebben uw hulp nodig"
285
 
286
+ #: lib/yit-plugin-panel.php:1266
287
  msgid "to keep updating and improving the plugin. Please,"
288
  msgstr "om de plugin te blijven updaten en verbeteren. A.u.b.,"
289
 
290
+ #: lib/yit-plugin-panel.php:1268
291
  msgid "help us by leaving a five-star rating"
292
  msgstr "help ons door een vijf-sterenbeoordeling achter te laten"
293
 
294
+ #: lib/yit-plugin-panel.php:1269
295
  msgid ":) Thanks!"
296
  msgstr ":) Bedankt!"
297
 
362
  "Er is een fout opgetreden, wat waarschijnlijk betekend dat de feed uit te "
363
  "lucht is. Probeer het later opnieuw."
364
 
365
+ #: lib/yith-system-status.php:105
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
366
  msgid "WordPress Version"
367
  msgstr "WordPress Versie"
368
 
369
+ #: lib/yith-system-status.php:106
370
  msgid "WooCommerce Version"
371
  msgstr "WooCommerce Versie"
372
 
373
+ #: lib/yith-system-status.php:107
374
  msgid "Available Memory"
375
  msgstr "Beschikbaar geheugen"
376
 
377
+ #: lib/yith-system-status.php:108
378
  msgid "PHP Version"
379
  msgstr "PHP Versie"
380
 
381
+ #: lib/yith-system-status.php:109
382
  msgid "TLS Version"
383
  msgstr "TLS Versie"
384
 
385
+ #: lib/yith-system-status.php:110
386
  msgid "WordPress Cron"
387
  msgstr "WordPress Cron"
388
 
389
+ #: lib/yith-system-status.php:111
390
  msgid "SimpleXML"
391
  msgstr "SimpleXML"
392
 
393
+ #: lib/yith-system-status.php:112
394
  msgid "MultiByte String"
395
  msgstr "MultiByte String"
396
 
397
+ #: lib/yith-system-status.php:113
398
  msgid "ImageMagick Version"
399
  msgstr "ImageMagick Versie"
400
 
401
+ #: lib/yith-system-status.php:114
402
  msgid "GD Library"
403
  msgstr "GD Library"
404
 
405
+ #: lib/yith-system-status.php:115
406
  msgid "Iconv Module"
407
  msgstr "Iconv Module"
408
 
409
+ #: lib/yith-system-status.php:116
410
  msgid "OPCache Save Comments"
411
  msgstr "OPCache Save Comments"
412
 
413
+ #: lib/yith-system-status.php:117
414
  msgid "URL FOpen"
415
  msgstr "URL FOpen"
416
 
417
+ #: lib/yith-system-status.php:135 lib/yith-system-status.php:136
418
+ msgid "System Status"
419
+ msgstr "Systeem Status"
420
+
421
+ #: lib/yith-system-status.php:179
422
  msgid "YITH Plugins"
423
  msgstr "YITH Plugins"
424
 
425
+ #: lib/yith-system-status.php:180
426
  msgid "WooCommerce"
427
  msgstr "WooCommerce"
428
 
429
+ #: lib/yith-system-status.php:297
430
  msgid "Warning!"
431
  msgstr "Waarschuwing!"
432
 
433
+ #: lib/yith-system-status.php:298
 
434
  msgid ""
435
  "The system check has detected some compatibility issues on your "
436
  "installation. %sClick here%s to know more"
444
 
445
  #: templates/fields/ajax-customers.php:83
446
  #: templates/fields/ajax-customers.php:93
 
447
  msgid "%1$s (#%2$s &ndash; %3$s)"
448
  msgstr "%1$s (#%2$s &ndash; %3$s)"
449
 
511
  msgid "Delete"
512
  msgstr "Verwijderen"
513
 
 
 
 
 
 
 
 
 
 
 
514
  #: templates/fields/select-buttons.php:21
515
  msgid "Add All"
516
  msgstr "Allen toevoegen"
557
  msgstr "Voorbeeld afbeelding"
558
 
559
  #: templates/metaboxes/types/icon-list.php:90
 
560
  msgid "(Default: %s <img src=\"%s\"/>)"
561
  msgstr "(Default: %s <img src=\"%s\"/>)"
562
 
563
  #: templates/metaboxes/types/icon-list.php:92
 
564
  msgid "(Default: <i %s></i> )"
565
  msgstr "(Default: <i %s></i> )"
566
 
593
  msgstr "N.V.T"
594
 
595
  #: templates/sysinfo/system-information-panel.php:96
 
596
  msgid "%s needs %s enabled"
597
  msgstr "%s heeft nodig %s ingeschakeld"
598
 
599
  #: templates/sysinfo/system-information-panel.php:98
 
600
  msgid "%s needs at least %s of available memory"
601
  msgstr "%s heeft ten minste %s beschikbaar geheugen nodig"
602
 
603
  #: templates/sysinfo/system-information-panel.php:100
604
  #: templates/sysinfo/system-information-panel.php:149
 
605
  msgid ""
606
  "For optimal functioning of our plugins, we suggest setting at least %s of "
607
  "available memory"
612
  #: templates/sysinfo/system-information-panel.php:102
613
  #: templates/sysinfo/system-information-panel.php:137
614
  #: templates/sysinfo/system-information-panel.php:151
 
615
  msgid ""
616
  "Read more %s here%s or contact your hosting company in order to increase it."
617
  msgstr ""
619
  "verhogen."
620
 
621
  #: templates/sysinfo/system-information-panel.php:105
 
622
  msgid "%s needs at least %s version"
623
  msgstr "%s heeft minstens %s versie nodig"
624
 
635
  msgstr "Neem contact op met uw hostingmaatschappij om het bij te werken."
636
 
637
  #: templates/sysinfo/system-information-panel.php:126
 
638
  msgid "Remove %s from %s file"
639
  msgstr "Verwijder %s uit %s bestand"
640
 
671
  msgid "Back to top"
672
  msgstr "Terug naar boven"
673
 
674
+ #: yit-plugin.php:194
675
+ msgid "License"
676
+ msgstr "Licentie"
677
+
678
+ #. Author of the plugin/theme
679
+ #, fuzzy
680
+ msgid "YITH"
681
+ msgstr "YITH"
682
+
683
+ #: lib/privacy/yit-privacy.php:24
684
+ msgctxt "Privacy Policy Guide Title"
685
+ msgid "YITH Plugins"
686
+ msgstr "YITH Plugins"
687
+
688
+ #: lib/privacy/yit-privacy.php:59
689
+ msgctxt "Privacy Policy Content"
690
+ msgid ""
691
+ "This sample language includes the basics around what personal data your "
692
+ "store may be collecting, storing and sharing, as well as who may have access "
693
+ "to that data. Depending on what settings are enabled and which additional "
694
+ "plugins are used, the specific information shared by your store will vary. "
695
+ "We recommend consulting with a lawyer when deciding what information to "
696
+ "disclose on your privacy policy."
697
+ msgstr ""
698
+ "Deze voorbeeldtaal bevat de basisinformatie over de persoonlijke gegevens "
699
+ "die je winkel mogelijk verzamelt, bewaart en deelt en wie toegang heeft tot "
700
+ "die gegevens. Afhankelijk van welke instellingen zijn ingeschakeld en welke "
701
+ "extra plug-ins worden gebruikt, varieert de specifieke informatie die door "
702
+ "je winkel wordt gedeeld. We raden je aan om een advocaat te raadplegen "
703
+ "wanneer je beslist welke informatie openbaar wordt gemaakt in je "
704
+ "privacybeleid."
705
+
706
+ #: lib/privacy/yit-privacy.php:63
707
+ msgctxt "Privacy Policy Content"
708
+ msgid "What we collect and store"
709
+ msgstr "Wat we verzamelen en bewaren"
710
+
711
+ #: lib/privacy/yit-privacy.php:66
712
+ msgctxt "Privacy Policy Content"
713
+ msgid "Who on our team has access"
714
+ msgstr "Wie in ons team heeft toegang"
715
+
716
+ #: lib/privacy/yit-privacy.php:69
717
+ msgctxt "Privacy Policy Content"
718
+ msgid "What we share with others"
719
+ msgstr "Wat we delen met anderen"
720
+
721
+ #: lib/privacy/yit-privacy.php:72
722
+ msgctxt "Privacy Policy Content"
723
+ msgid "Payments"
724
+ msgstr "Betalingen"
725
+
726
+ #: lib/yit-cpt-unlimited.php:627
727
+ msgctxt "taxonomy general name"
728
+ msgid "%s Categories"
729
+ msgstr "%s Categorieën"
730
+
731
+ #: lib/yit-cpt-unlimited.php:628
732
+ msgctxt "taxonomy singular name"
733
+ msgid "Category"
734
+ msgstr "Categorie"
735
+
736
+ #: lib/yith-dashboard.php:99
737
+ msgctxt "Plugin FW"
738
+ msgid "View Changelog"
739
+ msgstr "Bekijk wijzigingenlogboek"
740
+
741
+ #: lib/yith-dashboard.php:100
742
+ msgctxt "Plugin FW"
743
+ msgid "Latest update released on"
744
+ msgstr "Laatste update uitgebracht op"
745
+
746
+ #: lib/yith-dashboard.php:143
747
+ msgctxt "Button label"
748
+ msgid "Close"
749
+ msgstr "Sluiten"
750
+
751
+ #: lib/yith-gutenberg.php:134
752
+ msgctxt "[gutenberg]: Category Name"
753
+ msgid "YITH"
754
+ msgstr "YITH"
755
+
756
+ #: templates/fields/dimensions.php:16
757
+ msgctxt "Position in the \"Dimensions\" field"
758
+ msgid "Top"
759
+ msgstr ""
760
+
761
+ #: templates/fields/dimensions.php:17
762
+ msgctxt "Position in the \"Dimensions\" field"
763
+ msgid "Right"
764
+ msgstr ""
765
+
766
+ #: templates/fields/dimensions.php:18
767
+ msgctxt "Position in the \"Dimensions\" field"
768
+ msgid "Bottom"
769
+ msgstr ""
770
+
771
+ #: templates/fields/dimensions.php:19
772
+ msgctxt "Position in the \"Dimensions\" field"
773
+ msgid "Left"
774
+ msgstr ""
775
+
776
+ #: templates/fields/dimensions.php:117
777
+ msgctxt "Tooltip in the \"Dimensions\" field"
778
+ msgid "Link values together"
779
+ msgstr ""
780
+
781
+ #: templates/fields/onoff.php:24
782
+ msgctxt "YES/NO button: use MAX 3 characters!"
783
+ msgid "YES"
784
+ msgstr "JA"
785
+
786
+ #: templates/fields/onoff.php:25
787
+ msgctxt "YES/NO button: use MAX 3 characters!"
788
+ msgid "NO"
789
+ msgstr "NEE"
790
+
791
  #: yit-plugin.php:83
792
  msgctxt "Plugin Row Meta"
793
  msgid "Live Demo"
813
  msgid "Settings"
814
  msgstr "Instellingen"
815
 
816
+ #~ msgctxt "ON/OFF button: use MAX 3 characters!"
817
+ #~ msgid "ON"
818
+ #~ msgstr "AAN"
819
+
820
+ #~ msgctxt "ON/OFF button: use MAX 3 characters!"
821
+ #~ msgid "OFF"
822
+ #~ msgstr "UIT"
823
 
824
  #~ msgid "An unexpected error occurred, please try again later. Thanks!"
825
  #~ msgstr ""
plugin-fw/languages/yith-plugin-fw.pot CHANGED
@@ -1,122 +1,68 @@
1
- # Copyright (C) 2015 YIThemes
2
- # This file is distributed under the same license as the YITH Plugin Starter package.
3
- #, fuzzy
4
  msgid ""
5
  msgstr ""
6
- "Project-Id-Version: YITH Plugin Starter 1.0.0 Plugin FW\n"
7
- "Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
8
- "POT-Creation-Date: 2020-01-10 13:40+0100\n"
9
- "PO-Revision-Date: 2015-05-05 10:38+0100\n"
10
- "Last-Translator: \n"
11
- "Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
12
- "Language: en\n"
13
  "MIME-Version: 1.0\n"
14
- "Content-Type: text/plain; charset=UTF-8\n"
15
  "Content-Transfer-Encoding: 8bit\n"
16
- "X-Generator: Poedit 2.2.3\n"
17
- "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
18
- "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
19
- "esc_html_x:1,2c;_x;_ex\n"
20
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
 
21
  "X-Poedit-SourceCharset: UTF-8\n"
22
- "X-Poedit-Basepath: ..\n"
23
- "X-Textdomain-Support: yes\n"
 
 
24
  "X-Poedit-SearchPath-0: .\n"
25
-
26
- #: lib/privacy/yit-privacy.php:24
27
- msgctxt "Privacy Policy Guide Title"
28
- msgid "YITH Plugins"
29
- msgstr ""
30
-
31
- #: lib/privacy/yit-privacy.php:59
32
- msgctxt "Privacy Policy Content"
33
- msgid ""
34
- "This sample language includes the basics around what personal data your store may "
35
- "be collecting, storing and sharing, as well as who may have access to that data. "
36
- "Depending on what settings are enabled and which additional plugins are used, the "
37
- "specific information shared by your store will vary. We recommend consulting with "
38
- "a lawyer when deciding what information to disclose on your privacy policy."
39
- msgstr ""
40
-
41
- #: lib/privacy/yit-privacy.php:63
42
- msgctxt "Privacy Policy Content"
43
- msgid "What we collect and store"
44
- msgstr ""
45
-
46
- #: lib/privacy/yit-privacy.php:66
47
- msgctxt "Privacy Policy Content"
48
- msgid "Who on our team has access"
49
- msgstr ""
50
-
51
- #: lib/privacy/yit-privacy.php:69
52
- msgctxt "Privacy Policy Content"
53
- msgid "What we share with others"
54
- msgstr ""
55
-
56
- #: lib/privacy/yit-privacy.php:72
57
- msgctxt "Privacy Policy Content"
58
- msgid "Payments"
59
- msgstr ""
60
 
61
  #: lib/yit-cpt-unlimited.php:462 lib/yit-cpt-unlimited.php:576
62
  #: lib/yit-cpt-unlimited.php:721 lib/yit-cpt-unlimited.php:1636
63
- #, php-format
64
  msgid "Add %s"
65
  msgstr ""
66
 
67
  #: lib/yit-cpt-unlimited.php:463 lib/yit-cpt-unlimited.php:577
68
- #, php-format
69
  msgid "Add New %s"
70
  msgstr ""
71
 
72
  #: lib/yit-cpt-unlimited.php:464 lib/yit-cpt-unlimited.php:578
73
  #: lib/yit-cpt-unlimited.php:1269 lib/yit-cpt-unlimited.php:1306
74
- #, php-format
75
  msgid "Edit %s"
76
  msgstr ""
77
 
78
  #: lib/yit-cpt-unlimited.php:465 lib/yit-cpt-unlimited.php:579
79
- #, php-format
80
  msgid "New %s"
81
  msgstr ""
82
 
83
  #: lib/yit-cpt-unlimited.php:466 lib/yit-cpt-unlimited.php:580
84
- #, php-format
85
  msgid "All %s"
86
  msgstr ""
87
 
88
  #: lib/yit-cpt-unlimited.php:467 lib/yit-cpt-unlimited.php:581
89
  #: lib/yit-cpt-unlimited.php:1253 lib/yit-cpt-unlimited.php:1307
90
- #, php-format
91
  msgid "View %s"
92
  msgstr ""
93
 
94
  #: lib/yit-cpt-unlimited.php:468 lib/yit-cpt-unlimited.php:582
95
- #, php-format
96
  msgid "Search %s"
97
  msgstr ""
98
 
99
  #: lib/yit-cpt-unlimited.php:469 lib/yit-cpt-unlimited.php:583
100
- #, php-format
101
  msgid "No %s found"
102
  msgstr ""
103
 
104
  #: lib/yit-cpt-unlimited.php:470 lib/yit-cpt-unlimited.php:584
105
- #, php-format
106
  msgid "No %s found in Trash"
107
  msgstr ""
108
 
109
- #: lib/yit-cpt-unlimited.php:627
110
- #, php-format
111
- msgctxt "taxonomy general name"
112
- msgid "%s Categories"
113
- msgstr ""
114
-
115
- #: lib/yit-cpt-unlimited.php:628
116
- msgctxt "taxonomy singular name"
117
- msgid "Category"
118
- msgstr ""
119
-
120
  #: lib/yit-cpt-unlimited.php:629 templates/fields/ajax-terms.php:56
121
  msgid "Search Categories"
122
  msgstr ""
@@ -158,7 +104,6 @@ msgid "Categories"
158
  msgstr ""
159
 
160
  #: lib/yit-cpt-unlimited.php:1044
161
- #, php-format
162
  msgid "%s Settings"
163
  msgstr ""
164
 
@@ -172,7 +117,6 @@ msgid "Type"
172
  msgstr ""
173
 
174
  #: lib/yit-cpt-unlimited.php:1054
175
- #, php-format
176
  msgid "Layout for this %s"
177
  msgstr ""
178
 
@@ -182,7 +126,8 @@ msgstr ""
182
 
183
  #: lib/yit-cpt-unlimited.php:1061
184
  msgid ""
185
- "Univocal identification name in the URL for each product (slug from post if empty)"
 
186
  msgstr ""
187
 
188
  #: lib/yit-cpt-unlimited.php:1066
@@ -207,9 +152,9 @@ msgstr ""
207
 
208
  #: lib/yit-cpt-unlimited.php:1079
209
  msgid ""
210
- "If you want to use categories in the portfolio, set a name for taxonomy. Name "
211
- "should be a slug (must not contain capital letters nor spaces) and must not be "
212
- "more than 32 characters long (database structure restriction)."
213
  msgstr ""
214
 
215
  #: lib/yit-cpt-unlimited.php:1084
@@ -237,7 +182,6 @@ msgid "Quick links"
237
  msgstr ""
238
 
239
  #: lib/yit-cpt-unlimited.php:1477
240
- #, php-format
241
  msgid "Show frontend of the %s"
242
  msgstr ""
243
 
@@ -247,7 +191,6 @@ msgid "Name"
247
  msgstr ""
248
 
249
  #: lib/yit-cpt-unlimited.php:1635
250
- #, php-format
251
  msgid "Add %s from images"
252
  msgstr ""
253
 
@@ -255,7 +198,7 @@ msgstr ""
255
  msgid "Upload multiple files"
256
  msgstr ""
257
 
258
- #: lib/yit-plugin-panel-wc.php:397
259
  msgid "The changes you have made will be lost if you leave this page."
260
  msgstr ""
261
 
@@ -263,82 +206,82 @@ msgstr ""
263
  msgid "Plugin Settings"
264
  msgstr ""
265
 
266
- #: lib/yit-plugin-panel.php:424 lib/yit-plugin-panel.php:427
267
  msgid "How to install premium version"
268
  msgstr ""
269
 
270
- #: lib/yit-plugin-panel.php:571 lib/yit-plugin-subpanel.php:151
271
  #: templates/panel/woocommerce/woocommerce-form.php:14
272
  msgid "Save Changes"
273
  msgstr ""
274
 
275
- #: lib/yit-plugin-panel.php:574 lib/yit-plugin-subpanel.php:154
276
  #: templates/panel/woocommerce/woocommerce-form.php:17
277
  msgid "If you continue with this action, you will reset all options in this page."
278
  msgstr ""
279
 
280
- #: lib/yit-plugin-panel.php:576 lib/yit-plugin-subpanel.php:156
281
  msgid "Reset to default"
282
  msgstr ""
283
 
284
- #: lib/yit-plugin-panel.php:577 lib/yit-plugin-subpanel.php:157
285
  #: templates/panel/woocommerce/woocommerce-form.php:21
286
  msgid "Are you sure?"
287
  msgstr ""
288
 
289
- #: lib/yit-plugin-panel.php:775
290
  msgid "The element you have entered already exists. Please, enter another name."
291
  msgstr ""
292
 
293
- #: lib/yit-plugin-panel.php:776
294
  msgid "Settings saved"
295
  msgstr ""
296
 
297
- #: lib/yit-plugin-panel.php:777
298
  msgid "Settings reset"
299
  msgstr ""
300
 
301
- #: lib/yit-plugin-panel.php:778
302
  msgid "Element deleted correctly."
303
  msgstr ""
304
 
305
- #: lib/yit-plugin-panel.php:779 lib/yit-plugin-panel.php:780
306
  msgid "Element updated correctly."
307
  msgstr ""
308
 
309
- #: lib/yit-plugin-panel.php:781
310
  msgid "Database imported correctly."
311
  msgstr ""
312
 
313
- #: lib/yit-plugin-panel.php:782
314
  msgid "An error has occurred during import. Please try again."
315
  msgstr ""
316
 
317
- #: lib/yit-plugin-panel.php:783
318
  msgid "The added file is not valid."
319
  msgstr ""
320
 
321
- #: lib/yit-plugin-panel.php:784
322
  msgid "Sorry, import is disabled."
323
  msgstr ""
324
 
325
- #: lib/yit-plugin-panel.php:785
326
  msgid "Sorting successful."
327
  msgstr ""
328
 
329
- #: lib/yit-plugin-panel.php:1233
330
  msgid "We need your support"
331
  msgstr ""
332
 
333
- #: lib/yit-plugin-panel.php:1234
334
  msgid "to keep updating and improving the plugin. Please,"
335
  msgstr ""
336
 
337
- #: lib/yit-plugin-panel.php:1236
338
  msgid "help us by leaving a five-star rating"
339
  msgstr ""
340
 
341
- #: lib/yit-plugin-panel.php:1237
342
  msgid ":) Thanks!"
343
  msgstr ""
344
 
@@ -367,13 +310,15 @@ msgstr ""
367
 
368
  #: lib/yit-pointers.php:85
369
  msgid ""
370
- "From now on, you can find the option panel of YITH plugins in YITH Plugins menu.\n"
371
- " Every time one of our plugins is added, a new "
372
- "entry will be added to this menu.\n"
373
- " For example, after the update, plugin options "
374
- "(such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.)\n"
375
- " will be moved from previous location to YITH "
376
- "Plugins tab."
 
 
377
  msgstr ""
378
 
379
  #: lib/yith-dashboard.php:40
@@ -390,110 +335,90 @@ msgstr ""
390
 
391
  #: lib/yith-dashboard.php:71
392
  msgid ""
393
- "An error has occurred, which probably means the feed is down. Try again later."
394
- msgstr ""
395
-
396
- #: lib/yith-dashboard.php:99
397
- msgctxt "Plugin FW"
398
- msgid "View Changelog"
399
- msgstr ""
400
-
401
- #: lib/yith-dashboard.php:100
402
- msgctxt "Plugin FW"
403
- msgid "Latest update released on"
404
- msgstr ""
405
-
406
- #: lib/yith-dashboard.php:143
407
- msgctxt "Button label"
408
- msgid "Close"
409
  msgstr ""
410
 
411
- #: lib/yith-gutenberg.php:134
412
- msgctxt "[gutenberg]: Category Name"
413
- msgid "YITH"
414
- msgstr ""
415
-
416
- #: lib/yith-system-status.php:97 lib/yith-system-status.php:98
417
- msgid "System Status"
418
- msgstr ""
419
-
420
- #: lib/yith-system-status.php:104
421
  msgid "WordPress Version"
422
  msgstr ""
423
 
424
- #: lib/yith-system-status.php:105
425
  msgid "WooCommerce Version"
426
  msgstr ""
427
 
428
- #: lib/yith-system-status.php:106
429
  msgid "Available Memory"
430
  msgstr ""
431
 
432
- #: lib/yith-system-status.php:107
433
  msgid "PHP Version"
434
  msgstr ""
435
 
436
- #: lib/yith-system-status.php:108
437
  msgid "TLS Version"
438
  msgstr ""
439
 
440
- #: lib/yith-system-status.php:109
441
  msgid "WordPress Cron"
442
  msgstr ""
443
 
444
- #: lib/yith-system-status.php:110
445
  msgid "SimpleXML"
446
  msgstr ""
447
 
448
- #: lib/yith-system-status.php:111
449
  msgid "MultiByte String"
450
  msgstr ""
451
 
452
- #: lib/yith-system-status.php:112
453
  msgid "ImageMagick Version"
454
  msgstr ""
455
 
456
- #: lib/yith-system-status.php:113
457
  msgid "GD Library"
458
  msgstr ""
459
 
460
- #: lib/yith-system-status.php:114
461
  msgid "Iconv Module"
462
  msgstr ""
463
 
464
- #: lib/yith-system-status.php:115
465
  msgid "OPCache Save Comments"
466
  msgstr ""
467
 
468
- #: lib/yith-system-status.php:116
469
  msgid "URL FOpen"
470
  msgstr ""
471
 
472
- #: lib/yith-system-status.php:173
 
 
 
 
473
  msgid "YITH Plugins"
474
  msgstr ""
475
 
476
- #: lib/yith-system-status.php:174
477
  msgid "WooCommerce"
478
  msgstr ""
479
 
480
- #: lib/yith-system-status.php:291
481
  msgid "Warning!"
482
  msgstr ""
483
 
484
- #: lib/yith-system-status.php:292
485
- #, php-format
486
  msgid ""
487
- "The system check has detected some compatibility issues on your installation. "
488
- "%sClick here%s to know more"
489
  msgstr ""
490
 
491
  #: templates/fields/ajax-customers.php:57
492
  msgid "Search Customers"
493
  msgstr ""
494
 
495
- #: templates/fields/ajax-customers.php:83 templates/fields/ajax-customers.php:93
496
- #, php-format
497
  msgid "%1$s (#%2$s &ndash; %3$s)"
498
  msgstr ""
499
 
@@ -561,16 +486,6 @@ msgstr ""
561
  msgid "Delete"
562
  msgstr ""
563
 
564
- #: templates/fields/onoff.php:24
565
- msgctxt "ON/OFF button: use MAX 3 characters!"
566
- msgid "ON"
567
- msgstr ""
568
-
569
- #: templates/fields/onoff.php:25
570
- msgctxt "ON/OFF button: use MAX 3 characters!"
571
- msgid "OFF"
572
- msgstr ""
573
-
574
  #: templates/fields/select-buttons.php:21
575
  msgid "Add All"
576
  msgstr ""
@@ -617,12 +532,10 @@ msgid "Image preview"
617
  msgstr ""
618
 
619
  #: templates/metaboxes/types/icon-list.php:90
620
- #, php-format
621
  msgid "(Default: %s <img src=\"%s\"/>)"
622
  msgstr ""
623
 
624
  #: templates/metaboxes/types/icon-list.php:92
625
- #, php-format
626
  msgid "(Default: <i %s></i> )"
627
  msgstr ""
628
 
@@ -655,18 +568,15 @@ msgid "N/A"
655
  msgstr ""
656
 
657
  #: templates/sysinfo/system-information-panel.php:96
658
- #, php-format
659
  msgid "%s needs %s enabled"
660
  msgstr ""
661
 
662
  #: templates/sysinfo/system-information-panel.php:98
663
- #, php-format
664
  msgid "%s needs at least %s of available memory"
665
  msgstr ""
666
 
667
  #: templates/sysinfo/system-information-panel.php:100
668
  #: templates/sysinfo/system-information-panel.php:149
669
- #, php-format
670
  msgid ""
671
  "For optimal functioning of our plugins, we suggest setting at least %s of "
672
  "available memory"
@@ -675,12 +585,10 @@ msgstr ""
675
  #: templates/sysinfo/system-information-panel.php:102
676
  #: templates/sysinfo/system-information-panel.php:137
677
  #: templates/sysinfo/system-information-panel.php:151
678
- #, php-format
679
  msgid "Read more %s here%s or contact your hosting company in order to increase it."
680
  msgstr ""
681
 
682
  #: templates/sysinfo/system-information-panel.php:105
683
- #, php-format
684
  msgid "%s needs at least %s version"
685
  msgstr ""
686
 
@@ -695,7 +603,6 @@ msgid "Contact your hosting company in order to update it."
695
  msgstr ""
696
 
697
  #: templates/sysinfo/system-information-panel.php:126
698
- #, php-format
699
  msgid "Remove %s from %s file"
700
  msgstr ""
701
 
@@ -705,13 +612,14 @@ msgstr ""
705
 
706
  #: templates/sysinfo/system-information-panel.php:157
707
  msgid ""
708
- "We cannot determine which <b>TLS</b> version is installed because <b>cURL</b> "
709
- "module is disabled. Ask your hosting company to enable it."
710
  msgstr ""
711
 
712
  #: templates/sysinfo/system-information-panel.php:160
713
  msgid ""
714
- "<b>ImageMagick</b> module is not installed. Ask your hosting company to install it."
 
715
  msgstr ""
716
 
717
  #: templates/sysinfo/system-information-panel.php:172
@@ -726,6 +634,115 @@ msgstr ""
726
  msgid "Back to top"
727
  msgstr ""
728
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
729
  #: yit-plugin.php:83
730
  msgctxt "Plugin Row Meta"
731
  msgid "Live Demo"
@@ -749,8 +766,4 @@ msgstr ""
749
  #: yit-plugin.php:190
750
  msgctxt "Action links"
751
  msgid "Settings"
752
- msgstr ""
753
-
754
- #: yit-plugin.php:194
755
- msgid "License"
756
- msgstr ""
1
+ # Copyright (C) 2020
2
+ # This file is distributed under the same license as the package.
 
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: \n"
6
+ "Report-Msgid-Bugs-To: YITH <plugins@yithemes.com>\n"
7
+ "POT-Creation-Date: 2020-04-23 06:42:33+00:00\n"
 
 
 
 
8
  "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
+ "Language-Team: YITH <info@yithemes.com>\n"
14
+ "Language: en\n"
15
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
16
+ "X-Poedit-Country: United States\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
+ "X-Poedit-KeywordsList: "
19
+ "__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_"
20
+ "attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n"
21
+ "X-Poedit-Basepath: ../\n"
22
  "X-Poedit-SearchPath-0: .\n"
23
+ "X-Poedit-Bookmarks: \n"
24
+ "X-Textdomain-Support: yes\n"
25
+ "X-Generator: grunt-wp-i18n 1.0.3\n"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
  #: lib/yit-cpt-unlimited.php:462 lib/yit-cpt-unlimited.php:576
28
  #: lib/yit-cpt-unlimited.php:721 lib/yit-cpt-unlimited.php:1636
 
29
  msgid "Add %s"
30
  msgstr ""
31
 
32
  #: lib/yit-cpt-unlimited.php:463 lib/yit-cpt-unlimited.php:577
 
33
  msgid "Add New %s"
34
  msgstr ""
35
 
36
  #: lib/yit-cpt-unlimited.php:464 lib/yit-cpt-unlimited.php:578
37
  #: lib/yit-cpt-unlimited.php:1269 lib/yit-cpt-unlimited.php:1306
 
38
  msgid "Edit %s"
39
  msgstr ""
40
 
41
  #: lib/yit-cpt-unlimited.php:465 lib/yit-cpt-unlimited.php:579
 
42
  msgid "New %s"
43
  msgstr ""
44
 
45
  #: lib/yit-cpt-unlimited.php:466 lib/yit-cpt-unlimited.php:580
 
46
  msgid "All %s"
47
  msgstr ""
48
 
49
  #: lib/yit-cpt-unlimited.php:467 lib/yit-cpt-unlimited.php:581
50
  #: lib/yit-cpt-unlimited.php:1253 lib/yit-cpt-unlimited.php:1307
 
51
  msgid "View %s"
52
  msgstr ""
53
 
54
  #: lib/yit-cpt-unlimited.php:468 lib/yit-cpt-unlimited.php:582
 
55
  msgid "Search %s"
56
  msgstr ""
57
 
58
  #: lib/yit-cpt-unlimited.php:469 lib/yit-cpt-unlimited.php:583
 
59
  msgid "No %s found"
60
  msgstr ""
61
 
62
  #: lib/yit-cpt-unlimited.php:470 lib/yit-cpt-unlimited.php:584
 
63
  msgid "No %s found in Trash"
64
  msgstr ""
65
 
 
 
 
 
 
 
 
 
 
 
 
66
  #: lib/yit-cpt-unlimited.php:629 templates/fields/ajax-terms.php:56
67
  msgid "Search Categories"
68
  msgstr ""
104
  msgstr ""
105
 
106
  #: lib/yit-cpt-unlimited.php:1044
 
107
  msgid "%s Settings"
108
  msgstr ""
109
 
117
  msgstr ""
118
 
119
  #: lib/yit-cpt-unlimited.php:1054
 
120
  msgid "Layout for this %s"
121
  msgstr ""
122
 
126
 
127
  #: lib/yit-cpt-unlimited.php:1061
128
  msgid ""
129
+ "Univocal identification name in the URL for each product (slug from post if "
130
+ "empty)"
131
  msgstr ""
132
 
133
  #: lib/yit-cpt-unlimited.php:1066
152
 
153
  #: lib/yit-cpt-unlimited.php:1079
154
  msgid ""
155
+ "If you want to use categories in the portfolio, set a name for taxonomy. "
156
+ "Name should be a slug (must not contain capital letters nor spaces) and "
157
+ "must not be more than 32 characters long (database structure restriction)."
158
  msgstr ""
159
 
160
  #: lib/yit-cpt-unlimited.php:1084
182
  msgstr ""
183
 
184
  #: lib/yit-cpt-unlimited.php:1477
 
185
  msgid "Show frontend of the %s"
186
  msgstr ""
187
 
191
  msgstr ""
192
 
193
  #: lib/yit-cpt-unlimited.php:1635
 
194
  msgid "Add %s from images"
195
  msgstr ""
196
 
198
  msgid "Upload multiple files"
199
  msgstr ""
200
 
201
+ #: lib/yit-plugin-panel-wc.php:399
202
  msgid "The changes you have made will be lost if you leave this page."
203
  msgstr ""
204
 
206
  msgid "Plugin Settings"
207
  msgstr ""
208
 
209
+ #: lib/yit-plugin-panel.php:455 lib/yit-plugin-panel.php:458
210
  msgid "How to install premium version"
211
  msgstr ""
212
 
213
+ #: lib/yit-plugin-panel.php:603 lib/yit-plugin-subpanel.php:151
214
  #: templates/panel/woocommerce/woocommerce-form.php:14
215
  msgid "Save Changes"
216
  msgstr ""
217
 
218
+ #: lib/yit-plugin-panel.php:606 lib/yit-plugin-subpanel.php:154
219
  #: templates/panel/woocommerce/woocommerce-form.php:17
220
  msgid "If you continue with this action, you will reset all options in this page."
221
  msgstr ""
222
 
223
+ #: lib/yit-plugin-panel.php:608 lib/yit-plugin-subpanel.php:156
224
  msgid "Reset to default"
225
  msgstr ""
226
 
227
+ #: lib/yit-plugin-panel.php:609 lib/yit-plugin-subpanel.php:157
228
  #: templates/panel/woocommerce/woocommerce-form.php:21
229
  msgid "Are you sure?"
230
  msgstr ""
231
 
232
+ #: lib/yit-plugin-panel.php:807
233
  msgid "The element you have entered already exists. Please, enter another name."
234
  msgstr ""
235
 
236
+ #: lib/yit-plugin-panel.php:808
237
  msgid "Settings saved"
238
  msgstr ""
239
 
240
+ #: lib/yit-plugin-panel.php:809
241
  msgid "Settings reset"
242
  msgstr ""
243
 
244
+ #: lib/yit-plugin-panel.php:810
245
  msgid "Element deleted correctly."
246
  msgstr ""
247
 
248
+ #: lib/yit-plugin-panel.php:811 lib/yit-plugin-panel.php:812
249
  msgid "Element updated correctly."
250
  msgstr ""
251
 
252
+ #: lib/yit-plugin-panel.php:813
253
  msgid "Database imported correctly."
254
  msgstr ""
255
 
256
+ #: lib/yit-plugin-panel.php:814
257
  msgid "An error has occurred during import. Please try again."
258
  msgstr ""
259
 
260
+ #: lib/yit-plugin-panel.php:815
261
  msgid "The added file is not valid."
262
  msgstr ""
263
 
264
+ #: lib/yit-plugin-panel.php:816
265
  msgid "Sorry, import is disabled."
266
  msgstr ""
267
 
268
+ #: lib/yit-plugin-panel.php:817
269
  msgid "Sorting successful."
270
  msgstr ""
271
 
272
+ #: lib/yit-plugin-panel.php:1265
273
  msgid "We need your support"
274
  msgstr ""
275
 
276
+ #: lib/yit-plugin-panel.php:1266
277
  msgid "to keep updating and improving the plugin. Please,"
278
  msgstr ""
279
 
280
+ #: lib/yit-plugin-panel.php:1268
281
  msgid "help us by leaving a five-star rating"
282
  msgstr ""
283
 
284
+ #: lib/yit-plugin-panel.php:1269
285
  msgid ":) Thanks!"
286
  msgstr ""
287
 
310
 
311
  #: lib/yit-pointers.php:85
312
  msgid ""
313
+ "From now on, you can find the option panel of YITH plugins in YITH Plugins "
314
+ "menu.\n"
315
+ " Every time one of our plugins is added, "
316
+ "a new entry will be added to this menu.\n"
317
+ " For example, after the update, plugin "
318
+ "options (such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax "
319
+ "Search, etc.)\n"
320
+ " will be moved from previous location to "
321
+ "YITH Plugins tab."
322
  msgstr ""
323
 
324
  #: lib/yith-dashboard.php:40
335
 
336
  #: lib/yith-dashboard.php:71
337
  msgid ""
338
+ "An error has occurred, which probably means the feed is down. Try again "
339
+ "later."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
340
  msgstr ""
341
 
342
+ #: lib/yith-system-status.php:105
 
 
 
 
 
 
 
 
 
343
  msgid "WordPress Version"
344
  msgstr ""
345
 
346
+ #: lib/yith-system-status.php:106
347
  msgid "WooCommerce Version"
348
  msgstr ""
349
 
350
+ #: lib/yith-system-status.php:107
351
  msgid "Available Memory"
352
  msgstr ""
353
 
354
+ #: lib/yith-system-status.php:108
355
  msgid "PHP Version"
356
  msgstr ""
357
 
358
+ #: lib/yith-system-status.php:109
359
  msgid "TLS Version"
360
  msgstr ""
361
 
362
+ #: lib/yith-system-status.php:110
363
  msgid "WordPress Cron"
364
  msgstr ""
365
 
366
+ #: lib/yith-system-status.php:111
367
  msgid "SimpleXML"
368
  msgstr ""
369
 
370
+ #: lib/yith-system-status.php:112
371
  msgid "MultiByte String"
372
  msgstr ""
373
 
374
+ #: lib/yith-system-status.php:113
375
  msgid "ImageMagick Version"
376
  msgstr ""
377
 
378
+ #: lib/yith-system-status.php:114
379
  msgid "GD Library"
380
  msgstr ""
381
 
382
+ #: lib/yith-system-status.php:115
383
  msgid "Iconv Module"
384
  msgstr ""
385
 
386
+ #: lib/yith-system-status.php:116
387
  msgid "OPCache Save Comments"
388
  msgstr ""
389
 
390
+ #: lib/yith-system-status.php:117
391
  msgid "URL FOpen"
392
  msgstr ""
393
 
394
+ #: lib/yith-system-status.php:135 lib/yith-system-status.php:136
395
+ msgid "System Status"
396
+ msgstr ""
397
+
398
+ #: lib/yith-system-status.php:179
399
  msgid "YITH Plugins"
400
  msgstr ""
401
 
402
+ #: lib/yith-system-status.php:180
403
  msgid "WooCommerce"
404
  msgstr ""
405
 
406
+ #: lib/yith-system-status.php:297
407
  msgid "Warning!"
408
  msgstr ""
409
 
410
+ #: lib/yith-system-status.php:298
 
411
  msgid ""
412
+ "The system check has detected some compatibility issues on your "
413
+ "installation. %sClick here%s to know more"
414
  msgstr ""
415
 
416
  #: templates/fields/ajax-customers.php:57
417
  msgid "Search Customers"
418
  msgstr ""
419
 
420
+ #: templates/fields/ajax-customers.php:83
421
+ #: templates/fields/ajax-customers.php:93
422
  msgid "%1$s (#%2$s &ndash; %3$s)"
423
  msgstr ""
424
 
486
  msgid "Delete"
487
  msgstr ""
488
 
 
 
 
 
 
 
 
 
 
 
489
  #: templates/fields/select-buttons.php:21
490
  msgid "Add All"
491
  msgstr ""
532
  msgstr ""
533
 
534
  #: templates/metaboxes/types/icon-list.php:90
 
535
  msgid "(Default: %s <img src=\"%s\"/>)"
536
  msgstr ""
537
 
538
  #: templates/metaboxes/types/icon-list.php:92
 
539
  msgid "(Default: <i %s></i> )"
540
  msgstr ""
541
 
568
  msgstr ""
569
 
570
  #: templates/sysinfo/system-information-panel.php:96
 
571
  msgid "%s needs %s enabled"
572
  msgstr ""
573
 
574
  #: templates/sysinfo/system-information-panel.php:98
 
575
  msgid "%s needs at least %s of available memory"
576
  msgstr ""
577
 
578
  #: templates/sysinfo/system-information-panel.php:100
579
  #: templates/sysinfo/system-information-panel.php:149
 
580
  msgid ""
581
  "For optimal functioning of our plugins, we suggest setting at least %s of "
582
  "available memory"
585
  #: templates/sysinfo/system-information-panel.php:102
586
  #: templates/sysinfo/system-information-panel.php:137
587
  #: templates/sysinfo/system-information-panel.php:151
 
588
  msgid "Read more %s here%s or contact your hosting company in order to increase it."
589
  msgstr ""
590
 
591
  #: templates/sysinfo/system-information-panel.php:105
 
592
  msgid "%s needs at least %s version"
593
  msgstr ""
594
 
603
  msgstr ""
604
 
605
  #: templates/sysinfo/system-information-panel.php:126
 
606
  msgid "Remove %s from %s file"
607
  msgstr ""
608
 
612
 
613
  #: templates/sysinfo/system-information-panel.php:157
614
  msgid ""
615
+ "We cannot determine which <b>TLS</b> version is installed because "
616
+ "<b>cURL</b> module is disabled. Ask your hosting company to enable it."
617
  msgstr ""
618
 
619
  #: templates/sysinfo/system-information-panel.php:160
620
  msgid ""
621
+ "<b>ImageMagick</b> module is not installed. Ask your hosting company to "
622
+ "install it."
623
  msgstr ""
624
 
625
  #: templates/sysinfo/system-information-panel.php:172
634
  msgid "Back to top"
635
  msgstr ""
636
 
637
+ #: yit-plugin.php:194
638
+ msgid "License"
639
+ msgstr ""
640
+
641
+ #. Author of the plugin/theme
642
+ msgid "YITH"
643
+ msgstr ""
644
+
645
+ #: lib/privacy/yit-privacy.php:24
646
+ msgctxt "Privacy Policy Guide Title"
647
+ msgid "YITH Plugins"
648
+ msgstr ""
649
+
650
+ #: lib/privacy/yit-privacy.php:59
651
+ msgctxt "Privacy Policy Content"
652
+ msgid ""
653
+ "This sample language includes the basics around what personal data your "
654
+ "store may be collecting, storing and sharing, as well as who may have "
655
+ "access to that data. Depending on what settings are enabled and which "
656
+ "additional plugins are used, the specific information shared by your store "
657
+ "will vary. We recommend consulting with a lawyer when deciding what "
658
+ "information to disclose on your privacy policy."
659
+ msgstr ""
660
+
661
+ #: lib/privacy/yit-privacy.php:63
662
+ msgctxt "Privacy Policy Content"
663
+ msgid "What we collect and store"
664
+ msgstr ""
665
+
666
+ #: lib/privacy/yit-privacy.php:66
667
+ msgctxt "Privacy Policy Content"
668
+ msgid "Who on our team has access"
669
+ msgstr ""
670
+
671
+ #: lib/privacy/yit-privacy.php:69
672
+ msgctxt "Privacy Policy Content"
673
+ msgid "What we share with others"
674
+ msgstr ""
675
+
676
+ #: lib/privacy/yit-privacy.php:72
677
+ msgctxt "Privacy Policy Content"
678
+ msgid "Payments"
679
+ msgstr ""
680
+
681
+ #: lib/yit-cpt-unlimited.php:627
682
+ msgctxt "taxonomy general name"
683
+ msgid "%s Categories"
684
+ msgstr ""
685
+
686
+ #: lib/yit-cpt-unlimited.php:628
687
+ msgctxt "taxonomy singular name"
688
+ msgid "Category"
689
+ msgstr ""
690
+
691
+ #: lib/yith-dashboard.php:99
692
+ msgctxt "Plugin FW"
693
+ msgid "View Changelog"
694
+ msgstr ""
695
+
696
+ #: lib/yith-dashboard.php:100
697
+ msgctxt "Plugin FW"
698
+ msgid "Latest update released on"
699
+ msgstr ""
700
+
701
+ #: lib/yith-dashboard.php:143
702
+ msgctxt "Button label"
703
+ msgid "Close"
704
+ msgstr ""
705
+
706
+ #: lib/yith-gutenberg.php:134
707
+ msgctxt "[gutenberg]: Category Name"
708
+ msgid "YITH"
709
+ msgstr ""
710
+
711
+ #: templates/fields/dimensions.php:16
712
+ msgctxt "Position in the \"Dimensions\" field"
713
+ msgid "Top"
714
+ msgstr ""
715
+
716
+ #: templates/fields/dimensions.php:17
717
+ msgctxt "Position in the \"Dimensions\" field"
718
+ msgid "Right"
719
+ msgstr ""
720
+
721
+ #: templates/fields/dimensions.php:18
722
+ msgctxt "Position in the \"Dimensions\" field"
723
+ msgid "Bottom"
724
+ msgstr ""
725
+
726
+ #: templates/fields/dimensions.php:19
727
+ msgctxt "Position in the \"Dimensions\" field"
728
+ msgid "Left"
729
+ msgstr ""
730
+
731
+ #: templates/fields/dimensions.php:117
732
+ msgctxt "Tooltip in the \"Dimensions\" field"
733
+ msgid "Link values together"
734
+ msgstr ""
735
+
736
+ #: templates/fields/onoff.php:24
737
+ msgctxt "YES/NO button: use MAX 3 characters!"
738
+ msgid "YES"
739
+ msgstr ""
740
+
741
+ #: templates/fields/onoff.php:25
742
+ msgctxt "YES/NO button: use MAX 3 characters!"
743
+ msgid "NO"
744
+ msgstr ""
745
+
746
  #: yit-plugin.php:83
747
  msgctxt "Plugin Row Meta"
748
  msgid "Live Demo"
766
  #: yit-plugin.php:190
767
  msgctxt "Action links"
768
  msgid "Settings"
769
+ msgstr ""
 
 
 
 
plugin-fw/lib/yit-plugin-panel-wc.php CHANGED
@@ -96,6 +96,7 @@ if ( !class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
96
  add_action( 'admin_action_yith_plugin_fw_save_toggle_element', array( $this, 'save_toggle_element_options' ) );
97
 
98
  add_action( 'admin_enqueue_scripts', array( $this, 'init_wp_with_tabs' ), 11 );
 
99
 
100
  // init actions once to prevent multiple actions
101
  static::_init_actions();
@@ -136,7 +137,6 @@ if ( !class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
136
  * @author Antonio La Rocca <antonio.larocca@yithemes.com>
137
  */
138
  public function yit_panel() {
139
- $this->maybe_redirect_to_proper_wp_page();
140
  $additional_info = array(
141
  'current_tab' => $this->get_current_tab(),
142
  'current_sub_tab' => $this->get_current_sub_tab(),
96
  add_action( 'admin_action_yith_plugin_fw_save_toggle_element', array( $this, 'save_toggle_element_options' ) );
97
 
98
  add_action( 'admin_enqueue_scripts', array( $this, 'init_wp_with_tabs' ), 11 );
99
+ add_action( 'admin_init', array( $this, 'maybe_redirect_to_proper_wp_page' ) );
100
 
101
  // init actions once to prevent multiple actions
102
  static::_init_actions();
137
  * @author Antonio La Rocca <antonio.larocca@yithemes.com>
138
  */
139
  public function yit_panel() {
 
140
  $additional_info = array(
141
  'current_tab' => $this->get_current_tab(),
142
  'current_sub_tab' => $this->get_current_sub_tab(),
plugin-fw/lib/yit-plugin-panel.php CHANGED
@@ -105,6 +105,7 @@ if ( !class_exists( 'YIT_Plugin_Panel' ) ) {
105
  add_action( 'admin_init', array( $this, 'add_fields' ) );
106
 
107
  add_action( 'admin_enqueue_scripts', array( $this, 'init_wp_with_tabs' ), 11 );
 
108
 
109
  // init actions once to prevent multiple actions
110
  static::_init_actions();
@@ -118,6 +119,36 @@ if ( !class_exists( 'YIT_Plugin_Panel' ) ) {
118
 
119
  }
120
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
121
  /**
122
  * Init actions to show YITH Panel tabs in WP Pages
123
  *
@@ -129,13 +160,12 @@ if ( !class_exists( 'YIT_Plugin_Panel' ) ) {
129
  return;
130
  }
131
 
132
- global $pagenow, $post_type, $taxonomy;
133
  $tabs = false;
134
 
135
- if ( in_array( $pagenow, array( 'post.php', 'post-new.php', 'edit.php' ), true )
136
- && !in_array( $post_type, array( 'product', 'page', 'post' ) ) ) {
137
  $tabs = $this->get_post_type_tabs( $post_type );
138
- } else if ( in_array( $pagenow, array( 'edit-tags.php', 'term.php' ), true ) ) {
139
  $tabs = $this->get_taxonomy_tabs( $taxonomy );
140
  }
141
 
@@ -460,6 +490,8 @@ if ( !class_exists( 'YIT_Plugin_Panel' ) ) {
460
  foreach ( $this->settings[ 'admin-tabs' ] as $tab => $tab_value ) {
461
  $active_class = ( $current_tab == $tab ) ? ' nav-tab-active' : '';
462
  $active_class .= 'premium' == $tab ? ' ' . $premium_class : '';
 
 
463
  $first_sub_tab = $this->get_first_sub_tab_key( $tab );
464
  $sub_tab = !!$first_sub_tab ? $first_sub_tab : '';
465
 
@@ -538,7 +570,6 @@ if ( !class_exists( 'YIT_Plugin_Panel' ) ) {
538
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
539
  */
540
  public function yit_panel() {
541
- $this->maybe_redirect_to_proper_wp_page();
542
  $yit_options = $this->get_main_array_options();
543
  $wrap_class = isset( $this->settings[ 'class' ] ) ? $this->settings[ 'class' ] : '';
544
 
@@ -1285,7 +1316,10 @@ if ( !class_exists( 'YIT_Plugin_Panel' ) ) {
1285
  break;
1286
  }
1287
  }
1288
- return $tabs;
 
 
 
1289
  }
1290
 
1291
  public function get_taxonomy_tabs( $taxonomy ) {
@@ -1301,7 +1335,10 @@ if ( !class_exists( 'YIT_Plugin_Panel' ) ) {
1301
  break;
1302
  }
1303
  }
1304
- return $tabs;
 
 
 
1305
  }
1306
 
1307
 
@@ -1313,13 +1350,15 @@ if ( !class_exists( 'YIT_Plugin_Panel' ) ) {
1313
  * @author Leanza Francesco <leanzafrancesco@gmail.com>
1314
  */
1315
  public function maybe_redirect_to_proper_wp_page() {
1316
- if ( !isset( $_REQUEST[ 'yith-plugin-fw-panel-skip-redirect' ] ) ) {
1317
- $url = $this->get_nav_url( $this->settings[ 'page' ], $this->get_current_tab(), $this->get_current_sub_tab() );
1318
- if ( strpos( $url, 'edit.php' ) !== false || strpos( $url, 'edit-tags.php' ) !== false ) {
1319
- wp_safe_redirect( add_query_arg( array( 'yith-plugin-fw-panel-skip-redirect' => 1 ), $url ) );
1320
- exit;
1321
- }
1322
- }
 
 
1323
  }
1324
 
1325
  /**
105
  add_action( 'admin_init', array( $this, 'add_fields' ) );
106
 
107
  add_action( 'admin_enqueue_scripts', array( $this, 'init_wp_with_tabs' ), 11 );
108
+ add_action( 'admin_init', array( $this, 'maybe_redirect_to_proper_wp_page' ) );
109
 
110
  // init actions once to prevent multiple actions
111
  static::_init_actions();
119
 
120
  }
121
 
122
+ /**
123
+ * Is this a custom post type page?
124
+ *
125
+ * @return bool
126
+ * @see YIT_Plugin_Panel::init_wp_with_tabs
127
+ * @since 3.4.17
128
+ */
129
+ protected function is_custom_post_type_page() {
130
+ global $pagenow, $post_type;
131
+ $excluded_post_types = array( 'product', 'page', 'post' );
132
+
133
+ return in_array( $pagenow, array( 'post.php', 'post-new.php', 'edit.php' ), true ) &&
134
+ ! in_array( $post_type, $excluded_post_types, true );
135
+ }
136
+
137
+ /**
138
+ * Is this a custom taxonomy page?
139
+ *
140
+ * @return bool
141
+ * @see YIT_Plugin_Panel::init_wp_with_tabs
142
+ * @since 3.4.17
143
+ */
144
+ protected function is_custom_taxonomy_page() {
145
+ global $pagenow, $taxonomy;
146
+ $excluded_taxonomies = array( 'category', 'post_tag', 'product_cat', 'product_tag' );
147
+
148
+ return in_array( $pagenow, array( 'edit-tags.php', 'term.php' ), true ) &&
149
+ ! in_array( $taxonomy, $excluded_taxonomies, true );
150
+ }
151
+
152
  /**
153
  * Init actions to show YITH Panel tabs in WP Pages
154
  *
160
  return;
161
  }
162
 
163
+ global $post_type, $taxonomy;
164
  $tabs = false;
165
 
166
+ if ( $this->is_custom_post_type_page() ) {
 
167
  $tabs = $this->get_post_type_tabs( $post_type );
168
+ } else if ( $this->is_custom_taxonomy_page() ) {
169
  $tabs = $this->get_taxonomy_tabs( $taxonomy );
170
  }
171
 
490
  foreach ( $this->settings[ 'admin-tabs' ] as $tab => $tab_value ) {
491
  $active_class = ( $current_tab == $tab ) ? ' nav-tab-active' : '';
492
  $active_class .= 'premium' == $tab ? ' ' . $premium_class : '';
493
+ $active_class = apply_filters( 'yith_plugin_fw_panel_active_tab_class', $active_class, $current_tab, $tab );
494
+
495
  $first_sub_tab = $this->get_first_sub_tab_key( $tab );
496
  $sub_tab = !!$first_sub_tab ? $first_sub_tab : '';
497
 
570
  * @author Emanuela Castorina <emanuela.castorina@yithemes.it>
571
  */
572
  public function yit_panel() {
 
573
  $yit_options = $this->get_main_array_options();
574
  $wrap_class = isset( $this->settings[ 'class' ] ) ? $this->settings[ 'class' ] : '';
575
 
1316
  break;
1317
  }
1318
  }
1319
+
1320
+ $panel_page = isset( $this->settings['page'] ) ? $this->settings['page'] : 'general';
1321
+
1322
+ return apply_filters( "yith_plugin_fw_panel_{$panel_page}_get_post_type_tabs", $tabs, $post_type );
1323
  }
1324
 
1325
  public function get_taxonomy_tabs( $taxonomy ) {
1335
  break;
1336
  }
1337
  }
1338
+
1339
+ $panel_page = isset( $this->settings['page'] ) ? $this->settings['page'] : 'general';
1340
+
1341
+ return apply_filters( "yith_plugin_fw_panel_{$panel_page}_get_taxonomy_tabs", $tabs, $taxonomy );
1342
  }
1343
 
1344
 
1350
  * @author Leanza Francesco <leanzafrancesco@gmail.com>
1351
  */
1352
  public function maybe_redirect_to_proper_wp_page() {
1353
+ global $pagenow;
1354
+ if ( 'admin.php' === $pagenow && isset( $_GET['page'] ) && $this->settings['page'] === $_GET['page'] &&
1355
+ ! $this->is_custom_taxonomy_page() && ! $this->is_custom_post_type_page() && ! isset( $_REQUEST['yith-plugin-fw-panel-skip-redirect'] ) ) {
1356
+ $url = $this->get_nav_url( $this->settings['page'], $this->get_current_tab(), $this->get_current_sub_tab() );
1357
+ if ( strpos( $url, 'edit.php' ) !== false || strpos( $url, 'edit-tags.php' ) !== false ) {
1358
+ wp_safe_redirect( add_query_arg( array( 'yith-plugin-fw-panel-skip-redirect' => 1 ), $url ) );
1359
+ exit;
1360
+ }
1361
+ }
1362
  }
1363
 
1364
  /**
plugin-fw/lib/yith-system-status.php CHANGED
@@ -129,7 +129,7 @@ if ( ! class_exists( 'YITH_System_Status' ) ) {
129
  public function add_submenu_page() {
130
 
131
  $system_info = get_option( 'yith_system_info', array() );
132
- $error_notice = ( $system_info['errors'] === true ? ' <span class="yith-system-info-menu update-plugins">!</span>' : '' );
133
  $settings = array(
134
  'parent_page' => 'yith_plugin_panel',
135
  'page_title' => __( 'System Status', 'yith-plugin-fw' ),
129
  public function add_submenu_page() {
130
 
131
  $system_info = get_option( 'yith_system_info', array() );
132
+ $error_notice = ( isset( $system_info['errors'] ) && $system_info['errors'] === true ? ' <span class="yith-system-info-menu update-plugins">!</span>' : '' );
133
  $settings = array(
134
  'parent_page' => 'yith_plugin_panel',
135
  'page_title' => __( 'System Status', 'yith-plugin-fw' ),
plugin-fw/package.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "yith-plugin-framewowrk",
3
+ "version": "3.4.19",
4
+ "description": "YITH Plugin Framework",
5
+ "main": "Gruntfile.js",
6
+ "scripts": {
7
+ "build": "npm run js && npm run i18n",
8
+ "js": "grunt js",
9
+ "i18n": "grunt i18n"
10
+ },
11
+ "author": "YITH",
12
+ "license": "GPL-3.0+",
13
+ "keywords": [],
14
+ "devDependencies": {
15
+ "grunt": "^1.0.3",
16
+ "grunt-cli": "^1.3.2",
17
+ "grunt-contrib-jshint": "^2.0.0",
18
+ "grunt-contrib-uglify-es": "github:gruntjs/grunt-contrib-uglify#harmony",
19
+ "grunt-wp-i18n": "^1.0.2"
20
+ }
21
+ }
plugin-fw/templates/fields/dimensions.php ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This file belongs to the YIT Plugin Framework.
4
+ * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
5
+ * that is bundled with this package in the file LICENSE.txt.
6
+ * It is also available through the world-wide-web at this URL:
7
+ * http://www.gnu.org/licenses/gpl-3.0.txt
8
+ *
9
+ * @var array $field
10
+ */
11
+
12
+ ! defined( 'ABSPATH' ) && exit; // Exit if accessed directly
13
+
14
+ $default_options = array(
15
+ 'dimensions' => array(
16
+ 'top' => _x( 'Top', 'Position in the "Dimensions" field', 'yith-plugin-fw' ),
17
+ 'right' => _x( 'Right', 'Position in the "Dimensions" field', 'yith-plugin-fw' ),
18
+ 'bottom' => _x( 'Bottom', 'Position in the "Dimensions" field', 'yith-plugin-fw' ),
19
+ 'left' => _x( 'Left', 'Position in the "Dimensions" field', 'yith-plugin-fw' ),
20
+ ),
21
+ 'units' => array(
22
+ 'px' => 'px',
23
+ 'percentage' => '%',
24
+ ),
25
+ 'allow_linked' => true,
26
+ 'min' => false,
27
+ 'max' => false,
28
+ );
29
+
30
+ $field = wp_parse_args( $field, $default_options );
31
+
32
+ /**
33
+ * @var string $id
34
+ * @var string $custom_attributes
35
+ * @var array $dimensions
36
+ * @var array $units
37
+ * @var bool $allow_linked
38
+ * @var bool|int $min
39
+ * @var bool|int $max
40
+ */
41
+ extract( $field );
42
+
43
+ $class = isset( $class ) ? $class : '';
44
+ $class = 'yith-plugin-fw-dimensions ' . $class;
45
+
46
+ $value = ! empty( $value ) ? $value : array();
47
+
48
+ $unit_value = isset( $value['unit'] ) ? $value['unit'] : current( array_keys( $units ) );
49
+ $dimensions_values = isset( $value['dimensions'] ) ? $value['dimensions'] : array();
50
+ $linked = isset( $value['linked'] ) ? $value['linked'] : 'yes';
51
+
52
+ if ( $allow_linked && 'yes' === $linked ) {
53
+ $class .= ' yith-plugin-fw-dimensions--linked-active';
54
+ }
55
+ ?>
56
+ <div id="<?php echo $id ?>" class="<?php echo $class; ?>"
57
+ <?php echo $custom_attributes ?>
58
+ <?php echo isset( $data ) ? yith_plugin_fw_html_data_to_string( $data ) : ''; ?>
59
+ >
60
+ <div class="yith-plugin-fw-dimensions__units">
61
+ <input class='yith-plugin-fw-dimensions__unit__value' type="hidden" name="<?php echo $name ?>[unit]" value="<?php echo isset( $value['unit'] ) ? $value['unit'] : current( array_keys( $units ) ) ?>">
62
+ <?php foreach ( $units as $key => $label ) : ?>
63
+ <?php
64
+ $key = sanitize_title( $key );
65
+ $classes = array(
66
+ 'yith-plugin-fw-dimensions__unit',
67
+ "yith-plugin-fw-dimensions__unit--{$key}-unit",
68
+ );
69
+ if ( $unit_value === $key ) {
70
+ $classes[] = 'yith-plugin-fw-dimensions__unit--selected';
71
+ }
72
+ $classes = implode( ' ', $classes );
73
+ ?>
74
+ <span class="<?php echo $classes; ?>" data-value="<?php echo $key; ?>"><?php echo $label; ?></span>
75
+ <?php endforeach ?>
76
+ </div>
77
+
78
+ <ul class="yith-plugin-fw-dimensions__dimensions">
79
+ <?php foreach ( $dimensions as $key => $dimension ) : ?>
80
+ <?php
81
+ $d_id = "{$id}-dimension-" . sanitize_title( $key );
82
+ $d_name = "{$name}[dimensions][" . sanitize_title( $key ) . "]";
83
+ $d_value = isset( $dimensions_values[ $key ] ) ? $dimensions_values[ $key ] : 0;
84
+ $d_attributes = '';
85
+ $d_label = $dimension;
86
+ $d_min = $min;
87
+ $d_max = $max;
88
+
89
+ if ( is_array( $dimension ) ) {
90
+ $d_label = isset( $dimension['label'] ) ? $dimension['label'] : $key;
91
+ if ( isset( $dimension['custom_attributes'] ) ) {
92
+ $d_attributes .= $dimension['custom_attributes'];
93
+ }
94
+ $d_min = isset( $dimension['min'] ) ? $dimension['min'] : $d_min;
95
+ $d_max = isset( $dimension['max'] ) ? $dimension['max'] : $d_max;
96
+ }
97
+
98
+ if ( $d_max !== false ) {
99
+ $d_attributes = " max='{$d_max}' . $d_attributes";
100
+ }
101
+
102
+ if ( $d_min !== false ) {
103
+ $d_attributes = " min='{$d_min}' " . $d_attributes;
104
+ }
105
+
106
+ ?>
107
+ <li class="yith-plugin-fw-dimensions__dimension yith-plugin-fw-dimensions__dimension--<?php echo sanitize_title( $key ); ?>">
108
+ <input id="<?php echo $d_id; ?>" class="yith-plugin-fw-dimensions__dimension__number"
109
+ type="number" name="<?php echo $d_name; ?>" value="<?php echo $d_value; ?>"
110
+ <?php echo $d_attributes; ?>
111
+ >
112
+ <label for="<?php echo $d_id; ?>" class="yith-plugin-fw-dimensions__dimension__label"><?php echo $d_label; ?></label>
113
+ </li>
114
+ <?php endforeach ?>
115
+
116
+ <?php if ( $allow_linked ): ?>
117
+ <li class="yith-plugin-fw-dimensions__linked" title="<?php _ex( 'Link values together', 'Tooltip in the "Dimensions" field', 'yith-plugin-fw' ); ?>">
118
+ <input class='yith-plugin-fw-dimensions__linked__value' type="hidden" name="<?php echo $name ?>[linked]" value="<?php echo $linked ?>">
119
+ <span class="dashicons dashicons-admin-links"></span>
120
+ </li>
121
+ <?php endif; ?>
122
+ </ul>
123
+ </div>
plugin-fw/templates/fields/onoff.php CHANGED
@@ -21,11 +21,11 @@ extract( $field );
21
  <?php echo $custom_attributes ?>
22
  />
23
  <span class="yith-plugin-fw-onoff"
24
- data-text-on="<?php echo esc_attr_x( 'ON', 'ON/OFF button: use MAX 3 characters!', 'yith-plugin-fw' ); ?>"
25
- data-text-off="<?php echo esc_attr_x( 'OFF', 'ON/OFF button: use MAX 3 characters!', 'yith-plugin-fw' ); ?>"></span>
26
  </div>
27
  <?php
28
  if ( isset( $field[ 'desc-inline' ] ) ) {
29
  echo "<span class='description inline'>" . $field[ 'desc-inline' ] . "</span>";
30
  }
31
- ?>
21
  <?php echo $custom_attributes ?>
22
  />
23
  <span class="yith-plugin-fw-onoff"
24
+ data-text-on="<?php echo esc_attr_x( 'YES', 'YES/NO button: use MAX 3 characters!', 'yith-plugin-fw' ); ?>"
25
+ data-text-off="<?php echo esc_attr_x( 'NO', 'YES/NO button: use MAX 3 characters!', 'yith-plugin-fw' ); ?>"></span>
26
  </div>
27
  <?php
28
  if ( isset( $field[ 'desc-inline' ] ) ) {
29
  echo "<span class='description inline'>" . $field[ 'desc-inline' ] . "</span>";
30
  }
31
+ ?>
plugin-fw/templates/fields/select-images.php CHANGED
@@ -34,17 +34,18 @@ $wrapper_id = $id . '-wrapper';
34
 
35
  <ul class="yith-plugin-fw-select-images__list">
36
  <?php foreach ( $options as $key => $item ) :
37
- $label = !empty( $item[ 'label' ] ) ? $item[ 'label' ] : $key;
38
- $image = !empty( $item[ 'image' ] ) ? $item[ 'image' ] : '';
 
39
  if ( $image ) :
40
  $selected_class = 'yith-plugin-fw-select-images__item--selected';
41
  $current_class = $key === $value ? $selected_class : '';
42
  ?>
43
- <li class="yith-plugin-fw-select-images__item <?php echo $current_class ?>" data-key="<?php echo $key ?>">
44
  <?php if ( $label ) : ?>
45
  <div class="yith-plugin-fw-select-images__item__label"><?php echo $label ?></div>
46
  <?php endif; ?>
47
- <img src="<?php echo $image ?>">
48
  </li>
49
  <?php endif; ?>
50
  <?php endforeach; ?>
34
 
35
  <ul class="yith-plugin-fw-select-images__list">
36
  <?php foreach ( $options as $key => $item ) :
37
+ $label = ! empty( $item['label'] ) ? $item['label'] : $key;
38
+ $image = ! empty( $item['image'] ) ? $item['image'] : '';
39
+ $img_data = ! empty( $item['data'] ) ? yith_plugin_fw_html_data_to_string( $item['data'] ): '';
40
  if ( $image ) :
41
  $selected_class = 'yith-plugin-fw-select-images__item--selected';
42
  $current_class = $key === $value ? $selected_class : '';
43
  ?>
44
+ <li class="yith-plugin-fw-select-images__item <?php echo $current_class ?>" data-key="<?php echo $key ?>" <?php echo $img_data; ?>>
45
  <?php if ( $label ) : ?>
46
  <div class="yith-plugin-fw-select-images__item__label"><?php echo $label ?></div>
47
  <?php endif; ?>
48
+ <img class="yith-plugin-fw-select-images_src" src="<?php echo $image ?>" />
49
  </li>
50
  <?php endif; ?>
51
  <?php endforeach; ?>
plugin-fw/templates/fields/upload.php CHANGED
@@ -18,7 +18,7 @@ extract( $field );
18
  <div class="yith-plugin-fw-upload-img-preview" style="margin-top:10px;">
19
  <?php
20
  $file = $value;
21
- if ( preg_match( '/(jpg|jpeg|png|gif|ico)$/', $file ) ) {
22
  echo "<img src='$file' style='max-width:600px; max-height:300px;' />";
23
  }
24
  ?>
18
  <div class="yith-plugin-fw-upload-img-preview" style="margin-top:10px;">
19
  <?php
20
  $file = $value;
21
+ if ( preg_match( '/(jpg|jpeg|png|gif|ico|svg)$/', $file ) ) {
22
  echo "<img src='$file' style='max-width:600px; max-height:300px;' />";
23
  }
24
  ?>
plugin-fw/yit-functions.php CHANGED
@@ -1366,4 +1366,43 @@ if ( !function_exists( 'yith_plugin_fw_add_requirements' ) ) {
1366
 
1367
  }
1368
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1369
  }
1366
 
1367
  }
1368
  }
1369
+ }
1370
+
1371
+ if ( ! function_exists( 'yith_plugin_fw_parse_dimensions' ) ) {
1372
+ /**
1373
+ * Parse dimensions stored through a "dimensions" field to a key-value array
1374
+ * where the key will be equal to the dimension key
1375
+ * and the value will be equal to the value of the dimension suffixed with the unit
1376
+ *
1377
+ * @param array $values
1378
+ * @return array
1379
+ */
1380
+ function yith_plugin_fw_parse_dimensions( $values ) {
1381
+ $dimensions = array();
1382
+ if ( is_array( $values ) && isset( $values['dimensions'], $values['unit'] ) && is_array( $values['dimensions'] ) ) {
1383
+ $raw_unit = $values['unit'];
1384
+ $unit = 'percentage' === $raw_unit ? '%' : $raw_unit;
1385
+ foreach ( $values['dimensions'] as $key => $value ) {
1386
+ $dimensions[ $key ] = $value . $unit;
1387
+ }
1388
+ }
1389
+
1390
+ return $dimensions;
1391
+ }
1392
+ }
1393
+
1394
+ if ( ! function_exists( 'yith_plugin_fw_get_dimensions_by_option' ) ) {
1395
+ /**
1396
+ * Retrieve a parsed array of dimensions by an option
1397
+ *
1398
+ * @param string $option
1399
+ * @param bool|array $default
1400
+ *
1401
+ * @return array|bool
1402
+ */
1403
+ function yith_plugin_fw_get_dimensions_by_option( $option, $default = false ) {
1404
+ $dimensions = get_option( $option, false );
1405
+
1406
+ return ! ! $dimensions ? yith_plugin_fw_parse_dimensions( $dimensions ) : $default;
1407
+ }
1408
  }
widgets/class.yith-wcan-navigation-widget.php CHANGED
@@ -53,7 +53,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
53
  return;
54
  }
55
 
56
- if ( apply_filters( 'yith_wcan_show_widget', ! is_post_type_archive( 'product' ) && ! is_tax( $_attributes_array ) ) ) {
57
  return;
58
  }
59
 
@@ -70,7 +70,8 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
70
  $is_parent_class = 'yit-wcan-parent-terms';
71
  $is_chosen_class = 'chosen';
72
  $terms_type_list = ( isset( $instance['display'] ) ) ? $instance['display'] : 'all';
73
- $in_array_function = apply_filters( 'yith_wcan_in_array_ignor_case', false ) ? 'yit_in_array_ignore_case' : 'in_array';
 
74
 
75
  $instance['attribute'] = empty( $instance['attribute'] ) ? '' : $instance['attribute'];
76
  $instance['extra_class'] = empty( $instance['extra_class'] ) ? '' : $instance['extra_class'];
@@ -90,7 +91,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
90
  if ( ! taxonomy_exists( $taxonomy ) ) {
91
  return;
92
  }
93
-
94
  $terms = yit_get_terms( $terms_type_list, $taxonomy, $instance );
95
 
96
  if ( count( $terms ) > 0 ) {
@@ -142,7 +143,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
142
  do_action( 'yith_wcan_before_print_list', $taxonomy );
143
 
144
  $this->add_reset_taxonomy_link( $taxonomy, $instance );
145
-
146
  // List display
147
  echo "<ul class='yith-wcan-list yith-wcan {$instance['extra_class']}'>";
148
 
@@ -163,7 +164,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
163
  echo "<ul class='yith-wcan-select yith-wcan {$instance['extra_class']}'>";
164
 
165
  foreach ( $terms as $term ) {
166
-
167
  // Get count based on current view - uses transients
168
  //$transient_name = 'wc_ln_count_' . md5( sanitize_key( $taxonomy ) . sanitize_key( $term->term_id ) );
169
 
@@ -209,6 +210,9 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
209
  $this->found = true;
210
  }
211
 
 
 
 
212
  }
213
 
214
  $arg = apply_filters('yith_wcan_select_type_query_arg', 'filter_' . sanitize_title($instance['attribute']), $display_type, $term);
@@ -364,11 +368,11 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
364
 
365
  echo '<li ' . $class . '>';
366
 
367
- echo ( $count > 0 || $option_is_set ) ? '<a ' . $rel_nofollow . ' data-type="select" href="' . $link . '">' : '<span>';
368
 
369
  echo $term->name;
370
 
371
- echo ( $count > 0 || $option_is_set ) ? '</a>' : '</span>';
372
 
373
  echo '</li>';
374
 
@@ -389,8 +393,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
389
 
390
  //if ( false === ( $_products_in_term = get_transient( $transient_name ) ) ) {
391
 
392
- $_products_in_term = get_objects_in_term( $term->term_id, $taxonomy );
393
-
394
  //set_transient( $transient_name, $_products_in_term );
395
  //}
396
 
@@ -969,7 +972,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
969
  function update( $new_instance, $old_instance ) {
970
  $instance = $old_instance;
971
  $instance['title'] = strip_tags( $new_instance['title'] );
972
- $instance['attribute'] = stripslashes( $new_instance['attribute'] );
973
  $instance['query_type'] = stripslashes( $new_instance['query_type'] );
974
  $instance['type'] = stripslashes( $new_instance['type'] );
975
  $instance['colors'] = ! empty( $new_instance['colors'] ) ? $new_instance['colors'] : array();
@@ -1067,7 +1070,8 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
1067
  //set_transient($transient_name, $_products_in_term);
1068
  //}
1069
 
1070
- $option_is_set = (isset($_chosen_attributes[$taxonomy]) && $in_array_function($term->term_id, $_chosen_attributes[$taxonomy]['terms']));
 
1071
 
1072
  $term_param = apply_filters('yith_wcan_term_param_uri', $term->$filter_term_field, $display_type, $term);
1073
 
@@ -1084,7 +1088,7 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
1084
  if ($count > 0 ) {
1085
  $this->found = true;
1086
  }
1087
-
1088
  $arg = apply_filters('yith_wcan_list_type_query_arg', 'filter_' . sanitize_title($instance['attribute']), $display_type, $term, $instance['attribute']);
1089
 
1090
  $current_filter = (isset($_GET[$arg])) ? explode(apply_filters('yith_wcan_list_filter_operator', ',', $display_type), apply_filters("yith_wcan_list_filter_query_{$arg}", $_GET[$arg] ) ) : array();
@@ -1105,16 +1109,14 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
1105
  if ($_chosen_attributes) {
1106
  foreach ($_chosen_attributes as $name => $data) {
1107
  if ($name !== $taxonomy) {
1108
-
 
1109
  // Exclude query arg for current term archive
1110
  if ($in_array_function($term->slug, $data['terms'])) {
1111
  $key = array_search($current_term, $data);
1112
  unset($data['terms'][$key]);
1113
  }
1114
 
1115
- // Remove pa_ and sanitize
1116
- $filter_name = sanitize_title(str_replace('pa_', '', $name));
1117
-
1118
  if (!empty($data['terms'])) {
1119
  $link = add_query_arg('filter_' . $filter_name, implode(',', $data['terms']), $link);
1120
  }
@@ -1123,6 +1125,11 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
1123
  $link = add_query_arg('query_type_' . $filter_name, 'or', $link);
1124
  }
1125
  }
 
 
 
 
 
1126
  }
1127
  }
1128
 
@@ -1306,4 +1313,4 @@ if ( ! class_exists( 'YITH_WCAN_Navigation_Widget' ) ) {
1306
  //Override in Premium classes
1307
  public function add_reset_taxonomy_link( $taxonomy, $instance ){}
1308
  }
1309
- }
53
  return;
54
  }
55
 
56
+ if ( apply_filters( 'yith_wcan_show_widget', ! is_post_type_archive( 'product' ) && ! is_tax( $_attributes_array ), $instance ) ) {
57
  return;
58
  }
59
 
70
  $is_parent_class = 'yit-wcan-parent-terms';
71
  $is_chosen_class = 'chosen';
72
  $terms_type_list = ( isset( $instance['display'] ) ) ? $instance['display'] : 'all';
73
+ $in_array_function = apply_filters( 'yith_wcan_in_array_ignor_case', false ) ? 'yit_in_array_ignore_case' : 'in_array';
74
+ $instance['id'] = $this->id;
75
 
76
  $instance['attribute'] = empty( $instance['attribute'] ) ? '' : $instance['attribute'];
77
  $instance['extra_class'] = empty( $instance['extra_class'] ) ? '' : $instance['extra_class'];
91
  if ( ! taxonomy_exists( $taxonomy ) ) {
92
  return;
93
  }
94
+
95
  $terms = yit_get_terms( $terms_type_list, $taxonomy, $instance );
96
 
97
  if ( count( $terms ) > 0 ) {
143
  do_action( 'yith_wcan_before_print_list', $taxonomy );
144
 
145
  $this->add_reset_taxonomy_link( $taxonomy, $instance );
146
+
147
  // List display
148
  echo "<ul class='yith-wcan-list yith-wcan {$instance['extra_class']}'>";
149
 
164
  echo "<ul class='yith-wcan-select yith-wcan {$instance['extra_class']}'>";
165
 
166
  foreach ( $terms as $term ) {
167
+ $this->found = false;
168
  // Get count based on current view - uses transients
169
  //$transient_name = 'wc_ln_count_' . md5( sanitize_key( $taxonomy ) . sanitize_key( $term->term_id ) );
170
 
210
  $this->found = true;
211
  }
212
 
213
+ if ( apply_filters( 'yith_wcan_skip_no_products_dropdown', $count == 0 ) ) {
214
+ continue;
215
+ }
216
  }
217
 
218
  $arg = apply_filters('yith_wcan_select_type_query_arg', 'filter_' . sanitize_title($instance['attribute']), $display_type, $term);
368
 
369
  echo '<li ' . $class . '>';
370
 
371
+ echo ( $this->found || $option_is_set ) ? '<a ' . $rel_nofollow . ' data-type="select" href="' . $link . '">' : '<span>';
372
 
373
  echo $term->name;
374
 
375
+ echo ( $this->found || $option_is_set ) ? '</a>' : '</span>';
376
 
377
  echo '</li>';
378
 
393
 
394
  //if ( false === ( $_products_in_term = get_transient( $transient_name ) ) ) {
395
 
396
+ $_products_in_term = get_objects_in_term( apply_filters( 'yith_wcan_color_get_objects_in_term', $term->term_id, $taxonomy, $term ), $taxonomy );
 
397
  //set_transient( $transient_name, $_products_in_term );
398
  //}
399
 
972
  function update( $new_instance, $old_instance ) {
973
  $instance = $old_instance;
974
  $instance['title'] = strip_tags( $new_instance['title'] );
975
+ $instance['attribute'] = ! empty( $new_instance['attribute'] ) ? stripslashes( $new_instance['attribute'] ) : array();
976
  $instance['query_type'] = stripslashes( $new_instance['query_type'] );
977
  $instance['type'] = stripslashes( $new_instance['type'] );
978
  $instance['colors'] = ! empty( $new_instance['colors'] ) ? $new_instance['colors'] : array();
1070
  //set_transient($transient_name, $_products_in_term);
1071
  //}
1072
 
1073
+ $option_is_set = (isset($_chosen_attributes[$taxonomy]) && $in_array_function($term->$filter_term_field, $_chosen_attributes[$taxonomy]['terms']));
1074
+
1075
 
1076
  $term_param = apply_filters('yith_wcan_term_param_uri', $term->$filter_term_field, $display_type, $term);
1077
 
1088
  if ($count > 0 ) {
1089
  $this->found = true;
1090
  }
1091
+
1092
  $arg = apply_filters('yith_wcan_list_type_query_arg', 'filter_' . sanitize_title($instance['attribute']), $display_type, $term, $instance['attribute']);
1093
 
1094
  $current_filter = (isset($_GET[$arg])) ? explode(apply_filters('yith_wcan_list_filter_operator', ',', $display_type), apply_filters("yith_wcan_list_filter_query_{$arg}", $_GET[$arg] ) ) : array();
1109
  if ($_chosen_attributes) {
1110
  foreach ($_chosen_attributes as $name => $data) {
1111
  if ($name !== $taxonomy) {
1112
+ // Remove pa_ and sanitize
1113
+ $filter_name = sanitize_title(str_replace('pa_', '', $name));
1114
  // Exclude query arg for current term archive
1115
  if ($in_array_function($term->slug, $data['terms'])) {
1116
  $key = array_search($current_term, $data);
1117
  unset($data['terms'][$key]);
1118
  }
1119
 
 
 
 
1120
  if (!empty($data['terms'])) {
1121
  $link = add_query_arg('filter_' . $filter_name, implode(',', $data['terms']), $link);
1122
  }
1125
  $link = add_query_arg('query_type_' . $filter_name, 'or', $link);
1126
  }
1127
  }
1128
+
1129
+ else {
1130
+ $filter_name = sanitize_title(str_replace('pa_', '', $name));
1131
+ $link = remove_query_arg('filter_' . $filter_name, $link);
1132
+ }
1133
  }
1134
  }
1135
 
1313
  //Override in Premium classes
1314
  public function add_reset_taxonomy_link( $taxonomy, $instance ){}
1315
  }
1316
+ }
widgets/class.yith-wcan-reset-navigation-widget.php CHANGED
@@ -33,7 +33,7 @@ if ( ! class_exists( 'YITH_WCAN_Reset_Navigation_Widget' ) ) {
33
 
34
  $_attributes_array = yit_wcan_get_product_taxonomy();
35
 
36
- if ( apply_filters( 'yith_wcan_show_widget', ! is_post_type_archive( 'product' ) && ! is_tax( $_attributes_array ) ) ) {
37
  return;
38
  }
39
 
33
 
34
  $_attributes_array = yit_wcan_get_product_taxonomy();
35
 
36
+ if ( apply_filters( 'yith_wcan_show_widget', ! is_post_type_archive( 'product' ) && ! is_tax( $_attributes_array ), $instance ) ) {
37
  return;
38
  }
39