Version Description
- Feature: If is set, show brand description in brand page
- Feature: Change brands position in single product
Download this release
Release Info
Developer | titodevera |
Plugin | Perfect Brands for WooCommerce |
Version | 1.3 |
Comparing to | |
See all releases |
Code changes from version 1.2 to 1.3
- classes/class-perfect-woocommerce-brands.php +52 -1
- classes/class-pwb-admin-tab.php +15 -0
- lang/perfect-woocommerce-brands-es_ES.mo +0 -0
- lang/perfect-woocommerce-brands-es_ES.po +92 -56
- main.php +2 -2
- readme.txt +5 -1
classes/class-perfect-woocommerce-brands.php
CHANGED
@@ -15,8 +15,9 @@
|
|
15 |
add_filter('manage_edit-pwb-brand_columns', array($this,'brand_taxonomy_columns_head'));
|
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 |
-
|
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() ) {
|
@@ -30,7 +31,57 @@
|
|
30 |
}
|
31 |
}
|
32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
|
36 |
/*
|
15 |
add_filter('manage_edit-pwb-brand_columns', array($this,'brand_taxonomy_columns_head'));
|
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 |
+
$this->brand_logo_position();
|
19 |
add_action('woocommerce_before_shop_loop', array($this,'archive_page_banner'), 9);
|
20 |
+
add_action('woocommerce_before_shop_loop', array($this,'show_brand_description'), 9);
|
21 |
add_action('widgets_init', function(){register_widget('\Perfect_Woocommerce_Brands\Pwb_Dropdown_Widget');});
|
22 |
add_action('widgets_init', function(){register_widget('\Perfect_Woocommerce_Brands\Pwb_List_Widget');});
|
23 |
if ( !is_admin() ) {
|
31 |
}
|
32 |
}
|
33 |
|
34 |
+
public function show_brand_description(){
|
35 |
+
$queried_object = get_queried_object();
|
36 |
+
if(is_a($queried_object,'WP_Term') && $queried_object->taxonomy == 'pwb-brand' && $queried_object->description != ''){
|
37 |
+
echo '<div class="pwb-brand-description">';
|
38 |
+
echo $queried_object->description;
|
39 |
+
echo '</div>';
|
40 |
+
}
|
41 |
+
}
|
42 |
|
43 |
+
/**
|
44 |
+
* woocommerce_single_product_summary hook.
|
45 |
+
*
|
46 |
+
* @hooked woocommerce_template_single_title - 5
|
47 |
+
* @hooked woocommerce_template_single_rating - 10
|
48 |
+
* @hooked woocommerce_template_single_price - 10
|
49 |
+
* @hooked woocommerce_template_single_excerpt - 20
|
50 |
+
* @hooked woocommerce_template_single_add_to_cart - 30
|
51 |
+
* @hooked woocommerce_template_single_meta - 40
|
52 |
+
* @hooked woocommerce_template_single_sharing - 50
|
53 |
+
*/
|
54 |
+
private function brand_logo_position(){
|
55 |
+
$position = 41;
|
56 |
+
$position_selected = get_option('wc_pwb_admin_tab_brand_single_position');
|
57 |
+
if(!$position_selected){
|
58 |
+
update_option('wc_pwb_admin_tab_brand_single_position','after_meta');
|
59 |
+
}
|
60 |
+
switch ($position_selected) {
|
61 |
+
case 'before_title':
|
62 |
+
$position = 4;
|
63 |
+
break;
|
64 |
+
case 'after_title':
|
65 |
+
$position = 6;
|
66 |
+
break;
|
67 |
+
case 'after_price':
|
68 |
+
$position = 11;
|
69 |
+
break;
|
70 |
+
case 'after_excerpt':
|
71 |
+
$position = 21;
|
72 |
+
break;
|
73 |
+
case 'after_add_to_cart':
|
74 |
+
$position = 31;
|
75 |
+
break;
|
76 |
+
case 'after_meta':
|
77 |
+
$position = 41;
|
78 |
+
break;
|
79 |
+
case 'after_sharing':
|
80 |
+
$position = 51;
|
81 |
+
break;
|
82 |
+
}
|
83 |
+
add_action('woocommerce_single_product_summary', array($this,'action_woocommerce_single_product_summary'), $position);
|
84 |
+
}
|
85 |
|
86 |
|
87 |
/*
|
classes/class-pwb-admin-tab.php
CHANGED
@@ -88,6 +88,21 @@
|
|
88 |
'id' => 'wc_pwb_admin_tab_brand_logo_size',
|
89 |
'options' => $available_image_sizes_adapted
|
90 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
'section_end' => array(
|
92 |
'type' => 'sectionend',
|
93 |
'id' => 'wc_pwb_admin_tab_section_end'
|
88 |
'id' => 'wc_pwb_admin_tab_brand_logo_size',
|
89 |
'options' => $available_image_sizes_adapted
|
90 |
),
|
91 |
+
'brand_single_position' => array(
|
92 |
+
'name' => __( 'Brand position', 'perfect-woocommerce-brands' ),
|
93 |
+
'type' => 'select',
|
94 |
+
'desc' => __( 'For single product', 'perfect-woocommerce-brands' ),
|
95 |
+
'id' => 'wc_pwb_admin_tab_brand_single_position',
|
96 |
+
'options' => array(
|
97 |
+
'before_title' => __( 'Before title', 'perfect-woocommerce-brands' ),
|
98 |
+
'after_title' => __( 'After title', 'perfect-woocommerce-brands' ),
|
99 |
+
'after_price' => __( 'After price', 'perfect-woocommerce-brands' ),
|
100 |
+
'after_excerpt' => __( 'After excerpt', 'perfect-woocommerce-brands' ),
|
101 |
+
'after_add_to_cart' => __( 'After add to cart', 'perfect-woocommerce-brands' ),
|
102 |
+
'after_meta' => __( 'After meta', 'perfect-woocommerce-brands' ),
|
103 |
+
'after_sharing' => __( 'After sharing', 'perfect-woocommerce-brands' )
|
104 |
+
)
|
105 |
+
),
|
106 |
'section_end' => array(
|
107 |
'type' => 'sectionend',
|
108 |
'id' => 'wc_pwb_admin_tab_section_end'
|
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"
|
@@ -20,194 +20,194 @@ msgstr ""
|
|
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 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
185 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
186 |
msgid "Select image"
|
187 |
msgstr "Seleccionar imagen"
|
188 |
|
189 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
190 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
191 |
msgid "Brand banner"
|
192 |
msgstr "Banner de la marca"
|
193 |
|
194 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
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:
|
199 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
200 |
msgid "Brand banner link"
|
201 |
msgstr "Enlace para el banner de la marca"
|
202 |
|
203 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
204 |
-
#: classes/class-perfect-woocommerce-brands.php:
|
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:
|
211 |
msgid "Logo"
|
212 |
msgstr "Logo"
|
213 |
|
@@ -227,6 +227,42 @@ msgstr "Slug de la taxonomía marcas"
|
|
227 |
msgid "Brand logo size for single product view"
|
228 |
msgstr "Tamaño del logo para la vista individual de producto"
|
229 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
230 |
#: classes/shortcodes/class-pwb-all-brands-shortcode.php:79
|
231 |
msgid "First page"
|
232 |
msgstr "Primera página"
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Perfect WooCommerce Brands\n"
|
4 |
+
"POT-Creation-Date: 2016-07-05 19:37+0200\n"
|
5 |
+
"PO-Revision-Date: 2016-07-05 19:39+0200\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: es_ES\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
|
23 |
+
#: classes/class-perfect-woocommerce-brands.php:103
|
24 |
msgid "PWB Brands carousel"
|
25 |
msgstr "PWB Carrusel de marcas"
|
26 |
|
27 |
+
#: classes/class-perfect-woocommerce-brands.php:104
|
28 |
msgid "Brands carousel"
|
29 |
msgstr "Carrusel de marcas"
|
30 |
|
31 |
+
#: classes/class-perfect-woocommerce-brands.php:113
|
32 |
msgid "Items"
|
33 |
msgstr "Elementos"
|
34 |
|
35 |
+
#: classes/class-perfect-woocommerce-brands.php:116
|
36 |
msgid "Number of items to load"
|
37 |
msgstr "Número de elementos que cargar"
|
38 |
|
39 |
+
#: classes/class-perfect-woocommerce-brands.php:121
|
40 |
msgid "Items to show"
|
41 |
msgstr "Elementos que mostrar"
|
42 |
|
43 |
+
#: classes/class-perfect-woocommerce-brands.php:124
|
44 |
msgid "Number of items to show"
|
45 |
msgstr "Número de elementos a mostrar"
|
46 |
|
47 |
+
#: classes/class-perfect-woocommerce-brands.php:129
|
48 |
msgid "Items to scroll"
|
49 |
msgstr "Número de elementos por scroll"
|
50 |
|
51 |
+
#: classes/class-perfect-woocommerce-brands.php:132
|
52 |
msgid "Number of items to scroll"
|
53 |
msgstr "Número de elementos por cada scroll"
|
54 |
|
55 |
+
#: classes/class-perfect-woocommerce-brands.php:137
|
56 |
msgid "Autoplay"
|
57 |
msgstr "Modo automático"
|
58 |
|
59 |
+
#: classes/class-perfect-woocommerce-brands.php:139
|
60 |
msgid "Autoplay carousel"
|
61 |
msgstr "Modo automático para el carrusel"
|
62 |
|
63 |
+
#: classes/class-perfect-woocommerce-brands.php:143
|
64 |
+
#: classes/class-perfect-woocommerce-brands.php:172
|
65 |
+
#: classes/class-perfect-woocommerce-brands.php:201
|
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:154
|
71 |
msgid "PWB All brands"
|
72 |
msgstr "PWC Todas las marcas"
|
73 |
|
74 |
+
#: classes/class-perfect-woocommerce-brands.php:155
|
75 |
msgid "Show all brands"
|
76 |
msgstr "Mostrar todas las marcas"
|
77 |
|
78 |
+
#: classes/class-perfect-woocommerce-brands.php:165
|
79 |
msgid "Brands per page"
|
80 |
msgstr "Marcas por página"
|
81 |
|
82 |
+
#: classes/class-perfect-woocommerce-brands.php:168
|
83 |
msgid "Show x brands per page"
|
84 |
msgstr "Mostrar x marcas por página"
|
85 |
|
86 |
+
#: classes/class-perfect-woocommerce-brands.php:183
|
87 |
msgid "PWB brand"
|
88 |
msgstr "PWB marca"
|
89 |
|
90 |
+
#: classes/class-perfect-woocommerce-brands.php:184
|
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:194
|
95 |
msgid "Product id"
|
96 |
msgstr "Id del producto"
|
97 |
|
98 |
+
#: classes/class-perfect-woocommerce-brands.php:197
|
99 |
msgid "Product id (post id)"
|
100 |
msgstr "Id del producto (id del post)"
|
101 |
|
102 |
+
#: classes/class-perfect-woocommerce-brands.php:231
|
103 |
+
#: classes/class-perfect-woocommerce-brands.php:233
|
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:297
|
111 |
+
#: classes/class-perfect-woocommerce-brands.php:299
|
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:298
|
118 |
msgid "Brand"
|
119 |
msgstr "Marca"
|
120 |
|
121 |
+
#: classes/class-perfect-woocommerce-brands.php:300
|
122 |
msgid "All Brands"
|
123 |
msgstr "Todas las marcas"
|
124 |
|
125 |
+
#: classes/class-perfect-woocommerce-brands.php:301
|
126 |
msgid "Edit Brand"
|
127 |
msgstr "Editar marca"
|
128 |
|
129 |
+
#: classes/class-perfect-woocommerce-brands.php:302
|
130 |
msgid "View Brand"
|
131 |
msgstr "Ver marca"
|
132 |
|
133 |
+
#: classes/class-perfect-woocommerce-brands.php:303
|
134 |
msgid "Update Brand"
|
135 |
msgstr "Actualizar marca"
|
136 |
|
137 |
+
#: classes/class-perfect-woocommerce-brands.php:304
|
138 |
msgid "Add New Brand"
|
139 |
msgstr "Añadir nueva marca"
|
140 |
|
141 |
+
#: classes/class-perfect-woocommerce-brands.php:305
|
142 |
msgid "New Brand Name"
|
143 |
msgstr "Nuevo nombre de marca"
|
144 |
|
145 |
+
#: classes/class-perfect-woocommerce-brands.php:306
|
146 |
msgid "Parent Brand"
|
147 |
msgstr "Marca Padre"
|
148 |
|
149 |
+
#: classes/class-perfect-woocommerce-brands.php:307
|
150 |
msgid "Parent Brand:"
|
151 |
msgstr "Marca Padre:"
|
152 |
|
153 |
+
#: classes/class-perfect-woocommerce-brands.php:308
|
154 |
msgid "Search Brands"
|
155 |
msgstr "Buscar Marcas"
|
156 |
|
157 |
+
#: classes/class-perfect-woocommerce-brands.php:309
|
158 |
msgid "Popular Brands"
|
159 |
msgstr "Marcas Populares"
|
160 |
|
161 |
+
#: classes/class-perfect-woocommerce-brands.php:310
|
162 |
msgid "Separate brands with commas"
|
163 |
msgstr "Separar marcas con comas"
|
164 |
|
165 |
+
#: classes/class-perfect-woocommerce-brands.php:311
|
166 |
msgid "Add or remove brands"
|
167 |
msgstr "Añadir o eliminar marcas"
|
168 |
|
169 |
+
#: classes/class-perfect-woocommerce-brands.php:312
|
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:313
|
174 |
msgid "No brands found"
|
175 |
msgstr "No se han encontrado marcas"
|
176 |
|
177 |
+
#: classes/class-perfect-woocommerce-brands.php:357
|
178 |
+
#: classes/class-perfect-woocommerce-brands.php:390
|
179 |
msgid "Brand logo"
|
180 |
msgstr "Logo de la marca"
|
181 |
|
182 |
+
#: classes/class-perfect-woocommerce-brands.php:359
|
183 |
+
#: classes/class-perfect-woocommerce-brands.php:366
|
184 |
+
#: classes/class-perfect-woocommerce-brands.php:394
|
185 |
+
#: classes/class-perfect-woocommerce-brands.php:405
|
186 |
msgid "Select image"
|
187 |
msgstr "Seleccionar imagen"
|
188 |
|
189 |
+
#: classes/class-perfect-woocommerce-brands.php:364
|
190 |
+
#: classes/class-perfect-woocommerce-brands.php:401
|
191 |
msgid "Brand banner"
|
192 |
msgstr "Banner de la marca"
|
193 |
|
194 |
+
#: classes/class-perfect-woocommerce-brands.php:367
|
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:372
|
199 |
+
#: classes/class-perfect-woocommerce-brands.php:412
|
200 |
msgid "Brand banner link"
|
201 |
msgstr "Enlace para el banner de la marca"
|
202 |
|
203 |
+
#: classes/class-perfect-woocommerce-brands.php:374
|
204 |
+
#: classes/class-perfect-woocommerce-brands.php:416
|
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:474
|
211 |
msgid "Logo"
|
212 |
msgstr "Logo"
|
213 |
|
227 |
msgid "Brand logo size for single product view"
|
228 |
msgstr "Tamaño del logo para la vista individual de producto"
|
229 |
|
230 |
+
#: classes/class-pwb-admin-tab.php:92
|
231 |
+
msgid "Brand position"
|
232 |
+
msgstr "Posición de la marca"
|
233 |
+
|
234 |
+
#: classes/class-pwb-admin-tab.php:94
|
235 |
+
msgid "For single product"
|
236 |
+
msgstr "En la página individual de cada producto"
|
237 |
+
|
238 |
+
#: classes/class-pwb-admin-tab.php:97
|
239 |
+
msgid "Before title"
|
240 |
+
msgstr "Antes del título"
|
241 |
+
|
242 |
+
#: classes/class-pwb-admin-tab.php:98
|
243 |
+
msgid "After title"
|
244 |
+
msgstr "Después del título"
|
245 |
+
|
246 |
+
#: classes/class-pwb-admin-tab.php:99
|
247 |
+
msgid "After price"
|
248 |
+
msgstr "Después del precio"
|
249 |
+
|
250 |
+
#: classes/class-pwb-admin-tab.php:100
|
251 |
+
msgid "After excerpt"
|
252 |
+
msgstr "Después de la descripción corta"
|
253 |
+
|
254 |
+
#: classes/class-pwb-admin-tab.php:101
|
255 |
+
msgid "After add to cart"
|
256 |
+
msgstr "Después del botón de comprar"
|
257 |
+
|
258 |
+
#: classes/class-pwb-admin-tab.php:102
|
259 |
+
msgid "After meta"
|
260 |
+
msgstr "Después del meta"
|
261 |
+
|
262 |
+
#: classes/class-pwb-admin-tab.php:103
|
263 |
+
msgid "After sharing"
|
264 |
+
msgstr "Después de compartir"
|
265 |
+
|
266 |
#: classes/shortcodes/class-pwb-all-brands-shortcode.php:79
|
267 |
msgid "First page"
|
268 |
msgstr "Primera página"
|
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.3
|
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.3, 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
@@ -4,7 +4,7 @@ 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.
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.en.html
|
10 |
|
@@ -24,6 +24,7 @@ With this extension you can add product brands to your WooCommerce site.
|
|
24 |
= Features =
|
25 |
> * Very easy to use, 100% free, no ads, no premium version exists
|
26 |
> * Assign brands to products
|
|
|
27 |
> * Translation-ready (English and Spanish included)
|
28 |
> * Shortcode: Display all brands
|
29 |
> * Shortcode: Display brands carousel
|
@@ -63,6 +64,9 @@ There are three shortcodes available:
|
|
63 |
|
64 |
|
65 |
== Changelog ==
|
|
|
|
|
|
|
66 |
= 1.2 =
|
67 |
* Feature: Associate a banner and a link to each brand
|
68 |
* Minor tweaks
|
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.3
|
8 |
License: GPL3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.en.html
|
10 |
|
24 |
= Features =
|
25 |
> * Very easy to use, 100% free, no ads, no premium version exists
|
26 |
> * Assign brands to products
|
27 |
+
> * Associate a banner and a link to each brand
|
28 |
> * Translation-ready (English and Spanish included)
|
29 |
> * Shortcode: Display all brands
|
30 |
> * Shortcode: Display brands carousel
|
64 |
|
65 |
|
66 |
== Changelog ==
|
67 |
+
= 1.3 =
|
68 |
+
* Feature: If is set, show brand description in brand page
|
69 |
+
* Feature: Change brands position in single product
|
70 |
= 1.2 =
|
71 |
* Feature: Associate a banner and a link to each brand
|
72 |
* Minor tweaks
|