Version Description
- Feature: Associate a banner and a link to each brand
- Minor tweaks
- Fully tested on WooCommerce 2.6
Download this release
Release Info
Developer | titodevera |
Plugin | Perfect Brands for WooCommerce |
Version | 1.2 |
Comparing to | |
See all releases |
Code changes from version 1.1 to 1.2
- assets/css/styles-admin.css +1 -1
- assets/css/styles-frontend.css +12 -4
- assets/js/pwb_admin_functions.js +37 -23
- classes/class-perfect-woocommerce-brands.php +119 -24
- lang/perfect-woocommerce-brands-es_ES.mo +0 -0
- lang/perfect-woocommerce-brands-es_ES.po +73 -50
- main.php +2 -2
- readme.txt +6 -2
assets/css/styles-admin.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/* ----------------------- Taxonomy pwb-brand ----------------------- */
|
2 |
-
.taxonomy-pwb-brand .pwb_brand_cont #pwb_brand_image{
|
3 |
display: none;
|
4 |
}
|
5 |
.taxonomy-pwb-brand .pwb_brand_cont div{
|
1 |
/* ----------------------- Taxonomy pwb-brand ----------------------- */
|
2 |
+
.taxonomy-pwb-brand .pwb_brand_cont #pwb_brand_image, .taxonomy-pwb-brand .pwb_brand_cont #pwb_brand_banner{
|
3 |
display: none;
|
4 |
}
|
5 |
.taxonomy-pwb-brand .pwb_brand_cont div{
|
assets/css/styles-frontend.css
CHANGED
@@ -1,3 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
/* ----------------------- PWB Carousel ----------------------- */
|
2 |
.pwb-carousel .slick-loading .slick-list{
|
3 |
background: #fff url('./ajax-loader.gif') center center no-repeat;
|
@@ -16,7 +24,7 @@
|
|
16 |
display: block;
|
17 |
|
18 |
cursor: pointer;
|
19 |
-
|
20 |
font-size: 22px;
|
21 |
width: 30px;
|
22 |
overflow: hidden;
|
@@ -25,7 +33,7 @@
|
|
25 |
color: #aeaeae;
|
26 |
border: none;
|
27 |
outline: none;
|
28 |
-
|
29 |
z-index: 999;
|
30 |
background: #eee;
|
31 |
opacity: 0;
|
@@ -33,7 +41,7 @@
|
|
33 |
-webkit-transition: opacity 0.3s ease-in-out;
|
34 |
-moz-transition: opacity 0.3s ease-in-out;
|
35 |
-o-transition: opacity 0.3s ease-in-out;
|
36 |
-
|
37 |
}
|
38 |
.pwb-carousel .slick-prev > span,
|
39 |
.pwb-carousel .slick-next > span{
|
@@ -115,4 +123,4 @@
|
|
115 |
height: auto;
|
116 |
}
|
117 |
}
|
118 |
-
/* ----------------------- /Responsive ----------------------- */
|
1 |
+
/* ----------------------- Global ----------------------- */
|
2 |
+
.pwb-clearfix:after{
|
3 |
+
content: "";
|
4 |
+
display: table;
|
5 |
+
clear: both;
|
6 |
+
}
|
7 |
+
/* ----------------------- /Global ----------------------- */
|
8 |
+
|
9 |
/* ----------------------- PWB Carousel ----------------------- */
|
10 |
.pwb-carousel .slick-loading .slick-list{
|
11 |
background: #fff url('./ajax-loader.gif') center center no-repeat;
|
24 |
display: block;
|
25 |
|
26 |
cursor: pointer;
|
27 |
+
|
28 |
font-size: 22px;
|
29 |
width: 30px;
|
30 |
overflow: hidden;
|
33 |
color: #aeaeae;
|
34 |
border: none;
|
35 |
outline: none;
|
36 |
+
|
37 |
z-index: 999;
|
38 |
background: #eee;
|
39 |
opacity: 0;
|
41 |
-webkit-transition: opacity 0.3s ease-in-out;
|
42 |
-moz-transition: opacity 0.3s ease-in-out;
|
43 |
-o-transition: opacity 0.3s ease-in-out;
|
44 |
+
|
45 |
}
|
46 |
.pwb-carousel .slick-prev > span,
|
47 |
.pwb-carousel .slick-next > span{
|
123 |
height: auto;
|
124 |
}
|
125 |
}
|
126 |
+
/* ----------------------- /Responsive ----------------------- */
|
assets/js/pwb_admin_functions.js
CHANGED
@@ -1,28 +1,42 @@
|
|
1 |
jQuery.noConflict();
|
2 |
|
3 |
-
var media_uploader = null;
|
4 |
-
|
5 |
-
function open_media_uploader_image(){
|
6 |
-
media_uploader = wp.media({
|
7 |
-
frame: "post",
|
8 |
-
state: "insert",
|
9 |
-
multiple: false
|
10 |
-
});
|
11 |
-
|
12 |
-
media_uploader.on("insert", function(){
|
13 |
-
var json = media_uploader.state().get("selection").first().toJSON();
|
14 |
-
var image_id = json.id;
|
15 |
-
var image_url = json.url;
|
16 |
-
jQuery('.taxonomy-pwb-brand #pwb_brand_image').val(image_id);
|
17 |
-
jQuery('.taxonomy-pwb-brand #pwb_brand_image_result').remove();
|
18 |
-
jQuery('.taxonomy-pwb-brand #pwb_brand_image_select').after('<div>'+image_url+'</div>');
|
19 |
-
});
|
20 |
-
|
21 |
-
media_uploader.open();
|
22 |
-
}
|
23 |
-
|
24 |
jQuery(document).ready(function( $ ) {
|
25 |
-
|
26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
});
|
|
|
28 |
});
|
1 |
jQuery.noConflict();
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
jQuery(document).ready(function( $ ) {
|
4 |
+
|
5 |
+
var media_uploader = null;
|
6 |
+
|
7 |
+
function open_media_uploader_image(event){
|
8 |
+
media_uploader = wp.media({
|
9 |
+
frame: "post",
|
10 |
+
state: "insert",
|
11 |
+
multiple: false
|
12 |
+
});
|
13 |
+
|
14 |
+
media_uploader.on("insert", function(){
|
15 |
+
var json = media_uploader.state().get("selection").first().toJSON();
|
16 |
+
var image_id = json.id;
|
17 |
+
var image_url = json.url;
|
18 |
+
|
19 |
+
var current_selector = '';
|
20 |
+
switch (event.target.id) {
|
21 |
+
case 'pwb_brand_image_select':
|
22 |
+
current_selector = '.taxonomy-pwb-brand #pwb_brand_'+'image';
|
23 |
+
break;
|
24 |
+
case 'pwb_brand_banner_select':
|
25 |
+
current_selector = '.taxonomy-pwb-brand #pwb_brand_'+'banner';
|
26 |
+
break;
|
27 |
+
}
|
28 |
+
|
29 |
+
jQuery(current_selector).val(image_id);
|
30 |
+
jQuery(current_selector+'_result').remove();
|
31 |
+
jQuery(current_selector+'_select').after('<div>'+image_url+'</div>');
|
32 |
+
});
|
33 |
+
|
34 |
+
media_uploader.open();
|
35 |
+
}
|
36 |
+
|
37 |
+
|
38 |
+
$('.taxonomy-pwb-brand #pwb_brand_image_select, .taxonomy-pwb-brand #pwb_brand_banner_select').on('click',function(event){
|
39 |
+
open_media_uploader_image(event);
|
40 |
});
|
41 |
+
|
42 |
});
|
classes/class-perfect-woocommerce-brands.php
CHANGED
@@ -16,6 +16,7 @@
|
|
16 |
add_filter('manage_pwb-brand_custom_column', array($this,'brand_taxonomy_columns' ), 10, 3);
|
17 |
add_action('admin_enqueue_scripts', array($this,'register_admin_scripts'));
|
18 |
add_action('woocommerce_single_product_summary', array($this,'action_woocommerce_single_product_summary'), 45);
|
|
|
19 |
add_action('widgets_init', function(){register_widget('\Perfect_Woocommerce_Brands\Pwb_Dropdown_Widget');});
|
20 |
add_action('widgets_init', function(){register_widget('\Perfect_Woocommerce_Brands\Pwb_List_Widget');});
|
21 |
if ( !is_admin() ) {
|
@@ -162,22 +163,26 @@
|
|
162 |
$brands = wp_get_post_terms( get_the_ID(), 'pwb-brand');
|
163 |
|
164 |
if(!is_wp_error($brands)){
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
|
|
|
|
|
|
|
|
181 |
}
|
182 |
}
|
183 |
}
|
@@ -205,7 +210,7 @@
|
|
205 |
'pwb_frontend_styles',
|
206 |
PWB_PLUGIN . '/assets/css/styles-frontend.css',
|
207 |
array('pwb_slick_lib'),
|
208 |
-
'1.
|
209 |
'all'
|
210 |
);
|
211 |
|
@@ -213,7 +218,7 @@
|
|
213 |
'pwb_frontend_functions',
|
214 |
PWB_PLUGIN . '/assets/js/pwb_frontend_functions.js',
|
215 |
array('jquery','pwb_slick_lib'),
|
216 |
-
'1.
|
217 |
true
|
218 |
);
|
219 |
wp_enqueue_script('pwb_frontend_functions');
|
@@ -223,8 +228,8 @@
|
|
223 |
public function register_admin_scripts($hook){
|
224 |
$screen = get_current_screen();
|
225 |
|
226 |
-
wp_register_style('pwb_styles_brands', plugins_url('perfect-woocommerce-brands/assets/css/styles-admin.css'), array(), '1.
|
227 |
-
wp_register_script('pwb_brands_js', plugins_url('perfect-woocommerce-brands/assets/js/pwb_admin_functions.js'), array('jquery'), '1.
|
228 |
|
229 |
if ($hook == 'edit-tags.php' && $screen->taxonomy == 'pwb-brand' || $hook == 'term.php' && $screen->taxonomy == 'pwb-brand') {
|
230 |
wp_enqueue_style('pwb_styles_brands');
|
@@ -303,26 +308,65 @@
|
|
303 |
<a href="#" id="pwb_brand_image_select" class="button"><?php _e('Select image','perfect-woocommerce-brands');?></a>
|
304 |
<?php echo wp_nonce_field( basename( __FILE__ ), 'pwb_brand_image_nonce' );?>
|
305 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
306 |
<?php
|
307 |
echo ob_get_clean();
|
308 |
}
|
309 |
|
310 |
public function add_brands_metafields_form_edit($term){
|
311 |
-
$
|
|
|
|
|
312 |
ob_start();
|
313 |
?>
|
314 |
<table class="form-table pwb_brand_cont">
|
315 |
-
<tr>
|
316 |
<th>
|
317 |
<label for="pwb_brand_image"><?php _e( 'Brand logo', 'perfect-woocommerce-brands' ); ?></label>
|
318 |
</th>
|
319 |
<td>
|
320 |
-
<input type="text" name="pwb_brand_image" id="pwb_brand_image" value="<?php echo $
|
321 |
<a href="#" id="pwb_brand_image_select" class="button"><?php _e('Select image','perfect-woocommerce-brands');?></a>
|
322 |
-
<div id="pwb_brand_image_result"><?php echo wp_get_attachment_image ( $
|
323 |
<?php echo wp_nonce_field( basename( __FILE__ ), 'pwb_brand_image_nonce' );?>
|
324 |
</td>
|
325 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
326 |
</table>
|
327 |
<?php
|
328 |
echo ob_get_clean();
|
@@ -330,6 +374,7 @@
|
|
330 |
|
331 |
public function add_brands_metafields_save($term_id){
|
332 |
|
|
|
333 |
if ( ! isset( $_POST['pwb_brand_image_nonce'] ) || ! wp_verify_nonce( $_POST['pwb_brand_image_nonce'], basename( __FILE__ ) ) )
|
334 |
return;
|
335 |
|
@@ -341,6 +386,35 @@
|
|
341 |
|
342 |
else if ( $old_img !== $new_img )
|
343 |
update_term_meta( $term_id, 'pwb_brand_image', $new_img );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
344 |
}
|
345 |
|
346 |
public function brand_taxonomy_columns_head($defaults) {
|
@@ -378,4 +452,25 @@
|
|
378 |
return $result;
|
379 |
|
380 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
381 |
}
|
16 |
add_filter('manage_pwb-brand_custom_column', array($this,'brand_taxonomy_columns' ), 10, 3);
|
17 |
add_action('admin_enqueue_scripts', array($this,'register_admin_scripts'));
|
18 |
add_action('woocommerce_single_product_summary', array($this,'action_woocommerce_single_product_summary'), 45);
|
19 |
+
add_action('woocommerce_before_shop_loop', array($this,'archive_page_banner'), 9);
|
20 |
add_action('widgets_init', function(){register_widget('\Perfect_Woocommerce_Brands\Pwb_Dropdown_Widget');});
|
21 |
add_action('widgets_init', function(){register_widget('\Perfect_Woocommerce_Brands\Pwb_List_Widget');});
|
22 |
if ( !is_admin() ) {
|
163 |
$brands = wp_get_post_terms( get_the_ID(), 'pwb-brand');
|
164 |
|
165 |
if(!is_wp_error($brands)){
|
166 |
+
if(sizeof($brands>0)){
|
167 |
+
echo '<div class="pwb-single-product-brands pwb-clearfix">';
|
168 |
+
foreach($brands as $brand){
|
169 |
+
$brand_link = get_term_link ( $brand->term_id, 'pwb-brand' );
|
170 |
+
$attachment_id = get_term_meta( $brand->term_id, 'pwb_brand_image', 1 );
|
171 |
+
|
172 |
+
$image_size = 'thumbnail';
|
173 |
+
$image_size_selected = get_option('wc_pwb_admin_tab_brand_logo_size');
|
174 |
+
if($image_size_selected!=false){
|
175 |
+
$image_size = $image_size_selected;
|
176 |
+
}
|
177 |
+
|
178 |
+
$attachment_html = wp_get_attachment_image($attachment_id,$image_size);
|
179 |
+
if(!empty($attachment_html)){
|
180 |
+
echo '<a href="'.$brand_link.'" title="'.__( 'View brand', 'perfect-woocommerce-brands' ).'">'.$attachment_html.'</a>';
|
181 |
+
}else{
|
182 |
+
echo '<a href="'.$brand_link.'" title="'.__( 'View brand', 'perfect-woocommerce-brands' ).'">'.$brand->name.'</a>';
|
183 |
+
}
|
184 |
+
}
|
185 |
+
echo '</div>';
|
186 |
}
|
187 |
}
|
188 |
}
|
210 |
'pwb_frontend_styles',
|
211 |
PWB_PLUGIN . '/assets/css/styles-frontend.css',
|
212 |
array('pwb_slick_lib'),
|
213 |
+
'1.2',
|
214 |
'all'
|
215 |
);
|
216 |
|
218 |
'pwb_frontend_functions',
|
219 |
PWB_PLUGIN . '/assets/js/pwb_frontend_functions.js',
|
220 |
array('jquery','pwb_slick_lib'),
|
221 |
+
'1.2',
|
222 |
true
|
223 |
);
|
224 |
wp_enqueue_script('pwb_frontend_functions');
|
228 |
public function register_admin_scripts($hook){
|
229 |
$screen = get_current_screen();
|
230 |
|
231 |
+
wp_register_style('pwb_styles_brands', plugins_url('perfect-woocommerce-brands/assets/css/styles-admin.css'), array(), '1.2');
|
232 |
+
wp_register_script('pwb_brands_js', plugins_url('perfect-woocommerce-brands/assets/js/pwb_admin_functions.js'), array('jquery'), '1.2', true);
|
233 |
|
234 |
if ($hook == 'edit-tags.php' && $screen->taxonomy == 'pwb-brand' || $hook == 'term.php' && $screen->taxonomy == 'pwb-brand') {
|
235 |
wp_enqueue_style('pwb_styles_brands');
|
308 |
<a href="#" id="pwb_brand_image_select" class="button"><?php _e('Select image','perfect-woocommerce-brands');?></a>
|
309 |
<?php echo wp_nonce_field( basename( __FILE__ ), 'pwb_brand_image_nonce' );?>
|
310 |
</div>
|
311 |
+
|
312 |
+
<div class="form-field pwb_brand_cont">
|
313 |
+
<label for="pwb_brand_banner"><?php _e( 'Brand banner', 'perfect-woocommerce-brands' ); ?></label>
|
314 |
+
<input type="text" name="pwb_brand_banner" id="pwb_brand_banner" value="" >
|
315 |
+
<a href="#" id="pwb_brand_banner_select" class="button"><?php _e('Select image','perfect-woocommerce-brands');?></a>
|
316 |
+
<p><?php _e( 'This image will be shown on brand page', 'perfect-woocommerce-brands' ); ?></p>
|
317 |
+
<?php echo wp_nonce_field( basename( __FILE__ ), 'pwb_brand_banner_nonce' );?>
|
318 |
+
</div>
|
319 |
+
|
320 |
+
<div class="form-field pwb_brand_cont">
|
321 |
+
<label for="pwb_brand_banner_link"><?php _e( 'Brand banner link', 'perfect-woocommerce-brands' ); ?></label>
|
322 |
+
<input type="text" name="pwb_brand_banner_link" id="pwb_brand_banner_link" value="" >
|
323 |
+
<p><?php _e( 'This link should be relative to site url. Example: product/product-name', 'perfect-woocommerce-brands' ); ?></p>
|
324 |
+
<?php echo wp_nonce_field( basename( __FILE__ ), 'pwb_brand_banner_link_nonce' );?>
|
325 |
+
</div>
|
326 |
<?php
|
327 |
echo ob_get_clean();
|
328 |
}
|
329 |
|
330 |
public function add_brands_metafields_form_edit($term){
|
331 |
+
$term_value_image = get_term_meta( $term->term_id, 'pwb_brand_image', true );
|
332 |
+
$term_value_banner = get_term_meta( $term->term_id, 'pwb_brand_banner', true );
|
333 |
+
$term_value_banner_link = get_term_meta( $term->term_id, 'pwb_brand_banner_link', true );
|
334 |
ob_start();
|
335 |
?>
|
336 |
<table class="form-table pwb_brand_cont">
|
337 |
+
<tr class="form-field">
|
338 |
<th>
|
339 |
<label for="pwb_brand_image"><?php _e( 'Brand logo', 'perfect-woocommerce-brands' ); ?></label>
|
340 |
</th>
|
341 |
<td>
|
342 |
+
<input type="text" name="pwb_brand_image" id="pwb_brand_image" value="<?php echo $term_value_image;?>" >
|
343 |
<a href="#" id="pwb_brand_image_select" class="button"><?php _e('Select image','perfect-woocommerce-brands');?></a>
|
344 |
+
<div id="pwb_brand_image_result"><?php echo wp_get_attachment_image ( $term_value_image, array('90','90'), false );?></div>
|
345 |
<?php echo wp_nonce_field( basename( __FILE__ ), 'pwb_brand_image_nonce' );?>
|
346 |
</td>
|
347 |
</tr>
|
348 |
+
<tr class="form-field">
|
349 |
+
<th>
|
350 |
+
<label for="pwb_brand_banner"><?php _e( 'Brand banner', 'perfect-woocommerce-brands' ); ?></label>
|
351 |
+
</th>
|
352 |
+
<td>
|
353 |
+
<input type="text" name="pwb_brand_banner" id="pwb_brand_banner" value="<?php echo $term_value_banner;?>" >
|
354 |
+
<a href="#" id="pwb_brand_banner_select" class="button"><?php _e('Select image','perfect-woocommerce-brands');?></a>
|
355 |
+
<div id="pwb_brand_banner_result"><?php echo wp_get_attachment_image ( $term_value_banner, array('90','90'), false );?></div>
|
356 |
+
<?php echo wp_nonce_field( basename( __FILE__ ), 'pwb_brand_banner_nonce' );?>
|
357 |
+
</td>
|
358 |
+
</tr>
|
359 |
+
<tr class="form-field">
|
360 |
+
<th>
|
361 |
+
<label for="pwb_brand_banner_link"><?php _e( 'Brand banner link', 'perfect-woocommerce-brands' ); ?></label>
|
362 |
+
</th>
|
363 |
+
<td>
|
364 |
+
<input type="text" name="pwb_brand_banner_link" id="pwb_brand_banner_link" value="<?php echo $term_value_banner_link;?>" >
|
365 |
+
<p class="description"><?php _e( 'This link should be relative to site url. Example: product/product-name', 'perfect-woocommerce-brands' ); ?></p>
|
366 |
+
<div id="pwb_brand_banner_link_result"><?php echo wp_get_attachment_image ( $term_value_banner_link, array('90','90'), false );?></div>
|
367 |
+
<?php echo wp_nonce_field( basename( __FILE__ ), 'pwb_brand_banner_link_nonce' );?>
|
368 |
+
</td>
|
369 |
+
</tr>
|
370 |
</table>
|
371 |
<?php
|
372 |
echo ob_get_clean();
|
374 |
|
375 |
public function add_brands_metafields_save($term_id){
|
376 |
|
377 |
+
/* ·············· Brand image ·············· */
|
378 |
if ( ! isset( $_POST['pwb_brand_image_nonce'] ) || ! wp_verify_nonce( $_POST['pwb_brand_image_nonce'], basename( __FILE__ ) ) )
|
379 |
return;
|
380 |
|
386 |
|
387 |
else if ( $old_img !== $new_img )
|
388 |
update_term_meta( $term_id, 'pwb_brand_image', $new_img );
|
389 |
+
/* ·············· /Brand image ·············· */
|
390 |
+
|
391 |
+
/* ·············· Brand banner ·············· */
|
392 |
+
if ( ! isset( $_POST['pwb_brand_banner_nonce'] ) || ! wp_verify_nonce( $_POST['pwb_brand_banner_nonce'], basename( __FILE__ ) ) )
|
393 |
+
return;
|
394 |
+
|
395 |
+
$old_img = get_term_meta( $term_id, 'pwb_brand_banner', true );
|
396 |
+
$new_img = isset( $_POST['pwb_brand_banner'] ) ? $_POST['pwb_brand_banner'] : '';
|
397 |
+
|
398 |
+
if ( $old_img && '' === $new_img )
|
399 |
+
delete_term_meta( $term_id, 'pwb_brand_banner' );
|
400 |
+
|
401 |
+
else if ( $old_img !== $new_img )
|
402 |
+
update_term_meta( $term_id, 'pwb_brand_banner', $new_img );
|
403 |
+
/* ·············· /Brand banner ·············· */
|
404 |
+
|
405 |
+
/* ·············· Brand banner link ·············· */
|
406 |
+
if ( ! isset( $_POST['pwb_brand_banner_link_nonce'] ) || ! wp_verify_nonce( $_POST['pwb_brand_banner_link_nonce'], basename( __FILE__ ) ) )
|
407 |
+
return;
|
408 |
+
|
409 |
+
$old_img = get_term_meta( $term_id, 'pwb_brand_banner_link', true );
|
410 |
+
$new_img = isset( $_POST['pwb_brand_banner_link'] ) ? $_POST['pwb_brand_banner_link'] : '';
|
411 |
+
|
412 |
+
if ( $old_img && '' === $new_img )
|
413 |
+
delete_term_meta( $term_id, 'pwb_brand_banner_link' );
|
414 |
+
|
415 |
+
else if ( $old_img !== $new_img )
|
416 |
+
update_term_meta( $term_id, 'pwb_brand_banner_link', $new_img );
|
417 |
+
/* ·············· /Brand banner link ·············· */
|
418 |
}
|
419 |
|
420 |
public function brand_taxonomy_columns_head($defaults) {
|
452 |
return $result;
|
453 |
|
454 |
}
|
455 |
+
|
456 |
+
public function archive_page_banner(){
|
457 |
+
$queried_object = get_queried_object();
|
458 |
+
|
459 |
+
if(is_a($queried_object,'WP_Term') && $queried_object->taxonomy == 'pwb-brand'){
|
460 |
+
//pwb-brand archive
|
461 |
+
$brand_banner = get_term_meta( $queried_object->term_id, 'pwb_brand_banner', true );
|
462 |
+
$brand_banner_link = get_term_meta( $queried_object->term_id, 'pwb_brand_banner_link', true );
|
463 |
+
if($brand_banner!=''){
|
464 |
+
echo '<div class="pwb-brand-banner pwb-clearfix">';
|
465 |
+
if($brand_banner_link!=''){
|
466 |
+
echo '<a href="'.site_url($brand_banner_link).'">'.wp_get_attachment_image ( $brand_banner, 'full', false ).'</a>';
|
467 |
+
}else{
|
468 |
+
echo wp_get_attachment_image ( $brand_banner, 'full', false );
|
469 |
+
}
|
470 |
+
echo '</div>';
|
471 |
+
}
|
472 |
+
}
|
473 |
+
|
474 |
+
}
|
475 |
+
|
476 |
}
|
lang/perfect-woocommerce-brands-es_ES.mo
CHANGED
Binary file
|
lang/perfect-woocommerce-brands-es_ES.po
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Perfect WooCommerce Brands\n"
|
4 |
-
"POT-Creation-Date: 2016-
|
5 |
-
"PO-Revision-Date: 2016-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: es_ES\n"
|
@@ -10,181 +10,204 @@ msgstr ""
|
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
13 |
-
"X-Generator: Poedit 1.8.
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-WPHeader: main.php\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
18 |
-
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;"
|
19 |
-
"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
|
23 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
24 |
msgid "PWB Brands carousel"
|
25 |
msgstr "PWB Carrusel de marcas"
|
26 |
|
27 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
28 |
msgid "Brands carousel"
|
29 |
msgstr "Carrusel de marcas"
|
30 |
|
31 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
32 |
msgid "Items"
|
33 |
msgstr "Elementos"
|
34 |
|
35 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
36 |
msgid "Number of items to load"
|
37 |
msgstr "Número de elementos que cargar"
|
38 |
|
39 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
40 |
msgid "Items to show"
|
41 |
msgstr "Elementos que mostrar"
|
42 |
|
43 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
44 |
msgid "Number of items to show"
|
45 |
msgstr "Número de elementos a mostrar"
|
46 |
|
47 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
48 |
msgid "Items to scroll"
|
49 |
msgstr "Número de elementos por scroll"
|
50 |
|
51 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
52 |
msgid "Number of items to scroll"
|
53 |
msgstr "Número de elementos por cada scroll"
|
54 |
|
55 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
56 |
msgid "Autoplay"
|
57 |
msgstr "Modo automático"
|
58 |
|
59 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
60 |
msgid "Autoplay carousel"
|
61 |
msgstr "Modo automático para el carrusel"
|
62 |
|
63 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
64 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
65 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
66 |
#: classes/class-pwb-admin-tab.php:85
|
67 |
msgid "Brand logo size"
|
68 |
msgstr "Tamaño del logo de la marca"
|
69 |
|
70 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
71 |
msgid "PWB All brands"
|
72 |
msgstr "PWC Todas las marcas"
|
73 |
|
74 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
75 |
msgid "Show all brands"
|
76 |
msgstr "Mostrar todas las marcas"
|
77 |
|
78 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
79 |
msgid "Brands per page"
|
80 |
msgstr "Marcas por página"
|
81 |
|
82 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
83 |
msgid "Show x brands per page"
|
84 |
msgstr "Mostrar x marcas por página"
|
85 |
|
86 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
87 |
msgid "PWB brand"
|
88 |
msgstr "PWB marca"
|
89 |
|
90 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
91 |
msgid "Show brand for a specific product"
|
92 |
msgstr "Ver marcas de un producto específico"
|
93 |
|
94 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
95 |
msgid "Product id"
|
96 |
msgstr "Id del producto"
|
97 |
|
98 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
99 |
msgid "Product id (post id)"
|
100 |
msgstr "Id del producto (id del post)"
|
101 |
|
102 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
103 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
104 |
#: classes/shortcodes/class-pwb-all-brands-shortcode.php:66
|
105 |
#: classes/shortcodes/class-pwb-brand-shortcode.php:22
|
106 |
#: classes/shortcodes/class-pwb-carousel-shortcode.php:42
|
107 |
msgid "View brand"
|
108 |
msgstr "Ver marca"
|
109 |
|
110 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
111 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
112 |
#: classes/class-pwb-admin-tab.php:22
|
113 |
#: classes/widgets/class-pwb-dropdown-widget.php:56
|
114 |
msgid "Brands"
|
115 |
msgstr "Marcas"
|
116 |
|
117 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
118 |
msgid "Brand"
|
119 |
msgstr "Marca"
|
120 |
|
121 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
122 |
msgid "All Brands"
|
123 |
msgstr "Todas las marcas"
|
124 |
|
125 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
126 |
msgid "Edit Brand"
|
127 |
msgstr "Editar marca"
|
128 |
|
129 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
130 |
msgid "View Brand"
|
131 |
msgstr "Ver marca"
|
132 |
|
133 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
134 |
msgid "Update Brand"
|
135 |
msgstr "Actualizar marca"
|
136 |
|
137 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
138 |
msgid "Add New Brand"
|
139 |
msgstr "Añadir nueva marca"
|
140 |
|
141 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
142 |
msgid "New Brand Name"
|
143 |
msgstr "Nuevo nombre de marca"
|
144 |
|
145 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
146 |
msgid "Parent Brand"
|
147 |
msgstr "Marca Padre"
|
148 |
|
149 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
150 |
msgid "Parent Brand:"
|
151 |
msgstr "Marca Padre:"
|
152 |
|
153 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
154 |
msgid "Search Brands"
|
155 |
msgstr "Buscar Marcas"
|
156 |
|
157 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
158 |
msgid "Popular Brands"
|
159 |
msgstr "Marcas Populares"
|
160 |
|
161 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
162 |
msgid "Separate brands with commas"
|
163 |
msgstr "Separar marcas con comas"
|
164 |
|
165 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
166 |
msgid "Add or remove brands"
|
167 |
msgstr "Añadir o eliminar marcas"
|
168 |
|
169 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
170 |
msgid "Choose from the most used brands"
|
171 |
msgstr "Seleccionar de las marcas más utilizadas"
|
172 |
|
173 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
174 |
msgid "No brands found"
|
175 |
msgstr "No se han encontrado marcas"
|
176 |
|
177 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
178 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
179 |
msgid "Brand logo"
|
180 |
msgstr "Logo de la marca"
|
181 |
|
182 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
183 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
|
|
|
|
184 |
msgid "Select image"
|
185 |
msgstr "Seleccionar imagen"
|
186 |
|
187 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
188 |
msgid "Logo"
|
189 |
msgstr "Logo"
|
190 |
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Perfect WooCommerce Brands\n"
|
4 |
+
"POT-Creation-Date: 2016-06-20 21:04+0200\n"
|
5 |
+
"PO-Revision-Date: 2016-06-20 21:05+0200\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: es_ES\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
13 |
+
"X-Generator: Poedit 1.8.8\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
"X-Poedit-WPHeader: main.php\n"
|
16 |
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
18 |
+
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
19 |
+
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
|
23 |
+
#: classes/class-perfect-woocommerce-brands.php:52
|
24 |
msgid "PWB Brands carousel"
|
25 |
msgstr "PWB Carrusel de marcas"
|
26 |
|
27 |
+
#: classes/class-perfect-woocommerce-brands.php:53
|
28 |
msgid "Brands carousel"
|
29 |
msgstr "Carrusel de marcas"
|
30 |
|
31 |
+
#: classes/class-perfect-woocommerce-brands.php:62
|
32 |
msgid "Items"
|
33 |
msgstr "Elementos"
|
34 |
|
35 |
+
#: classes/class-perfect-woocommerce-brands.php:65
|
36 |
msgid "Number of items to load"
|
37 |
msgstr "Número de elementos que cargar"
|
38 |
|
39 |
+
#: classes/class-perfect-woocommerce-brands.php:70
|
40 |
msgid "Items to show"
|
41 |
msgstr "Elementos que mostrar"
|
42 |
|
43 |
+
#: classes/class-perfect-woocommerce-brands.php:73
|
44 |
msgid "Number of items to show"
|
45 |
msgstr "Número de elementos a mostrar"
|
46 |
|
47 |
+
#: classes/class-perfect-woocommerce-brands.php:78
|
48 |
msgid "Items to scroll"
|
49 |
msgstr "Número de elementos por scroll"
|
50 |
|
51 |
+
#: classes/class-perfect-woocommerce-brands.php:81
|
52 |
msgid "Number of items to scroll"
|
53 |
msgstr "Número de elementos por cada scroll"
|
54 |
|
55 |
+
#: classes/class-perfect-woocommerce-brands.php:86
|
56 |
msgid "Autoplay"
|
57 |
msgstr "Modo automático"
|
58 |
|
59 |
+
#: classes/class-perfect-woocommerce-brands.php:88
|
60 |
msgid "Autoplay carousel"
|
61 |
msgstr "Modo automático para el carrusel"
|
62 |
|
63 |
+
#: classes/class-perfect-woocommerce-brands.php:92
|
64 |
+
#: classes/class-perfect-woocommerce-brands.php:121
|
65 |
+
#: classes/class-perfect-woocommerce-brands.php:150
|
66 |
#: classes/class-pwb-admin-tab.php:85
|
67 |
msgid "Brand logo size"
|
68 |
msgstr "Tamaño del logo de la marca"
|
69 |
|
70 |
+
#: classes/class-perfect-woocommerce-brands.php:103
|
71 |
msgid "PWB All brands"
|
72 |
msgstr "PWC Todas las marcas"
|
73 |
|
74 |
+
#: classes/class-perfect-woocommerce-brands.php:104
|
75 |
msgid "Show all brands"
|
76 |
msgstr "Mostrar todas las marcas"
|
77 |
|
78 |
+
#: classes/class-perfect-woocommerce-brands.php:114
|
79 |
msgid "Brands per page"
|
80 |
msgstr "Marcas por página"
|
81 |
|
82 |
+
#: classes/class-perfect-woocommerce-brands.php:117
|
83 |
msgid "Show x brands per page"
|
84 |
msgstr "Mostrar x marcas por página"
|
85 |
|
86 |
+
#: classes/class-perfect-woocommerce-brands.php:132
|
87 |
msgid "PWB brand"
|
88 |
msgstr "PWB marca"
|
89 |
|
90 |
+
#: classes/class-perfect-woocommerce-brands.php:133
|
91 |
msgid "Show brand for a specific product"
|
92 |
msgstr "Ver marcas de un producto específico"
|
93 |
|
94 |
+
#: classes/class-perfect-woocommerce-brands.php:143
|
95 |
msgid "Product id"
|
96 |
msgstr "Id del producto"
|
97 |
|
98 |
+
#: classes/class-perfect-woocommerce-brands.php:146
|
99 |
msgid "Product id (post id)"
|
100 |
msgstr "Id del producto (id del post)"
|
101 |
|
102 |
+
#: classes/class-perfect-woocommerce-brands.php:180
|
103 |
+
#: classes/class-perfect-woocommerce-brands.php:182
|
104 |
#: classes/shortcodes/class-pwb-all-brands-shortcode.php:66
|
105 |
#: classes/shortcodes/class-pwb-brand-shortcode.php:22
|
106 |
#: classes/shortcodes/class-pwb-carousel-shortcode.php:42
|
107 |
msgid "View brand"
|
108 |
msgstr "Ver marca"
|
109 |
|
110 |
+
#: classes/class-perfect-woocommerce-brands.php:246
|
111 |
+
#: classes/class-perfect-woocommerce-brands.php:248
|
112 |
#: classes/class-pwb-admin-tab.php:22
|
113 |
#: classes/widgets/class-pwb-dropdown-widget.php:56
|
114 |
msgid "Brands"
|
115 |
msgstr "Marcas"
|
116 |
|
117 |
+
#: classes/class-perfect-woocommerce-brands.php:247
|
118 |
msgid "Brand"
|
119 |
msgstr "Marca"
|
120 |
|
121 |
+
#: classes/class-perfect-woocommerce-brands.php:249
|
122 |
msgid "All Brands"
|
123 |
msgstr "Todas las marcas"
|
124 |
|
125 |
+
#: classes/class-perfect-woocommerce-brands.php:250
|
126 |
msgid "Edit Brand"
|
127 |
msgstr "Editar marca"
|
128 |
|
129 |
+
#: classes/class-perfect-woocommerce-brands.php:251
|
130 |
msgid "View Brand"
|
131 |
msgstr "Ver marca"
|
132 |
|
133 |
+
#: classes/class-perfect-woocommerce-brands.php:252
|
134 |
msgid "Update Brand"
|
135 |
msgstr "Actualizar marca"
|
136 |
|
137 |
+
#: classes/class-perfect-woocommerce-brands.php:253
|
138 |
msgid "Add New Brand"
|
139 |
msgstr "Añadir nueva marca"
|
140 |
|
141 |
+
#: classes/class-perfect-woocommerce-brands.php:254
|
142 |
msgid "New Brand Name"
|
143 |
msgstr "Nuevo nombre de marca"
|
144 |
|
145 |
+
#: classes/class-perfect-woocommerce-brands.php:255
|
146 |
msgid "Parent Brand"
|
147 |
msgstr "Marca Padre"
|
148 |
|
149 |
+
#: classes/class-perfect-woocommerce-brands.php:256
|
150 |
msgid "Parent Brand:"
|
151 |
msgstr "Marca Padre:"
|
152 |
|
153 |
+
#: classes/class-perfect-woocommerce-brands.php:257
|
154 |
msgid "Search Brands"
|
155 |
msgstr "Buscar Marcas"
|
156 |
|
157 |
+
#: classes/class-perfect-woocommerce-brands.php:258
|
158 |
msgid "Popular Brands"
|
159 |
msgstr "Marcas Populares"
|
160 |
|
161 |
+
#: classes/class-perfect-woocommerce-brands.php:259
|
162 |
msgid "Separate brands with commas"
|
163 |
msgstr "Separar marcas con comas"
|
164 |
|
165 |
+
#: classes/class-perfect-woocommerce-brands.php:260
|
166 |
msgid "Add or remove brands"
|
167 |
msgstr "Añadir o eliminar marcas"
|
168 |
|
169 |
+
#: classes/class-perfect-woocommerce-brands.php:261
|
170 |
msgid "Choose from the most used brands"
|
171 |
msgstr "Seleccionar de las marcas más utilizadas"
|
172 |
|
173 |
+
#: classes/class-perfect-woocommerce-brands.php:262
|
174 |
msgid "No brands found"
|
175 |
msgstr "No se han encontrado marcas"
|
176 |
|
177 |
+
#: classes/class-perfect-woocommerce-brands.php:306
|
178 |
+
#: classes/class-perfect-woocommerce-brands.php:339
|
179 |
msgid "Brand logo"
|
180 |
msgstr "Logo de la marca"
|
181 |
|
182 |
+
#: classes/class-perfect-woocommerce-brands.php:308
|
183 |
+
#: classes/class-perfect-woocommerce-brands.php:315
|
184 |
+
#: classes/class-perfect-woocommerce-brands.php:343
|
185 |
+
#: classes/class-perfect-woocommerce-brands.php:354
|
186 |
msgid "Select image"
|
187 |
msgstr "Seleccionar imagen"
|
188 |
|
189 |
+
#: classes/class-perfect-woocommerce-brands.php:313
|
190 |
+
#: classes/class-perfect-woocommerce-brands.php:350
|
191 |
+
msgid "Brand banner"
|
192 |
+
msgstr "Banner de la marca"
|
193 |
+
|
194 |
+
#: classes/class-perfect-woocommerce-brands.php:316
|
195 |
+
msgid "This image will be shown on brand page"
|
196 |
+
msgstr "Esta imagen se mostrará en la página de la marca"
|
197 |
+
|
198 |
+
#: classes/class-perfect-woocommerce-brands.php:321
|
199 |
+
#: classes/class-perfect-woocommerce-brands.php:361
|
200 |
+
msgid "Brand banner link"
|
201 |
+
msgstr "Enlace para el banner de la marca"
|
202 |
+
|
203 |
+
#: classes/class-perfect-woocommerce-brands.php:323
|
204 |
+
#: classes/class-perfect-woocommerce-brands.php:365
|
205 |
+
msgid "This link should be relative to site url. Example: product/product-name"
|
206 |
+
msgstr ""
|
207 |
+
"Este enlace ha de ser relativo a la url del sitio web. Ejemplo: producto/"
|
208 |
+
"nombre-del-producto"
|
209 |
+
|
210 |
+
#: classes/class-perfect-woocommerce-brands.php:423
|
211 |
msgid "Logo"
|
212 |
msgstr "Logo"
|
213 |
|
main.php
CHANGED
@@ -3,14 +3,14 @@
|
|
3 |
Plugin Name: Perfect WooCommerce Brands
|
4 |
Plugin URI: https://wordpress.org/plugins/perfect-woocommerce-brands/
|
5 |
Description: Perfect WooCommerce Brands allows you to show product brands in your WooCommerce based store.
|
6 |
-
Version: 1.
|
7 |
Author: Alberto de Vera Sevilla
|
8 |
Author URI: https://profiles.wordpress.org/titodevera/
|
9 |
Text Domain: perfect-woocommerce-brands
|
10 |
Domain Path: /lang
|
11 |
License: GPL3
|
12 |
|
13 |
-
Perfect WooCommerce Brands version 1.
|
14 |
|
15 |
Perfect WooCommerce Brands is free software: you can redistribute it and/or modify
|
16 |
it under the terms of the GNU General Public License as published by
|
3 |
Plugin Name: Perfect WooCommerce Brands
|
4 |
Plugin URI: https://wordpress.org/plugins/perfect-woocommerce-brands/
|
5 |
Description: Perfect WooCommerce Brands allows you to show product brands in your WooCommerce based store.
|
6 |
+
Version: 1.2
|
7 |
Author: Alberto de Vera Sevilla
|
8 |
Author URI: https://profiles.wordpress.org/titodevera/
|
9 |
Text Domain: perfect-woocommerce-brands
|
10 |
Domain Path: /lang
|
11 |
License: GPL3
|
12 |
|
13 |
+
Perfect WooCommerce Brands version 1.2, Copyright (C) 2016 Alberto de Vera Sevilla
|
14 |
|
15 |
Perfect WooCommerce Brands is free software: you can redistribute it and/or modify
|
16 |
it under the terms of the GNU General Public License as published by
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: titodevera
|
|
3 |
Donate link: mailto:albertodeverasevilla@gmail.com
|
4 |
Tags: woocommerce, brands, brand taxonomy, product brands, woocommerce manufaturer, woocommerce supplier, e-commerce
|
5 |
Requires at least: 4.4
|
6 |
-
Tested up to: 4.5.
|
7 |
-
Stable tag: 1.
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.en.html
|
10 |
|
@@ -63,6 +63,10 @@ There are three shortcodes available:
|
|
63 |
|
64 |
|
65 |
== Changelog ==
|
|
|
|
|
|
|
|
|
66 |
= 1.1 =
|
67 |
* Minor bug fixes
|
68 |
= 1.0 =
|
3 |
Donate link: mailto:albertodeverasevilla@gmail.com
|
4 |
Tags: woocommerce, brands, brand taxonomy, product brands, woocommerce manufaturer, woocommerce supplier, e-commerce
|
5 |
Requires at least: 4.4
|
6 |
+
Tested up to: 4.5.2
|
7 |
+
Stable tag: 1.2
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.en.html
|
10 |
|
63 |
|
64 |
|
65 |
== Changelog ==
|
66 |
+
= 1.2 =
|
67 |
+
* Feature: Associate a banner and a link to each brand
|
68 |
+
* Minor tweaks
|
69 |
+
* Fully tested on WooCommerce 2.6
|
70 |
= 1.1 =
|
71 |
* Minor bug fixes
|
72 |
= 1.0 =
|