Version Description
- Updated: YITH WooCommerce Badge Mangement
- Updated: YITH WooCommerce Color and Label Variations
- Updated: YITH WooCommerce Compare
- Updated: YITH WooCommerce Quick View
Download this release
Release Info
Developer | yithemes |
Plugin | YITH Essential Kit for WooCommerce #1 |
Version | 1.0.7 |
Comparing to | |
See all releases |
Code changes from version 1.0.6 to 1.0.7
- README.txt +32 -3
- init.php +1 -1
- modules/yith-woocommerce-advanced-reviews/readme.txt +0 -167
- modules/yith-woocommerce-badge-management/assets/css/admin.css +0 -329
- modules/yith-woocommerce-badge-management/assets/css/frontend.css +0 -34
- modules/yith-woocommerce-badge-management/assets/images/01-bg.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/01-icon.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/01.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/02-bg.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/02-icon.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/02.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/03-bg.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/03-icon.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/03.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/04-bg.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/04-icon.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/04.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/05-bg.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/05-icon.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/05.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/06-bg.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/06-icon.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/06.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/07-bg.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/07-icon.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/07.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/08-bg.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/08-icon.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/08.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/1.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/2.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/3.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/4.png +0 -0
- modules/yith-woocommerce-badge-management/assets/images/upgrade.png +0 -0
- modules/yith-woocommerce-badge-management/assets/js/metabox_options.js +0 -119
- modules/yith-woocommerce-badge-management/class.yith-wcbm-admin.php +0 -396
- modules/yith-woocommerce-badge-management/class.yith-wcbm-frontend.php +0 -210
- modules/yith-woocommerce-badge-management/class.yith-wcbm.php +0 -115
- modules/yith-woocommerce-badge-management/functions.yith-wcbm.php +0 -242
- modules/yith-woocommerce-badge-management/init.php +0 -124
- modules/yith-woocommerce-badge-management/languages/yith-wcbm.pot +0 -1081
- modules/yith-woocommerce-badge-management/plugin-options/premium-options.php +0 -13
- modules/yith-woocommerce-badge-management/plugin-options/settings-options.php +0 -29
- modules/yith-woocommerce-badge-management/templates/badge_content.php +0 -41
- modules/yith-woocommerce-badge-management/templates/premium.php +0 -364
- modules/yith-woocommerce-badges-management/class.yith-wcbm-frontend.php +8 -4
- modules/yith-woocommerce-badges-management/init.php +3 -3
- modules/yith-woocommerce-colors-labels-variations/changelog.txt +4 -0
- modules/yith-woocommerce-colors-labels-variations/init.php +3 -3
- modules/yith-woocommerce-colors-labels-variations/languages/ywcl-it_IT.mo +0 -0
- modules/yith-woocommerce-colors-labels-variations/languages/ywcl-it_IT.po +185 -0
- modules/yith-woocommerce-colors-labels-variations/languages/ywcl.pot +74 -0
- modules/yith-woocommerce-colors-labels-variations/templates/single-product/add-to-cart/variable-wccl.php +2 -2
- modules/yith-woocommerce-compare/includes/class.yith-woocompare-admin.php +5 -2
- modules/yith-woocommerce-compare/includes/class.yith-woocompare-frontend.php +4 -4
- modules/yith-woocommerce-compare/init.php +3 -3
- modules/yith-woocommerce-quick-view/assets/js/frontend.js +2 -1
- modules/yith-woocommerce-quick-view/init.php +3 -3
- modules/yith-woocommerce-quick-view/languages/yith-wcqv.pot +1 -1
- modules/yith-woocommerce-quick-view/templates/yith-quick-view-content.php +5 -3
- screenshot-10.png +0 -0
- screenshot-11.png +0 -0
- screenshot-12.png +0 -0
- screenshot-13.png +0 -0
- screenshot-14.jpg +0 -0
- screenshot-15.jpg +0 -0
- screenshot-16.jpg +0 -0
- screenshot-17.jpg +0 -0
- screenshot-18.jpg +0 -0
- screenshot-19.png +0 -0
- screenshot-2.png +0 -0
- screenshot-20.png +0 -0
- screenshot-21.png +0 -0
- screenshot-22.jpg +0 -0
- screenshot-23.png +0 -0
- screenshot-3.png +0 -0
- screenshot-4.png +0 -0
- screenshot-5.png +0 -0
- screenshot-6.png +0 -0
- screenshot-7.png +0 -0
- screenshot-8.png +0 -0
- screenshot-9.jpg +0 -0
README.txt
CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
|
|
4 |
Tags: woocommerce,jetpack,woocommerce jetpack, essential, kit, plugins, plugin, product, e-commerce, ecommerce, commerce, shop, yith, yit, yithemes,yith woocommerce colors and labels variations, colors and labels variations,colors and labels variations jetpack,yith woocommerce zoom magnifier,zoom magnifier,zoom magnifier jetpack,yith woocommerce wishlist,wishlist,wishlist jetpack,yith woocommerce compare,compare,compare jetpack,yith woocommerce ajax product filter,ajax product filter,ajax product filter jetpack,yith woocommerce ajax search,ajax search,ajax search jetpack,yith woocommerce catalog mode,catalog mode,catalog mode jetpack,yith woocommerce order tracking,order tracking,order tracking jetpack, yith woocommerce advanced reviews,advanced reviews,advanced reviews jetpack,yith woocommerce badges management,badges management,badges management jetpack,yith woocommerce cart messages,cart messages,cart messages jetpack,yith woocommerce review reminder,review reminder,review reminder jetpack,yith woocommerce quick view,quick view,quick view jetpack,yith live chat,live chat,live chat jetpack,yith woocommerce eu vat,eu vat,eu vat jetpack,yith woocommerce mailchimp,mailchimp,mailchimp jetpack,yith woocommerce stripe,stripe, stripe jetpack,yith infinite scrolling,infinite scrolling,infinite scrolling jetpack,yith woocommerce request a quote,request a quote,request a quote jetpack,yith woocommerce waiting list,waiting list,waiting list jetpack,yith woocommerce tab manager,tab manager,tab manager jetpack,yith woocommerce multi vendor,multi vendor,multi vendor jetpack,product vendor,products vendor,products vendor jetpack, booster for woocommerce
|
5 |
Requires at least: 3.5.1
|
6 |
Tested up to: 4.2.4
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -105,6 +105,28 @@ Multi store and live chat<br />
|
|
105 |
|
106 |
== Screenshots ==
|
107 |
1. Admin: plugins list
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
|
109 |
== Frequently Asked Questions ==
|
110 |
|
@@ -128,13 +150,20 @@ YITH Essential Kit for WooCommerce #1 will add a new submenu called "YITH Essent
|
|
128 |
|
129 |
== Changelog ==
|
130 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
= 1.0.6 =
|
132 |
|
133 |
* Updated: YITH WooCommerce Color and Label Variations
|
134 |
|
135 |
= 1.0.5 =
|
136 |
|
137 |
-
* Fixed: theme compatibility
|
138 |
|
139 |
= 1.0.4 =
|
140 |
|
@@ -158,5 +187,5 @@ YITH Essential Kit for WooCommerce #1 will add a new submenu called "YITH Essent
|
|
158 |
|
159 |
== Upgrade Notice ==
|
160 |
|
161 |
-
Last Stable Tag 1.0.
|
162 |
|
4 |
Tags: woocommerce,jetpack,woocommerce jetpack, essential, kit, plugins, plugin, product, e-commerce, ecommerce, commerce, shop, yith, yit, yithemes,yith woocommerce colors and labels variations, colors and labels variations,colors and labels variations jetpack,yith woocommerce zoom magnifier,zoom magnifier,zoom magnifier jetpack,yith woocommerce wishlist,wishlist,wishlist jetpack,yith woocommerce compare,compare,compare jetpack,yith woocommerce ajax product filter,ajax product filter,ajax product filter jetpack,yith woocommerce ajax search,ajax search,ajax search jetpack,yith woocommerce catalog mode,catalog mode,catalog mode jetpack,yith woocommerce order tracking,order tracking,order tracking jetpack, yith woocommerce advanced reviews,advanced reviews,advanced reviews jetpack,yith woocommerce badges management,badges management,badges management jetpack,yith woocommerce cart messages,cart messages,cart messages jetpack,yith woocommerce review reminder,review reminder,review reminder jetpack,yith woocommerce quick view,quick view,quick view jetpack,yith live chat,live chat,live chat jetpack,yith woocommerce eu vat,eu vat,eu vat jetpack,yith woocommerce mailchimp,mailchimp,mailchimp jetpack,yith woocommerce stripe,stripe, stripe jetpack,yith infinite scrolling,infinite scrolling,infinite scrolling jetpack,yith woocommerce request a quote,request a quote,request a quote jetpack,yith woocommerce waiting list,waiting list,waiting list jetpack,yith woocommerce tab manager,tab manager,tab manager jetpack,yith woocommerce multi vendor,multi vendor,multi vendor jetpack,product vendor,products vendor,products vendor jetpack, booster for woocommerce
|
5 |
Requires at least: 3.5.1
|
6 |
Tested up to: 4.2.4
|
7 |
+
Stable tag: 1.0.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
105 |
|
106 |
== Screenshots ==
|
107 |
1. Admin: plugins list
|
108 |
+
2. YITH WooCommerce Wishlist add all Wishlist features to your website. Needs WooCommerce to work. WooCommerce 2.3.x compatible.
|
109 |
+
3. YITH WooCommerce Zoom Magnifier add zoom effect to product images and a customizable image slider.
|
110 |
+
4. YITH WooCommerce Compare allows you to compare more products of your shop in one complete table. WooCommerce Compatible up to 2.4.x
|
111 |
+
5. YITH WooCommerce Ajax Product Filter offers the perfect way to filter all the products of your shop.
|
112 |
+
6. YITH WooCommerce Ajax Search allows your users to search products in real time.
|
113 |
+
7. YITH WooCommerce Advanced Reviews extends the basic functionality of woocommerce reviews and add a histogram table to the reviews of your products, as well as you see in most trendy e-
|
114 |
+
8. YITH WooCommerce Order Tracking add an easy tool to manage order shipping information of your shop and to notified your customers about the shipping.
|
115 |
+
9. YITH WooCommerce Catalog Mode, a plugin for disabling sales in your e-commerce and turn it into an e-commerce into an online catalogue.
|
116 |
+
10. YITH Authorize.net allows your users to pay using the Authorize.net network services. It requires WooCommerce to work. WooCommerce 2.3.x compatible.
|
117 |
+
11. YITH Woocommerce Cart Messages plugin let you add custom messages in the cart page and/or in the checkout page.
|
118 |
+
12. YITH WooCommerce Stripe plugin let you add a new payment gateway based on Stripe.com
|
119 |
+
13. YITH Woocommerce Request A Quote plugin lets your customers ask for an estimate of a list of products they are interested into.
|
120 |
+
14. YITH WooCommerce Review Reminder allows you to send a reminder to customers with an invitation to do a review of the items purchased.
|
121 |
+
15. YITH WooCommerce Quick View adds the possibility to have a quick preview of the products right from product list
|
122 |
+
16. YITH WooCommerce Multi Vendor is a plugin developed to switch your website into a platform hosting more than one shop, like a multivendor marketplace.
|
123 |
+
17. YITH Live Chat, an exceptional plugin to make your clients feel comfortable as in a physical shop. Ask for information and get immediate feedback
|
124 |
+
18. YITH Infinite Scrolling add infinite scrolling to archive post or shop page. 100% WooCommerce Compatible.
|
125 |
+
19. YITH WooCommerce Badge Management allows you to create and manage custom badges for products.
|
126 |
+
20. YITH WooCommerce Tab Manager plugin let you add custom tabs in single product page
|
127 |
+
21. YITH WooCommerce Mailchimp integrate MailChimp into your e-commerce shop to manage users' subscription directly from your store. WooCommerce 2.3.x compatible.
|
128 |
+
22. YITH WooCommerce Waiting List enables registered users to request an email notification when an out-of-stock product comes back into stock.
|
129 |
+
23. YITH WooCommerce EU VAT manage correctly your European customers with their own tax laws about digital goods.
|
130 |
|
131 |
== Frequently Asked Questions ==
|
132 |
|
150 |
|
151 |
== Changelog ==
|
152 |
|
153 |
+
= 1.0.7 =
|
154 |
+
|
155 |
+
* Updated: YITH WooCommerce Badge Mangement
|
156 |
+
* Updated: YITH WooCommerce Color and Label Variations
|
157 |
+
* Updated: YITH WooCommerce Compare
|
158 |
+
* Updated: YITH WooCommerce Quick View
|
159 |
+
|
160 |
= 1.0.6 =
|
161 |
|
162 |
* Updated: YITH WooCommerce Color and Label Variations
|
163 |
|
164 |
= 1.0.5 =
|
165 |
|
166 |
+
* Fixed: WooCommerce and theme compatibility
|
167 |
|
168 |
= 1.0.4 =
|
169 |
|
187 |
|
188 |
== Upgrade Notice ==
|
189 |
|
190 |
+
Last Stable Tag 1.0.7
|
191 |
|
init.php
CHANGED
@@ -7,7 +7,7 @@ Text Domain: yith-jetpack
|
|
7 |
Domain Path: /languages/
|
8 |
Author: YIThemes
|
9 |
Author URI: http://yithemes.com/
|
10 |
-
Version: 1.0.
|
11 |
*/
|
12 |
|
13 |
if ( ! defined( 'ABSPATH' ) ) {
|
7 |
Domain Path: /languages/
|
8 |
Author: YIThemes
|
9 |
Author URI: http://yithemes.com/
|
10 |
+
Version: 1.0.7
|
11 |
*/
|
12 |
|
13 |
if ( ! defined( 'ABSPATH' ) ) {
|
modules/yith-woocommerce-advanced-reviews/readme.txt
DELETED
@@ -1,167 +0,0 @@
|
|
1 |
-
=== YITH WooCommerce Advanced Reviews ===
|
2 |
-
|
3 |
-
Contributors: yithemes
|
4 |
-
Tags: reviews, woocommerce, products, themes, yit, yith, e-commerce, shop, advanced reviews, reviews attachments, rating summary, product comment, review replies, advanced comments, product comments, vote review, vote comment, amazon, amazon style, amazon reviews, review report, review reports, most voted reviews, best reviews, rate review, rate product
|
5 |
-
Requires at least: 4.0
|
6 |
-
Tested up to: 4.2.4
|
7 |
-
Stable tag: 1.1.4
|
8 |
-
License: GPLv2 or later
|
9 |
-
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
-
|
11 |
-
Extends the basic functionality of woocommerce reviews and add a histogram table to the reviews of your products, as well as you see in most trendy e-commerce sites.
|
12 |
-
|
13 |
-
== Description ==
|
14 |
-
|
15 |
-
Add a histogram table to the reviews of you
|
16 |
-
|
17 |
-
r products, as well as you see in most trendy e-commerce sites, and give users the possibility to attach images to their reviews. Keep up-to-date about most trendy products thanks to the new options conceived to manage an advanced review system.
|
18 |
-
|
19 |
-
= Detail, feedback and customisability in one plugin only =
|
20 |
-
|
21 |
-
YITH Woocommerce Advanced Reviews offers something more than the traditional displaying of product review and rating.
|
22 |
-
It allows your users to add a title and one or more attachments to their reviews. Furthermore, a summary is generated for each product with an indication of how many reviews have been written for each different rating.
|
23 |
-
|
24 |
-
Research states that other users' reviews are the primary information, together with product price obviously, that drives them to buy an item or not. Let your users discover what other users say about the product.
|
25 |
-
|
26 |
-
= Main features =
|
27 |
-
|
28 |
-
* Convert standard reviews in YITH WooCommerce Advanced Reviews new format.
|
29 |
-
* Add rich snippets to the reviews.
|
30 |
-
* Let your customers add a title when writing a product review.
|
31 |
-
* Let you customers attach some image as attachment to the product review.
|
32 |
-
* Choose how many files can be appended for a single product review.
|
33 |
-
* Add review summary bar with statistics about how many times a rating of 1,2,3,4 or 5 stars was submitted.
|
34 |
-
* Customize look and feel.
|
35 |
-
|
36 |
-
For a more detailed list of options and features of the plugin, please look at the [official documentation](http://yithemes.com/docs-plugins/yith-woocommerce-advanced-reviews/ "Yith WooCommerce Advanced Reviews official documentation").
|
37 |
-
|
38 |
-
Discover all the features of the plugin and install it in your theme: the result will be extremely satisfying.
|
39 |
-
|
40 |
-
== Installation ==
|
41 |
-
|
42 |
-
Important: before of all you have to download and activate WooCommerce plugin, which is mandatory for Yith WooCommerce Advanced Reviews to be working. If WooCommerce plugin is active, you just need to activate the Yith WooCommerce Advanced Reviews plugin.
|
43 |
-
|
44 |
-
= Configuration =
|
45 |
-
|
46 |
-
YITH WooCommerce Advanced Reviews will add a new tab called "Advanced Reviews" inside the YIT Plugins menu item. There you are able to configure all plugin settings.
|
47 |
-
|
48 |
-
1. Unzip the downloaded zip file.
|
49 |
-
2. Upload the plugin folder into the `wp-content/plugins/` directory of your WordPress site.
|
50 |
-
3. Activate `YITH WooCommerce Advanced Reviews` from Plugins page.
|
51 |
-
|
52 |
-
== Screenshots ==
|
53 |
-
|
54 |
-
1. This is the general setting page, you can find it in "YIT Plugins" menu item. There you can set if a title should be shown on review submit form and on review content. You can also set if enable attachments and how many files the client is allowed to append.
|
55 |
-
2. Convert all previously created reviews to YITH WooCommerce Advanced Reviews format, without losing any data.
|
56 |
-
3. Customize the summary bar background, foreground and text color and if the percentage value must be shown inside the percentage bars.
|
57 |
-
4. Manage all reviews from a dedicated page.
|
58 |
-
5. Order reviews by rating from highest to lowest, and vice versa.
|
59 |
-
6. Edit reviews with bulk actions.
|
60 |
-
7. Submit form is extended to allow users to add a title and one or more attachments files.
|
61 |
-
8. This is how an advanced review with additional title and attached thumbnail looks like.
|
62 |
-
9. Review summary is shown before review list. It displays statistics about the rating chosen by users submitting reviews.
|
63 |
-
|
64 |
-
== Frequently Asked Questions ==
|
65 |
-
|
66 |
-
* What happens to the already available reviews if I activate your plugin?
|
67 |
-
|
68 |
-
All the already available reviews of the system are easily convertible in the YITH WooCommerce Advanced Reviews format with the specific feature.
|
69 |
-
|
70 |
-
* Can I upgrade free version plugin to premium?
|
71 |
-
|
72 |
-
Of course. It's easy. Go to this page, purchase premium version and install it into your theme. Activating the premium version, you will automatically deactivate the free one.
|
73 |
-
|
74 |
-
* Do I lose the settings of the free version if I activate the premium one?
|
75 |
-
|
76 |
-
No, the premium version will keep in memory your settings, while new features will be unlocked.
|
77 |
-
|
78 |
-
* Can i overwrite templates plugin?
|
79 |
-
|
80 |
-
Of course, you can overwrite templates and add features through the specific hook.
|
81 |
-
|
82 |
-
* Can I customize the plugin for a better theme integration?
|
83 |
-
|
84 |
-
You can customize some visual attribute from the plugin option. For better integration, you can both overwrite the template and customize the look and feel writing your own CSS rules.
|
85 |
-
|
86 |
-
== Changelog ==
|
87 |
-
|
88 |
-
= Version 1.1.4 - RELEASED: AUG 12, 2015 =
|
89 |
-
|
90 |
-
* Tweak: update YITH Plugin framework.
|
91 |
-
|
92 |
-
= Version 1.1.3 - RELEASED: MAY 12 , 2015 =
|
93 |
-
|
94 |
-
* Fix: when the review author is unknown, it was shown admin user as content author.
|
95 |
-
|
96 |
-
= Version 1.1.2 - RELEASED: MAY 11 , 2015 =
|
97 |
-
|
98 |
-
* New: Custom template are fully overwritable from theme files.
|
99 |
-
|
100 |
-
= Version 1.1.1 - RELEASED: MAY 07 , 2015 =
|
101 |
-
|
102 |
-
* Fixed: Call to undefined function session_status for previous PHP version.
|
103 |
-
|
104 |
-
= Version 1.1.0 - RELEASED: MAY 06 , 2015 =
|
105 |
-
|
106 |
-
* Added: advanced reviews custom post type.
|
107 |
-
* Added: check the review status from a single page.
|
108 |
-
* Added: filter the reviews by status or update the status with bulk actions
|
109 |
-
|
110 |
-
= Version 1.0.8 - RELEASED: APR 14, 2015 =
|
111 |
-
|
112 |
-
* Added: updated documentation
|
113 |
-
|
114 |
-
= Version 1.0.7 - RELEASED: FEB 12, 2015 =
|
115 |
-
|
116 |
-
* Added: Woocommerce 2.3 support
|
117 |
-
* Tweak: String translation
|
118 |
-
|
119 |
-
= Version 1.0.6 - RELEASED: FEB 06, 2015 =
|
120 |
-
|
121 |
-
* Tweak: Buttons with WooCommerce style
|
122 |
-
* Fixed: "Load more" button style strong appearance
|
123 |
-
* Tweak: Review summary overwritten by theme
|
124 |
-
* Tweak: Theme compatibility improvement
|
125 |
-
|
126 |
-
= VERSION 1.0.5 - RELEASED: FEB 04, 2015 =
|
127 |
-
|
128 |
-
* Tweak: Plugin core framework
|
129 |
-
|
130 |
-
= VERSION 1.0.4 - RELEASED: FEB 02, 2015 =
|
131 |
-
|
132 |
-
* Fixed: Minor bugs
|
133 |
-
|
134 |
-
= VERSION 1.0.3 - RELEASED: JAN 30, 2015 =
|
135 |
-
|
136 |
-
* Tweak: Plugin core framework
|
137 |
-
* Tweak: Theme integration
|
138 |
-
|
139 |
-
= VERSION 1.0.2 - RELEASED: DEC 29, 2014 =
|
140 |
-
|
141 |
-
* Fixed: Yit_Plugin_Panel_WooCommerce class do not exists.
|
142 |
-
|
143 |
-
= VERSION 1.0.1 - RELEASED: DEC 23, 20141.0.1 =
|
144 |
-
|
145 |
-
* Updated: Plugin core framework
|
146 |
-
* Tweak: Plugin options page
|
147 |
-
* Fixed: Minor bugs
|
148 |
-
|
149 |
-
= 1.0.0 =
|
150 |
-
|
151 |
-
* Initial release
|
152 |
-
|
153 |
-
== Upgrade Notice ==
|
154 |
-
|
155 |
-
Last Stable Tag 1.1.3 - Released on May 12, 2015
|
156 |
-
|
157 |
-
== Suggestions ==
|
158 |
-
|
159 |
-
If you have suggestions about how to improve YITH WooCommerce Advanced Reviews, you can [write us](mailto:plugins@yithemes.com "Your Inspiration Themes") so we can bundle them into YITH WooCommerce Advanced Reviews.
|
160 |
-
|
161 |
-
== Translators ==
|
162 |
-
|
163 |
-
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")
|
164 |
-
[use](http://yithemes.com/contact/ "Your Inspiration Themes") so we can bundle it into YITH WooCommerce Advanced Reviews languages.
|
165 |
-
|
166 |
-
= Available Languages =
|
167 |
-
* English
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
modules/yith-woocommerce-badge-management/assets/css/admin.css
DELETED
@@ -1,329 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* Admin style
|
3 |
-
*
|
4 |
-
* @author Leanza Francesco
|
5 |
-
* @version 1.0.0
|
6 |
-
*/
|
7 |
-
|
8 |
-
|
9 |
-
#yith-wcbm-metabox .inside {
|
10 |
-
overflow: auto;
|
11 |
-
position: static !important;
|
12 |
-
}
|
13 |
-
|
14 |
-
.inside div.ui-corner-all{
|
15 |
-
|
16 |
-
}
|
17 |
-
|
18 |
-
.tab-container{
|
19 |
-
overflow: auto;
|
20 |
-
background: transparent !important;
|
21 |
-
border:0 !important;
|
22 |
-
}
|
23 |
-
|
24 |
-
.tab-container li.ui-corner-top{
|
25 |
-
border-radius: 0;
|
26 |
-
}
|
27 |
-
|
28 |
-
.tab-container .ui-state-default a, .tab-container .ui-state-default a:link, .tab-container .ui-state-default a:visited{
|
29 |
-
color: #555;
|
30 |
-
}
|
31 |
-
|
32 |
-
.tab-container .ui-state-default:hover{
|
33 |
-
background: #f1f1f1;
|
34 |
-
}
|
35 |
-
|
36 |
-
.tab-container li.ui-state-default{
|
37 |
-
background: #e4e4e4;
|
38 |
-
}
|
39 |
-
|
40 |
-
.tab-container li.ui-state-active, .tab-container li.ui-tabs-active{
|
41 |
-
background: #fff;
|
42 |
-
color: #000;
|
43 |
-
}
|
44 |
-
|
45 |
-
.tab-container li.ui-state-active:hover, .tab-container li.ui-tabs-active:hover{
|
46 |
-
background: #fff;
|
47 |
-
}
|
48 |
-
|
49 |
-
.tab-container div.ui-tabs, .tab-container div.ui-tabs-panel{
|
50 |
-
padding: 0;
|
51 |
-
}
|
52 |
-
|
53 |
-
.half-left {
|
54 |
-
width: 66%;
|
55 |
-
float: left;
|
56 |
-
margin-right: 1%;
|
57 |
-
box-sizing: border-box;
|
58 |
-
}
|
59 |
-
.half-right {
|
60 |
-
width: 33%;
|
61 |
-
float: left;
|
62 |
-
box-sizing: border-box;
|
63 |
-
}
|
64 |
-
|
65 |
-
.section-container{
|
66 |
-
border: 1px solid #aaa;
|
67 |
-
padding: 10px;
|
68 |
-
margin-top: 20px;
|
69 |
-
position: relative;
|
70 |
-
}
|
71 |
-
|
72 |
-
.section-container div.section-title{
|
73 |
-
background: #fff;
|
74 |
-
padding: 5px;
|
75 |
-
color: #000;
|
76 |
-
font-size: 14px;
|
77 |
-
font-weight: 800;
|
78 |
-
position: absolute;
|
79 |
-
top:-15px;
|
80 |
-
left: 10px;
|
81 |
-
}
|
82 |
-
|
83 |
-
.section-content-container{
|
84 |
-
overflow: auto;
|
85 |
-
width:100%;
|
86 |
-
margin: 0;
|
87 |
-
padding: 0;
|
88 |
-
}
|
89 |
-
|
90 |
-
table.section-table{
|
91 |
-
width:100%;
|
92 |
-
}
|
93 |
-
|
94 |
-
table.section-table tr{
|
95 |
-
|
96 |
-
}
|
97 |
-
|
98 |
-
td.table-title{
|
99 |
-
width:30%;
|
100 |
-
vertical-align: top;
|
101 |
-
}
|
102 |
-
|
103 |
-
td.table-content{
|
104 |
-
width:70%;
|
105 |
-
}
|
106 |
-
|
107 |
-
td.table-align-top{
|
108 |
-
vertical-align: top;
|
109 |
-
}
|
110 |
-
|
111 |
-
div.table-description{
|
112 |
-
width: 100%;
|
113 |
-
font-size: 11px;
|
114 |
-
}
|
115 |
-
|
116 |
-
table.table-mini-title th{
|
117 |
-
font-size: 10px;
|
118 |
-
font-weight: 400;
|
119 |
-
text-transform: uppercase;
|
120 |
-
}
|
121 |
-
|
122 |
-
h3#preview_title{
|
123 |
-
text-align: center;
|
124 |
-
margin-bottom: 2px;
|
125 |
-
}
|
126 |
-
|
127 |
-
#preview-bg {
|
128 |
-
display:block;
|
129 |
-
position:relative;
|
130 |
-
width:150px;
|
131 |
-
height:150px;
|
132 |
-
background: #ddd;
|
133 |
-
box-sizing: border-box;
|
134 |
-
z-index:0;
|
135 |
-
margin: 0 auto;
|
136 |
-
}
|
137 |
-
#preview-badge {
|
138 |
-
position: absolute;
|
139 |
-
box-sizing: border-box;
|
140 |
-
text-align: center;
|
141 |
-
z-index:10;
|
142 |
-
line-height: 0;
|
143 |
-
}
|
144 |
-
|
145 |
-
/*** METABOX ***/
|
146 |
-
.yith-wcbm-container-button{
|
147 |
-
width:100%;
|
148 |
-
overflow: auto;
|
149 |
-
}
|
150 |
-
|
151 |
-
h3.section-title {
|
152 |
-
padding: 0 !important;
|
153 |
-
margin-top: 15px !important;
|
154 |
-
margin-bottom: 15px !important;
|
155 |
-
}
|
156 |
-
|
157 |
-
.minisection-container{
|
158 |
-
margin-top: 10px;
|
159 |
-
overflow: auto;
|
160 |
-
}
|
161 |
-
|
162 |
-
#yith-wcbm-custom-button, #yith-wcbm-image-button{
|
163 |
-
float:left;
|
164 |
-
padding-left: 15px;
|
165 |
-
padding-right: 15px;
|
166 |
-
height: 30px;
|
167 |
-
margin-right: 10px;
|
168 |
-
line-height: 30px;
|
169 |
-
text-align: center;
|
170 |
-
border-radius: 7px;
|
171 |
-
border: 1px #c5c5c5 solid;
|
172 |
-
text-transform: uppercase;
|
173 |
-
cursor: pointer;
|
174 |
-
}
|
175 |
-
|
176 |
-
.yith-wcbm-button-selected{
|
177 |
-
background: #f5f5f5;
|
178 |
-
cursor: default !important;
|
179 |
-
}
|
180 |
-
|
181 |
-
#yith-wcbm-panel-image{
|
182 |
-
width:100%;
|
183 |
-
overflow: auto;
|
184 |
-
padding-top: 15px;
|
185 |
-
padding-right: 5px;
|
186 |
-
}
|
187 |
-
|
188 |
-
.yith-wcbm-select-image-btn{
|
189 |
-
position:relative;
|
190 |
-
float:left;
|
191 |
-
width:17%;
|
192 |
-
height:0;
|
193 |
-
padding-bottom: 17%;
|
194 |
-
margin: 1%;
|
195 |
-
margin-right: 2%;
|
196 |
-
border-radius: 5px;
|
197 |
-
border: 1px #d5d5d5 solid;
|
198 |
-
background-repeat:no-repeat;
|
199 |
-
background-position:center center;
|
200 |
-
cursor: pointer;
|
201 |
-
box-sizing: border-box;
|
202 |
-
}
|
203 |
-
|
204 |
-
.yith-wcbm-select-image-btn-selected{
|
205 |
-
border: 1px #4968ff solid;
|
206 |
-
box-shadow:0px 0px 2px 0px #4968ff;
|
207 |
-
-webkit-box-shadow: 0px 0px 2px 0px #4968ff;
|
208 |
-
-moz-box-shadow: 0px 0px 2px 0px #4968ff;
|
209 |
-
-o-box-shadow: 0px 0px 2px 0px #4968ff;
|
210 |
-
-ms-box-shadow: 0px 0px 2px 0px #4968ff;
|
211 |
-
}
|
212 |
-
|
213 |
-
div.wp-picker-holder {
|
214 |
-
z-index: 10;
|
215 |
-
position: absolute;
|
216 |
-
}
|
217 |
-
|
218 |
-
/* === PREMIUM SECTION === */
|
219 |
-
/**
|
220 |
-
* Admin style Premium
|
221 |
-
*
|
222 |
-
* @author Leanza Francesco
|
223 |
-
* @version 1.0.0
|
224 |
-
*/
|
225 |
-
table.table-four-colums{
|
226 |
-
width:100%;
|
227 |
-
}
|
228 |
-
|
229 |
-
.table-four-colums th, .table-four-colums td {
|
230 |
-
width: 24%;
|
231 |
-
margin-right: 1%;
|
232 |
-
text-align: center;
|
233 |
-
}
|
234 |
-
|
235 |
-
.table-four-colums td input {
|
236 |
-
margin: 0 auto;
|
237 |
-
}
|
238 |
-
|
239 |
-
#preview_box{
|
240 |
-
position:relative;
|
241 |
-
overflow:hidden;
|
242 |
-
}
|
243 |
-
|
244 |
-
#preview-badge img{
|
245 |
-
max-width: 200px;
|
246 |
-
max-height: 200px;
|
247 |
-
}
|
248 |
-
|
249 |
-
.uploader_sect{
|
250 |
-
width:100%;
|
251 |
-
float:left;
|
252 |
-
margin-top: 20px;
|
253 |
-
}
|
254 |
-
|
255 |
-
.delete_custom_image {
|
256 |
-
display: none;
|
257 |
-
position: absolute;
|
258 |
-
top:-12px;
|
259 |
-
right:-12px;
|
260 |
-
z-index: 100;
|
261 |
-
width:30px;
|
262 |
-
height:30px;
|
263 |
-
background: url("../images/x.png");
|
264 |
-
background-repeat:no-repeat;
|
265 |
-
background-position:center center;
|
266 |
-
}
|
267 |
-
|
268 |
-
.yith_wcbm_select_image_btn:hover > .delete_custom_image {
|
269 |
-
display: block;
|
270 |
-
}
|
271 |
-
|
272 |
-
#yith-wcbm-opacity{
|
273 |
-
float: left;
|
274 |
-
}
|
275 |
-
|
276 |
-
#output-opacity{
|
277 |
-
background-color: #eee;
|
278 |
-
border: 1px #ddd solid;
|
279 |
-
border-radius: 50%;
|
280 |
-
text-align: center;
|
281 |
-
font-size: 10px;
|
282 |
-
line-height: 25px;
|
283 |
-
float: left;
|
284 |
-
width: 25px;
|
285 |
-
height: 25px;
|
286 |
-
vertical-align: middle;
|
287 |
-
}
|
288 |
-
|
289 |
-
#yith-wcbm-metabox .ui-widget-header{
|
290 |
-
border: 0;
|
291 |
-
border-radius: 0;
|
292 |
-
border-bottom: 1px solid #e4e4e4;
|
293 |
-
background: transparent;
|
294 |
-
}
|
295 |
-
|
296 |
-
div#preview-desc{
|
297 |
-
margin-bottom: 150px;
|
298 |
-
font-size: 11px;
|
299 |
-
font-weight: 400;
|
300 |
-
padding-left: 10px;
|
301 |
-
}
|
302 |
-
|
303 |
-
#yith-wcbm-metabox a.ui-tabs-anchor:focus{
|
304 |
-
outline:none;
|
305 |
-
border:0;
|
306 |
-
box-shadow: none;
|
307 |
-
-webkit-box-shadow: none;
|
308 |
-
-moz-box-shadow: none;
|
309 |
-
-o-box-shadow: none;
|
310 |
-
-ms-box-shadow: none;
|
311 |
-
}
|
312 |
-
|
313 |
-
#preview-bg{
|
314 |
-
cursor: pointer;
|
315 |
-
}
|
316 |
-
|
317 |
-
#preview-loader{
|
318 |
-
display: none;
|
319 |
-
position: absolute;
|
320 |
-
background: url('spinner.gif') no-repeat;
|
321 |
-
border-radius: 5px;
|
322 |
-
border-radius: 5px;
|
323 |
-
opacity: 0.7;
|
324 |
-
width: 20px;
|
325 |
-
height: 20px;
|
326 |
-
top: 65px;
|
327 |
-
left: 65px;
|
328 |
-
z-index: 999;
|
329 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
modules/yith-woocommerce-badge-management/assets/css/frontend.css
DELETED
@@ -1,34 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* Frontend style
|
3 |
-
*
|
4 |
-
* @author Leanza Francesco
|
5 |
-
* @version 1.0.0
|
6 |
-
*/
|
7 |
-
|
8 |
-
.yith-wcbm-badge {
|
9 |
-
position: absolute;
|
10 |
-
box-sizing: border-box;
|
11 |
-
text-align: center;
|
12 |
-
z-index:10;
|
13 |
-
}
|
14 |
-
.yith-wcbm-badge img{
|
15 |
-
max-width: 200px;
|
16 |
-
max-height: 200px;
|
17 |
-
}
|
18 |
-
p.yith-wcbm-badge-txt {
|
19 |
-
margin: 0;
|
20 |
-
padding: 0;
|
21 |
-
}
|
22 |
-
|
23 |
-
.container-image-and-badge{
|
24 |
-
position:relative;
|
25 |
-
display:block;
|
26 |
-
}
|
27 |
-
|
28 |
-
.yith-wcbm-badge img{
|
29 |
-
margin: 0 !important;
|
30 |
-
}
|
31 |
-
|
32 |
-
span.onsale{
|
33 |
-
z-index:10;
|
34 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
modules/yith-woocommerce-badge-management/assets/images/01-bg.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/01-icon.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/01.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/02-bg.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/02-icon.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/02.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/03-bg.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/03-icon.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/03.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/04-bg.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/04-icon.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/04.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/05-bg.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/05-icon.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/05.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/06-bg.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/06-icon.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/06.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/07-bg.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/07-icon.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/07.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/08-bg.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/08-icon.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/08.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/1.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/2.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/3.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/4.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/images/upgrade.png
DELETED
Binary file
|
modules/yith-woocommerce-badge-management/assets/js/metabox_options.js
DELETED
@@ -1,119 +0,0 @@
|
|
1 |
-
jQuery(function($){
|
2 |
-
|
3 |
-
var type = $( '#yith-wcbm-badge-type').data( 'type' ),
|
4 |
-
tab_container = $(".tab-container"),
|
5 |
-
preview_badge = $('#preview-badge'),
|
6 |
-
btn_text = $('#btn-text'),
|
7 |
-
btn_image = $('#btn-image'),
|
8 |
-
half_left = $(".half-left"),
|
9 |
-
half_right = $(".half-right"),
|
10 |
-
url_for_images = $('#yith-wcbm-url-for-images').val(),
|
11 |
-
flag = 0,
|
12 |
-
correct_height = function(){
|
13 |
-
half_left.removeAttr("style");
|
14 |
-
half_right.removeAttr("style");
|
15 |
-
half_left.css({'min-height' : '450px'});
|
16 |
-
if ( half_right.height() > half_left.height()){
|
17 |
-
half_left.height(half_right.height());
|
18 |
-
}else{
|
19 |
-
half_right.height(half_left.height());
|
20 |
-
}
|
21 |
-
},
|
22 |
-
preview_render = function() {
|
23 |
-
if ( type != 'image' ){
|
24 |
-
preview_badge.html($("#yith-wcbm-text").val());
|
25 |
-
preview_badge.css({
|
26 |
-
"color": $("#yith-wcbm-txt-color").val(),
|
27 |
-
"background-color": $("#yith-wcbm-bg-color").val(),
|
28 |
-
"width": $("#yith-wcbm-width").val() + "px",
|
29 |
-
"height": $("#yith-wcbm-height").val() + "px",
|
30 |
-
"line-height": $("#yith-wcbm-height").val() + "px"
|
31 |
-
});
|
32 |
-
|
33 |
-
}else{
|
34 |
-
preview_badge.removeAttr("style");
|
35 |
-
var image_badge = $("#yith-wcbm-image-url").val();
|
36 |
-
preview_badge.html('<img src="' + url_for_images + image_badge + '" />');
|
37 |
-
}
|
38 |
-
|
39 |
-
var position = $("#yith-wcbm-position").val();
|
40 |
-
switch(position){
|
41 |
-
case 'top-right':
|
42 |
-
preview_badge.css({'top': '0', 'bottom': 'auto', 'left': 'auto', 'right': '0'});
|
43 |
-
break;
|
44 |
-
case 'bottom-left':
|
45 |
-
preview_badge.css({'top': 'auto', 'bottom': '0', 'left': '0', 'right': 'auto'});
|
46 |
-
break;
|
47 |
-
case 'bottom-right':
|
48 |
-
preview_badge.css({'top': 'auto', 'bottom': '0', 'left': 'auto', 'right': '0'});
|
49 |
-
break;
|
50 |
-
default:
|
51 |
-
preview_badge.css({'top': '0', 'bottom': 'auto', 'left': '0', 'right': 'auto'});
|
52 |
-
}
|
53 |
-
};
|
54 |
-
|
55 |
-
preview_render();
|
56 |
-
$("input.update-preview").on("change paste keyup input focus", function() {
|
57 |
-
preview_render();
|
58 |
-
});
|
59 |
-
$("select.update-preview").on("change focus", function() {
|
60 |
-
preview_render();
|
61 |
-
});
|
62 |
-
$('.yith-wcbm-color-picker').wpColorPicker({
|
63 |
-
change: preview_render
|
64 |
-
});
|
65 |
-
$('.iris-palette').on('click', function(){
|
66 |
-
setTimeout(preview_render,1);
|
67 |
-
});
|
68 |
-
|
69 |
-
/*** Button Control ***/
|
70 |
-
var selected_class = 'yith-wcbm-button-selected',
|
71 |
-
input_type = $("#yith-wcbm-badge-type"),
|
72 |
-
input_image_url = $("#yith-wcbm-image-url"),
|
73 |
-
button_select_image = $(".yith-wcbm-select-image-btn");
|
74 |
-
|
75 |
-
btn_text.on('click', function(){
|
76 |
-
input_type.val('text');
|
77 |
-
type = 'text';
|
78 |
-
correct_height();
|
79 |
-
preview_render();
|
80 |
-
});
|
81 |
-
btn_image.on('click', function(){
|
82 |
-
input_type.val('image');
|
83 |
-
type = 'image';
|
84 |
-
correct_height();
|
85 |
-
preview_render();
|
86 |
-
});
|
87 |
-
|
88 |
-
tab_container.tabs();
|
89 |
-
switch(type){
|
90 |
-
case 'image':
|
91 |
-
tab_container.tabs('option', 'active', 1);
|
92 |
-
break;
|
93 |
-
default:
|
94 |
-
}
|
95 |
-
|
96 |
-
button_select_image.on( 'click', function(e){
|
97 |
-
var badge_image_url = $(this).attr('badge_image_url');
|
98 |
-
input_image_url.val(badge_image_url);
|
99 |
-
preview_render();
|
100 |
-
button_select_image.removeClass("yith-wcbm-select-image-btn-selected");
|
101 |
-
$(this).addClass("yith-wcbm-select-image-btn-selected");
|
102 |
-
} );
|
103 |
-
|
104 |
-
//add selected css class to the selected image button
|
105 |
-
button_select_image.each(function(){
|
106 |
-
if ($(this).attr('badge_image_url') == input_image_url.val()){
|
107 |
-
$(this).addClass("yith-wcbm-select-image-btn-selected");
|
108 |
-
flag = 1;
|
109 |
-
}
|
110 |
-
});
|
111 |
-
if (flag == 0 && input_image_url.val().length == 0){
|
112 |
-
button_select_image.first().trigger('click');
|
113 |
-
}
|
114 |
-
correct_height();
|
115 |
-
|
116 |
-
// Hide the "view badge" button
|
117 |
-
$('#view-post-btn').hide();
|
118 |
-
|
119 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
modules/yith-woocommerce-badge-management/class.yith-wcbm-admin.php
DELETED
@@ -1,396 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Admin class
|
4 |
-
*
|
5 |
-
* @author Yithemes
|
6 |
-
* @package YITH WooCommerce Badge Management
|
7 |
-
* @version 1.0.0
|
8 |
-
*/
|
9 |
-
|
10 |
-
if ( !defined( 'YITH_WCBM' ) ) { exit; } // Exit if accessed directly
|
11 |
-
|
12 |
-
require_once('functions.yith-wcbm.php');
|
13 |
-
|
14 |
-
if( !class_exists( 'YITH_WCBM_Admin' ) ) {
|
15 |
-
/**
|
16 |
-
* Admin class.
|
17 |
-
* The class manage all the admin behaviors.
|
18 |
-
*
|
19 |
-
* @since 1.0.0
|
20 |
-
*/
|
21 |
-
class YITH_WCBM_Admin {
|
22 |
-
|
23 |
-
/**
|
24 |
-
* Single instance of the class
|
25 |
-
*
|
26 |
-
* @var \YITH_WCQV_Admin
|
27 |
-
* @since 1.0.0
|
28 |
-
*/
|
29 |
-
protected static $instance;
|
30 |
-
|
31 |
-
/**
|
32 |
-
* Plugin options
|
33 |
-
*
|
34 |
-
* @var array
|
35 |
-
* @access public
|
36 |
-
* @since 1.0.0
|
37 |
-
*/
|
38 |
-
public $options = array();
|
39 |
-
|
40 |
-
/**
|
41 |
-
* Plugin version
|
42 |
-
*
|
43 |
-
* @var string
|
44 |
-
* @since 1.0.0
|
45 |
-
*/
|
46 |
-
public $version = YITH_WCBM_VERSION;
|
47 |
-
|
48 |
-
/**
|
49 |
-
* @var $_panel Panel Object
|
50 |
-
*/
|
51 |
-
protected $_panel;
|
52 |
-
|
53 |
-
/**
|
54 |
-
* @var string Premium version landing link
|
55 |
-
*/
|
56 |
-
protected $_premium_landing = 'https://yithemes.com/themes/plugins/yith-woocommerce-badges-management/';
|
57 |
-
|
58 |
-
/**
|
59 |
-
* @var string Quick View panel page
|
60 |
-
*/
|
61 |
-
protected $_panel_page = 'yith_wcbm_panel';
|
62 |
-
|
63 |
-
/**
|
64 |
-
* Various links
|
65 |
-
*
|
66 |
-
* @var string
|
67 |
-
* @access public
|
68 |
-
* @since 1.0.0
|
69 |
-
*/
|
70 |
-
public $doc_url = 'http://yithemes.com/docs-plugins/yith-woocommerce-badges-management/';
|
71 |
-
|
72 |
-
/**
|
73 |
-
* Returns single instance of the class
|
74 |
-
*
|
75 |
-
* @return \YITH_WCBM
|
76 |
-
* @since 1.0.0
|
77 |
-
*/
|
78 |
-
public static function get_instance(){
|
79 |
-
if( is_null( self::$instance ) ){
|
80 |
-
self::$instance = new self();
|
81 |
-
}
|
82 |
-
|
83 |
-
return self::$instance;
|
84 |
-
}
|
85 |
-
|
86 |
-
/**
|
87 |
-
* Constructor
|
88 |
-
*
|
89 |
-
* @access public
|
90 |
-
* @since 1.0.0
|
91 |
-
*/
|
92 |
-
public function __construct() {
|
93 |
-
|
94 |
-
add_action( 'admin_menu', array( $this, 'register_panel' ), 5) ;
|
95 |
-
|
96 |
-
//Add action links
|
97 |
-
add_filter( 'plugin_action_links_' . plugin_basename( YITH_WCBM_DIR . '/' . basename( YITH_WCBM_FILE ) ), array( $this, 'action_links') );
|
98 |
-
add_filter( 'plugin_row_meta', array( $this, 'plugin_row_meta' ), 10, 4 );
|
99 |
-
|
100 |
-
/* Registro il custom post_id type */
|
101 |
-
add_action('init', array( $this, 'post_type_register'));
|
102 |
-
|
103 |
-
// Action per le metabox
|
104 |
-
add_action('save_post', array( $this, 'metabox_save'));
|
105 |
-
add_action('save_post', array($this, 'badge_settings_save'));
|
106 |
-
|
107 |
-
add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
|
108 |
-
|
109 |
-
//add_action( 'woocommerce_product_options_general_product_data', array( $this, 'badge_settings_tabs' ) );
|
110 |
-
|
111 |
-
add_action('add_meta_boxes', array($this, 'badge_settings_metabox'));
|
112 |
-
|
113 |
-
// Premium Tabs
|
114 |
-
add_action( 'yith_wcbm_premium_tab', array( $this, 'show_premium_tab' ) );
|
115 |
-
}
|
116 |
-
|
117 |
-
/**
|
118 |
-
* Action Links
|
119 |
-
*
|
120 |
-
* add the action links to plugin admin page
|
121 |
-
*
|
122 |
-
* @param $links | links plugin array
|
123 |
-
*
|
124 |
-
* @return mixed Array
|
125 |
-
* @since 1.0
|
126 |
-
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
127 |
-
* @return mixed
|
128 |
-
* @use plugin_action_links_{$plugin_file_name}
|
129 |
-
*/
|
130 |
-
public function action_links( $links ) {
|
131 |
-
|
132 |
-
$links[] = '<a href="' . admin_url( "admin.php?page={$this->_panel_page}" ) . '">' . __( 'Settings', 'yith-wcbm' ) . '</a>';
|
133 |
-
if ( defined( 'YITH_WCBM_FREE_INIT' ) ) {
|
134 |
-
$links[] = '<a href="' . $this->_premium_landing . '" target="_blank">' . __( 'Premium Version', 'ywcm' ) . '</a>';
|
135 |
-
}
|
136 |
-
|
137 |
-
return $links;
|
138 |
-
}
|
139 |
-
|
140 |
-
/**
|
141 |
-
* plugin_row_meta
|
142 |
-
*
|
143 |
-
* add the action links to plugin admin page
|
144 |
-
*
|
145 |
-
* @param $plugin_meta
|
146 |
-
* @param $plugin_file
|
147 |
-
* @param $plugin_data
|
148 |
-
* @param $status
|
149 |
-
*
|
150 |
-
* @return Array
|
151 |
-
* @since 1.0
|
152 |
-
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
153 |
-
* @use plugin_row_meta
|
154 |
-
*/
|
155 |
-
public function plugin_row_meta( $plugin_meta, $plugin_file, $plugin_data, $status ) {
|
156 |
-
|
157 |
-
if ( ( defined( 'YITH_WCBM_FREE_INIT' ) && YITH_WCBM_FREE_INIT == $plugin_file ) || ( defined( 'YITH_WCBM_INIT' ) && YITH_WCBM_INIT == $plugin_file ) ) {
|
158 |
-
$plugin_meta[] = '<a href="' . $this->doc_url . '" target="_blank">' . __( 'Plugin Documentation', 'yith-wcbm' ) . '</a>';
|
159 |
-
}
|
160 |
-
return $plugin_meta;
|
161 |
-
}
|
162 |
-
|
163 |
-
/**
|
164 |
-
* Add a panel under YITH Plugins tab
|
165 |
-
*
|
166 |
-
* @return void
|
167 |
-
* @since 1.0
|
168 |
-
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
169 |
-
* @use /Yit_Plugin_Panel class
|
170 |
-
* @see plugin-fw/lib/yit-plugin-panel.php
|
171 |
-
*/
|
172 |
-
public function register_panel() {
|
173 |
-
|
174 |
-
if ( ! empty( $this->_panel ) ) {
|
175 |
-
return;
|
176 |
-
}
|
177 |
-
|
178 |
-
$admin_tabs_free = array(
|
179 |
-
'settings' => __( 'Settings', 'yith-wcbm' ),
|
180 |
-
'premium' => __( 'Premium Version', 'yith-wcbm' )
|
181 |
-
);
|
182 |
-
|
183 |
-
$admin_tabs = apply_filters('yith_wcbm_settings_admin_tabs', $admin_tabs_free);
|
184 |
-
|
185 |
-
$args = array(
|
186 |
-
'create_menu_page' => true,
|
187 |
-
'parent_slug' => '',
|
188 |
-
'page_title' => __( 'Badge Management', 'yith-wcbm' ),
|
189 |
-
'menu_title' => __( 'Badge Management', 'yith-wcbm' ),
|
190 |
-
'capability' => 'manage_options',
|
191 |
-
'parent' => '',
|
192 |
-
'parent_page' => 'yit_plugin_panel',
|
193 |
-
'page' => $this->_panel_page,
|
194 |
-
'admin-tabs' => $admin_tabs,
|
195 |
-
'options-path' => YITH_WCBM_DIR . '/plugin-options'
|
196 |
-
);
|
197 |
-
|
198 |
-
|
199 |
-
/* === Fixed: not updated theme === */
|
200 |
-
if( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
|
201 |
-
require_once( 'plugin-fw/lib/yit-plugin-panel-wc.php' );
|
202 |
-
}
|
203 |
-
|
204 |
-
$this->_panel = new YIT_Plugin_Panel_WooCommerce( $args );
|
205 |
-
}
|
206 |
-
|
207 |
-
public function admin_enqueue_scripts() {
|
208 |
-
wp_enqueue_style( 'yith_wcbm_admin_style', YITH_WCBM_ASSETS_URL . '/css/admin.css');
|
209 |
-
wp_enqueue_style('wp-color-picker');
|
210 |
-
wp_enqueue_script('wp-color-picker');
|
211 |
-
wp_enqueue_script('jquery-ui-tabs');
|
212 |
-
wp_enqueue_style('jquery-ui-style-css', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.3/themes/smoothness/jquery-ui.css');
|
213 |
-
wp_enqueue_style('googleFontsOpenSans', 'http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800,300');
|
214 |
-
|
215 |
-
$screen = get_current_screen();
|
216 |
-
$metabox_js = defined( 'YITH_WCBM_PREMIUM' ) ? 'metabox_options_premium.js' : 'metabox_options.js';
|
217 |
-
|
218 |
-
if( 'yith-wcbm-badge' == $screen->id ) {
|
219 |
-
wp_enqueue_script( 'yith_wcbm_metabox_options', YITH_WCBM_ASSETS_URL .'/js/' . $metabox_js, array('jquery', 'wp-color-picker'), '1.0.0', true );
|
220 |
-
wp_localize_script( 'yith_wcbm_metabox_options', 'ajax_object', array( 'assets_url' => YITH_WCBM_ASSETS_URL , 'wp_ajax_url' => admin_url( 'admin-ajax.php' )) );
|
221 |
-
}
|
222 |
-
}
|
223 |
-
|
224 |
-
/**
|
225 |
-
* Register Badge custom post type with options metabox
|
226 |
-
*
|
227 |
-
* @return void
|
228 |
-
* @since 1.0
|
229 |
-
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
230 |
-
*/
|
231 |
-
public function post_type_register() {
|
232 |
-
$labels = array(
|
233 |
-
'name' => __('Badges', 'yith-wcbm'),
|
234 |
-
'singular_name' => __('Badge', 'yith-wcbm'),
|
235 |
-
'add_new' => __('Add Badge', 'yith-wcbm'),
|
236 |
-
'add_new_item' => __('Add new Badge', 'yith-wcbm'),
|
237 |
-
'edit_item' => __('Edit Badge', 'yith-wcbm'),
|
238 |
-
'view_item' => __('View Badge', 'yith-wcbm'),
|
239 |
-
'not_found' => __('Badge not found', 'yith-wcbm'),
|
240 |
-
'not_found_in_trash'=> __('Badge not found in trash', 'yith-wcbm')
|
241 |
-
);
|
242 |
-
|
243 |
-
$args = array(
|
244 |
-
'labels' => $labels,
|
245 |
-
'public' => true,
|
246 |
-
'show_ui' => true,
|
247 |
-
'menu_position' => 10,
|
248 |
-
'exclude_from_search' => true,
|
249 |
-
'capability_type' => 'post',
|
250 |
-
'map_meta_cap' => true,
|
251 |
-
'rewrite' => true,
|
252 |
-
'has_archive' => true,
|
253 |
-
'hierarchical' => false,
|
254 |
-
'show_in_nav_menus' => false,
|
255 |
-
'menu_icon' => 'dashicons-visibility',
|
256 |
-
'supports' => array('title'),
|
257 |
-
'register_meta_box_cb' => array($this, 'register_metabox')
|
258 |
-
);
|
259 |
-
|
260 |
-
register_post_type('yith-wcbm-badge', $args);
|
261 |
-
}
|
262 |
-
|
263 |
-
public function register_metabox(){
|
264 |
-
add_meta_box('yith-wcbm-metabox', __('Badge Options', 'yith-wcbm'), array( $this, 'metabox_render'), 'yith-wcbm-badge', 'normal', 'high');
|
265 |
-
}
|
266 |
-
|
267 |
-
public function metabox_render( $post ){
|
268 |
-
$bm_meta = get_post_meta( $post->ID, '_badge_meta', true);
|
269 |
-
|
270 |
-
$default = array(
|
271 |
-
'type' => 'text',
|
272 |
-
'text' => '',
|
273 |
-
'txt_color_default' => '#000000',
|
274 |
-
'txt_color' => '#000000',
|
275 |
-
'bg_color_default' => '#2470FF',
|
276 |
-
'bg_color' => '#2470FF',
|
277 |
-
'width' => '100',
|
278 |
-
'height' => '50',
|
279 |
-
'position' => 'top-left',
|
280 |
-
'image_url' => ''
|
281 |
-
);
|
282 |
-
|
283 |
-
$args = wp_parse_args( $bm_meta , $default );
|
284 |
-
|
285 |
-
$args = apply_filters('yith_wcbm_metabox_options_content_args' , $args);
|
286 |
-
|
287 |
-
yith_wcbm_metabox_options_content($args);
|
288 |
-
}
|
289 |
-
|
290 |
-
public function metabox_save( $post_id ) {
|
291 |
-
if ( !empty( $_POST[ '_badge_meta' ] ) ){
|
292 |
-
$badge_meta['type'] = ( !empty( $_POST[ '_badge_meta' ]['type'] ) ) ? $_POST[ '_badge_meta' ]['type'] : '';
|
293 |
-
$badge_meta['text'] = ( !empty( $_POST[ '_badge_meta' ]['text'] ) ) ? $_POST[ '_badge_meta' ]['text'] : '';
|
294 |
-
$badge_meta['txt_color'] = ( !empty( $_POST[ '_badge_meta' ]['txt_color'] ) ) ? $_POST[ '_badge_meta' ]['txt_color'] : '';
|
295 |
-
$badge_meta['bg_color'] = ( !empty( $_POST[ '_badge_meta' ]['bg_color'] ) ) ? esc_url($_POST[ '_badge_meta' ]['bg_color']) : '';
|
296 |
-
$badge_meta['width'] = ( !empty( $_POST[ '_badge_meta' ]['width'] ) ) ? $_POST[ '_badge_meta' ]['width'] : '';
|
297 |
-
$badge_meta['height'] = ( !empty( $_POST[ '_badge_meta' ]['height'] ) ) ? $_POST[ '_badge_meta' ]['height'] : '';
|
298 |
-
$badge_meta['position'] = ( !empty( $_POST[ '_badge_meta' ]['position'] ) ) ? $_POST[ '_badge_meta' ]['position'] : 'top-left';
|
299 |
-
$badge_meta['image_url'] = ( !empty( $_POST[ '_badge_meta' ]['image_url'] ) ) ? $_POST[ '_badge_meta' ]['image_url'] : '';
|
300 |
-
|
301 |
-
//--wpml-------------
|
302 |
-
yith_wcbm_wpml_register_string( 'yith-wcbm' , sanitize_title( $badge_meta['text'] ) , $badge_meta['text'] );
|
303 |
-
//-------------------
|
304 |
-
|
305 |
-
update_post_meta( $post_id, '_badge_meta', $badge_meta );
|
306 |
-
}
|
307 |
-
}
|
308 |
-
|
309 |
-
|
310 |
-
function badge_settings_metabox() {
|
311 |
-
add_meta_box('yith-wcbm-badge_metabox',__('Product Badge', 'yith-wcbm'), array($this, 'badge_settings_tabs'), 'product', 'side', 'core');
|
312 |
-
}
|
313 |
-
/**
|
314 |
-
* Add badge select in metabox
|
315 |
-
*
|
316 |
-
* @return void
|
317 |
-
* @since 1.0
|
318 |
-
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
319 |
-
*/
|
320 |
-
|
321 |
-
function badge_settings_tabs(){
|
322 |
-
global $post;
|
323 |
-
$bm_meta = get_post_meta( $post->ID, '_yith_wcbm_product_meta', true);
|
324 |
-
$id_badge = ( isset( $bm_meta[ 'id_badge' ] ) ) ? $bm_meta[ 'id_badge' ] : '';
|
325 |
-
?>
|
326 |
-
|
327 |
-
<div class="options_group">
|
328 |
-
<p class="form-field">
|
329 |
-
<label><?php echo __('Select Badge', 'yith-wcbm') ?></label>
|
330 |
-
<select name= "_yith_wcbm_product_meta[id_badge]" class="select short">
|
331 |
-
<option value="" selected="selected"><?php echo __('none', 'yith-wcbm') ?></option>
|
332 |
-
<?php
|
333 |
-
|
334 |
-
$args = ( array('posts_per_page' => -1,
|
335 |
-
'post_type' => 'yith-wcbm-badge',
|
336 |
-
'orderby' => 'title',
|
337 |
-
'order' => 'ASC',
|
338 |
-
'post_status'=> 'publish')
|
339 |
-
);
|
340 |
-
$badges = get_posts( $args );
|
341 |
-
|
342 |
-
foreach ($badges as $badge) {
|
343 |
-
?><option value="<?php echo $badge->ID ?>" <?php selected($id_badge, $badge->ID ) ?>><?php echo get_the_title($badge->ID) ?></option><?php
|
344 |
-
}
|
345 |
-
|
346 |
-
?>
|
347 |
-
</select>
|
348 |
-
</p><!-- form-field -->
|
349 |
-
</div><!-- options_group -->
|
350 |
-
|
351 |
-
<?php
|
352 |
-
}
|
353 |
-
|
354 |
-
|
355 |
-
public function badge_settings_save( $post_id ){
|
356 |
-
if ( !empty( $_POST[ '_yith_wcbm_product_meta' ] ) ){
|
357 |
-
$product_meta['id_badge'] = ( !empty( $_POST[ '_yith_wcbm_product_meta' ]['id_badge'] ) ) ? $_POST[ '_yith_wcbm_product_meta' ]['id_badge'] : '';
|
358 |
-
update_post_meta( $post_id, '_yith_wcbm_product_meta', $product_meta );
|
359 |
-
}
|
360 |
-
}
|
361 |
-
|
362 |
-
/**
|
363 |
-
* Show premium landing tab
|
364 |
-
*
|
365 |
-
* @return void
|
366 |
-
* @since 1.0
|
367 |
-
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
368 |
-
*/
|
369 |
-
public function show_premium_tab(){
|
370 |
-
$landing = YITH_WCBM_TEMPLATE_PATH . '/premium.php';
|
371 |
-
file_exists( $landing ) && require( $landing );
|
372 |
-
}
|
373 |
-
|
374 |
-
/**
|
375 |
-
* Get the premium landing uri
|
376 |
-
*
|
377 |
-
* @since 1.0.0
|
378 |
-
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
379 |
-
* @return string The premium landing link
|
380 |
-
*/
|
381 |
-
public function get_premium_landing_uri() {
|
382 |
-
return defined( 'YITH_REFER_ID' ) ? $this->_premium_landing . '?refer_id=' . YITH_REFER_ID : $this->_premium_landing . '?refer_id=1030585';
|
383 |
-
}
|
384 |
-
}
|
385 |
-
}
|
386 |
-
|
387 |
-
/**
|
388 |
-
* Unique access to instance of YITH_WCBM_Admin class
|
389 |
-
*
|
390 |
-
* @return \YITH_WCBM_Admin
|
391 |
-
* @since 1.0.0
|
392 |
-
*/
|
393 |
-
function YITH_WCBM_Admin(){
|
394 |
-
return YITH_WCBM_Admin::get_instance();
|
395 |
-
}
|
396 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
modules/yith-woocommerce-badge-management/class.yith-wcbm-frontend.php
DELETED
@@ -1,210 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Frontend class
|
4 |
-
*
|
5 |
-
* @author Yithemes
|
6 |
-
* @package YITH WooCommerce Badge Management
|
7 |
-
* @version 1.1.1
|
8 |
-
*/
|
9 |
-
|
10 |
-
if ( ! defined( 'YITH_WCBM' ) ) { exit; } // Exit if accessed directly
|
11 |
-
|
12 |
-
require_once('functions.yith-wcbm.php');
|
13 |
-
|
14 |
-
if( ! class_exists( 'YITH_WCBM_Frontend' ) ) {
|
15 |
-
/**
|
16 |
-
* Frontend class.
|
17 |
-
* The class manage all the Frontend behaviors.
|
18 |
-
*
|
19 |
-
* @since 1.0.0
|
20 |
-
*/
|
21 |
-
class YITH_WCBM_Frontend {
|
22 |
-
|
23 |
-
/**
|
24 |
-
* Single instance of the class
|
25 |
-
*
|
26 |
-
* @var \YITH_WCQV_Frontend
|
27 |
-
* @since 1.0.0
|
28 |
-
*/
|
29 |
-
protected static $instance;
|
30 |
-
|
31 |
-
/**
|
32 |
-
* Plugin version
|
33 |
-
*
|
34 |
-
* @var string
|
35 |
-
* @since 1.0.0
|
36 |
-
*/
|
37 |
-
public $version = YITH_WCBM_VERSION;
|
38 |
-
|
39 |
-
|
40 |
-
private $is_in_sidebar = false;
|
41 |
-
|
42 |
-
/**
|
43 |
-
* Returns single instance of the class
|
44 |
-
*
|
45 |
-
* @return \YITH_WCQV_Frontend
|
46 |
-
* @since 1.0.0
|
47 |
-
*/
|
48 |
-
public static function get_instance(){
|
49 |
-
if( is_null( self::$instance ) ){
|
50 |
-
self::$instance = new self();
|
51 |
-
}
|
52 |
-
|
53 |
-
return self::$instance;
|
54 |
-
}
|
55 |
-
|
56 |
-
/**
|
57 |
-
* Constructor
|
58 |
-
*
|
59 |
-
* @access public
|
60 |
-
* @since 1.0.0
|
61 |
-
*/
|
62 |
-
public function __construct() {
|
63 |
-
|
64 |
-
// Action to add custom badge in single product page
|
65 |
-
add_filter('woocommerce_single_product_image_html',array( $this, 'show_badge_on_product' ) , 10 , 2);
|
66 |
-
|
67 |
-
// add frontend css
|
68 |
-
add_action('wp_enqueue_scripts', array($this, 'enqueue_scripts'));
|
69 |
-
|
70 |
-
// edit sale flash badge
|
71 |
-
add_filter('woocommerce_sale_flash', array($this, 'sale_flash') , 10 , 2 );
|
72 |
-
|
73 |
-
// POST Thumbnail [to add custom badge in shop page]
|
74 |
-
add_filter('post_thumbnail_html', array($this, 'add_box_thumb') , 10 , 2);
|
75 |
-
|
76 |
-
// action to set this->is_in_sidebar
|
77 |
-
add_action('dynamic_sidebar_before', array($this, 'set_is_in_sidebar') );
|
78 |
-
add_action('dynamic_sidebar_after', array($this, 'unset_is_in_sidebar') );
|
79 |
-
}
|
80 |
-
|
81 |
-
public function add_box_thumb( $thumb , $post_id ){
|
82 |
-
if( ! $this->is_in_sidebar() ){
|
83 |
-
return self::show_badge_on_product($thumb , $post_id);
|
84 |
-
}else{
|
85 |
-
return $thumb;
|
86 |
-
}
|
87 |
-
}
|
88 |
-
|
89 |
-
/**
|
90 |
-
* Set this->is in sidebar to true
|
91 |
-
*
|
92 |
-
* @access public
|
93 |
-
* @since 1.1.4
|
94 |
-
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
95 |
-
*/
|
96 |
-
public function set_is_in_sidebar(){
|
97 |
-
$this->is_in_sidebar = true;
|
98 |
-
}
|
99 |
-
|
100 |
-
/**
|
101 |
-
* Set this->is in sidebar to false
|
102 |
-
*
|
103 |
-
* @access public
|
104 |
-
* @since 1.1.4
|
105 |
-
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
106 |
-
*/
|
107 |
-
public function unset_is_in_sidebar(){
|
108 |
-
$this->is_in_sidebar = false;
|
109 |
-
}
|
110 |
-
|
111 |
-
/**
|
112 |
-
* Return true if is in sidebar
|
113 |
-
*
|
114 |
-
* @access public
|
115 |
-
* @return bool
|
116 |
-
* @since 1.1.4
|
117 |
-
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
118 |
-
*/
|
119 |
-
public function is_in_sidebar(){
|
120 |
-
return $this->is_in_sidebar;
|
121 |
-
}
|
122 |
-
|
123 |
-
/**
|
124 |
-
* Hide or show default sale flash badge
|
125 |
-
*
|
126 |
-
* @access public
|
127 |
-
* @return string
|
128 |
-
* @param $val value of filter woocommerce_sale_flash
|
129 |
-
* @since 1.0.0
|
130 |
-
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
131 |
-
*/
|
132 |
-
public function sale_flash( $val , $post ){
|
133 |
-
$hide_on_sale_default = get_option( 'yith-wcbm-hide-on-sale-default' ) == 'yes' ? true : false;
|
134 |
-
|
135 |
-
$product_id = $post->ID;
|
136 |
-
|
137 |
-
$product_id = $this->get_wpml_parent_id( $product_id );
|
138 |
-
|
139 |
-
$bm_meta = get_post_meta( $product_id, '_yith_wcbm_product_meta', true);
|
140 |
-
$id_badge = ( isset( $bm_meta[ 'id_badge' ] ) ) ? $bm_meta[ 'id_badge' ] : '';
|
141 |
-
|
142 |
-
if( $hide_on_sale_default || $id_badge != ''){
|
143 |
-
return '';
|
144 |
-
}
|
145 |
-
return $val;
|
146 |
-
}
|
147 |
-
|
148 |
-
/**
|
149 |
-
* Edit image in products
|
150 |
-
*
|
151 |
-
* @access public
|
152 |
-
* @return void
|
153 |
-
* @param $val product image
|
154 |
-
* @since 1.0.0
|
155 |
-
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
156 |
-
*/
|
157 |
-
public function show_badge_on_product ( $val , $product_id ) {
|
158 |
-
$badge_container = "<div class='container-image-and-badge'>". $val;
|
159 |
-
|
160 |
-
$product_id = $this->get_wpml_parent_id( $product_id );
|
161 |
-
|
162 |
-
$bm_meta = get_post_meta( $product_id , '_yith_wcbm_product_meta', true);
|
163 |
-
$id_badge = ( isset( $bm_meta[ 'id_badge' ] ) ) ? $bm_meta[ 'id_badge' ] : '';
|
164 |
-
if( ! defined( 'YITH_WCBM_PREMIUM' )){
|
165 |
-
$badge_container .= yith_wcbm_get_badge($id_badge, $product_id);
|
166 |
-
}else{
|
167 |
-
$badge_container .= yith_wcbm_get_badges_premium($id_badge, $product_id);
|
168 |
-
}
|
169 |
-
|
170 |
-
$badge_container .= "</div><!--container-image-and-badge-->";
|
171 |
-
return $badge_container;
|
172 |
-
|
173 |
-
}
|
174 |
-
public function enqueue_scripts(){
|
175 |
-
wp_enqueue_style( 'yith_wcbm_badge_style', YITH_WCBM_ASSETS_URL . '/css/frontend.css');
|
176 |
-
wp_enqueue_style('googleFontsOpenSans', 'http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800,300');
|
177 |
-
}
|
178 |
-
|
179 |
-
public function get_wpml_parent_id( $product_id ) {
|
180 |
-
|
181 |
-
global $sitepress;
|
182 |
-
if ( isset( $sitepress ) ) {
|
183 |
-
|
184 |
-
$default_language = $sitepress->get_default_language();
|
185 |
-
|
186 |
-
if ( function_exists( 'icl_object_id' ) ) {
|
187 |
-
$product_id = icl_object_id( $product_id, 'product', true, $default_language );
|
188 |
-
}
|
189 |
-
else {
|
190 |
-
if ( function_exists( 'wpml_object_id_filter' ) ) {
|
191 |
-
$product_id = wpml_object_id_filter( $product_id, 'product', true, $default_language );
|
192 |
-
}
|
193 |
-
}
|
194 |
-
|
195 |
-
}
|
196 |
-
|
197 |
-
return $product_id;
|
198 |
-
}
|
199 |
-
}
|
200 |
-
}
|
201 |
-
/**
|
202 |
-
* Unique access to instance of YITH_WCBM_Frontend class
|
203 |
-
*
|
204 |
-
* @return \YITH_WCBM_Frontend
|
205 |
-
* @since 1.0.0
|
206 |
-
*/
|
207 |
-
function YITH_WCBM_Frontend(){
|
208 |
-
return YITH_WCBM_Frontend::get_instance();
|
209 |
-
}
|
210 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
modules/yith-woocommerce-badge-management/class.yith-wcbm.php
DELETED
@@ -1,115 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Main class
|
4 |
-
*
|
5 |
-
* @author Yithemes
|
6 |
-
* @package YITH WooCommerce Badge Management
|
7 |
-
* @version 1.0.0
|
8 |
-
*/
|
9 |
-
|
10 |
-
|
11 |
-
if ( ! defined( 'YITH_WCBM' ) ) {
|
12 |
-
exit;
|
13 |
-
} // Exit if accessed directly
|
14 |
-
|
15 |
-
if ( ! class_exists( 'YITH_WCBM' ) ) {
|
16 |
-
/**
|
17 |
-
* YITH WooCommerce Badge Management
|
18 |
-
*
|
19 |
-
* @since 1.0.0
|
20 |
-
*/
|
21 |
-
class YITH_WCBM {
|
22 |
-
|
23 |
-
/**
|
24 |
-
* Single instance of the class
|
25 |
-
*
|
26 |
-
* @var \YITH_WCBM
|
27 |
-
* @since 1.0.0
|
28 |
-
*/
|
29 |
-
protected static $instance;
|
30 |
-
|
31 |
-
/**
|
32 |
-
* Plugin version
|
33 |
-
*
|
34 |
-
* @var string
|
35 |
-
* @since 1.0.0
|
36 |
-
*/
|
37 |
-
public $version = YITH_WCBM_VERSION;
|
38 |
-
|
39 |
-
/**
|
40 |
-
* Plugin object
|
41 |
-
*
|
42 |
-
* @var string
|
43 |
-
* @since 1.0.0
|
44 |
-
*/
|
45 |
-
public $obj = null;
|
46 |
-
|
47 |
-
/**
|
48 |
-
* Returns single instance of the class
|
49 |
-
*
|
50 |
-
* @return \YITH_WCBM
|
51 |
-
* @since 1.0.0
|
52 |
-
*/
|
53 |
-
public static function get_instance(){
|
54 |
-
if( is_null( self::$instance ) ){
|
55 |
-
self::$instance = new self();
|
56 |
-
}
|
57 |
-
|
58 |
-
return self::$instance;
|
59 |
-
}
|
60 |
-
|
61 |
-
/**
|
62 |
-
* Constructor
|
63 |
-
*
|
64 |
-
* @return mixed| YITH_WCBM_Admin | YITH_WCBM_Frontend
|
65 |
-
* @since 1.0.0
|
66 |
-
*/
|
67 |
-
public function __construct() {
|
68 |
-
|
69 |
-
// Load Plugin Framework
|
70 |
-
add_action( 'after_setup_theme', array( $this, 'plugin_fw_loader' ), 1 );
|
71 |
-
|
72 |
-
// Class admin
|
73 |
-
if ( is_admin() ) {
|
74 |
-
YITH_WCBM_Admin();
|
75 |
-
}
|
76 |
-
// Class frontend
|
77 |
-
else{
|
78 |
-
YITH_WCBM_Frontend();
|
79 |
-
}
|
80 |
-
/*
|
81 |
-
if( get_option( 'yith-wcbm-enable' ) == 'yes' ) {
|
82 |
-
YITH_WCBM_Frontend();
|
83 |
-
}
|
84 |
-
*/
|
85 |
-
}
|
86 |
-
|
87 |
-
|
88 |
-
/**
|
89 |
-
* Load Plugin Framework
|
90 |
-
*
|
91 |
-
* @since 1.0
|
92 |
-
* @access public
|
93 |
-
* @return void
|
94 |
-
* @author Andrea Grillo <andrea.grillo@yithemes.com>
|
95 |
-
*/
|
96 |
-
public function plugin_fw_loader() {
|
97 |
-
|
98 |
-
if ( ! defined( 'YIT' ) || ! defined( 'YIT_CORE_PLUGIN' ) ) {
|
99 |
-
require_once( 'plugin-fw/yit-plugin.php' );
|
100 |
-
}
|
101 |
-
|
102 |
-
}
|
103 |
-
}
|
104 |
-
}
|
105 |
-
|
106 |
-
/**
|
107 |
-
* Unique access to instance of YITH_WCBM class
|
108 |
-
*
|
109 |
-
* @return \YITH_WCBM
|
110 |
-
* @since 1.0.0
|
111 |
-
*/
|
112 |
-
function YITH_WCBM(){
|
113 |
-
return YITH_WCBM::get_instance();
|
114 |
-
}
|
115 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
modules/yith-woocommerce-badge-management/functions.yith-wcbm.php
DELETED
@@ -1,242 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Functions
|
4 |
-
*
|
5 |
-
* @author Yithemes
|
6 |
-
* @package YITH WooCommerce Badge Management
|
7 |
-
* @version 1.0.0
|
8 |
-
*/
|
9 |
-
|
10 |
-
if ( !defined( 'YITH_WCBM' ) ) { exit; } // Exit if accessed directly
|
11 |
-
|
12 |
-
|
13 |
-
/**
|
14 |
-
* Print the content of metabox options [Free Version]
|
15 |
-
*
|
16 |
-
* @return void
|
17 |
-
* @since 1.0
|
18 |
-
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
19 |
-
*/
|
20 |
-
if ( ! function_exists( 'yith_wcbm_metabox_options_content' ) ) {
|
21 |
-
function yith_wcbm_metabox_options_content( $args ){
|
22 |
-
extract( $args );
|
23 |
-
?>
|
24 |
-
|
25 |
-
<div class="tab-container">
|
26 |
-
<ul>
|
27 |
-
<li><a id="btn-text" href="#tab-text"><?php echo __('Text Badge', 'yith-wcbm') ?></a></li>
|
28 |
-
<li><a id="btn-image" href="#tab-image"><?php echo __('Image Badge', 'yith-wcbm') ?></a></li>
|
29 |
-
</ul>
|
30 |
-
|
31 |
-
<input class="update-preview" type="hidden" value="<?php echo $type ?>" data-type="<?php echo $type ?>" name= "_badge_meta[type]" id="yith-wcbm-badge-type">
|
32 |
-
<input class="update-preview" type="hidden" value="<?php echo $image_url ?>" name= "_badge_meta[image_url]" id="yith-wcbm-image-url">
|
33 |
-
<input id="yith-wcbm-url-for-images" type="hidden" value="<?php echo YITH_WCBM_ASSETS_URL . '/images/'; ?>">
|
34 |
-
|
35 |
-
<div class="half-left">
|
36 |
-
<div id="tab-text">
|
37 |
-
<div class="section-container">
|
38 |
-
<div class="section-title"> <?php echo __('Text Options', 'yith-wcbm') ?></div>
|
39 |
-
<table class="section-table">
|
40 |
-
<tr>
|
41 |
-
<td class="table-title">
|
42 |
-
<label><?php echo __('Text', 'yith-wcbm') ?></label>
|
43 |
-
</td>
|
44 |
-
<td class="table-content">
|
45 |
-
<input class="update-preview" type="text" value="<?php echo $text ?>" name= "_badge_meta[text]" id="yith-wcbm-text">
|
46 |
-
</td>
|
47 |
-
</tr>
|
48 |
-
<tr>
|
49 |
-
<td class="table-title">
|
50 |
-
<label><?php echo __('Text Color', 'yith-wcbm') ?></label>
|
51 |
-
</td>
|
52 |
-
<td class="table-content">
|
53 |
-
<input type="text" class="yith-wcbm-color-picker" name= "_badge_meta[txt_color]" value="<?php echo $txt_color ?>"
|
54 |
-
data-default-color="<?php echo $txt_color_default; ?>" id="yith-wcbm-txt-color">
|
55 |
-
</td>
|
56 |
-
</tr>
|
57 |
-
</table>
|
58 |
-
</div><!-- section-container -->
|
59 |
-
|
60 |
-
<div class="section-container">
|
61 |
-
<div class="section-title"> <?php echo __('Style Options', 'yith-wcbm') ?></div>
|
62 |
-
<table class="section-table">
|
63 |
-
<tr>
|
64 |
-
<td class="table-title">
|
65 |
-
<label><?php echo __('Background Color', 'yith-wcbm') ?></label>
|
66 |
-
</td>
|
67 |
-
<td class="table-content">
|
68 |
-
<input type="text" class="yith-wcbm-color-picker" name= "_badge_meta[bg_color]" value="<?php echo $bg_color ?>"
|
69 |
-
data-default-color="<?php echo $bg_color_default; ?>" id="yith-wcbm-bg-color">
|
70 |
-
</td>
|
71 |
-
</tr>
|
72 |
-
<tr>
|
73 |
-
<td class="table-title table-align-top">
|
74 |
-
<label><?php echo __('Size (pixel)', 'yith-wcbm') ?></label><br />
|
75 |
-
</td>
|
76 |
-
<td class="table-content">
|
77 |
-
<table class="table-mini-title">
|
78 |
-
<tr>
|
79 |
-
<td>
|
80 |
-
<input class="update-preview" type="text" size="4" value="<?php echo $width ?>" name= "_badge_meta[width]" id="yith-wcbm-width">
|
81 |
-
</td>
|
82 |
-
<td>
|
83 |
-
<input class="update-preview" type="text" size="4" value="<?php echo $height ?>" name= "_badge_meta[height]" id="yith-wcbm-height">
|
84 |
-
</td>
|
85 |
-
</tr>
|
86 |
-
<tr>
|
87 |
-
<th>
|
88 |
-
<?php echo __('Width', 'yith-wcbm') ?>
|
89 |
-
</th>
|
90 |
-
<th>
|
91 |
-
<?php echo __('Height', 'yith-wcbm') ?>
|
92 |
-
</th>
|
93 |
-
</tr>
|
94 |
-
</table>
|
95 |
-
</td>
|
96 |
-
</tr>
|
97 |
-
</table>
|
98 |
-
</div><!-- section-container -->
|
99 |
-
</div><!-- tab-text -->
|
100 |
-
|
101 |
-
<div id="tab-image">
|
102 |
-
<div class="section-container">
|
103 |
-
<div class="section-title"> <?php echo __('Select the Image Badge', 'yith-wcbm') ?></div>
|
104 |
-
<div class="section-content-container">
|
105 |
-
<?php
|
106 |
-
for( $i = 1; $i<5; $i++ ){
|
107 |
-
$img_url = YITH_WCBM_ASSETS_URL . '/images/' . $i . '.png';
|
108 |
-
echo '<div class="yith-wcbm-select-image-btn button-select-image" badge_image_url="'. $i . '.png' .'" style="background-image:url('. $img_url .')">';
|
109 |
-
echo '</div>';
|
110 |
-
}
|
111 |
-
|
112 |
-
// Custom Image Badge Uploaded
|
113 |
-
echo "<div id='custom-image-badges'>";
|
114 |
-
echo "</div>";
|
115 |
-
?>
|
116 |
-
</div> <!-- section-content-container -->
|
117 |
-
</div> <!-- section-container -->
|
118 |
-
</div>
|
119 |
-
|
120 |
-
<div class="section-container">
|
121 |
-
<div class="section-title"> <?php echo __('Position', 'yith-wcbm') ?></div>
|
122 |
-
<table class="section-table">
|
123 |
-
<tr>
|
124 |
-
<td class="table-title">
|
125 |
-
<label><?php echo __('Position', 'yith-wcbm') ?></label>
|
126 |
-
</td>
|
127 |
-
<td class="table-content">
|
128 |
-
<select class="update-preview" name= "_badge_meta[position]" id="yith-wcbm-position">
|
129 |
-
<option value="top-left" <?php echo selected($position, 'top-left',false) ?>><?php echo __('top-left','yith-wcbm') ?></option>;
|
130 |
-
<option value="top-right" <?php echo selected($position, 'top-right',false) ?>><?php echo __('top-right','yith-wcbm') ?></option>;
|
131 |
-
<option value="bottom-left" <?php echo selected($position, 'bottom-left',false) ?>><?php echo __('bottom-left','yith-wcbm') ?></option>;
|
132 |
-
<option value="bottom-right" <?php echo selected($position, 'bottom-right',false) ?>><?php echo __('bottom-right','yith-wcbm') ?></option>;
|
133 |
-
</select>
|
134 |
-
</td>
|
135 |
-
</tr>
|
136 |
-
</table>
|
137 |
-
</div><!-- section-container -->
|
138 |
-
</div>
|
139 |
-
|
140 |
-
<div class="half-right">
|
141 |
-
<h3 id="preview-title"> <?php echo __('Preview', 'yith-wcbm') ?> </h3>
|
142 |
-
<div id="preview-bg">
|
143 |
-
<div id="preview-badge">
|
144 |
-
</div>
|
145 |
-
</div>
|
146 |
-
</div>
|
147 |
-
</div>
|
148 |
-
|
149 |
-
<?php
|
150 |
-
}
|
151 |
-
}
|
152 |
-
|
153 |
-
/**
|
154 |
-
* Print the content of badge in frontend [Free Version]
|
155 |
-
*
|
156 |
-
* @return string
|
157 |
-
* @since 1.0
|
158 |
-
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
159 |
-
*/
|
160 |
-
|
161 |
-
if ( ! function_exists( 'yith_wcbm_get_badge' ) ){
|
162 |
-
function yith_wcbm_get_badge($id_badge, $product_id) {
|
163 |
-
|
164 |
-
if ( $id_badge == '' || $product_id == ''){
|
165 |
-
return '';
|
166 |
-
}
|
167 |
-
|
168 |
-
$badge_container = '';
|
169 |
-
|
170 |
-
$bm_meta = get_post_meta( $id_badge, '_badge_meta', true);
|
171 |
-
$default = array(
|
172 |
-
'type' => 'text',
|
173 |
-
'text' => '',
|
174 |
-
'txt_color_default' => '#000000',
|
175 |
-
'txt_color' => '#000000',
|
176 |
-
'bg_color_default' => '#2470FF',
|
177 |
-
'bg_color' => '#2470FF',
|
178 |
-
'width' => '100',
|
179 |
-
'height' => '50',
|
180 |
-
'position' => 'top-left',
|
181 |
-
'image_url' => '',
|
182 |
-
'product_id' => $product_id,
|
183 |
-
'id_badge' => $id_badge
|
184 |
-
);
|
185 |
-
|
186 |
-
$args = wp_parse_args( $bm_meta , $default );
|
187 |
-
$args = apply_filters('yith_wcbm_badge_content_args' , $args);
|
188 |
-
|
189 |
-
ob_start();
|
190 |
-
yith_wcbm_get_template('badge_content.php', $args);
|
191 |
-
$badge_container .= ob_get_clean();
|
192 |
-
|
193 |
-
return $badge_container;
|
194 |
-
|
195 |
-
}
|
196 |
-
}
|
197 |
-
|
198 |
-
if ( ! function_exists( 'yith_wcbm_get_template' ) ) {
|
199 |
-
function yith_wcbm_get_template( $template , $args ){
|
200 |
-
extract( $args );
|
201 |
-
include(YITH_WCBM_TEMPLATE_PATH . '/' . $template);
|
202 |
-
}
|
203 |
-
}
|
204 |
-
|
205 |
-
|
206 |
-
if ( ! function_exists( 'yith_wcbm_wpml_register_string' ) ) {
|
207 |
-
/**
|
208 |
-
* Register a string in wpml trnslation
|
209 |
-
*
|
210 |
-
* @param string
|
211 |
-
* @param string
|
212 |
-
* @param string
|
213 |
-
*
|
214 |
-
* @since 2.0.0
|
215 |
-
* @author Andrea Frascaspata <andrea.frascaspata@yithemes.com>
|
216 |
-
*/
|
217 |
-
function yith_wcbm_wpml_register_string( $context , $name , $value ) {
|
218 |
-
// wpml string translation
|
219 |
-
do_action( 'wpml_register_single_string', $context, $name, $value );
|
220 |
-
}
|
221 |
-
}
|
222 |
-
|
223 |
-
if ( ! function_exists( 'yith_wcbm_wpml_string_translate' ) ) {
|
224 |
-
/**
|
225 |
-
* Get a string translation
|
226 |
-
*
|
227 |
-
* @param string
|
228 |
-
* @param string
|
229 |
-
* @param string
|
230 |
-
*
|
231 |
-
* @return string the string translated
|
232 |
-
* @since 2.0.0
|
233 |
-
* @author Andrea Frascaspata <andrea.frascaspata@yithemes.com>
|
234 |
-
*/
|
235 |
-
function yith_wcbm_wpml_string_translate( $context, $name, $default_value ) {
|
236 |
-
return apply_filters( 'wpml_translate_single_string', $default_value, $context, $name );
|
237 |
-
}
|
238 |
-
}
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
modules/yith-woocommerce-badge-management/init.php
DELETED
@@ -1,124 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Plugin Name: YITH WooCommerce Badge Management
|
4 |
-
* Plugin URI: http://yithemes.com/
|
5 |
-
* Description: YITH WooCommerce Badge Management allows you to create custom badge for every product.
|
6 |
-
* Version: 1.1.7
|
7 |
-
* Author: YIThemes
|
8 |
-
* Author URI: http://yithemes.com/
|
9 |
-
* Text Domain: yith-wcbm
|
10 |
-
* Domain Path: /languages/
|
11 |
-
*
|
12 |
-
* @author Yithemes
|
13 |
-
* @package YITH WooCommerce Badge Management
|
14 |
-
* @version 1.1.7
|
15 |
-
*/
|
16 |
-
/* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
|
17 |
-
|
18 |
-
This program is free software; you can redistribute it and/or modify
|
19 |
-
it under the terms of the GNU General Public License, version 2, as
|
20 |
-
published by the Free Software Foundation.
|
21 |
-
|
22 |
-
This program is distributed in the hope that it will be useful,
|
23 |
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
24 |
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
25 |
-
GNU General Public License for more details.
|
26 |
-
|
27 |
-
You should have received a copy of the GNU General Public License
|
28 |
-
along with this program; if not, write to the Free Software
|
29 |
-
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
30 |
-
*/
|
31 |
-
|
32 |
-
/* == COMMENT == */
|
33 |
-
|
34 |
-
if ( ! defined( 'ABSPATH' ) ) { exit; } // Exit if accessed directly
|
35 |
-
|
36 |
-
if ( ! function_exists( 'is_plugin_active' ) ) {
|
37 |
-
require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
38 |
-
}
|
39 |
-
|
40 |
-
function yith_wcbm_install_woocommerce_admin_notice() {
|
41 |
-
?>
|
42 |
-
<div class="error">
|
43 |
-
<p><?php _e( 'YITH WooCommerce Badge Management is enabled but not effective. It requires WooCommerce in order to work.', 'yit' ); ?></p>
|
44 |
-
</div>
|
45 |
-
<?php
|
46 |
-
}
|
47 |
-
|
48 |
-
|
49 |
-
function yith_wcbm_install_free_admin_notice() {
|
50 |
-
?>
|
51 |
-
<div class="error">
|
52 |
-
<p><?php _e( 'You can\'t activate the free version of YITH WooCommerce Badge Management while you are using the premium one.', 'yit' ); ?></p>
|
53 |
-
</div>
|
54 |
-
<?php
|
55 |
-
}
|
56 |
-
|
57 |
-
if ( ! function_exists( 'yith_plugin_registration_hook' ) ) {
|
58 |
-
require_once 'plugin-fw/yit-plugin-registration-hook.php';
|
59 |
-
}
|
60 |
-
register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
|
61 |
-
|
62 |
-
|
63 |
-
if ( ! defined( 'YITH_WCBM_VERSION' ) ){
|
64 |
-
define( 'YITH_WCBM_VERSION', '1.1.7' );
|
65 |
-
}
|
66 |
-
|
67 |
-
if ( ! defined( 'YITH_WCBM_FREE_INIT' ) ) {
|
68 |
-
define( 'YITH_WCBM_FREE_INIT', plugin_basename( __FILE__ ) );
|
69 |
-
}
|
70 |
-
|
71 |
-
if ( ! defined( 'YITH_WCBM' ) ) {
|
72 |
-
define( 'YITH_WCBM', true );
|
73 |
-
}
|
74 |
-
|
75 |
-
if ( ! defined( 'YITH_WCBM_FILE' ) ) {
|
76 |
-
define( 'YITH_WCBM_FILE', __FILE__ );
|
77 |
-
}
|
78 |
-
|
79 |
-
if ( ! defined( 'YITH_WCBM_URL' ) ) {
|
80 |
-
define( 'YITH_WCBM_URL', plugin_dir_url( __FILE__ ) );
|
81 |
-
}
|
82 |
-
|
83 |
-
if ( ! defined( 'YITH_WCBM_DIR' ) ) {
|
84 |
-
define( 'YITH_WCBM_DIR', plugin_dir_path( __FILE__ ) );
|
85 |
-
}
|
86 |
-
|
87 |
-
if ( ! defined( 'YITH_WCBM_TEMPLATE_PATH' ) ) {
|
88 |
-
define( 'YITH_WCBM_TEMPLATE_PATH', YITH_WCBM_DIR . 'templates' );
|
89 |
-
}
|
90 |
-
|
91 |
-
if ( ! defined( 'YITH_WCBM_ASSETS_URL' ) ) {
|
92 |
-
define( 'YITH_WCBM_ASSETS_URL', YITH_WCBM_URL . 'assets' );
|
93 |
-
}
|
94 |
-
|
95 |
-
|
96 |
-
function yith_wcbm_init() {
|
97 |
-
|
98 |
-
load_plugin_textdomain( 'yith-wcbm', false, dirname( plugin_basename( __FILE__ ) ). '/languages/' );
|
99 |
-
|
100 |
-
// Load required classes and functions
|
101 |
-
require_once('class.yith-wcbm-admin.php');
|
102 |
-
require_once('class.yith-wcbm-frontend.php');
|
103 |
-
require_once('class.yith-wcbm.php');
|
104 |
-
|
105 |
-
// Let's start the game!
|
106 |
-
YITH_WCBM();
|
107 |
-
}
|
108 |
-
add_action( 'yith_wcbm_init', 'yith_wcbm_init' );
|
109 |
-
|
110 |
-
|
111 |
-
function yith_wcbm_install() {
|
112 |
-
|
113 |
-
if ( ! function_exists( 'WC' ) ) {
|
114 |
-
add_action( 'admin_notices', 'yith_wcbm_install_woocommerce_admin_notice' );
|
115 |
-
}
|
116 |
-
elseif ( defined( 'YITH_WCBM_PREMIUM' ) ) {
|
117 |
-
add_action( 'admin_notices', 'yith_wcbm_install_free_admin_notice' );
|
118 |
-
deactivate_plugins( plugin_basename( __FILE__ ) );
|
119 |
-
}
|
120 |
-
else {
|
121 |
-
do_action( 'yith_wcbm_init' );
|
122 |
-
}
|
123 |
-
}
|
124 |
-
add_action( 'plugins_loaded', 'yith_wcbm_install', 11 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
modules/yith-woocommerce-badge-management/languages/yith-wcbm.pot
DELETED
@@ -1,1081 +0,0 @@
|
|
1 |
-
# Copyright (C) 2015 YIThemes
|
2 |
-
# This file is distributed under the same license as the YITH Plugin Starter package.
|
3 |
-
msgid ""
|
4 |
-
msgstr ""
|
5 |
-
"Project-Id-Version: YITH WooCommerce Badge Management\n"
|
6 |
-
"Report-Msgid-Bugs-To: Your Inspiration Themes <plugins@yithemes.com>\n"
|
7 |
-
"POT-Creation-Date: 2015-06-19 17:17+0100\n"
|
8 |
-
"PO-Revision-Date: 2015-06-19 17:17+0100\n"
|
9 |
-
"Last-Translator: \n"
|
10 |
-
"Language-Team: Your Inspiration Themes <info@yithemes.com>\n"
|
11 |
-
"Language: en\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.7.6\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"
|
19 |
-
"Plural-Forms: nplurals=2; plural=(n != 1);\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 |
-
"X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
|
25 |
-
|
26 |
-
#: class.yith-wcbm-admin.php:132 class.yith-wcbm-admin.php:179
|
27 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1048 plugin-fw/lib/yit-cpt-unlimited.php:1196
|
28 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1202 plugin-fw/lib/yit-plugin-panel.php:64
|
29 |
-
msgid "Settings"
|
30 |
-
msgstr ""
|
31 |
-
|
32 |
-
#: class.yith-wcbm-admin.php:134 class.yith-wcbm-admin.php:180
|
33 |
-
msgid "Premium Version"
|
34 |
-
msgstr ""
|
35 |
-
|
36 |
-
#: class.yith-wcbm-admin.php:158
|
37 |
-
msgid "Plugin Documentation"
|
38 |
-
msgstr ""
|
39 |
-
|
40 |
-
#: class.yith-wcbm-admin.php:188 class.yith-wcbm-admin.php:189
|
41 |
-
msgid "Badge Management"
|
42 |
-
msgstr ""
|
43 |
-
|
44 |
-
#: class.yith-wcbm-admin.php:233
|
45 |
-
msgid "Badges"
|
46 |
-
msgstr ""
|
47 |
-
|
48 |
-
#: class.yith-wcbm-admin.php:234
|
49 |
-
msgid "Badge"
|
50 |
-
msgstr ""
|
51 |
-
|
52 |
-
#: class.yith-wcbm-admin.php:235
|
53 |
-
msgid "Add Badge"
|
54 |
-
msgstr ""
|
55 |
-
|
56 |
-
#: class.yith-wcbm-admin.php:236
|
57 |
-
msgid "Add new Badge"
|
58 |
-
msgstr ""
|
59 |
-
|
60 |
-
#: class.yith-wcbm-admin.php:237
|
61 |
-
msgid "Edit Badge"
|
62 |
-
msgstr ""
|
63 |
-
|
64 |
-
#: class.yith-wcbm-admin.php:238
|
65 |
-
msgid "View Badge"
|
66 |
-
msgstr ""
|
67 |
-
|
68 |
-
#: class.yith-wcbm-admin.php:239
|
69 |
-
msgid "Badge not found"
|
70 |
-
msgstr ""
|
71 |
-
|
72 |
-
#: class.yith-wcbm-admin.php:240
|
73 |
-
msgid "Badge not found in trash"
|
74 |
-
msgstr ""
|
75 |
-
|
76 |
-
#: class.yith-wcbm-admin.php:264
|
77 |
-
msgid "Badge Options"
|
78 |
-
msgstr ""
|
79 |
-
|
80 |
-
#: class.yith-wcbm-admin.php:306
|
81 |
-
msgid "Product Badge"
|
82 |
-
msgstr ""
|
83 |
-
|
84 |
-
#: class.yith-wcbm-admin.php:324
|
85 |
-
msgid "Select Badge"
|
86 |
-
msgstr ""
|
87 |
-
|
88 |
-
#: class.yith-wcbm-admin.php:326
|
89 |
-
msgid "none"
|
90 |
-
msgstr ""
|
91 |
-
|
92 |
-
#: functions.yith-wcbm.php:27
|
93 |
-
msgid "Text Badge"
|
94 |
-
msgstr ""
|
95 |
-
|
96 |
-
#: functions.yith-wcbm.php:28
|
97 |
-
msgid "Image Badge"
|
98 |
-
msgstr ""
|
99 |
-
|
100 |
-
#: functions.yith-wcbm.php:38
|
101 |
-
msgid "Text Options"
|
102 |
-
msgstr ""
|
103 |
-
|
104 |
-
#: functions.yith-wcbm.php:42
|
105 |
-
msgid "Text"
|
106 |
-
msgstr ""
|
107 |
-
|
108 |
-
#: functions.yith-wcbm.php:50
|
109 |
-
msgid "Text Color"
|
110 |
-
msgstr ""
|
111 |
-
|
112 |
-
#: functions.yith-wcbm.php:61
|
113 |
-
msgid "Style Options"
|
114 |
-
msgstr ""
|
115 |
-
|
116 |
-
#: functions.yith-wcbm.php:65
|
117 |
-
msgid "Background Color"
|
118 |
-
msgstr ""
|
119 |
-
|
120 |
-
#: functions.yith-wcbm.php:74
|
121 |
-
msgid "Size (pixel)"
|
122 |
-
msgstr ""
|
123 |
-
|
124 |
-
#: functions.yith-wcbm.php:88
|
125 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:222
|
126 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:409
|
127 |
-
msgid "Width"
|
128 |
-
msgstr ""
|
129 |
-
|
130 |
-
#: functions.yith-wcbm.php:91
|
131 |
-
msgid "Height"
|
132 |
-
msgstr ""
|
133 |
-
|
134 |
-
#: functions.yith-wcbm.php:103
|
135 |
-
msgid "Select the Image Badge"
|
136 |
-
msgstr ""
|
137 |
-
|
138 |
-
#: functions.yith-wcbm.php:121 functions.yith-wcbm.php:125
|
139 |
-
msgid "Position"
|
140 |
-
msgstr ""
|
141 |
-
|
142 |
-
#: functions.yith-wcbm.php:129
|
143 |
-
msgid "top-left"
|
144 |
-
msgstr ""
|
145 |
-
|
146 |
-
#: functions.yith-wcbm.php:130
|
147 |
-
msgid "top-right"
|
148 |
-
msgstr ""
|
149 |
-
|
150 |
-
#: functions.yith-wcbm.php:131
|
151 |
-
msgid "bottom-left"
|
152 |
-
msgstr ""
|
153 |
-
|
154 |
-
#: functions.yith-wcbm.php:132
|
155 |
-
msgid "bottom-right"
|
156 |
-
msgstr ""
|
157 |
-
|
158 |
-
#: functions.yith-wcbm.php:141
|
159 |
-
msgid "Preview"
|
160 |
-
msgstr ""
|
161 |
-
|
162 |
-
#: init.php:43
|
163 |
-
msgid ""
|
164 |
-
"YITH WooCommerce Badge Management is enabled but not effective. It requires "
|
165 |
-
"Woocommerce in order to work."
|
166 |
-
msgstr ""
|
167 |
-
|
168 |
-
#: init.php:52
|
169 |
-
msgid ""
|
170 |
-
"You can't activate the free version of YITH WooCommerce Badge Management while you "
|
171 |
-
"are using the premium one."
|
172 |
-
msgstr ""
|
173 |
-
|
174 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:460 plugin-fw/lib/yit-cpt-unlimited.php:574
|
175 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:719 plugin-fw/lib/yit-cpt-unlimited.php:1632
|
176 |
-
#, php-format
|
177 |
-
msgid "Add %s"
|
178 |
-
msgstr ""
|
179 |
-
|
180 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:461 plugin-fw/lib/yit-cpt-unlimited.php:575
|
181 |
-
#, php-format
|
182 |
-
msgid "Add New %s"
|
183 |
-
msgstr ""
|
184 |
-
|
185 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:462 plugin-fw/lib/yit-cpt-unlimited.php:576
|
186 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1267 plugin-fw/lib/yit-cpt-unlimited.php:1304
|
187 |
-
#, php-format
|
188 |
-
msgid "Edit %s"
|
189 |
-
msgstr ""
|
190 |
-
|
191 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:463 plugin-fw/lib/yit-cpt-unlimited.php:577
|
192 |
-
#, php-format
|
193 |
-
msgid "New %s"
|
194 |
-
msgstr ""
|
195 |
-
|
196 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:464 plugin-fw/lib/yit-cpt-unlimited.php:578
|
197 |
-
#, php-format
|
198 |
-
msgid "All %s"
|
199 |
-
msgstr ""
|
200 |
-
|
201 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:465 plugin-fw/lib/yit-cpt-unlimited.php:579
|
202 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1251 plugin-fw/lib/yit-cpt-unlimited.php:1305
|
203 |
-
#, php-format
|
204 |
-
msgid "View %s"
|
205 |
-
msgstr ""
|
206 |
-
|
207 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:466 plugin-fw/lib/yit-cpt-unlimited.php:580
|
208 |
-
#, php-format
|
209 |
-
msgid "Search %s"
|
210 |
-
msgstr ""
|
211 |
-
|
212 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:467 plugin-fw/lib/yit-cpt-unlimited.php:581
|
213 |
-
#, php-format
|
214 |
-
msgid "No %s found"
|
215 |
-
msgstr ""
|
216 |
-
|
217 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:468 plugin-fw/lib/yit-cpt-unlimited.php:582
|
218 |
-
#, php-format
|
219 |
-
msgid "No %s found in Trash"
|
220 |
-
msgstr ""
|
221 |
-
|
222 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:625
|
223 |
-
#, php-format
|
224 |
-
msgctxt "taxonomy general name"
|
225 |
-
msgid "%s Categories"
|
226 |
-
msgstr ""
|
227 |
-
|
228 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:626
|
229 |
-
msgctxt "taxonomy singular name"
|
230 |
-
msgid "Category"
|
231 |
-
msgstr ""
|
232 |
-
|
233 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:627
|
234 |
-
msgid "Search Categories"
|
235 |
-
msgstr ""
|
236 |
-
|
237 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:628
|
238 |
-
msgid "All Categories"
|
239 |
-
msgstr ""
|
240 |
-
|
241 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:629
|
242 |
-
msgid "Parent Category"
|
243 |
-
msgstr ""
|
244 |
-
|
245 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:630
|
246 |
-
msgid "Parent Category:"
|
247 |
-
msgstr ""
|
248 |
-
|
249 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:631
|
250 |
-
msgid "Edit Category"
|
251 |
-
msgstr ""
|
252 |
-
|
253 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:632
|
254 |
-
msgid "Update Category"
|
255 |
-
msgstr ""
|
256 |
-
|
257 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:633
|
258 |
-
msgid "Add New Category"
|
259 |
-
msgstr ""
|
260 |
-
|
261 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:634
|
262 |
-
msgid "New Category Name"
|
263 |
-
msgstr ""
|
264 |
-
|
265 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:635
|
266 |
-
msgid "Category"
|
267 |
-
msgstr ""
|
268 |
-
|
269 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:724
|
270 |
-
msgid "Categories"
|
271 |
-
msgstr ""
|
272 |
-
|
273 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1042
|
274 |
-
#, php-format
|
275 |
-
msgid "%s Settings"
|
276 |
-
msgstr ""
|
277 |
-
|
278 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1051
|
279 |
-
msgid "Type"
|
280 |
-
msgstr ""
|
281 |
-
|
282 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1052
|
283 |
-
msgid "Layout for this "
|
284 |
-
msgstr ""
|
285 |
-
|
286 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1058
|
287 |
-
msgid "Rewrite"
|
288 |
-
msgstr ""
|
289 |
-
|
290 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1059
|
291 |
-
msgid ""
|
292 |
-
"Univocal identification name in the URL for each product (slug from post if empty)"
|
293 |
-
msgstr ""
|
294 |
-
|
295 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1064
|
296 |
-
msgid "Label in Singular"
|
297 |
-
msgstr ""
|
298 |
-
|
299 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1065
|
300 |
-
msgid "Set a label in singular (title of portfolio if empty)"
|
301 |
-
msgstr ""
|
302 |
-
|
303 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1070
|
304 |
-
msgid "Label in Plural"
|
305 |
-
msgstr ""
|
306 |
-
|
307 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1071
|
308 |
-
msgid "Set a label in plural (title of portfolio if empty)"
|
309 |
-
msgstr ""
|
310 |
-
|
311 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1076
|
312 |
-
msgid "Taxonomy"
|
313 |
-
msgstr ""
|
314 |
-
|
315 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1077
|
316 |
-
msgid ""
|
317 |
-
"If you want to use categories in the portfolio, set a name for taxonomy. Name "
|
318 |
-
"should be a slug (must not contain capital letters nor spaces) and must not be "
|
319 |
-
"more than 32 characters long (database structure restriction)."
|
320 |
-
msgstr ""
|
321 |
-
|
322 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1082
|
323 |
-
msgid "Taxonomy Rewrite"
|
324 |
-
msgstr ""
|
325 |
-
|
326 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1083
|
327 |
-
msgid "Set univocal name for each category page URL."
|
328 |
-
msgstr ""
|
329 |
-
|
330 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1088
|
331 |
-
msgid "Single layout"
|
332 |
-
msgstr ""
|
333 |
-
|
334 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1089
|
335 |
-
msgid "Layout for single page of this portfolio"
|
336 |
-
msgstr ""
|
337 |
-
|
338 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1130
|
339 |
-
msgid "layout settings"
|
340 |
-
msgstr ""
|
341 |
-
|
342 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1222 plugin-fw/lib/yit-cpt-unlimited.php:1235
|
343 |
-
msgid "Quick links"
|
344 |
-
msgstr ""
|
345 |
-
|
346 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1475
|
347 |
-
#, php-format
|
348 |
-
msgid "Show frontend of the %s"
|
349 |
-
msgstr ""
|
350 |
-
|
351 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1482
|
352 |
-
#: plugin-fw/templates/metaboxes/types/customtabs.php:46
|
353 |
-
#: plugin-fw/templates/metaboxes/types/customtabs.php:90
|
354 |
-
msgid "Name"
|
355 |
-
msgstr ""
|
356 |
-
|
357 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1631
|
358 |
-
#, php-format
|
359 |
-
msgid "Add %s from images"
|
360 |
-
msgstr ""
|
361 |
-
|
362 |
-
#: plugin-fw/lib/yit-cpt-unlimited.php:1633
|
363 |
-
msgid "Add with multiupload"
|
364 |
-
msgstr ""
|
365 |
-
|
366 |
-
#: plugin-fw/lib/yit-plugin-panel-wc.php:295
|
367 |
-
msgid "The changes you have made will be lost if you leave this page."
|
368 |
-
msgstr ""
|
369 |
-
|
370 |
-
#: plugin-fw/lib/yit-plugin-panel.php:63
|
371 |
-
msgid "Plugin Settings"
|
372 |
-
msgstr ""
|
373 |
-
|
374 |
-
#: plugin-fw/lib/yit-plugin-panel.php:96 plugin-fw/lib/yit-plugin-subpanel.php:101
|
375 |
-
msgid "YIT Plugins"
|
376 |
-
msgstr ""
|
377 |
-
|
378 |
-
#: plugin-fw/lib/yit-plugin-panel.php:293 plugin-fw/lib/yit-plugin-subpanel.php:143
|
379 |
-
#: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:5
|
380 |
-
msgid "Save Changes"
|
381 |
-
msgstr ""
|
382 |
-
|
383 |
-
#: plugin-fw/lib/yit-plugin-panel.php:296
|
384 |
-
#: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:8
|
385 |
-
msgid "If you continue with this action, you will reset all options in this page."
|
386 |
-
msgstr ""
|
387 |
-
|
388 |
-
#: plugin-fw/lib/yit-plugin-panel.php:298 plugin-fw/lib/yit-plugin-subpanel.php:148
|
389 |
-
msgid "Reset to Default"
|
390 |
-
msgstr ""
|
391 |
-
|
392 |
-
#: plugin-fw/lib/yit-plugin-panel.php:298 plugin-fw/lib/yit-plugin-subpanel.php:148
|
393 |
-
#: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:10
|
394 |
-
msgid "Are you sure?"
|
395 |
-
msgstr ""
|
396 |
-
|
397 |
-
#: plugin-fw/lib/yit-plugin-panel.php:432
|
398 |
-
msgid "The element you have entered already exists. Please, enter another name."
|
399 |
-
msgstr ""
|
400 |
-
|
401 |
-
#: plugin-fw/lib/yit-plugin-panel.php:433
|
402 |
-
msgid "Settings saved"
|
403 |
-
msgstr ""
|
404 |
-
|
405 |
-
#: plugin-fw/lib/yit-plugin-panel.php:434
|
406 |
-
msgid "Settings reset"
|
407 |
-
msgstr ""
|
408 |
-
|
409 |
-
#: plugin-fw/lib/yit-plugin-panel.php:435
|
410 |
-
msgid "Element deleted correctly."
|
411 |
-
msgstr ""
|
412 |
-
|
413 |
-
#: plugin-fw/lib/yit-plugin-panel.php:436 plugin-fw/lib/yit-plugin-panel.php:437
|
414 |
-
msgid "Element updated correctly."
|
415 |
-
msgstr ""
|
416 |
-
|
417 |
-
#: plugin-fw/lib/yit-plugin-panel.php:438
|
418 |
-
msgid "Database imported correctly."
|
419 |
-
msgstr ""
|
420 |
-
|
421 |
-
#: plugin-fw/lib/yit-plugin-panel.php:439
|
422 |
-
msgid "An error has occurred during import. Please try again."
|
423 |
-
msgstr ""
|
424 |
-
|
425 |
-
#: plugin-fw/lib/yit-plugin-panel.php:440
|
426 |
-
msgid "The added file is not valid."
|
427 |
-
msgstr ""
|
428 |
-
|
429 |
-
#: plugin-fw/lib/yit-plugin-panel.php:441
|
430 |
-
msgid "Sorry, import is disabled."
|
431 |
-
msgstr ""
|
432 |
-
|
433 |
-
#: plugin-fw/lib/yit-plugin-panel.php:442
|
434 |
-
msgid "Sorting successful."
|
435 |
-
msgstr ""
|
436 |
-
|
437 |
-
#: plugin-fw/lib/yit-plugin-subpanel.php:146
|
438 |
-
msgid ""
|
439 |
-
"If you continue with this action, you will reset all the options in this page."
|
440 |
-
msgstr ""
|
441 |
-
|
442 |
-
#: plugin-fw/lib/yit-pointers.php:70
|
443 |
-
msgid "Plugins Activated"
|
444 |
-
msgstr ""
|
445 |
-
|
446 |
-
#: plugin-fw/lib/yit-pointers.php:71
|
447 |
-
msgid ""
|
448 |
-
"From now on, you can find all plugin options in YIT Plugin menu.\n"
|
449 |
-
" For each plugin installed, customization "
|
450 |
-
"settings will be available as a new entry in YIT Plugin menu."
|
451 |
-
msgstr ""
|
452 |
-
|
453 |
-
#: plugin-fw/lib/yit-pointers.php:73 plugin-fw/lib/yit-pointers.php:89
|
454 |
-
msgid "Discover all our plugins available on:"
|
455 |
-
msgstr ""
|
456 |
-
|
457 |
-
#: plugin-fw/lib/yit-pointers.php:74 plugin-fw/lib/yit-pointers.php:90
|
458 |
-
msgid "and"
|
459 |
-
msgstr ""
|
460 |
-
|
461 |
-
#: plugin-fw/lib/yit-pointers.php:84
|
462 |
-
msgid "Plugins Upgraded"
|
463 |
-
msgstr ""
|
464 |
-
|
465 |
-
#: plugin-fw/lib/yit-pointers.php:85
|
466 |
-
msgid ""
|
467 |
-
"From now on, you can find all options of your plugins in YIT Plugin menu.\n"
|
468 |
-
" Any time one of our plugins is updated, a new "
|
469 |
-
"entry will be added to this menu.\n"
|
470 |
-
" For example, after the update, plugin options "
|
471 |
-
"(such as for YITH WooCommerce Wishlist, YITH WooCommerce Ajax Search, etc.)\n"
|
472 |
-
" will be moved from previous location to YIT "
|
473 |
-
"Plugin tab."
|
474 |
-
msgstr ""
|
475 |
-
|
476 |
-
#: plugin-fw/lib/yit-upgrade.php:123
|
477 |
-
msgid "There is a new version of %plugin_name% available."
|
478 |
-
msgstr ""
|
479 |
-
|
480 |
-
#: plugin-fw/lib/yit-upgrade.php:124
|
481 |
-
msgid "View version %latest% details."
|
482 |
-
msgstr ""
|
483 |
-
|
484 |
-
#: plugin-fw/lib/yit-upgrade.php:125
|
485 |
-
msgid "Automatic update is unavailable for this plugin,"
|
486 |
-
msgstr ""
|
487 |
-
|
488 |
-
#: plugin-fw/lib/yit-upgrade.php:126
|
489 |
-
msgid "please <a href=\"%activate_link%\">activate</a> your copy of %plugin_name%."
|
490 |
-
msgstr ""
|
491 |
-
|
492 |
-
#: plugin-fw/lib/yit-upgrade.php:127
|
493 |
-
msgid "Update now."
|
494 |
-
msgstr ""
|
495 |
-
|
496 |
-
#: plugin-fw/lib/yit-upgrade.php:230
|
497 |
-
msgid "Yithemes Repository"
|
498 |
-
msgstr ""
|
499 |
-
|
500 |
-
#: plugin-fw/lib/yit-upgrade.php:264
|
501 |
-
msgid "Invalid URL Provided."
|
502 |
-
msgstr ""
|
503 |
-
|
504 |
-
#: plugin-fw/lib/yit-upgrade.php:277
|
505 |
-
msgid "Could not create Temporary file."
|
506 |
-
msgstr ""
|
507 |
-
|
508 |
-
#: plugin-fw/lib/yit-upgrade.php:419
|
509 |
-
#, php-format
|
510 |
-
msgid ""
|
511 |
-
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
512 |
-
"changelog-button\" title=\"%3$s\">View version %4$s details</a>."
|
513 |
-
msgstr ""
|
514 |
-
|
515 |
-
#: plugin-fw/lib/yit-upgrade.php:421
|
516 |
-
#, php-format
|
517 |
-
msgid ""
|
518 |
-
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
519 |
-
"changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>You have to "
|
520 |
-
"activate the plugin on a single site of the network to benefit from automatic "
|
521 |
-
"updates.</em>"
|
522 |
-
msgstr ""
|
523 |
-
|
524 |
-
#: plugin-fw/lib/yit-upgrade.php:423
|
525 |
-
#, php-format
|
526 |
-
msgid ""
|
527 |
-
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
528 |
-
"changelog-button\" title=\"%3$s\">View version %4$s details</a>. <em>Automatic "
|
529 |
-
"update is unavailable for this plugin, please <a href=\"%5$s\" title=\"Licence "
|
530 |
-
"activation\">activate</a> your copy of %6s.</em>"
|
531 |
-
msgstr ""
|
532 |
-
|
533 |
-
#: plugin-fw/lib/yit-upgrade.php:425
|
534 |
-
#, php-format
|
535 |
-
msgid ""
|
536 |
-
"There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox yit-"
|
537 |
-
"changelog-button\" title=\"%3$s\">View version %4$s details</a> or <a href=\"%5$s"
|
538 |
-
"\">update now</a>."
|
539 |
-
msgstr ""
|
540 |
-
|
541 |
-
#: plugin-fw/lib/yit-upgrade.php:498
|
542 |
-
msgid "You can't update the plugins for this site."
|
543 |
-
msgstr ""
|
544 |
-
|
545 |
-
#: plugin-fw/lib/yit-upgrade.php:502
|
546 |
-
msgid "You do not have sufficient permissions to update the plugins for this site."
|
547 |
-
msgstr ""
|
548 |
-
|
549 |
-
#: plugin-fw/lib/yit-upgrade.php:509
|
550 |
-
msgid "Update Plugin"
|
551 |
-
msgstr ""
|
552 |
-
|
553 |
-
#: plugin-fw/licence/lib/yit-licence.php:161
|
554 |
-
#, php-format
|
555 |
-
msgctxt "%s = field name"
|
556 |
-
msgid "%s field cannot be empty"
|
557 |
-
msgstr ""
|
558 |
-
|
559 |
-
#: plugin-fw/licence/lib/yit-licence.php:162
|
560 |
-
#, php-format
|
561 |
-
msgid "%s and %s fields cannot be empty"
|
562 |
-
msgstr ""
|
563 |
-
|
564 |
-
#: plugin-fw/licence/lib/yit-licence.php:163
|
565 |
-
msgid "Unable to contact the remote server, please try again later. Thanks!"
|
566 |
-
msgstr ""
|
567 |
-
|
568 |
-
#: plugin-fw/licence/lib/yit-licence.php:548
|
569 |
-
msgid "Invalid Request"
|
570 |
-
msgstr ""
|
571 |
-
|
572 |
-
#: plugin-fw/licence/lib/yit-licence.php:549
|
573 |
-
msgid "Invalid licence key"
|
574 |
-
msgstr ""
|
575 |
-
|
576 |
-
#: plugin-fw/licence/lib/yit-licence.php:550
|
577 |
-
msgid "Software has been deactivated"
|
578 |
-
msgstr ""
|
579 |
-
|
580 |
-
#: plugin-fw/licence/lib/yit-licence.php:551
|
581 |
-
msgid "Maximum number of activations exceeded"
|
582 |
-
msgstr ""
|
583 |
-
|
584 |
-
#: plugin-fw/licence/lib/yit-licence.php:552
|
585 |
-
msgid "Invalid instance ID"
|
586 |
-
msgstr ""
|
587 |
-
|
588 |
-
#: plugin-fw/licence/lib/yit-licence.php:553
|
589 |
-
msgid "Invalid security key"
|
590 |
-
msgstr ""
|
591 |
-
|
592 |
-
#: plugin-fw/licence/lib/yit-licence.php:554
|
593 |
-
msgid "Licence key has expired"
|
594 |
-
msgstr ""
|
595 |
-
|
596 |
-
#: plugin-fw/licence/lib/yit-licence.php:555
|
597 |
-
msgid "Licence key has been banned"
|
598 |
-
msgstr ""
|
599 |
-
|
600 |
-
#: plugin-fw/licence/lib/yit-plugin-licence.php:68
|
601 |
-
#: plugin-fw/licence/lib/yit-plugin-licence.php:69
|
602 |
-
#: plugin-fw/licence/lib/yit-theme-licence.php:64
|
603 |
-
#: plugin-fw/licence/lib/yit-theme-licence.php:65
|
604 |
-
#: plugin-fw/licence/lib/yit-theme-licence.php:107
|
605 |
-
#: plugin-fw/licence/lib/yit-theme-licence.php:108
|
606 |
-
msgid "Licence Activation"
|
607 |
-
msgstr ""
|
608 |
-
|
609 |
-
#: plugin-fw/licence/lib/yit-theme-licence.php:115
|
610 |
-
#: plugin-fw/licence/lib/yit-theme-licence.php:116
|
611 |
-
#, php-format
|
612 |
-
msgid "%s"
|
613 |
-
msgstr ""
|
614 |
-
|
615 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:19
|
616 |
-
msgid "Yithemes Licence Activation"
|
617 |
-
msgstr ""
|
618 |
-
|
619 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:23
|
620 |
-
msgid ""
|
621 |
-
"I cannot find the license key for activating the theme I have bought some time "
|
622 |
-
"ago. Where can I find it?"
|
623 |
-
msgstr ""
|
624 |
-
|
625 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:26
|
626 |
-
msgid ""
|
627 |
-
"If you have purchased one of our products before 27 January 2015, you can benefit "
|
628 |
-
"from support and updates (the services offered with the license)\n"
|
629 |
-
" until 27 January 2016 and you do not have to purchase it again to get "
|
630 |
-
"a new license key, because, before this date, your license used to be activated "
|
631 |
-
"automatically by our system.\n"
|
632 |
-
" After 27 January 2016, instead, if you want to benefit from support "
|
633 |
-
"and updates you have to buy a new license and activate it through the license key "
|
634 |
-
"you will be\n"
|
635 |
-
" provided with and that you can find in your YIThemes account, in "
|
636 |
-
"section \"My licenses\"."
|
637 |
-
msgstr ""
|
638 |
-
|
639 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:37
|
640 |
-
msgid ""
|
641 |
-
"Have you updated your licenses? Have you asked for an extension? Update "
|
642 |
-
"information concerning your products."
|
643 |
-
msgstr ""
|
644 |
-
|
645 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:39
|
646 |
-
msgid "Update licence information"
|
647 |
-
msgstr ""
|
648 |
-
|
649 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:49
|
650 |
-
msgid "Products to be activated"
|
651 |
-
msgstr ""
|
652 |
-
|
653 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:68
|
654 |
-
msgid "Activate"
|
655 |
-
msgstr ""
|
656 |
-
|
657 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:87
|
658 |
-
msgid "Activated"
|
659 |
-
msgstr ""
|
660 |
-
|
661 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:91
|
662 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:123
|
663 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:147
|
664 |
-
msgid "Product Name"
|
665 |
-
msgstr ""
|
666 |
-
|
667 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:92
|
668 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:124
|
669 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:148
|
670 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:148
|
671 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:340
|
672 |
-
msgid "Email"
|
673 |
-
msgstr ""
|
674 |
-
|
675 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:93
|
676 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:125
|
677 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:149
|
678 |
-
msgid "Licence Key"
|
679 |
-
msgstr ""
|
680 |
-
|
681 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:94
|
682 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:150
|
683 |
-
msgid "Expires"
|
684 |
-
msgstr ""
|
685 |
-
|
686 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:95
|
687 |
-
msgid "Remaining"
|
688 |
-
msgstr ""
|
689 |
-
|
690 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:96
|
691 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:109
|
692 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:151
|
693 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:161
|
694 |
-
msgid "Renew"
|
695 |
-
msgstr ""
|
696 |
-
|
697 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:107
|
698 |
-
#, php-format
|
699 |
-
msgid "%1s out of %2s"
|
700 |
-
msgstr ""
|
701 |
-
|
702 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:119
|
703 |
-
msgid "Banned"
|
704 |
-
msgstr ""
|
705 |
-
|
706 |
-
#: plugin-fw/licence/templates/panel/activation/activation-panel.php:143
|
707 |
-
msgid "Expired"
|
708 |
-
msgstr ""
|
709 |
-
|
710 |
-
#: plugin-fw/templates/metaboxes/types/ajax-products.php:23
|
711 |
-
msgid "Search for a product"
|
712 |
-
msgstr ""
|
713 |
-
|
714 |
-
#: plugin-fw/templates/metaboxes/types/categories.php:36
|
715 |
-
msgid "No categories."
|
716 |
-
msgstr ""
|
717 |
-
|
718 |
-
#: plugin-fw/templates/metaboxes/types/categories.php:42
|
719 |
-
msgid "+ Add New Category"
|
720 |
-
msgstr ""
|
721 |
-
|
722 |
-
#: plugin-fw/templates/metaboxes/types/categories.php:46
|
723 |
-
msgid "Add"
|
724 |
-
msgstr ""
|
725 |
-
|
726 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:7
|
727 |
-
msgid "Text Input"
|
728 |
-
msgstr ""
|
729 |
-
|
730 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:8
|
731 |
-
msgid "Checkbox"
|
732 |
-
msgstr ""
|
733 |
-
|
734 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:9
|
735 |
-
msgid "Select"
|
736 |
-
msgstr ""
|
737 |
-
|
738 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:10
|
739 |
-
msgid "Textarea"
|
740 |
-
msgstr ""
|
741 |
-
|
742 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:11
|
743 |
-
msgid "Radio Input"
|
744 |
-
msgstr ""
|
745 |
-
|
746 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:12
|
747 |
-
msgid "Password Field"
|
748 |
-
msgstr ""
|
749 |
-
|
750 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:13
|
751 |
-
msgid "File Upload"
|
752 |
-
msgstr ""
|
753 |
-
|
754 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:47
|
755 |
-
msgid "Theme Icon"
|
756 |
-
msgstr ""
|
757 |
-
|
758 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:48
|
759 |
-
msgid "Custom Icon"
|
760 |
-
msgstr ""
|
761 |
-
|
762 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:49
|
763 |
-
#: plugin-fw/templates/metaboxes/types/responsivesliders.php:24
|
764 |
-
msgid "None"
|
765 |
-
msgstr ""
|
766 |
-
|
767 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:60
|
768 |
-
msgid "Add field"
|
769 |
-
msgstr ""
|
770 |
-
|
771 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:69
|
772 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:261
|
773 |
-
#: plugin-fw/templates/metaboxes/types/customtabs.php:37
|
774 |
-
#: plugin-fw/templates/metaboxes/types/customtabs.php:82
|
775 |
-
msgid "Remove"
|
776 |
-
msgstr ""
|
777 |
-
|
778 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:70
|
779 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:262
|
780 |
-
msgid "Click to toggle"
|
781 |
-
msgstr ""
|
782 |
-
|
783 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:77
|
784 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:269
|
785 |
-
msgid "Field Title"
|
786 |
-
msgstr ""
|
787 |
-
|
788 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:81
|
789 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:273
|
790 |
-
msgid "Insert the title for the field."
|
791 |
-
msgstr ""
|
792 |
-
|
793 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:86
|
794 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:278
|
795 |
-
msgid "Data Name"
|
796 |
-
msgstr ""
|
797 |
-
|
798 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:90
|
799 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:282
|
800 |
-
msgid ""
|
801 |
-
"REQUIRED: Field identification name to be entered into email body. <strong>Note:</"
|
802 |
-
"strong>Use only lowercase characters and underscores."
|
803 |
-
msgstr ""
|
804 |
-
|
805 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:95
|
806 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:287
|
807 |
-
msgid "Field Type"
|
808 |
-
msgstr ""
|
809 |
-
|
810 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:103
|
811 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:295
|
812 |
-
msgid "Select the type for this field."
|
813 |
-
msgstr ""
|
814 |
-
|
815 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:108
|
816 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:300
|
817 |
-
msgid "Checked"
|
818 |
-
msgstr ""
|
819 |
-
|
820 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:112
|
821 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:304
|
822 |
-
msgid "Select this option if you want this field appears as already checked."
|
823 |
-
msgstr ""
|
824 |
-
|
825 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:117
|
826 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:309
|
827 |
-
msgid "Add options "
|
828 |
-
msgstr ""
|
829 |
-
|
830 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:118
|
831 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:310
|
832 |
-
msgid "Add option"
|
833 |
-
msgstr ""
|
834 |
-
|
835 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:121
|
836 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:313
|
837 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:436
|
838 |
-
msgid "Selected"
|
839 |
-
msgstr ""
|
840 |
-
|
841 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:124
|
842 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:316
|
843 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:436
|
844 |
-
msgid "Delete option"
|
845 |
-
msgstr ""
|
846 |
-
|
847 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:130
|
848 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:322
|
849 |
-
msgid "Error Message"
|
850 |
-
msgstr ""
|
851 |
-
|
852 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:134
|
853 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:326
|
854 |
-
msgid "Insert the error message for validation."
|
855 |
-
msgstr ""
|
856 |
-
|
857 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:139
|
858 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:331
|
859 |
-
msgid "Required"
|
860 |
-
msgstr ""
|
861 |
-
|
862 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:143
|
863 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:335
|
864 |
-
msgid "Select this option if it must be required."
|
865 |
-
msgstr ""
|
866 |
-
|
867 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:152
|
868 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:344
|
869 |
-
msgid "Select this option if the email must be valid."
|
870 |
-
msgstr ""
|
871 |
-
|
872 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:157
|
873 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:349
|
874 |
-
msgid "Reply To"
|
875 |
-
msgstr ""
|
876 |
-
|
877 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:161
|
878 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:353
|
879 |
-
msgid "Select this if it is the email you can reply to."
|
880 |
-
msgstr ""
|
881 |
-
|
882 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:166
|
883 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:358
|
884 |
-
msgid "Class"
|
885 |
-
msgstr ""
|
886 |
-
|
887 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:170
|
888 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:362
|
889 |
-
msgid "Insert additional class(es) (separated by commas) for more personalization."
|
890 |
-
msgstr ""
|
891 |
-
|
892 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:175
|
893 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:367
|
894 |
-
msgid "Icon"
|
895 |
-
msgstr ""
|
896 |
-
|
897 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:203
|
898 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:391
|
899 |
-
#: plugin-fw/templates/metaboxes/types/icon-list.php:69
|
900 |
-
#: plugin-fw/templates/metaboxes/types/select-icon.php:33
|
901 |
-
#: plugin-fw/templates/metaboxes/types/upload.php:21
|
902 |
-
#: plugin-fw/templates/panel/types/upload.php:31
|
903 |
-
#: plugin-fw/templates/panel/woocommerce/woocommerce-upload.php:35
|
904 |
-
msgid "Upload"
|
905 |
-
msgstr ""
|
906 |
-
|
907 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:209
|
908 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:397
|
909 |
-
#: plugin-fw/templates/metaboxes/types/icon-list.php:75
|
910 |
-
#: plugin-fw/templates/metaboxes/types/select-icon.php:39
|
911 |
-
msgid "Image preview"
|
912 |
-
msgstr ""
|
913 |
-
|
914 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:217
|
915 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:405
|
916 |
-
msgid "Insert an icon for more personalization."
|
917 |
-
msgstr ""
|
918 |
-
|
919 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:247
|
920 |
-
#: plugin-fw/templates/metaboxes/types/contactform.php:421
|
921 |
-
msgid "Set field length."
|
922 |
-
msgstr ""
|
923 |
-
|
924 |
-
#: plugin-fw/templates/metaboxes/types/customtabs.php:28
|
925 |
-
msgid "Close all"
|
926 |
-
msgstr ""
|
927 |
-
|
928 |
-
#: plugin-fw/templates/metaboxes/types/customtabs.php:28
|
929 |
-
msgid "Expand all"
|
930 |
-
msgstr ""
|
931 |
-
|
932 |
-
#: plugin-fw/templates/metaboxes/types/customtabs.php:52
|
933 |
-
#: plugin-fw/templates/metaboxes/types/customtabs.php:95
|
934 |
-
msgid "Value"
|
935 |
-
msgstr ""
|
936 |
-
|
937 |
-
#: plugin-fw/templates/metaboxes/types/customtabs.php:53
|
938 |
-
#: plugin-fw/templates/metaboxes/types/customtabs.php:96
|
939 |
-
msgid "Content of the tab. (HTML is supported)"
|
940 |
-
msgstr ""
|
941 |
-
|
942 |
-
#: plugin-fw/templates/metaboxes/types/customtabs.php:65
|
943 |
-
msgid "Add custom product tab"
|
944 |
-
msgstr ""
|
945 |
-
|
946 |
-
#: plugin-fw/templates/metaboxes/types/customtabs.php:107
|
947 |
-
msgid "Do you want to remove the custom tab?"
|
948 |
-
msgstr ""
|
949 |
-
|
950 |
-
#: plugin-fw/templates/metaboxes/types/icon-list.php:89
|
951 |
-
#, php-format
|
952 |
-
msgid "(Default: %s <img src=\"%s\"/>)"
|
953 |
-
msgstr ""
|
954 |
-
|
955 |
-
#: plugin-fw/templates/metaboxes/types/icon-list.php:91
|
956 |
-
#, php-format
|
957 |
-
msgid "(Default: <i %s></i> )"
|
958 |
-
msgstr ""
|
959 |
-
|
960 |
-
#: plugin-fw/templates/metaboxes/types/image-gallery.php:40
|
961 |
-
#: plugin-fw/templates/metaboxes/types/image-gallery.php:45
|
962 |
-
#: plugin-fw/templates/metaboxes/types/images.php:38
|
963 |
-
#: plugin-fw/templates/metaboxes/types/images.php:64
|
964 |
-
msgid "Delete image"
|
965 |
-
msgstr ""
|
966 |
-
|
967 |
-
#: plugin-fw/templates/metaboxes/types/image-gallery.php:45
|
968 |
-
msgid "Add Images to Gallery"
|
969 |
-
msgstr ""
|
970 |
-
|
971 |
-
#: plugin-fw/templates/metaboxes/types/image-gallery.php:45
|
972 |
-
msgid "Add to gallery"
|
973 |
-
msgstr ""
|
974 |
-
|
975 |
-
#: plugin-fw/templates/metaboxes/types/image-gallery.php:45
|
976 |
-
msgid "Add images"
|
977 |
-
msgstr ""
|
978 |
-
|
979 |
-
#: plugin-fw/templates/metaboxes/types/image-gallery.php:45
|
980 |
-
msgid "Delete"
|
981 |
-
msgstr ""
|
982 |
-
|
983 |
-
#: plugin-fw/templates/metaboxes/types/images.php:42
|
984 |
-
msgid "Upload new images"
|
985 |
-
msgstr ""
|
986 |
-
|
987 |
-
#: plugin-fw/templates/metaboxes/types/images.php:75
|
988 |
-
msgid "Are you sure you want to remove this image?"
|
989 |
-
msgstr ""
|
990 |
-
|
991 |
-
#: plugin-fw/templates/metaboxes/types/sidebar-layout.php:25
|
992 |
-
#: plugin-fw/templates/metaboxes/types/sidebars.php:36
|
993 |
-
msgid "Left sidebar"
|
994 |
-
msgstr ""
|
995 |
-
|
996 |
-
#: plugin-fw/templates/metaboxes/types/sidebar-layout.php:28
|
997 |
-
#: plugin-fw/templates/metaboxes/types/sidebars.php:42
|
998 |
-
#: plugin-fw/templates/metaboxes/types/sidebars.php:45
|
999 |
-
msgid "No sidebar"
|
1000 |
-
msgstr ""
|
1001 |
-
|
1002 |
-
#: plugin-fw/templates/metaboxes/types/sidebar-layout.php:31
|
1003 |
-
#: plugin-fw/templates/metaboxes/types/sidebars.php:39
|
1004 |
-
msgid "Right sidebar"
|
1005 |
-
msgstr ""
|
1006 |
-
|
1007 |
-
#: plugin-fw/templates/metaboxes/types/sidebar-layout.php:34
|
1008 |
-
#: plugin-fw/templates/metaboxes/types/sidebars.php:53
|
1009 |
-
#: plugin-fw/templates/metaboxes/types/sidebars.php:64
|
1010 |
-
msgid "Choose a sidebar"
|
1011 |
-
msgstr ""
|
1012 |
-
|
1013 |
-
#: plugin-fw/templates/metaboxes/types/sidebars.php:51
|
1014 |
-
msgid "Left Sidebar"
|
1015 |
-
msgstr ""
|
1016 |
-
|
1017 |
-
#: plugin-fw/templates/metaboxes/types/sidebars.php:62
|
1018 |
-
msgid "Right Sidebar"
|
1019 |
-
msgstr ""
|
1020 |
-
|
1021 |
-
#: plugin-fw/templates/metaboxes/types/typography.php:42
|
1022 |
-
msgid "px"
|
1023 |
-
msgstr ""
|
1024 |
-
|
1025 |
-
#: plugin-fw/templates/metaboxes/types/typography.php:43
|
1026 |
-
msgid "em"
|
1027 |
-
msgstr ""
|
1028 |
-
|
1029 |
-
#: plugin-fw/templates/metaboxes/types/typography.php:44
|
1030 |
-
msgid "pt"
|
1031 |
-
msgstr ""
|
1032 |
-
|
1033 |
-
#: plugin-fw/templates/metaboxes/types/typography.php:45
|
1034 |
-
msgid "rem"
|
1035 |
-
msgstr ""
|
1036 |
-
|
1037 |
-
#: plugin-fw/templates/metaboxes/types/typography.php:59
|
1038 |
-
#: plugin-fw/templates/metaboxes/types/typography.php:153
|
1039 |
-
#: plugin-fw/templates/metaboxes/types/typography.php:217
|
1040 |
-
msgid "Web fonts"
|
1041 |
-
msgstr ""
|
1042 |
-
|
1043 |
-
#: plugin-fw/templates/metaboxes/types/typography.php:71
|
1044 |
-
msgid "Google fonts"
|
1045 |
-
msgstr ""
|
1046 |
-
|
1047 |
-
#: plugin-fw/templates/metaboxes/types/typography.php:96
|
1048 |
-
msgid "Regular"
|
1049 |
-
msgstr ""
|
1050 |
-
|
1051 |
-
#: plugin-fw/templates/metaboxes/types/typography.php:97
|
1052 |
-
msgid "Bold"
|
1053 |
-
msgstr ""
|
1054 |
-
|
1055 |
-
#: plugin-fw/templates/metaboxes/types/typography.php:98
|
1056 |
-
msgid "Extra bold"
|
1057 |
-
msgstr ""
|
1058 |
-
|
1059 |
-
#: plugin-fw/templates/metaboxes/types/typography.php:99
|
1060 |
-
msgid "Italic"
|
1061 |
-
msgstr ""
|
1062 |
-
|
1063 |
-
#: plugin-fw/templates/metaboxes/types/typography.php:100
|
1064 |
-
msgid "Italic bold"
|
1065 |
-
msgstr ""
|
1066 |
-
|
1067 |
-
#: plugin-fw/templates/panel/woocommerce/woocommerce-form.php:10
|
1068 |
-
msgid "Reset Defaults"
|
1069 |
-
msgstr ""
|
1070 |
-
|
1071 |
-
#: plugin-options/settings-options.php:8
|
1072 |
-
msgid "General Options"
|
1073 |
-
msgstr ""
|
1074 |
-
|
1075 |
-
#: plugin-options/settings-options.php:16
|
1076 |
-
msgid "Hide \"On sale\" badge"
|
1077 |
-
msgstr ""
|
1078 |
-
|
1079 |
-
#: plugin-options/settings-options.php:18
|
1080 |
-
msgid "Select to hide the default Woocommerce \"On sale\" badge."
|
1081 |
-
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
modules/yith-woocommerce-badge-management/plugin-options/premium-options.php
DELETED
@@ -1,13 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
// Exit if accessed directly
|
4 |
-
! defined( 'YITH_WCBM' ) && exit();
|
5 |
-
|
6 |
-
return array(
|
7 |
-
'premium' => array(
|
8 |
-
'landing' => array(
|
9 |
-
'type' => 'custom_tab',
|
10 |
-
'action' => 'yith_wcbm_premium_tab'
|
11 |
-
)
|
12 |
-
)
|
13 |
-
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
modules/yith-woocommerce-badge-management/plugin-options/settings-options.php
DELETED
@@ -1,29 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
$settings = array(
|
4 |
-
|
5 |
-
'settings' => array(
|
6 |
-
|
7 |
-
'general-options' => array(
|
8 |
-
'title' => __( 'General Options', 'yith-wcbm' ),
|
9 |
-
'type' => 'title',
|
10 |
-
'desc' => '',
|
11 |
-
'id' => 'yith-wcbm-general-options'
|
12 |
-
),
|
13 |
-
|
14 |
-
'hide-on-sale-default-badge' => array(
|
15 |
-
'id' => 'yith-wcbm-hide-on-sale-default',
|
16 |
-
'name' => __( 'Hide "On sale" badge', 'yith-wcbm' ),
|
17 |
-
'type' => 'checkbox',
|
18 |
-
'desc' => __( 'Select to hide the default Woocommerce "On sale" badge.', 'yith-wcbm' ),
|
19 |
-
'default' => 'no'
|
20 |
-
),
|
21 |
-
|
22 |
-
'general-options-end' => array(
|
23 |
-
'type' => 'sectionend',
|
24 |
-
'id' => 'yith-wcqv-general-options'
|
25 |
-
)
|
26 |
-
)
|
27 |
-
);
|
28 |
-
|
29 |
-
return apply_filters( 'yith_wcbm_panel_settings_options', $settings );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
modules/yith-woocommerce-badge-management/templates/badge_content.php
DELETED
@@ -1,41 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
$position_css = "";
|
3 |
-
if ($position == 'top-left'){
|
4 |
-
$position_css = "top: 0; left: 0;";
|
5 |
-
}else if ($position == 'top-right'){
|
6 |
-
$position_css = "top: 0; right: 0;";
|
7 |
-
}else if ($position == 'bottom-left'){
|
8 |
-
$position_css = "bottom: 0; left: 0;";
|
9 |
-
}else if ($position == 'bottom-right'){
|
10 |
-
$position_css = "bottom: 0; right: 0;";
|
11 |
-
}
|
12 |
-
|
13 |
-
//--wpml-------------
|
14 |
-
$text = yith_wcbm_wpml_string_translate( 'yith-wcbm', sanitize_title( $text ), $text );
|
15 |
-
//-------------------
|
16 |
-
|
17 |
-
?>
|
18 |
-
<style>
|
19 |
-
.yith-wcbm-badge-<?php echo $product_id ?>-<?php echo $id_badge ?>{
|
20 |
-
|
21 |
-
<?php
|
22 |
-
if ($type == 'text') {
|
23 |
-
?>
|
24 |
-
color: <?php echo $txt_color?>;
|
25 |
-
background-color: <?php echo $bg_color ?>;
|
26 |
-
width: <?php echo $width ?>px;
|
27 |
-
height: <?php echo $height ?>px;
|
28 |
-
line-height: <?php echo $height ?>px;
|
29 |
-
<?php
|
30 |
-
}else{
|
31 |
-
// IMAGE BADGE
|
32 |
-
$image_url = YITH_WCBM_ASSETS_URL . '/images/' . $image_url;
|
33 |
-
$text = '<img src="'. $image_url . '" />';
|
34 |
-
}
|
35 |
-
?>
|
36 |
-
<?php echo $position_css ?>
|
37 |
-
}
|
38 |
-
</style>
|
39 |
-
<div class='yith-wcbm-badge yith-wcbm-badge-<?php echo $product_id ?>-<?php echo $id_badge?>'>
|
40 |
-
<?php echo $text ?>
|
41 |
-
</div><!--yith-wcbm-badge-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
modules/yith-woocommerce-badge-management/templates/premium.php
DELETED
@@ -1,364 +0,0 @@
|
|
1 |
-
<style>
|
2 |
-
.section{
|
3 |
-
margin-left: -20px;
|
4 |
-
margin-right: -20px;
|
5 |
-
font-family: "Raleway",san-serif;
|
6 |
-
}
|
7 |
-
.section h1{
|
8 |
-
text-align: center;
|
9 |
-
text-transform: uppercase;
|
10 |
-
color: #808a97;
|
11 |
-
font-size: 35px;
|
12 |
-
font-weight: 700;
|
13 |
-
line-height: normal;
|
14 |
-
display: inline-block;
|
15 |
-
width: 100%;
|
16 |
-
margin: 50px 0 0;
|
17 |
-
}
|
18 |
-
.section:nth-child(even){
|
19 |
-
background-color: #fff;
|
20 |
-
}
|
21 |
-
.section:nth-child(odd){
|
22 |
-
background-color: #f1f1f1;
|
23 |
-
}
|
24 |
-
.section .section-title img{
|
25 |
-
display: table-cell;
|
26 |
-
vertical-align: middle;
|
27 |
-
width: auto;
|
28 |
-
margin-right: 15px;
|
29 |
-
}
|
30 |
-
.section h2,
|
31 |
-
.section h3 {
|
32 |
-
display: inline-block;
|
33 |
-
vertical-align: middle;
|
34 |
-
padding: 0;
|
35 |
-
font-size: 24px;
|
36 |
-
font-weight: 700;
|
37 |
-
color: #808a97;
|
38 |
-
text-transform: uppercase;
|
39 |
-
}
|
40 |
-
|
41 |
-
.section .section-title h2{
|
42 |
-
display: table-cell;
|
43 |
-
vertical-align: middle;
|
44 |
-
}
|
45 |
-
|
46 |
-
.section-title{
|
47 |
-
display: table;
|
48 |
-
}
|
49 |
-
|
50 |
-
.section h3 {
|
51 |
-
font-size: 14px;
|
52 |
-
line-height: 28px;
|
53 |
-
margin-bottom: 0;
|
54 |
-
display: block;
|
55 |
-
}
|
56 |
-
|
57 |
-
.section p{
|
58 |
-
font-size: 13px;
|
59 |
-
margin: 25px 0;
|
60 |
-
}
|
61 |
-
.section ul li{
|
62 |
-
margin-bottom: 4px;
|
63 |
-
}
|
64 |
-
.landing-container{
|
65 |
-
max-width: 750px;
|
66 |
-
margin-left: auto;
|
67 |
-
margin-right: auto;
|
68 |
-
padding: 50px 0 30px;
|
69 |
-
}
|
70 |
-
.landing-container:after{
|
71 |
-
display: block;
|
72 |
-
clear: both;
|
73 |
-
content: '';
|
74 |
-
}
|
75 |
-
.landing-container .col-1,
|
76 |
-
.landing-container .col-2{
|
77 |
-
float: left;
|
78 |
-
box-sizing: border-box;
|
79 |
-
padding: 0 15px;
|
80 |
-
}
|
81 |
-
.landing-container .col-1 img{
|
82 |
-
width: 100%;
|
83 |
-
}
|
84 |
-
.landing-container .col-1{
|
85 |
-
width: 55%;
|
86 |
-
}
|
87 |
-
.landing-container .col-2{
|
88 |
-
width: 45%;
|
89 |
-
}
|
90 |
-
.premium-cta{
|
91 |
-
background-color: #808a97;
|
92 |
-
color: #fff;
|
93 |
-
border-radius: 6px;
|
94 |
-
padding: 20px 15px;
|
95 |
-
}
|
96 |
-
.premium-cta:after{
|
97 |
-
content: '';
|
98 |
-
display: block;
|
99 |
-
clear: both;
|
100 |
-
}
|
101 |
-
.premium-cta p{
|
102 |
-
margin: 7px 0;
|
103 |
-
font-size: 14px;
|
104 |
-
font-weight: 500;
|
105 |
-
display: inline-block;
|
106 |
-
width: 60%;
|
107 |
-
}
|
108 |
-
.premium-cta a.button{
|
109 |
-
border-radius: 6px;
|
110 |
-
height: 60px;
|
111 |
-
float: right;
|
112 |
-
background: url(<?php echo YITH_WCBM_ASSETS_URL?>/images/upgrade.png) #ff643f no-repeat 13px 13px;
|
113 |
-
border-color: #ff643f;
|
114 |
-
box-shadow: none;
|
115 |
-
outline: none;
|
116 |
-
color: #fff;
|
117 |
-
position: relative;
|
118 |
-
padding: 9px 50px 9px 70px;
|
119 |
-
}
|
120 |
-
.premium-cta a.button:hover,
|
121 |
-
.premium-cta a.button:active,
|
122 |
-
.premium-cta a.button:focus{
|
123 |
-
color: #fff;
|
124 |
-
background: url(<?php echo YITH_WCBM_ASSETS_URL?>/images/upgrade.png) #971d00 no-repeat 13px 13px;
|
125 |
-
border-color: #971d00;
|
126 |
-
box-shadow: none;
|
127 |
-
outline: none;
|
128 |
-
}
|
129 |
-
.premium-cta a.button:focus{
|
130 |
-
top: 1px;
|
131 |
-
}
|
132 |
-
.premium-cta a.button span{
|
133 |
-
line-height: 13px;
|
134 |
-
}
|
135 |
-
.premium-cta a.button .highlight{
|
136 |
-
display: block;
|
137 |
-
font-size: 20px;
|
138 |
-
font-weight: 700;
|
139 |
-
line-height: 20px;
|
140 |
-
}
|
141 |
-
.premium-cta .highlight{
|
142 |
-
text-transform: uppercase;
|
143 |
-
background: none;
|
144 |
-
font-weight: 800;
|
145 |
-
color: #fff;
|
146 |
-
}
|
147 |
-
|
148 |
-
@media (max-width: 768px) {
|
149 |
-
.section{margin: 0}
|
150 |
-
.premium-cta p{
|
151 |
-
width: 100%;
|
152 |
-
}
|
153 |
-
.premium-cta{
|
154 |
-
text-align: center;
|
155 |
-
}
|
156 |
-
.premium-cta a.button{
|
157 |
-
float: none;
|
158 |
-
}
|
159 |
-
}
|
160 |
-
|
161 |
-
@media (max-width: 480px){
|
162 |
-
.wrap{
|
163 |
-
margin-right: 0;
|
164 |
-
}
|
165 |
-
.section{
|
166 |
-
margin: 0;
|
167 |
-
}
|
168 |
-
.landing-container .col-1,
|
169 |
-
.landing-container .col-2{
|
170 |
-
width: 100%;
|
171 |
-
padding: 0 15px;
|
172 |
-
}
|
173 |
-
.section-odd .col-1 {
|
174 |
-
float: left;
|
175 |
-
margin-right: -100%;
|
176 |
-
}
|
177 |
-
.section-odd .col-2 {
|
178 |
-
float: right;
|
179 |
-
margin-top: 65%;
|
180 |
-
}
|
181 |
-
}
|
182 |
-
|
183 |
-
@media (max-width: 320px){
|
184 |
-
.premium-cta a.button{
|
185 |
-
padding: 9px 20px 9px 70px;
|
186 |
-
}
|
187 |
-
|
188 |
-
.section .section-title img{
|
189 |
-
display: none;
|
190 |
-
}
|
191 |
-
}
|
192 |
-
</style>
|
193 |
-
<div class="landing">
|
194 |
-
<div class="section section-cta section-odd">
|
195 |
-
<div class="landing-container">
|
196 |
-
<div class="premium-cta">
|
197 |
-
<p>
|
198 |
-
Upgrade to the <span class="highlight">premium version</span>
|
199 |
-
of <span class="highlight">YITH WooCommerce Badge Management</span> to benefit from all features!
|
200 |
-
</p>
|
201 |
-
<a href="<?php echo $this->get_premium_landing_uri(); ?>" target="_blank" class="premium-cta-button button btn">
|
202 |
-
<span class="highlight">UPGRADE</span>
|
203 |
-
<span>to the premium version</span>
|
204 |
-
</a>
|
205 |
-
</div>
|
206 |
-
</div>
|
207 |
-
</div>
|
208 |
-
<div class="section section-even clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/01-bg.png) no-repeat #fff; background-position: 85% 75%">
|
209 |
-
<h1>Premium Features</h1>
|
210 |
-
<div class="landing-container">
|
211 |
-
<div class="col-1">
|
212 |
-
<img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/01.png" alt="Automatic Badges" />
|
213 |
-
</div>
|
214 |
-
<div class="col-2">
|
215 |
-
<div class="section-title">
|
216 |
-
<img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/01-icon.png" alt="icon"/>
|
217 |
-
<h2>Assign badges automatically</h2>
|
218 |
-
</div>
|
219 |
-
<p>
|
220 |
-
A badge for <b>recent product</b>, another one for on <b>sale products</b> and another one for <b>featured</b> ones. Go
|
221 |
-
to plugin panel and enjoy automatic attribution feature of badges: as soon as the product is set as
|
222 |
-
belonging to one the categories above mentioned, it will be automatically associated to the relevant
|
223 |
-
badge, without you having to do that manually.
|
224 |
-
</p>
|
225 |
-
</div>
|
226 |
-
</div>
|
227 |
-
</div>
|
228 |
-
<div class="section section-odd clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/02-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
|
229 |
-
<div class="landing-container">
|
230 |
-
<div class="col-2">
|
231 |
-
<div class="section-title">
|
232 |
-
<img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/02-icon.png" alt="icon 02" />
|
233 |
-
<h2>Category badges</h2>
|
234 |
-
</div>
|
235 |
-
<p>
|
236 |
-
A badge for each product category. You might feel the need to create a badge for each product category: <b>you can with the premium version of the plugin</b>.<br>
|
237 |
-
A very effective strategy if you want to highlight specific products or if you want to give a nice touch to your store.
|
238 |
-
</p>
|
239 |
-
</div>
|
240 |
-
<div class="col-1">
|
241 |
-
<img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/02.png" alt="category badges" />
|
242 |
-
</div>
|
243 |
-
</div>
|
244 |
-
</div>
|
245 |
-
<div class="section section-even clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/03-bg.png) no-repeat #fff; background-position: 85% 100%">
|
246 |
-
<div class="landing-container">
|
247 |
-
<div class="col-1">
|
248 |
-
<img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/03.png" alt="Advanced badges" />
|
249 |
-
</div>
|
250 |
-
<div class="col-2">
|
251 |
-
<div class="section-title">
|
252 |
-
<img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/03-icon.png" alt="icon 03" />
|
253 |
-
<h2>Advanced badges</h2>
|
254 |
-
</div>
|
255 |
-
<p>
|
256 |
-
The plugin gives you the possibility to create countless badges entirely conceived for you, but (and
|
257 |
-
this is wonderful news), it allows you to use a series of <b>advanced badges</b>, ready for you, and easy
|
258 |
-
to adapt to the style of your shop.
|
259 |
-
</p>
|
260 |
-
</div>
|
261 |
-
</div>
|
262 |
-
</div>
|
263 |
-
<div class="section section-odd clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/04-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
|
264 |
-
<div class="landing-container">
|
265 |
-
<div class="col-2">
|
266 |
-
<div class="section-title">
|
267 |
-
<img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/04-icon.png" alt="icon 04" />
|
268 |
-
<h2>CSS BADGE</h2>
|
269 |
-
</div>
|
270 |
-
<p>
|
271 |
-
Discover the new section <b>“CSS Badge”</b>, where you can find a selection of badges entirely design as
|
272 |
-
CSS and that you can customise in text and color. They are perfect to give a <b>special touch to your
|
273 |
-
products</b> and to create ad hoc badges for your store.
|
274 |
-
</p>
|
275 |
-
</div>
|
276 |
-
<div class="col-1">
|
277 |
-
<img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/04.png" alt="css badge" />
|
278 |
-
</div>
|
279 |
-
</div>
|
280 |
-
</div>
|
281 |
-
<div class="section section-even clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/05-bg.png) no-repeat #fff; background-position: 85% 100%">
|
282 |
-
<div class="landing-container">
|
283 |
-
<div class="col-1">
|
284 |
-
<img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/05.png" alt="Style options" />
|
285 |
-
</div>
|
286 |
-
<div class="col-2">
|
287 |
-
<div class="section-title">
|
288 |
-
<img src="<?php echo YITH_WCBM_ASSETS_URL?>/images/05-icon.png" alt="icon 05" />
|
289 |
-
<h2>Additional style options</h2>
|
290 |
-
</div>
|
291 |
-
<p>
|
292 |
-
Attention to detail is important and if you want to create the perfect badge for you, you can
|
293 |
-
exploit additional style options in the option panel, where <b>you can set font size, values for
|
294 |
-
padding and border radius and opacity of your badge</b>.
|
295 |
-
</p>
|
296 |
-
</div>
|
297 |
-
</div>
|
298 |
-
</div>
|
299 |
-
<div class="section section-odd clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/07-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
|
300 |
-
<div class="landing-container">
|
301 |
-
<div class="col-2">
|
302 |
-
<div class="section-title">
|
303 |
-
<img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/07-icon.png" alt="icon 07" />
|
304 |
-
<h2>Even more badges</h2>
|
305 |
-
</div>
|
306 |
-
<p>
|
307 |
-
A collection of <b>ready badges</b>, which enlarges more and more and which is entirely at your disposal. A series of badges carefully designed and using the best colours for an e-commerce store.
|
308 |
-
But, do not stop here! If you have a badge that meets your needs better, upload it through the dedicated button and apply it to the product it has been conceived for.
|
309 |
-
</p>
|
310 |
-
</div>
|
311 |
-
<div class="col-1">
|
312 |
-
<img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/07.png" alt="Image badges" />
|
313 |
-
</div>
|
314 |
-
</div>
|
315 |
-
</div>
|
316 |
-
<div class="section section-even clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/06-bg.png) no-repeat #fff; background-position: 85% 100%">
|
317 |
-
<div class="landing-container">
|
318 |
-
<div class="col-1">
|
319 |
-
<img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/06.png" alt="positioning system" />
|
320 |
-
</div>
|
321 |
-
<div class="col-2">
|
322 |
-
<div class="section-title">
|
323 |
-
<img src="<?php echo YITH_WCBM_ASSETS_URL?>/images/06-icon.png" alt="icon 06" />
|
324 |
-
<h2>Positioning system</h2>
|
325 |
-
</div>
|
326 |
-
<p>
|
327 |
-
Move your badge with "Drag & Drop" method and see where it appears, by using it in the preview box.
|
328 |
-
Set the <b>anchor point</b> for your badge, in the context of the product image, and specify position
|
329 |
-
values for the four borders of the box (top, right, bottom, left).
|
330 |
-
</p>
|
331 |
-
</div>
|
332 |
-
</div>
|
333 |
-
</div>
|
334 |
-
<div class="section section-odd clear" style="background: url(<?php echo YITH_WCBM_ASSETS_URL ?>/images/08-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
|
335 |
-
<div class="landing-container">
|
336 |
-
<div class="col-2">
|
337 |
-
<div class="section-title">
|
338 |
-
<img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/08-icon.png" alt="icon 08" />
|
339 |
-
<h2>Hide the badge on the single product</h2>
|
340 |
-
</div>
|
341 |
-
<p>
|
342 |
-
A specific option that allows you to <b>hide the badge in product detail page</b>, while its behaviour will not be changed in other pages in the shop.
|
343 |
-
</p>
|
344 |
-
</div>
|
345 |
-
<div class="col-1">
|
346 |
-
<img src="<?php echo YITH_WCBM_ASSETS_URL ?>/images/08.png" alt="hide badge" />
|
347 |
-
</div>
|
348 |
-
</div>
|
349 |
-
</div>
|
350 |
-
<div class="section section-cta section-odd">
|
351 |
-
<div class="landing-container">
|
352 |
-
<div class="premium-cta">
|
353 |
-
<p>
|
354 |
-
Upgrade to the <span class="highlight">premium version</span>
|
355 |
-
of <span class="highlight">YITH WooCommerce Badge Management</span> to benefit from all features!
|
356 |
-
</p>
|
357 |
-
<a href="<?php echo $this->get_premium_landing_uri(); ?>" target="_blank" class="premium-cta-button button btn">
|
358 |
-
<span class="highlight">UPGRADE</span>
|
359 |
-
<span>to the premium version</span>
|
360 |
-
</a>
|
361 |
-
</div>
|
362 |
-
</div>
|
363 |
-
</div>
|
364 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
modules/yith-woocommerce-badges-management/class.yith-wcbm-frontend.php
CHANGED
@@ -79,7 +79,7 @@ if( ! class_exists( 'YITH_WCBM_Frontend' ) ) {
|
|
79 |
}
|
80 |
|
81 |
public function add_box_thumb( $thumb , $post_id ){
|
82 |
-
if( ! $this->is_in_sidebar() ){
|
83 |
return self::show_badge_on_product($thumb , $post_id);
|
84 |
}else{
|
85 |
return $thumb;
|
@@ -125,7 +125,7 @@ if( ! class_exists( 'YITH_WCBM_Frontend' ) ) {
|
|
125 |
*
|
126 |
* @access public
|
127 |
* @return string
|
128 |
-
* @param $val value of filter woocommerce_sale_flash
|
129 |
* @since 1.0.0
|
130 |
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
131 |
*/
|
@@ -149,12 +149,16 @@ if( ! class_exists( 'YITH_WCBM_Frontend' ) ) {
|
|
149 |
* Edit image in products
|
150 |
*
|
151 |
* @access public
|
152 |
-
* @return
|
153 |
-
* @param $val product image
|
154 |
* @since 1.0.0
|
155 |
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
156 |
*/
|
157 |
public function show_badge_on_product ( $val , $product_id ) {
|
|
|
|
|
|
|
|
|
158 |
$badge_container = "<div class='container-image-and-badge'>". $val;
|
159 |
|
160 |
$product_id = $this->get_wpml_parent_id( $product_id );
|
79 |
}
|
80 |
|
81 |
public function add_box_thumb( $thumb , $post_id ){
|
82 |
+
if( ! $this->is_in_sidebar() && !is_cart() && !is_checkout() ){
|
83 |
return self::show_badge_on_product($thumb , $post_id);
|
84 |
}else{
|
85 |
return $thumb;
|
125 |
*
|
126 |
* @access public
|
127 |
* @return string
|
128 |
+
* @param $val string value of filter woocommerce_sale_flash
|
129 |
* @since 1.0.0
|
130 |
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
131 |
*/
|
149 |
* Edit image in products
|
150 |
*
|
151 |
* @access public
|
152 |
+
* @return string
|
153 |
+
* @param $val string product image
|
154 |
* @since 1.0.0
|
155 |
* @author Leanza Francesco <leanzafrancesco@gmail.com>
|
156 |
*/
|
157 |
public function show_badge_on_product ( $val , $product_id ) {
|
158 |
+
// prevent multiple badge copies
|
159 |
+
if( strpos($val, 'container-image-and-badge') > 0)
|
160 |
+
return $val;
|
161 |
+
|
162 |
$badge_container = "<div class='container-image-and-badge'>". $val;
|
163 |
|
164 |
$product_id = $this->get_wpml_parent_id( $product_id );
|
modules/yith-woocommerce-badges-management/init.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: YITH WooCommerce Badge Management
|
4 |
* Plugin URI: http://yithemes.com/
|
5 |
* Description: YITH WooCommerce Badge Management allows you to create custom badge for every product.
|
6 |
-
* Version: 1.1.
|
7 |
* Author: YIThemes
|
8 |
* Author URI: http://yithemes.com/
|
9 |
* Text Domain: yith-wcbm
|
@@ -11,7 +11,7 @@
|
|
11 |
*
|
12 |
* @author Yithemes
|
13 |
* @package YITH WooCommerce Badge Management
|
14 |
-
* @version 1.1.
|
15 |
*/
|
16 |
/* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
|
17 |
|
@@ -61,7 +61,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
|
|
61 |
|
62 |
|
63 |
if ( ! defined( 'YITH_WCBM_VERSION' ) ){
|
64 |
-
define( 'YITH_WCBM_VERSION', '1.1.
|
65 |
}
|
66 |
|
67 |
if ( ! defined( 'YITH_WCBM_FREE_INIT' ) ) {
|
3 |
* Plugin Name: YITH WooCommerce Badge Management
|
4 |
* Plugin URI: http://yithemes.com/
|
5 |
* Description: YITH WooCommerce Badge Management allows you to create custom badge for every product.
|
6 |
+
* Version: 1.1.9
|
7 |
* Author: YIThemes
|
8 |
* Author URI: http://yithemes.com/
|
9 |
* Text Domain: yith-wcbm
|
11 |
*
|
12 |
* @author Yithemes
|
13 |
* @package YITH WooCommerce Badge Management
|
14 |
+
* @version 1.1.9
|
15 |
*/
|
16 |
/* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
|
17 |
|
61 |
|
62 |
|
63 |
if ( ! defined( 'YITH_WCBM_VERSION' ) ){
|
64 |
+
define( 'YITH_WCBM_VERSION', '1.1.9' );
|
65 |
}
|
66 |
|
67 |
if ( ! defined( 'YITH_WCBM_FREE_INIT' ) ) {
|
modules/yith-woocommerce-colors-labels-variations/changelog.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
=== 1.1.8 ===
|
2 |
Fixed: Missing attributes when adding to cart variation
|
3 |
|
1 |
+
=== 1.1.9 ===
|
2 |
+
Added: ITA Language
|
3 |
+
Fixed: Error with attributes created directly from edit product page
|
4 |
+
|
5 |
=== 1.1.8 ===
|
6 |
Fixed: Missing attributes when adding to cart variation
|
7 |
|
modules/yith-woocommerce-colors-labels-variations/init.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: YITH WooCommerce Colors and Labels Variations
|
4 |
* Plugin URI: http://yithemes.com/
|
5 |
* Description: YITH WooCommerce Ajax Colors and Labels Variations replaces the dropdown select of your variable products with Colors and Labels
|
6 |
-
* Version: 1.1.
|
7 |
* Author: Yithemes
|
8 |
* Author URI: http://yithemes.com/
|
9 |
* Text Domain: ywcl
|
@@ -11,7 +11,7 @@
|
|
11 |
*
|
12 |
* @author Yithemes
|
13 |
* @package YITH WooCommerce Colors and Labels Variations
|
14 |
-
* @version 1.1.
|
15 |
*/
|
16 |
/* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
|
17 |
|
@@ -64,7 +64,7 @@ function yith_wccl_constructor() {
|
|
64 |
define( 'YITH_WCCL', true );
|
65 |
define( 'YITH_WCCL_URL', plugin_dir_url( __FILE__ ) );
|
66 |
define( 'YITH_WCCL_DIR', plugin_dir_path( __FILE__ ) );
|
67 |
-
define( 'YITH_WCCL_VERSION', '1.1.
|
68 |
|
69 |
// Load required classes and functions
|
70 |
require_once('functions.yith-wccl.php');
|
3 |
* Plugin Name: YITH WooCommerce Colors and Labels Variations
|
4 |
* Plugin URI: http://yithemes.com/
|
5 |
* Description: YITH WooCommerce Ajax Colors and Labels Variations replaces the dropdown select of your variable products with Colors and Labels
|
6 |
+
* Version: 1.1.9
|
7 |
* Author: Yithemes
|
8 |
* Author URI: http://yithemes.com/
|
9 |
* Text Domain: ywcl
|
11 |
*
|
12 |
* @author Yithemes
|
13 |
* @package YITH WooCommerce Colors and Labels Variations
|
14 |
+
* @version 1.1.9
|
15 |
*/
|
16 |
/* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
|
17 |
|
64 |
define( 'YITH_WCCL', true );
|
65 |
define( 'YITH_WCCL_URL', plugin_dir_url( __FILE__ ) );
|
66 |
define( 'YITH_WCCL_DIR', plugin_dir_path( __FILE__ ) );
|
67 |
+
define( 'YITH_WCCL_VERSION', '1.1.9' );
|
68 |
|
69 |
// Load required classes and functions
|
70 |
require_once('functions.yith-wccl.php');
|
modules/yith-woocommerce-colors-labels-variations/languages/ywcl-it_IT.mo
ADDED
Binary file
|
modules/yith-woocommerce-colors-labels-variations/languages/ywcl-it_IT.po
ADDED
@@ -0,0 +1,185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: YITH WooCommerce Color and Label Variations\n"
|
4 |
+
"POT-Creation-Date: 2015-08-17 14:13+0200\n"
|
5 |
+
"PO-Revision-Date: 2015-08-17 14:15+0200\n"
|
6 |
+
"Last-Translator: \n"
|
7 |
+
"Language-Team: YIThemes <plugins@yithemes.com>\n"
|
8 |
+
"Language: it_IT\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.8.4\n"
|
13 |
+
"X-Poedit-Basepath: .\n"
|
14 |
+
"Plural-Forms: nplurals=2; plural=n!=1;\n"
|
15 |
+
"X-Poedit-KeywordsList: __ ;_e;_n:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
|
16 |
+
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
17 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
18 |
+
"X-Poedit-SearchPath-0: ..\n"
|
19 |
+
"X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
|
20 |
+
|
21 |
+
#: ../class.yith-wccl-admin.php:96
|
22 |
+
msgid "Colorpicker"
|
23 |
+
msgstr "Selettore di colore"
|
24 |
+
|
25 |
+
#: ../class.yith-wccl-admin.php:97
|
26 |
+
msgid "Image"
|
27 |
+
msgstr "Immagine"
|
28 |
+
|
29 |
+
#: ../class.yith-wccl-admin.php:98
|
30 |
+
msgid "Label"
|
31 |
+
msgstr "Etichetta"
|
32 |
+
|
33 |
+
#: ../class.yith-wccl-admin.php:216
|
34 |
+
msgid "Value"
|
35 |
+
msgstr "Valore"
|
36 |
+
|
37 |
+
#: ../class.yith-wccl-admin.php:277
|
38 |
+
msgid "Videotutorial"
|
39 |
+
msgstr "Tutorial video"
|
40 |
+
|
41 |
+
#: ../class.yith-wccl-admin.php:303
|
42 |
+
msgid "Select terms"
|
43 |
+
msgstr "Seleziona termini"
|
44 |
+
|
45 |
+
#: ../class.yith-wccl-admin.php:313
|
46 |
+
msgid "Select all"
|
47 |
+
msgstr "Seleziona tutto"
|
48 |
+
|
49 |
+
#: ../class.yith-wccl-admin.php:314
|
50 |
+
msgid "Select none"
|
51 |
+
msgstr "Deseleziona tutto"
|
52 |
+
|
53 |
+
#: ../class.yith-wccl-admin.php:315
|
54 |
+
msgid "Add new"
|
55 |
+
msgstr "Aggiungi nuovo"
|
56 |
+
|
57 |
+
#: ../init.php:42
|
58 |
+
msgid ""
|
59 |
+
"You can't activate the free version of YITH WooCommerce Colors and Labels "
|
60 |
+
"Variations while you are using the premium one."
|
61 |
+
msgstr ""
|
62 |
+
"Non è possibile attrivare la versione free di YITH WooCommerce Colors and "
|
63 |
+
"Labels Variations se stai già utilizzando la premium."
|
64 |
+
|
65 |
+
#: ../templates/single-product/add-to-cart/variable-wccl.php:39
|
66 |
+
msgid "This product is currently out of stock and unavailable."
|
67 |
+
msgstr "Questo prodotto al momento non è disponibile."
|
68 |
+
|
69 |
+
#: ../templates/single-product/add-to-cart/variable-wccl.php:57
|
70 |
+
msgid "Choose an option"
|
71 |
+
msgstr "Scegli un'opzione"
|
72 |
+
|
73 |
+
#: ../templates/single-product/add-to-cart/variable-wccl.php:93
|
74 |
+
msgid "Clear selection"
|
75 |
+
msgstr "Cancella selezione"
|
76 |
+
|
77 |
+
#~ msgid "Settings"
|
78 |
+
#~ msgstr "Impostazioni"
|
79 |
+
|
80 |
+
#~ msgid "Color and Label Variations"
|
81 |
+
#~ msgstr "Color and Label Variations"
|
82 |
+
|
83 |
+
#~ msgid "Plugin Documentation"
|
84 |
+
#~ msgstr "Documentazione plugin"
|
85 |
+
|
86 |
+
#~ msgid "Tooltip"
|
87 |
+
#~ msgstr "Tooltip"
|
88 |
+
|
89 |
+
#~ msgid "Name"
|
90 |
+
#~ msgstr "Nome"
|
91 |
+
|
92 |
+
#~ msgid "Slug"
|
93 |
+
#~ msgstr "Slug"
|
94 |
+
|
95 |
+
#~ msgid "A value is required for this term"
|
96 |
+
#~ msgstr "È necessario inserire un valore per questo termine"
|
97 |
+
|
98 |
+
#~ msgid ""
|
99 |
+
#~ "YITH WooCommerce Color and Label Variations Premium is enabled but not "
|
100 |
+
#~ "effective. It requires WooCommerce in order to work."
|
101 |
+
#~ msgstr ""
|
102 |
+
#~ "YITH WooCommerce Color and Label Variations Premium è abilitato ma non in "
|
103 |
+
#~ "funzione. Devi aver installato WooCommerce perché questo possa funzionare "
|
104 |
+
#~ "correttamente."
|
105 |
+
|
106 |
+
#~ msgid "General Options"
|
107 |
+
#~ msgstr "Opzioni generali"
|
108 |
+
|
109 |
+
#~ msgid "Enable Tooltip"
|
110 |
+
#~ msgstr "Abilita tooltip"
|
111 |
+
|
112 |
+
#~ msgid "Enable tooltip for attributes"
|
113 |
+
#~ msgstr "Abilita tooltip per gli attributi"
|
114 |
+
|
115 |
+
#~ msgid "Tooltip position"
|
116 |
+
#~ msgstr "Posizione tooltip"
|
117 |
+
|
118 |
+
#~ msgid "Select tooltip position"
|
119 |
+
#~ msgstr "Seleziona dove mostrare il tooltip"
|
120 |
+
|
121 |
+
#~ msgid "Top"
|
122 |
+
#~ msgstr "Sopra"
|
123 |
+
|
124 |
+
#~ msgid "Bottom"
|
125 |
+
#~ msgstr "Sotto"
|
126 |
+
|
127 |
+
#~ msgid "Tooltip animation"
|
128 |
+
#~ msgstr "Animazione tooltip"
|
129 |
+
|
130 |
+
#~ msgid "Select tooltip animation"
|
131 |
+
#~ msgstr "Seleziona l'animazione per il tooltip"
|
132 |
+
|
133 |
+
#~ msgid "Fade in"
|
134 |
+
#~ msgstr "Dissolvenza"
|
135 |
+
|
136 |
+
#~ msgid "Slide in"
|
137 |
+
#~ msgstr "Scorrimento"
|
138 |
+
|
139 |
+
#~ msgid "Tooltip background"
|
140 |
+
#~ msgstr "Sfondo tooltip"
|
141 |
+
|
142 |
+
#~ msgid "Select tooltip background"
|
143 |
+
#~ msgstr "Seleziona il colore di sfondo per il tooltip"
|
144 |
+
|
145 |
+
#~ msgid "Tooltip text color"
|
146 |
+
#~ msgstr "Colore testo tooltip"
|
147 |
+
|
148 |
+
#~ msgid "Select tooltip text color"
|
149 |
+
#~ msgstr "Seleziona il colore del testo del tooltip"
|
150 |
+
|
151 |
+
#~ msgid "Show Attribute Description"
|
152 |
+
#~ msgstr "Mostra descrizione attributo"
|
153 |
+
|
154 |
+
#~ msgid ""
|
155 |
+
#~ "Choose to show description below each attribute in single product page"
|
156 |
+
#~ msgstr ""
|
157 |
+
#~ "Scegli se mostrare una descrizione sotto ogni attributo nella pagina "
|
158 |
+
#~ "prodotto"
|
159 |
+
|
160 |
+
#~ msgid "Enable plugin in archive page"
|
161 |
+
#~ msgstr "Abilita il plugin nella pagina archivio"
|
162 |
+
|
163 |
+
#~ msgid "Choose to show attribute selection in archive shop page"
|
164 |
+
#~ msgstr ""
|
165 |
+
#~ "Scegli se dare la possibilità di selezionare gli attributi dalla pagina "
|
166 |
+
#~ "archivio"
|
167 |
+
|
168 |
+
#~ msgid "Label for 'Add to cart' button"
|
169 |
+
#~ msgstr "Etichetta per il pulsante \"Aggiungi al carrello\""
|
170 |
+
|
171 |
+
#~ msgid ""
|
172 |
+
#~ "Label for 'Add to cart' button when a variation is selected from archive "
|
173 |
+
#~ "page"
|
174 |
+
#~ msgstr ""
|
175 |
+
#~ "Etichetta per il pulsante \"Aggiungi al carrello\" quando si seleziona "
|
176 |
+
#~ "una variazione dalla pagina archivio"
|
177 |
+
|
178 |
+
#~ msgid "Add to cart"
|
179 |
+
#~ msgstr "Aggiungi al carrello"
|
180 |
+
|
181 |
+
#~ msgid "Description"
|
182 |
+
#~ msgstr "Descrizione"
|
183 |
+
|
184 |
+
#~ msgid "Description for product attributes."
|
185 |
+
#~ msgstr "Descrizione per attributi prodotto."
|
modules/yith-woocommerce-colors-labels-variations/languages/ywcl.pot
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#, fuzzy
|
2 |
+
msgid ""
|
3 |
+
msgstr ""
|
4 |
+
"Project-Id-Version: YITH WooCommerce Color and Label Variations\n"
|
5 |
+
"POT-Creation-Date: 2015-08-21 12:04+0200\n"
|
6 |
+
"PO-Revision-Date: 2015-06-25 17:07+0100\n"
|
7 |
+
"Last-Translator: \n"
|
8 |
+
"Language-Team: YIThemes <plugins@yithemes.com>\n"
|
9 |
+
"Language: en\n"
|
10 |
+
"MIME-Version: 1.0\n"
|
11 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
+
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Generator: Poedit 1.8.2\n"
|
14 |
+
"X-Poedit-Basepath: .\n"
|
15 |
+
"Plural-Forms: nplurals=2; plural=n!=1;\n"
|
16 |
+
"X-Poedit-KeywordsList: __ ;_e;_n:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
|
17 |
+
"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
18 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
19 |
+
"X-Poedit-SearchPath-0: ..\n"
|
20 |
+
"X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
|
21 |
+
|
22 |
+
#: ../class.yith-wccl-admin.php:96
|
23 |
+
msgid "Colorpicker"
|
24 |
+
msgstr ""
|
25 |
+
|
26 |
+
#: ../class.yith-wccl-admin.php:97
|
27 |
+
msgid "Image"
|
28 |
+
msgstr ""
|
29 |
+
|
30 |
+
#: ../class.yith-wccl-admin.php:98
|
31 |
+
msgid "Label"
|
32 |
+
msgstr ""
|
33 |
+
|
34 |
+
#: ../class.yith-wccl-admin.php:216
|
35 |
+
msgid "Value"
|
36 |
+
msgstr ""
|
37 |
+
|
38 |
+
#: ../class.yith-wccl-admin.php:277
|
39 |
+
msgid "Videotutorial"
|
40 |
+
msgstr ""
|
41 |
+
|
42 |
+
#: ../class.yith-wccl-admin.php:303
|
43 |
+
msgid "Select terms"
|
44 |
+
msgstr ""
|
45 |
+
|
46 |
+
#: ../class.yith-wccl-admin.php:313
|
47 |
+
msgid "Select all"
|
48 |
+
msgstr ""
|
49 |
+
|
50 |
+
#: ../class.yith-wccl-admin.php:314
|
51 |
+
msgid "Select none"
|
52 |
+
msgstr ""
|
53 |
+
|
54 |
+
#: ../class.yith-wccl-admin.php:315
|
55 |
+
msgid "Add new"
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
+
#: ../init.php:42
|
59 |
+
msgid ""
|
60 |
+
"You can't activate the free version of YITH WooCommerce Colors and Labels "
|
61 |
+
"Variations while you are using the premium one."
|
62 |
+
msgstr ""
|
63 |
+
|
64 |
+
#: ../templates/single-product/add-to-cart/variable-wccl.php:39
|
65 |
+
msgid "This product is currently out of stock and unavailable."
|
66 |
+
msgstr ""
|
67 |
+
|
68 |
+
#: ../templates/single-product/add-to-cart/variable-wccl.php:57
|
69 |
+
msgid "Choose an option"
|
70 |
+
msgstr ""
|
71 |
+
|
72 |
+
#: ../templates/single-product/add-to-cart/variable-wccl.php:93
|
73 |
+
msgid "Clear selection"
|
74 |
+
msgstr ""
|
modules/yith-woocommerce-colors-labels-variations/templates/single-product/add-to-cart/variable-wccl.php
CHANGED
@@ -53,7 +53,7 @@ $attribute_keys = array_keys( $attributes );
|
|
53 |
<tr>
|
54 |
<td class="label"><label for="<?php echo sanitize_title( $name ); ?>"><?php echo $wc_attribute_label_name; ?></label></td>
|
55 |
<td class="value">
|
56 |
-
<select id="<?php echo esc_attr( sanitize_title($name) ); ?>" name="<?php echo 'attribute_' . esc_attr( $name ) ?>" data-attribute_name="attribute_<?php echo esc_attr( sanitize_title( $name ) ) ?>" data-type="<?php echo $attributes_types[$name] ?>">
|
57 |
<option value=""><?php echo __( 'Choose an option', 'woocommerce' ) ?>…</option>
|
58 |
<?php
|
59 |
if ( ! empty( $options ) ) {
|
@@ -81,7 +81,7 @@ $attribute_keys = array_keys( $attributes );
|
|
81 |
|
82 |
foreach ( $options as $option ) {
|
83 |
// This handles < 2.4.0 bw compatibility where text attributes were not sanitized.
|
84 |
-
$
|
85 |
echo '<option value="' . esc_attr( sanitize_title( $option ) ) . '" ' . $selected . '>' . esc_html( apply_filters( 'woocommerce_variation_option_name', $option ) ) . '</option>';
|
86 |
}
|
87 |
|
53 |
<tr>
|
54 |
<td class="label"><label for="<?php echo sanitize_title( $name ); ?>"><?php echo $wc_attribute_label_name; ?></label></td>
|
55 |
<td class="value">
|
56 |
+
<select id="<?php echo esc_attr( sanitize_title($name) ); ?>" name="<?php echo 'attribute_' . esc_attr( sanitize_title( $name ) ) ?>" data-attribute_name="attribute_<?php echo esc_attr( sanitize_title( $name ) ) ?>" data-type="<?php echo $attributes_types[$name] ?>">
|
57 |
<option value=""><?php echo __( 'Choose an option', 'woocommerce' ) ?>…</option>
|
58 |
<?php
|
59 |
if ( ! empty( $options ) ) {
|
81 |
|
82 |
foreach ( $options as $option ) {
|
83 |
// This handles < 2.4.0 bw compatibility where text attributes were not sanitized.
|
84 |
+
$selected = sanitize_title( $selected_value ) === $selected_value ? selected( $selected_value, sanitize_title( $option ), false ) : selected( $selected_value, $option, false );
|
85 |
echo '<option value="' . esc_attr( sanitize_title( $option ) ) . '" ' . $selected . '>' . esc_html( apply_filters( 'woocommerce_variation_option_name', $option ) ) . '</option>';
|
86 |
}
|
87 |
|
modules/yith-woocommerce-compare/includes/class.yith-woocompare-admin.php
CHANGED
@@ -115,7 +115,9 @@ if ( ! class_exists( 'YITH_Woocompare_Admin' ) ) {
|
|
115 |
public function action_links( $links ) {
|
116 |
|
117 |
$links[] = '<a href="' . admin_url( "admin.php?page={$this->_panel_page}" ) . '">' . __( 'Settings', 'yith-wcmp' ) . '</a>';
|
118 |
-
|
|
|
|
|
119 |
|
120 |
return $links;
|
121 |
}
|
@@ -209,9 +211,10 @@ if ( ! class_exists( 'YITH_Woocompare_Admin' ) ) {
|
|
209 |
*/
|
210 |
public function plugin_row_meta( $plugin_meta, $plugin_file, $plugin_data, $status ) {
|
211 |
|
212 |
-
if ( defined( '
|
213 |
$plugin_meta[] = '<a href="' . $this->doc_url . '" target="_blank">' . __( 'Plugin Documentation', 'yith-wcmp' ) . '</a>';
|
214 |
}
|
|
|
215 |
return $plugin_meta;
|
216 |
}
|
217 |
|
115 |
public function action_links( $links ) {
|
116 |
|
117 |
$links[] = '<a href="' . admin_url( "admin.php?page={$this->_panel_page}" ) . '">' . __( 'Settings', 'yith-wcmp' ) . '</a>';
|
118 |
+
if ( ! ( defined( 'YITH_WOOCOMPARE_PREMIUM' ) && YITH_WOOCOMPARE_PREMIUM ) ) {
|
119 |
+
$links[] = '<a href="' . $this->get_premium_landing_uri() . '" target="_blank">' . __( 'Premium Version', 'yith-wcmp' ) . '</a>';
|
120 |
+
}
|
121 |
|
122 |
return $links;
|
123 |
}
|
211 |
*/
|
212 |
public function plugin_row_meta( $plugin_meta, $plugin_file, $plugin_data, $status ) {
|
213 |
|
214 |
+
if ( defined( 'YITH_WOOCOMPARE_INIT' ) && YITH_WOOCOMPARE_INIT == $plugin_file ) {
|
215 |
$plugin_meta[] = '<a href="' . $this->doc_url . '" target="_blank">' . __( 'Plugin Documentation', 'yith-wcmp' ) . '</a>';
|
216 |
}
|
217 |
+
|
218 |
return $plugin_meta;
|
219 |
}
|
220 |
|
modules/yith-woocommerce-compare/includes/class.yith-woocompare-frontend.php
CHANGED
@@ -340,7 +340,7 @@ if( !class_exists( 'YITH_Woocompare_Frontend' ) ) {
|
|
340 |
|
341 |
if ( ! $product_id ) {
|
342 |
global $product;
|
343 |
-
$product_id = isset( $product->id )
|
344 |
}
|
345 |
|
346 |
// return if product doesn't exist
|
@@ -415,7 +415,7 @@ if( !class_exists( 'YITH_Woocompare_Frontend' ) ) {
|
|
415 |
$product = $this->wc_get_product( $product_id );
|
416 |
|
417 |
// don't add the product if doesn't exist
|
418 |
-
if (
|
419 |
$this->add_product_to_compare( $product_id );
|
420 |
}
|
421 |
|
@@ -433,7 +433,7 @@ if( !class_exists( 'YITH_Woocompare_Frontend' ) ) {
|
|
433 |
$product = $this->wc_get_product( $product_id );
|
434 |
|
435 |
// don't add the product if doesn't exist
|
436 |
-
if (
|
437 |
$this->add_product_to_compare( $product_id );
|
438 |
}
|
439 |
|
@@ -605,7 +605,7 @@ if( !class_exists( 'YITH_Woocompare_Frontend' ) ) {
|
|
605 |
*/
|
606 |
if ( ! $atts['product'] ) {
|
607 |
global $product;
|
608 |
-
$product_id = isset( $product->id )
|
609 |
} else {
|
610 |
global $wpdb;
|
611 |
$product = $wpdb->get_row( $wpdb->prepare( "SELECT ID FROM $wpdb->posts WHERE ID = %d OR post_name = %s OR post_title = %s LIMIT 1", $atts['product'], $atts['product'], $atts['product'] ) );
|
340 |
|
341 |
if ( ! $product_id ) {
|
342 |
global $product;
|
343 |
+
$product_id = isset( $product->id ) ? $product->id : 0;
|
344 |
}
|
345 |
|
346 |
// return if product doesn't exist
|
415 |
$product = $this->wc_get_product( $product_id );
|
416 |
|
417 |
// don't add the product if doesn't exist
|
418 |
+
if ( isset( $product->id ) && ! in_array( $product_id, $this->products_list ) ) {
|
419 |
$this->add_product_to_compare( $product_id );
|
420 |
}
|
421 |
|
433 |
$product = $this->wc_get_product( $product_id );
|
434 |
|
435 |
// don't add the product if doesn't exist
|
436 |
+
if ( isset( $product->id ) && ! in_array( $product_id, $this->products_list ) ) {
|
437 |
$this->add_product_to_compare( $product_id );
|
438 |
}
|
439 |
|
605 |
*/
|
606 |
if ( ! $atts['product'] ) {
|
607 |
global $product;
|
608 |
+
$product_id = isset( $product->id ) ? $product->id : 0;
|
609 |
} else {
|
610 |
global $wpdb;
|
611 |
$product = $wpdb->get_row( $wpdb->prepare( "SELECT ID FROM $wpdb->posts WHERE ID = %d OR post_name = %s OR post_title = %s LIMIT 1", $atts['product'], $atts['product'], $atts['product'] ) );
|
modules/yith-woocommerce-compare/init.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: YITH WooCommerce Compare
|
4 |
* Plugin URI: https://yithemes.com/
|
5 |
* Description: YITH WooCommerce Compare allows you to compare more products with WooCommerce plugin, through product attributes.
|
6 |
-
* Version: 2.0.
|
7 |
* Author: Yithemes
|
8 |
* Author URI: http://yithemes.com/
|
9 |
* Text Domain: yith-wcmp
|
@@ -11,7 +11,7 @@
|
|
11 |
*
|
12 |
* @author Yithemes
|
13 |
* @package YITH WooCommerce Compare
|
14 |
-
* @version 2.0.
|
15 |
*/
|
16 |
/* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
|
17 |
|
@@ -56,7 +56,7 @@ if ( ! function_exists( 'yith_plugin_registration_hook' ) ) {
|
|
56 |
register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
|
57 |
|
58 |
if ( ! defined( 'YITH_WOOCOMPARE_VERSION' ) ){
|
59 |
-
define( 'YITH_WOOCOMPARE_VERSION', '2.0.
|
60 |
}
|
61 |
if ( ! defined( 'YITH_WOOCOMPARE_FREE_INIT' ) ) {
|
62 |
define( 'YITH_WOOCOMPARE_FREE_INIT', plugin_basename( __FILE__ ) );
|
3 |
* Plugin Name: YITH WooCommerce Compare
|
4 |
* Plugin URI: https://yithemes.com/
|
5 |
* Description: YITH WooCommerce Compare allows you to compare more products with WooCommerce plugin, through product attributes.
|
6 |
+
* Version: 2.0.3
|
7 |
* Author: Yithemes
|
8 |
* Author URI: http://yithemes.com/
|
9 |
* Text Domain: yith-wcmp
|
11 |
*
|
12 |
* @author Yithemes
|
13 |
* @package YITH WooCommerce Compare
|
14 |
+
* @version 2.0.3
|
15 |
*/
|
16 |
/* Copyright 2013 Your Inspiration Themes (email : plugins@yithemes.com)
|
17 |
|
56 |
register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
|
57 |
|
58 |
if ( ! defined( 'YITH_WOOCOMPARE_VERSION' ) ){
|
59 |
+
define( 'YITH_WOOCOMPARE_VERSION', '2.0.3' );
|
60 |
}
|
61 |
if ( ! defined( 'YITH_WOOCOMPARE_FREE_INIT' ) ) {
|
62 |
define( 'YITH_WOOCOMPARE_FREE_INIT', plugin_basename( __FILE__ ) );
|
modules/yith-woocommerce-quick-view/assets/js/frontend.js
CHANGED
@@ -72,6 +72,7 @@ jQuery(document).ready(function($){
|
|
72 |
var form_variation = qv_content.find( '.variations_form' );
|
73 |
|
74 |
form_variation.wc_variation_form();
|
|
|
75 |
|
76 |
if( typeof $.fn.yith_wccl !== 'undefined' ) {
|
77 |
form_variation.yith_wccl();
|
@@ -136,7 +137,7 @@ jQuery(document).ready(function($){
|
|
136 |
// START
|
137 |
$.fn.yith_quick_view();
|
138 |
|
139 |
-
$( document ).on( 'yith_infs_adding_elem', function(){
|
140 |
// RESTART
|
141 |
$.fn.yith_quick_view();
|
142 |
});
|
72 |
var form_variation = qv_content.find( '.variations_form' );
|
73 |
|
74 |
form_variation.wc_variation_form();
|
75 |
+
form_variation.trigger( 'check_variations' );
|
76 |
|
77 |
if( typeof $.fn.yith_wccl !== 'undefined' ) {
|
78 |
form_variation.yith_wccl();
|
137 |
// START
|
138 |
$.fn.yith_quick_view();
|
139 |
|
140 |
+
$( document ).on( 'yith_infs_adding_elem yith-wcan-ajax-filtered', function(){
|
141 |
// RESTART
|
142 |
$.fn.yith_quick_view();
|
143 |
});
|
modules/yith-woocommerce-quick-view/init.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: YITH WooCommerce Quick View
|
4 |
* Plugin URI: http://yithemes.com/
|
5 |
* Description: YITH WooCommerce Quick View allows your users to have a quick look about products.
|
6 |
-
* Version: 1.0.
|
7 |
* Author: Yithemes
|
8 |
* Author URI: http://yithemes.com/
|
9 |
* Text Domain: yith-wcqv
|
@@ -11,7 +11,7 @@
|
|
11 |
*
|
12 |
* @author Yithemes
|
13 |
* @package YITH WooCommerce Quick View
|
14 |
-
* @version 1.0.
|
15 |
*/
|
16 |
/* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
|
17 |
|
@@ -59,7 +59,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
|
|
59 |
|
60 |
|
61 |
if ( ! defined( 'YITH_WCQV_VERSION' ) ){
|
62 |
-
define( 'YITH_WCQV_VERSION', '1.0.
|
63 |
}
|
64 |
|
65 |
if ( ! defined( 'YITH_WCQV_FREE_INIT' ) ) {
|
3 |
* Plugin Name: YITH WooCommerce Quick View
|
4 |
* Plugin URI: http://yithemes.com/
|
5 |
* Description: YITH WooCommerce Quick View allows your users to have a quick look about products.
|
6 |
+
* Version: 1.0.7
|
7 |
* Author: Yithemes
|
8 |
* Author URI: http://yithemes.com/
|
9 |
* Text Domain: yith-wcqv
|
11 |
*
|
12 |
* @author Yithemes
|
13 |
* @package YITH WooCommerce Quick View
|
14 |
+
* @version 1.0.7
|
15 |
*/
|
16 |
/* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
|
17 |
|
59 |
|
60 |
|
61 |
if ( ! defined( 'YITH_WCQV_VERSION' ) ){
|
62 |
+
define( 'YITH_WCQV_VERSION', '1.0.7' );
|
63 |
}
|
64 |
|
65 |
if ( ! defined( 'YITH_WCQV_FREE_INIT' ) ) {
|
modules/yith-woocommerce-quick-view/languages/yith-wcqv.pot
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: YITH Woocommerce Quick View\n"
|
5 |
-
"POT-Creation-Date: 2015-08-
|
6 |
"PO-Revision-Date: 2015-05-18 11:52+0100\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: YIThemes <plugins@yithemes.com>\n"
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: YITH Woocommerce Quick View\n"
|
5 |
+
"POT-Creation-Date: 2015-08-21 13:23+0200\n"
|
6 |
"PO-Revision-Date: 2015-05-18 11:52+0100\n"
|
7 |
"Last-Translator: \n"
|
8 |
"Language-Team: YIThemes <plugins@yithemes.com>\n"
|
modules/yith-woocommerce-quick-view/templates/yith-quick-view-content.php
CHANGED
@@ -10,14 +10,16 @@
|
|
10 |
|
11 |
while ( have_posts() ) : the_post(); ?>
|
12 |
|
13 |
-
<div class="product">
|
14 |
|
15 |
-
<div itemscope itemtype="<?php echo woocommerce_get_product_schema(); ?>" id="product-<?php the_ID(); ?>" <?php post_class(); ?>>
|
16 |
|
17 |
<?php do_action( 'yith_wcqv_product_image' ); ?>
|
18 |
|
19 |
<div class="summary entry-summary">
|
20 |
-
|
|
|
|
|
21 |
</div>
|
22 |
|
23 |
</div>
|
10 |
|
11 |
while ( have_posts() ) : the_post(); ?>
|
12 |
|
13 |
+
'<div class="product">
|
14 |
|
15 |
+
<div itemscope itemtype="<?php echo woocommerce_get_product_schema(); ?>" id="product-<?php the_ID(); ?>" <?php post_class('product'); ?>>
|
16 |
|
17 |
<?php do_action( 'yith_wcqv_product_image' ); ?>
|
18 |
|
19 |
<div class="summary entry-summary">
|
20 |
+
<div class="summary-content">
|
21 |
+
<?php do_action( 'yith_wcqv_product_summary' ); ?>
|
22 |
+
<div>
|
23 |
</div>
|
24 |
|
25 |
</div>
|
screenshot-10.png
ADDED
Binary file
|
screenshot-11.png
ADDED
Binary file
|
screenshot-12.png
ADDED
Binary file
|
screenshot-13.png
ADDED
Binary file
|
screenshot-14.jpg
ADDED
Binary file
|
screenshot-15.jpg
ADDED
Binary file
|
screenshot-16.jpg
ADDED
Binary file
|
screenshot-17.jpg
ADDED
Binary file
|
screenshot-18.jpg
ADDED
Binary file
|
screenshot-19.png
ADDED
Binary file
|
screenshot-2.png
ADDED
Binary file
|
screenshot-20.png
ADDED
Binary file
|
screenshot-21.png
ADDED
Binary file
|
screenshot-22.jpg
ADDED
Binary file
|
screenshot-23.png
ADDED
Binary file
|
screenshot-3.png
ADDED
Binary file
|
screenshot-4.png
ADDED
Binary file
|
screenshot-5.png
ADDED
Binary file
|
screenshot-6.png
ADDED
Binary file
|
screenshot-7.png
ADDED
Binary file
|
screenshot-8.png
ADDED
Binary file
|
screenshot-9.jpg
ADDED
Binary file
|