Version Description
- ADD: New option 'Arcive page shows'
- UPD: Plugin rewrite URL logic
Download this release
Release Info
Developer | TemplateMonster 2002 |
Plugin | Cherry Team Members |
Version | 1.2.0 |
Comparing to | |
See all releases |
Code changes from version 1.1.0 to 1.2.0
- admin/includes/class-cherry-team-options-page.php +27 -1
- cherry-team-members.php +2 -2
- languages/cherry-team.mo +0 -0
- languages/cherry-team.pot +636 -614
- public/includes/class-cherry-team-init.php +75 -1
- public/includes/class-cherry-team-templater.php +41 -4
- readme.txt +7 -2
admin/includes/class-cherry-team-options-page.php
CHANGED
@@ -61,6 +61,7 @@ class Cherry_Team_Members_Options_Page {
|
|
61 |
*/
|
62 |
public static $default_options = array(
|
63 |
'archive-page' => '',
|
|
|
64 |
'posts-per-page' => 9,
|
65 |
'archive-columns' => 3,
|
66 |
'single-template' => 'single',
|
@@ -100,16 +101,38 @@ class Cherry_Team_Members_Options_Page {
|
|
100 |
return;
|
101 |
}
|
102 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
$this->options = array(
|
104 |
'archive-page' => array(
|
105 |
'type' => 'select',
|
106 |
'title' => esc_html__( 'Select team archive page', 'cherry-team' ),
|
107 |
'label' => '',
|
108 |
-
'description' =>
|
109 |
'value' => array(),
|
110 |
'options' => false,
|
111 |
'options_callback' => array( cherry_team_members_tools(), 'get_pages' ),
|
112 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
'posts-per-page' => array(
|
114 |
'type' => 'stepper',
|
115 |
'title' => esc_html__( 'Set posts number per archive page', 'cherry-team' ),
|
@@ -411,6 +434,9 @@ class Cherry_Team_Members_Options_Page {
|
|
411 |
break;
|
412 |
}
|
413 |
|
|
|
|
|
|
|
414 |
wp_send_json( $response );
|
415 |
|
416 |
}
|
61 |
*/
|
62 |
public static $default_options = array(
|
63 |
'archive-page' => '',
|
64 |
+
'archive-page-shows' => 'posts',
|
65 |
'posts-per-page' => 9,
|
66 |
'archive-columns' => 3,
|
67 |
'single-template' => 'single',
|
101 |
return;
|
102 |
}
|
103 |
|
104 |
+
$permalinks_page = sprintf(
|
105 |
+
'<a href="%s" target="_blank">%s</a>',
|
106 |
+
esc_url( admin_url( 'options-permalink.php' ) ),
|
107 |
+
esc_html__( 'the permalink structure', 'cherry-team' )
|
108 |
+
);
|
109 |
+
|
110 |
+
$pemalinks_notice = sprintf(
|
111 |
+
esc_html__( 'Please save %s every time you change this option', 'cherry-team' ),
|
112 |
+
$permalinks_page
|
113 |
+
);
|
114 |
+
|
115 |
$this->options = array(
|
116 |
'archive-page' => array(
|
117 |
'type' => 'select',
|
118 |
'title' => esc_html__( 'Select team archive page', 'cherry-team' ),
|
119 |
'label' => '',
|
120 |
+
'description' => $pemalinks_notice,
|
121 |
'value' => array(),
|
122 |
'options' => false,
|
123 |
'options_callback' => array( cherry_team_members_tools(), 'get_pages' ),
|
124 |
),
|
125 |
+
'archive-page-shows' => array(
|
126 |
+
'type' => 'select',
|
127 |
+
'title' => esc_html__( 'Archive page shows', 'cherry-team' ),
|
128 |
+
'label' => '',
|
129 |
+
'description' => '',
|
130 |
+
'value' => self::$default_options['archive-page-shows'],
|
131 |
+
'options' => array(
|
132 |
+
'posts' => esc_html__( 'Default posts listing', 'cherry-team' ),
|
133 |
+
'content' => esc_html__( 'Selected archive page content', 'cherry-team' ),
|
134 |
+
),
|
135 |
+
),
|
136 |
'posts-per-page' => array(
|
137 |
'type' => 'stepper',
|
138 |
'title' => esc_html__( 'Set posts number per archive page', 'cherry-team' ),
|
434 |
break;
|
435 |
}
|
436 |
|
437 |
+
// Ensure that new post type archive links will generated
|
438 |
+
flush_rewrite_rules();
|
439 |
+
|
440 |
wp_send_json( $response );
|
441 |
|
442 |
}
|
cherry-team-members.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Cherry Team Members
|
4 |
* Plugin URI: http://www.templatemonster.com/wordpress-themes.php
|
5 |
* Description: Cherry Team Members plugin allows you to showcase your team and personnel.
|
6 |
-
* Version: 1.
|
7 |
* Author: TemplateMonster
|
8 |
* Author URI: http://www.templatemonster.com/
|
9 |
* Text Domain: cherry-team
|
@@ -45,7 +45,7 @@ if ( ! class_exists( 'Cherry_Team_Members' ) ) {
|
|
45 |
*
|
46 |
* @var string
|
47 |
*/
|
48 |
-
private $version = '1.
|
49 |
|
50 |
/**
|
51 |
* Plugin dir URL
|
3 |
* Plugin Name: Cherry Team Members
|
4 |
* Plugin URI: http://www.templatemonster.com/wordpress-themes.php
|
5 |
* Description: Cherry Team Members plugin allows you to showcase your team and personnel.
|
6 |
+
* Version: 1.2.0
|
7 |
* Author: TemplateMonster
|
8 |
* Author URI: http://www.templatemonster.com/
|
9 |
* Text Domain: cherry-team
|
45 |
*
|
46 |
* @var string
|
47 |
*/
|
48 |
+
private $version = '1.2.0';
|
49 |
|
50 |
/**
|
51 |
* Plugin dir URL
|
languages/cherry-team.mo
CHANGED
Binary file
|
languages/cherry-team.pot
CHANGED
@@ -1,614 +1,636 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: blank\n"
|
4 |
-
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2017-
|
6 |
-
"PO-Revision-Date: 2017-
|
7 |
-
"Last-Translator: Vladimir Anokhin <ano.vladimir@gmail.com>\n"
|
8 |
-
"Language-Team: Cherry Team <support@cherryframework.com>\n"
|
9 |
-
"Language: su\n"
|
10 |
-
"MIME-Version: 1.0\n"
|
11 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
-
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"X-Poedit-KeywordsList: _e;__;__;_x;esc_html_e;esc_html__;esc_attr_e;"
|
14 |
-
"esc_attr__;_x:1,2c;_n:1,2\n"
|
15 |
-
"X-Poedit-Basepath: ..\n"
|
16 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
-
"X-Generator: Poedit 1.7.6\n"
|
18 |
-
"Plural-Forms: nplurals=1; plural=0;\n"
|
19 |
-
"X-Poedit-SearchPath-0: .\n"
|
20 |
-
|
21 |
-
#: admin/includes/class-cherry-team-admin-columns.php:74
|
22 |
-
msgid "Clone"
|
23 |
-
msgstr ""
|
24 |
-
|
25 |
-
#: admin/includes/class-cherry-team-admin-columns.php:75
|
26 |
-
msgid "Clone this post"
|
27 |
-
msgstr ""
|
28 |
-
|
29 |
-
#: admin/includes/class-cherry-team-admin-columns.php:200
|
30 |
-
msgid "Photo"
|
31 |
-
msgstr ""
|
32 |
-
|
33 |
-
#: admin/includes/class-cherry-team-admin-columns.php:201
|
34 |
-
#: admin/includes/class-cherry-team-meta-boxes.php:59
|
35 |
-
#: admin/includes/class-cherry-team-meta-boxes.php:60
|
36 |
-
msgid "Position"
|
37 |
-
msgstr ""
|
38 |
-
|
39 |
-
#: admin/includes/class-cherry-team-admin-columns.php:202
|
40 |
-
msgid "Group"
|
41 |
-
msgstr ""
|
42 |
-
|
43 |
-
#: admin/includes/class-cherry-team-admin-columns.php:203
|
44 |
-
msgid "Added"
|
45 |
-
msgstr ""
|
46 |
-
|
47 |
-
#: admin/includes/class-cherry-team-meta-boxes.php:51
|
48 |
-
msgid "Person Options"
|
49 |
-
msgstr ""
|
50 |
-
|
51 |
-
#: admin/includes/class-cherry-team-meta-boxes.php:64
|
52 |
-
#: admin/includes/class-cherry-team-meta-boxes.php:65
|
53 |
-
msgid "Location"
|
54 |
-
msgstr ""
|
55 |
-
|
56 |
-
#: admin/includes/class-cherry-team-meta-boxes.php:69
|
57 |
-
#: admin/includes/class-cherry-team-meta-boxes.php:70
|
58 |
-
msgid "Phone Number"
|
59 |
-
msgstr ""
|
60 |
-
|
61 |
-
#: admin/includes/class-cherry-team-meta-boxes.php:74
|
62 |
-
msgid "Social profiles"
|
63 |
-
msgstr ""
|
64 |
-
|
65 |
-
#: admin/includes/class-cherry-team-meta-boxes.php:75
|
66 |
-
msgid "Add Social Network"
|
67 |
-
msgstr ""
|
68 |
-
|
69 |
-
#: admin/includes/class-cherry-team-meta-boxes.php:82
|
70 |
-
msgid "Choose icon"
|
71 |
-
msgstr ""
|
72 |
-
|
73 |
-
#: admin/includes/class-cherry-team-meta-boxes.php:95
|
74 |
-
#: admin/includes/class-cherry-team-meta-boxes.php:96
|
75 |
-
msgid "Label"
|
76 |
-
msgstr ""
|
77 |
-
|
78 |
-
#: admin/includes/class-cherry-team-meta-boxes.php:102
|
79 |
-
#: admin/includes/class-cherry-team-meta-boxes.php:103
|
80 |
-
msgid "URL"
|
81 |
-
msgstr ""
|
82 |
-
|
83 |
-
#: admin/includes/class-cherry-team-meta-boxes.php:109
|
84 |
-
msgid "Skills"
|
85 |
-
msgstr ""
|
86 |
-
|
87 |
-
#: admin/includes/class-cherry-team-meta-boxes.php:110
|
88 |
-
msgid "Add New Skill"
|
89 |
-
msgstr ""
|
90 |
-
|
91 |
-
#: admin/includes/class-cherry-team-meta-boxes.php:118
|
92 |
-
#: admin/includes/class-cherry-team-meta-boxes.php:119
|
93 |
-
msgid "Skill bar color"
|
94 |
-
msgstr ""
|
95 |
-
|
96 |
-
#: admin/includes/class-cherry-team-meta-boxes.php:125
|
97 |
-
#: admin/includes/class-cherry-team-meta-boxes.php:126
|
98 |
-
msgid "Skill Label"
|
99 |
-
msgstr ""
|
100 |
-
|
101 |
-
#: admin/includes/class-cherry-team-meta-boxes.php:136
|
102 |
-
#: admin/includes/class-cherry-team-meta-boxes.php:137
|
103 |
-
msgid "Skill Value"
|
104 |
-
msgstr ""
|
105 |
-
|
106 |
-
#: admin/includes/class-cherry-team-options-page.php:
|
107 |
-
msgid "
|
108 |
-
msgstr ""
|
109 |
-
|
110 |
-
#: admin/includes/class-cherry-team-options-page.php:
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
"
|
201 |
-
msgstr ""
|
202 |
-
|
203 |
-
#: admin/views/options-page.php:
|
204 |
-
msgid "
|
205 |
-
msgstr ""
|
206 |
-
|
207 |
-
#: admin/views/options-page.php:
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
#:
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
#:
|
258 |
-
msgid "
|
259 |
-
msgstr ""
|
260 |
-
|
261 |
-
#: admin/views/options-page.php:
|
262 |
-
msgid "
|
263 |
-
msgstr ""
|
264 |
-
|
265 |
-
#: admin/views/options-page.php:
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
msgid "
|
292 |
-
msgstr ""
|
293 |
-
|
294 |
-
#: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
msgid "
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
#:
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
#:
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
#: public/includes/class-cherry-team-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
#: public/includes/class-cherry-team-init.php:
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
"
|
510 |
-
msgstr ""
|
511 |
-
|
512 |
-
#: public/includes/class-cherry-team-shortcode.php:
|
513 |
-
msgid "
|
514 |
-
msgstr ""
|
515 |
-
|
516 |
-
#: public/includes/class-cherry-team-shortcode.php:
|
517 |
-
msgid "
|
518 |
-
msgstr ""
|
519 |
-
|
520 |
-
#: public/includes/class-cherry-team-shortcode.php:
|
521 |
-
msgid "
|
522 |
-
msgstr ""
|
523 |
-
|
524 |
-
#: public/includes/class-cherry-team-shortcode.php:
|
525 |
-
msgid "
|
526 |
-
msgstr ""
|
527 |
-
|
528 |
-
#: public/includes/class-cherry-team-shortcode.php:
|
529 |
-
msgid "
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
-
#: public/includes/class-cherry-team-shortcode.php:
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
-
#: public/includes/class-cherry-team-shortcode.php:
|
539 |
-
|
540 |
-
|
541 |
-
|
542 |
-
#: public/includes/class-cherry-team-shortcode.php:
|
543 |
-
msgid "
|
544 |
-
msgstr ""
|
545 |
-
|
546 |
-
#: public/includes/class-cherry-team-shortcode.php:
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
-
#: public/includes/class-cherry-team-shortcode.php:
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
-
#: public/includes/class-cherry-team-shortcode.php:
|
555 |
-
#: public/includes/class-cherry-team-shortcode.php:
|
556 |
-
#: public/includes/class-cherry-team-shortcode.php:
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
#: public/includes/class-cherry-team-shortcode.php:
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
-
#: public/includes/class-cherry-team-shortcode.php:
|
565 |
-
msgid "
|
566 |
-
msgstr ""
|
567 |
-
|
568 |
-
#: public/includes/class-cherry-team-shortcode.php:
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
#: public/includes/class-cherry-team-shortcode.php:
|
573 |
-
|
574 |
-
|
575 |
-
|
576 |
-
#: public/includes/class-cherry-team-shortcode.php:
|
577 |
-
|
578 |
-
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
-
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
-
|
605 |
-
|
606 |
-
|
607 |
-
|
608 |
-
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: blank\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2017-04-24 17:02+0200\n"
|
6 |
+
"PO-Revision-Date: 2017-04-24 17:02+0200\n"
|
7 |
+
"Last-Translator: Vladimir Anokhin <ano.vladimir@gmail.com>\n"
|
8 |
+
"Language-Team: Cherry Team <support@cherryframework.com>\n"
|
9 |
+
"Language: su\n"
|
10 |
+
"MIME-Version: 1.0\n"
|
11 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
+
"Content-Transfer-Encoding: 8bit\n"
|
13 |
+
"X-Poedit-KeywordsList: _e;__;__;_x;esc_html_e;esc_html__;esc_attr_e;"
|
14 |
+
"esc_attr__;_x:1,2c;_n:1,2\n"
|
15 |
+
"X-Poedit-Basepath: ..\n"
|
16 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
+
"X-Generator: Poedit 1.7.6\n"
|
18 |
+
"Plural-Forms: nplurals=1; plural=0;\n"
|
19 |
+
"X-Poedit-SearchPath-0: .\n"
|
20 |
+
|
21 |
+
#: admin/includes/class-cherry-team-admin-columns.php:74
|
22 |
+
msgid "Clone"
|
23 |
+
msgstr ""
|
24 |
+
|
25 |
+
#: admin/includes/class-cherry-team-admin-columns.php:75
|
26 |
+
msgid "Clone this post"
|
27 |
+
msgstr ""
|
28 |
+
|
29 |
+
#: admin/includes/class-cherry-team-admin-columns.php:200
|
30 |
+
msgid "Photo"
|
31 |
+
msgstr ""
|
32 |
+
|
33 |
+
#: admin/includes/class-cherry-team-admin-columns.php:201
|
34 |
+
#: admin/includes/class-cherry-team-meta-boxes.php:59
|
35 |
+
#: admin/includes/class-cherry-team-meta-boxes.php:60
|
36 |
+
msgid "Position"
|
37 |
+
msgstr ""
|
38 |
+
|
39 |
+
#: admin/includes/class-cherry-team-admin-columns.php:202
|
40 |
+
msgid "Group"
|
41 |
+
msgstr ""
|
42 |
+
|
43 |
+
#: admin/includes/class-cherry-team-admin-columns.php:203
|
44 |
+
msgid "Added"
|
45 |
+
msgstr ""
|
46 |
+
|
47 |
+
#: admin/includes/class-cherry-team-meta-boxes.php:51
|
48 |
+
msgid "Person Options"
|
49 |
+
msgstr ""
|
50 |
+
|
51 |
+
#: admin/includes/class-cherry-team-meta-boxes.php:64
|
52 |
+
#: admin/includes/class-cherry-team-meta-boxes.php:65
|
53 |
+
msgid "Location"
|
54 |
+
msgstr ""
|
55 |
+
|
56 |
+
#: admin/includes/class-cherry-team-meta-boxes.php:69
|
57 |
+
#: admin/includes/class-cherry-team-meta-boxes.php:70
|
58 |
+
msgid "Phone Number"
|
59 |
+
msgstr ""
|
60 |
+
|
61 |
+
#: admin/includes/class-cherry-team-meta-boxes.php:74
|
62 |
+
msgid "Social profiles"
|
63 |
+
msgstr ""
|
64 |
+
|
65 |
+
#: admin/includes/class-cherry-team-meta-boxes.php:75
|
66 |
+
msgid "Add Social Network"
|
67 |
+
msgstr ""
|
68 |
+
|
69 |
+
#: admin/includes/class-cherry-team-meta-boxes.php:82
|
70 |
+
msgid "Choose icon"
|
71 |
+
msgstr ""
|
72 |
+
|
73 |
+
#: admin/includes/class-cherry-team-meta-boxes.php:95
|
74 |
+
#: admin/includes/class-cherry-team-meta-boxes.php:96
|
75 |
+
msgid "Label"
|
76 |
+
msgstr ""
|
77 |
+
|
78 |
+
#: admin/includes/class-cherry-team-meta-boxes.php:102
|
79 |
+
#: admin/includes/class-cherry-team-meta-boxes.php:103
|
80 |
+
msgid "URL"
|
81 |
+
msgstr ""
|
82 |
+
|
83 |
+
#: admin/includes/class-cherry-team-meta-boxes.php:109
|
84 |
+
msgid "Skills"
|
85 |
+
msgstr ""
|
86 |
+
|
87 |
+
#: admin/includes/class-cherry-team-meta-boxes.php:110
|
88 |
+
msgid "Add New Skill"
|
89 |
+
msgstr ""
|
90 |
+
|
91 |
+
#: admin/includes/class-cherry-team-meta-boxes.php:118
|
92 |
+
#: admin/includes/class-cherry-team-meta-boxes.php:119
|
93 |
+
msgid "Skill bar color"
|
94 |
+
msgstr ""
|
95 |
+
|
96 |
+
#: admin/includes/class-cherry-team-meta-boxes.php:125
|
97 |
+
#: admin/includes/class-cherry-team-meta-boxes.php:126
|
98 |
+
msgid "Skill Label"
|
99 |
+
msgstr ""
|
100 |
+
|
101 |
+
#: admin/includes/class-cherry-team-meta-boxes.php:136
|
102 |
+
#: admin/includes/class-cherry-team-meta-boxes.php:137
|
103 |
+
msgid "Skill Value"
|
104 |
+
msgstr ""
|
105 |
+
|
106 |
+
#: admin/includes/class-cherry-team-options-page.php:107
|
107 |
+
msgid "the permalink structure"
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
+
#: admin/includes/class-cherry-team-options-page.php:111
|
111 |
+
#, php-format
|
112 |
+
msgid "Please save %s every time you change this option"
|
113 |
+
msgstr ""
|
114 |
+
|
115 |
+
#: admin/includes/class-cherry-team-options-page.php:118
|
116 |
+
msgid "Select team archive page"
|
117 |
+
msgstr ""
|
118 |
+
|
119 |
+
#: admin/includes/class-cherry-team-options-page.php:127
|
120 |
+
msgid "Archive page shows"
|
121 |
+
msgstr ""
|
122 |
+
|
123 |
+
#: admin/includes/class-cherry-team-options-page.php:132
|
124 |
+
msgid "Default posts listing"
|
125 |
+
msgstr ""
|
126 |
+
|
127 |
+
#: admin/includes/class-cherry-team-options-page.php:133
|
128 |
+
msgid "Selected archive page content"
|
129 |
+
msgstr ""
|
130 |
+
|
131 |
+
#: admin/includes/class-cherry-team-options-page.php:138
|
132 |
+
msgid "Set posts number per archive page"
|
133 |
+
msgstr ""
|
134 |
+
|
135 |
+
#: admin/includes/class-cherry-team-options-page.php:146
|
136 |
+
msgid "Select archive page columns number"
|
137 |
+
msgstr ""
|
138 |
+
|
139 |
+
#: admin/includes/class-cherry-team-options-page.php:154
|
140 |
+
msgid "Select template for single team member page"
|
141 |
+
msgstr ""
|
142 |
+
|
143 |
+
#: admin/includes/class-cherry-team-options-page.php:163
|
144 |
+
msgid "Select image size for single team member page"
|
145 |
+
msgstr ""
|
146 |
+
|
147 |
+
#: admin/includes/class-cherry-team-options-page.php:172
|
148 |
+
msgid "Select template for team listing page"
|
149 |
+
msgstr ""
|
150 |
+
|
151 |
+
#: admin/includes/class-cherry-team-options-page.php:181
|
152 |
+
msgid "Select image size for listing team member page"
|
153 |
+
msgstr ""
|
154 |
+
|
155 |
+
#: admin/includes/class-cherry-team-options-page.php:254
|
156 |
+
msgid "Cherry Team Options"
|
157 |
+
msgstr ""
|
158 |
+
|
159 |
+
#: admin/includes/class-cherry-team-options-page.php:255
|
160 |
+
msgid "Settings"
|
161 |
+
msgstr ""
|
162 |
+
|
163 |
+
#: admin/includes/class-cherry-team-options-page.php:295
|
164 |
+
msgid "Save"
|
165 |
+
msgstr ""
|
166 |
+
|
167 |
+
#: admin/includes/class-cherry-team-options-page.php:296
|
168 |
+
msgid "Define as default"
|
169 |
+
msgstr ""
|
170 |
+
|
171 |
+
#: admin/includes/class-cherry-team-options-page.php:297
|
172 |
+
msgid "Restore"
|
173 |
+
msgstr ""
|
174 |
+
|
175 |
+
#: admin/includes/class-cherry-team-options-page.php:412
|
176 |
+
msgid "Options have been saved"
|
177 |
+
msgstr ""
|
178 |
+
|
179 |
+
#: admin/includes/class-cherry-team-options-page.php:420
|
180 |
+
msgid "Options have been saved as default"
|
181 |
+
msgstr ""
|
182 |
+
|
183 |
+
#: admin/includes/class-cherry-team-options-page.php:430
|
184 |
+
msgid "Options have been restored"
|
185 |
+
msgstr ""
|
186 |
+
|
187 |
+
#: admin/includes/class-cherry-team-options-page.php:493
|
188 |
+
msgid "Please wait, processing the previous request"
|
189 |
+
msgstr ""
|
190 |
+
|
191 |
+
#: admin/views/options-page.php:49
|
192 |
+
msgid "Text before main title"
|
193 |
+
msgstr ""
|
194 |
+
|
195 |
+
#: admin/views/options-page.php:50
|
196 |
+
msgid "Main title"
|
197 |
+
msgstr ""
|
198 |
+
|
199 |
+
#: admin/views/options-page.php:51
|
200 |
+
msgid "Text after main title"
|
201 |
+
msgstr ""
|
202 |
+
|
203 |
+
#: admin/views/options-page.php:52
|
204 |
+
msgid "Columns number"
|
205 |
+
msgstr ""
|
206 |
+
|
207 |
+
#: admin/views/options-page.php:53
|
208 |
+
msgid "Tablets columns number"
|
209 |
+
msgstr ""
|
210 |
+
|
211 |
+
#: admin/views/options-page.php:54
|
212 |
+
msgid "Phones columns number"
|
213 |
+
msgstr ""
|
214 |
+
|
215 |
+
#: admin/views/options-page.php:55
|
216 |
+
msgid "Posts number to show"
|
217 |
+
msgstr ""
|
218 |
+
|
219 |
+
#: admin/views/options-page.php:56
|
220 |
+
msgid ""
|
221 |
+
"Select posts from group (use goup slug, pass multiplie groups via comma)"
|
222 |
+
msgstr ""
|
223 |
+
|
224 |
+
#: admin/views/options-page.php:57
|
225 |
+
msgid "Words number in excerpt"
|
226 |
+
msgstr ""
|
227 |
+
|
228 |
+
#: admin/views/options-page.php:58
|
229 |
+
#: public/includes/class-cherry-team-shortcode.php:174
|
230 |
+
msgid "Show more button"
|
231 |
+
msgstr ""
|
232 |
+
|
233 |
+
#: admin/views/options-page.php:59
|
234 |
+
#: public/includes/class-cherry-team-shortcode.php:185
|
235 |
+
#: public/includes/class-cherry-team-shortcode.php:191
|
236 |
+
msgid "More button text"
|
237 |
+
msgstr ""
|
238 |
+
|
239 |
+
#: admin/views/options-page.php:60
|
240 |
+
msgid "More button URL"
|
241 |
+
msgstr ""
|
242 |
+
|
243 |
+
#: admin/views/options-page.php:61
|
244 |
+
msgid "Use more as AJAX load more button"
|
245 |
+
msgstr ""
|
246 |
+
|
247 |
+
#: admin/views/options-page.php:62
|
248 |
+
msgid "Show pagination"
|
249 |
+
msgstr ""
|
250 |
+
|
251 |
+
#: admin/views/options-page.php:63
|
252 |
+
#: public/includes/class-cherry-team-shortcode.php:218
|
253 |
+
msgid "Show person name"
|
254 |
+
msgstr ""
|
255 |
+
|
256 |
+
#: admin/views/options-page.php:64
|
257 |
+
#: public/includes/class-cherry-team-shortcode.php:227
|
258 |
+
msgid "Show person photo"
|
259 |
+
msgstr ""
|
260 |
+
|
261 |
+
#: admin/views/options-page.php:65
|
262 |
+
msgid "Show person description"
|
263 |
+
msgstr ""
|
264 |
+
|
265 |
+
#: admin/views/options-page.php:66
|
266 |
+
#: public/includes/class-cherry-team-shortcode.php:245
|
267 |
+
msgid "Show person position"
|
268 |
+
msgstr ""
|
269 |
+
|
270 |
+
#: admin/views/options-page.php:67
|
271 |
+
msgid "Show person social profiles links"
|
272 |
+
msgstr ""
|
273 |
+
|
274 |
+
#: admin/views/options-page.php:68
|
275 |
+
msgid "Show filters by groups before listing"
|
276 |
+
msgstr ""
|
277 |
+
|
278 |
+
#: admin/views/options-page.php:69
|
279 |
+
msgid "Person photo size"
|
280 |
+
msgstr ""
|
281 |
+
|
282 |
+
#: admin/views/options-page.php:70
|
283 |
+
msgid "Template name to use (default or grid-boxes)"
|
284 |
+
msgstr ""
|
285 |
+
|
286 |
+
#: admin/views/options-page.php:71
|
287 |
+
msgid "Use space between columns"
|
288 |
+
msgstr ""
|
289 |
+
|
290 |
+
#: admin/views/options-page.php:72
|
291 |
+
msgid "Use space between rows"
|
292 |
+
msgstr ""
|
293 |
+
|
294 |
+
#: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:346
|
295 |
+
msgid "Home"
|
296 |
+
msgstr ""
|
297 |
+
|
298 |
+
#: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:352
|
299 |
+
msgid "Browse:"
|
300 |
+
msgstr ""
|
301 |
+
|
302 |
+
#: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:354
|
303 |
+
msgid "404 Not Found"
|
304 |
+
msgstr ""
|
305 |
+
|
306 |
+
#: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:355
|
307 |
+
msgid "Archives"
|
308 |
+
msgstr ""
|
309 |
+
|
310 |
+
#: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:356
|
311 |
+
#, php-format
|
312 |
+
msgid "Search results for “%s”"
|
313 |
+
msgstr ""
|
314 |
+
|
315 |
+
#: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:357
|
316 |
+
#, php-format
|
317 |
+
msgid "Page %s"
|
318 |
+
msgstr ""
|
319 |
+
|
320 |
+
#: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:358
|
321 |
+
#, php-format
|
322 |
+
msgid "Minute %s"
|
323 |
+
msgstr ""
|
324 |
+
|
325 |
+
#: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:359
|
326 |
+
#, php-format
|
327 |
+
msgid "Week %s"
|
328 |
+
msgstr ""
|
329 |
+
|
330 |
+
#: cherry-framework/modules/cherry-customizer/cherry-customizer.php:269
|
331 |
+
msgid "Untitled Panel"
|
332 |
+
msgstr ""
|
333 |
+
|
334 |
+
#: cherry-framework/modules/cherry-customizer/cherry-customizer.php:305
|
335 |
+
msgid "Untitled Section"
|
336 |
+
msgstr ""
|
337 |
+
|
338 |
+
#: cherry-framework/modules/cherry-customizer/cherry-customizer.php:339
|
339 |
+
msgid "Untitled Control"
|
340 |
+
msgstr ""
|
341 |
+
|
342 |
+
#: cherry-framework/modules/cherry-db-updater/cherry-db-updater.php:105
|
343 |
+
#, php-format
|
344 |
+
msgid ""
|
345 |
+
"Module DB Updater init error in %s - version and slug is required arguments"
|
346 |
+
msgstr ""
|
347 |
+
|
348 |
+
#: cherry-framework/modules/cherry-db-updater/cherry-db-updater.php:106
|
349 |
+
msgid "We need to update your database to the latest version."
|
350 |
+
msgstr ""
|
351 |
+
|
352 |
+
#: cherry-framework/modules/cherry-db-updater/cherry-db-updater.php:107
|
353 |
+
msgid "Update complete, thank you for updating to the latest version!"
|
354 |
+
msgstr ""
|
355 |
+
|
356 |
+
#: cherry-framework/modules/cherry-db-updater/cherry-db-updater.php:331
|
357 |
+
msgid "Start Update"
|
358 |
+
msgstr ""
|
359 |
+
|
360 |
+
#: cherry-framework/modules/cherry-db-updater/cherry-db-updater.php:368
|
361 |
+
msgid "Data Update"
|
362 |
+
msgstr ""
|
363 |
+
|
364 |
+
#: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-button.php:63
|
365 |
+
msgid "Cherry shortcodes"
|
366 |
+
msgstr ""
|
367 |
+
|
368 |
+
#: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:128
|
369 |
+
msgid "insert shortcode"
|
370 |
+
msgstr ""
|
371 |
+
|
372 |
+
#: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:148
|
373 |
+
msgid "Shortcode List"
|
374 |
+
msgstr ""
|
375 |
+
|
376 |
+
#: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:206
|
377 |
+
msgid "Shortcode not found."
|
378 |
+
msgstr ""
|
379 |
+
|
380 |
+
#: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:285
|
381 |
+
msgid "Shortcode content."
|
382 |
+
msgstr ""
|
383 |
+
|
384 |
+
#: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:286
|
385 |
+
msgid "Input shortcode content."
|
386 |
+
msgstr ""
|
387 |
+
|
388 |
+
#: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:301
|
389 |
+
msgid "Shortcode not a have options."
|
390 |
+
msgstr ""
|
391 |
+
|
392 |
+
#: public/includes/class-cherry-team-data.php:81
|
393 |
+
#: public/includes/class-cherry-team-data.php:414
|
394 |
+
#: public/includes/class-cherry-team-shortcode.php:186
|
395 |
+
#: public/includes/class-cherry-team-shortcode.php:377
|
396 |
+
msgid "More"
|
397 |
+
msgstr ""
|
398 |
+
|
399 |
+
#: public/includes/class-cherry-team-data.php:721
|
400 |
+
msgid "All"
|
401 |
+
msgstr ""
|
402 |
+
|
403 |
+
#: public/includes/class-cherry-team-init.php:58
|
404 |
+
#: public/includes/class-cherry-team-init.php:59
|
405 |
+
#: public/includes/class-cherry-team-init.php:163
|
406 |
+
#: public/includes/class-cherry-team-shortcode.php:326
|
407 |
+
#: public/includes/class-cherry-team-shortcode.php:332
|
408 |
+
msgid "Team"
|
409 |
+
msgstr ""
|
410 |
+
|
411 |
+
#: public/includes/class-cherry-team-init.php:61
|
412 |
+
msgid "Add New"
|
413 |
+
msgstr ""
|
414 |
+
|
415 |
+
#: public/includes/class-cherry-team-init.php:62
|
416 |
+
msgid "Add New Person"
|
417 |
+
msgstr ""
|
418 |
+
|
419 |
+
#: public/includes/class-cherry-team-init.php:63
|
420 |
+
msgid "Edit Person"
|
421 |
+
msgstr ""
|
422 |
+
|
423 |
+
#: public/includes/class-cherry-team-init.php:64
|
424 |
+
msgid "New Person"
|
425 |
+
msgstr ""
|
426 |
+
|
427 |
+
#: public/includes/class-cherry-team-init.php:65
|
428 |
+
msgid "View Person"
|
429 |
+
msgstr ""
|
430 |
+
|
431 |
+
#: public/includes/class-cherry-team-init.php:66
|
432 |
+
msgid "Search Persons"
|
433 |
+
msgstr ""
|
434 |
+
|
435 |
+
#: public/includes/class-cherry-team-init.php:67
|
436 |
+
msgid "No persons found"
|
437 |
+
msgstr ""
|
438 |
+
|
439 |
+
#: public/includes/class-cherry-team-init.php:68
|
440 |
+
msgid "No persons found in trash"
|
441 |
+
msgstr ""
|
442 |
+
|
443 |
+
#: public/includes/class-cherry-team-init.php:188
|
444 |
+
msgid "Team Groups"
|
445 |
+
msgstr ""
|
446 |
+
|
447 |
+
#: public/includes/class-cherry-team-init.php:189
|
448 |
+
#: public/includes/class-cherry-team-init.php:195
|
449 |
+
msgid "Edit Group"
|
450 |
+
msgstr ""
|
451 |
+
|
452 |
+
#: public/includes/class-cherry-team-init.php:190
|
453 |
+
msgid "Search Groups"
|
454 |
+
msgstr ""
|
455 |
+
|
456 |
+
#: public/includes/class-cherry-team-init.php:191
|
457 |
+
msgid "Popular Groups"
|
458 |
+
msgstr ""
|
459 |
+
|
460 |
+
#: public/includes/class-cherry-team-init.php:192
|
461 |
+
msgid "All Groups"
|
462 |
+
msgstr ""
|
463 |
+
|
464 |
+
#: public/includes/class-cherry-team-init.php:196
|
465 |
+
msgid "Update Group"
|
466 |
+
msgstr ""
|
467 |
+
|
468 |
+
#: public/includes/class-cherry-team-init.php:197
|
469 |
+
msgid "Add New Group"
|
470 |
+
msgstr ""
|
471 |
+
|
472 |
+
#: public/includes/class-cherry-team-init.php:198
|
473 |
+
msgid "New Group Name"
|
474 |
+
msgstr ""
|
475 |
+
|
476 |
+
#: public/includes/class-cherry-team-init.php:199
|
477 |
+
msgid "Separate groups with commas"
|
478 |
+
msgstr ""
|
479 |
+
|
480 |
+
#: public/includes/class-cherry-team-init.php:200
|
481 |
+
msgid "Add or remove groups"
|
482 |
+
msgstr ""
|
483 |
+
|
484 |
+
#: public/includes/class-cherry-team-init.php:201
|
485 |
+
msgid "Choose from the most used groups"
|
486 |
+
msgstr ""
|
487 |
+
|
488 |
+
#: public/includes/class-cherry-team-init.php:202
|
489 |
+
msgid "No groups found."
|
490 |
+
msgstr ""
|
491 |
+
|
492 |
+
#: public/includes/class-cherry-team-init.php:203
|
493 |
+
msgid "Groups"
|
494 |
+
msgstr ""
|
495 |
+
|
496 |
+
#: public/includes/class-cherry-team-shortcode.php:105
|
497 |
+
msgid "Super title"
|
498 |
+
msgstr ""
|
499 |
+
|
500 |
+
#: public/includes/class-cherry-team-shortcode.php:110
|
501 |
+
msgid "Title"
|
502 |
+
msgstr ""
|
503 |
+
|
504 |
+
#: public/includes/class-cherry-team-shortcode.php:115
|
505 |
+
msgid "Subtitle"
|
506 |
+
msgstr ""
|
507 |
+
|
508 |
+
#: public/includes/class-cherry-team-shortcode.php:120
|
509 |
+
msgid "Desktop columns"
|
510 |
+
msgstr ""
|
511 |
+
|
512 |
+
#: public/includes/class-cherry-team-shortcode.php:126
|
513 |
+
msgid "Laptop columns"
|
514 |
+
msgstr ""
|
515 |
+
|
516 |
+
#: public/includes/class-cherry-team-shortcode.php:132
|
517 |
+
msgid "Tablet columns"
|
518 |
+
msgstr ""
|
519 |
+
|
520 |
+
#: public/includes/class-cherry-team-shortcode.php:138
|
521 |
+
msgid "Phone columns"
|
522 |
+
msgstr ""
|
523 |
+
|
524 |
+
#: public/includes/class-cherry-team-shortcode.php:144
|
525 |
+
msgid "Posts per page"
|
526 |
+
msgstr ""
|
527 |
+
|
528 |
+
#: public/includes/class-cherry-team-shortcode.php:145
|
529 |
+
msgid ""
|
530 |
+
"Select how many posts per page do you want to display(-1 means that will "
|
531 |
+
"show all team)"
|
532 |
+
msgstr ""
|
533 |
+
|
534 |
+
#: public/includes/class-cherry-team-shortcode.php:152
|
535 |
+
msgid "Show team members from groups"
|
536 |
+
msgstr ""
|
537 |
+
|
538 |
+
#: public/includes/class-cherry-team-shortcode.php:161
|
539 |
+
msgid "Show persons by ID"
|
540 |
+
msgstr ""
|
541 |
+
|
542 |
+
#: public/includes/class-cherry-team-shortcode.php:166
|
543 |
+
msgid "Description length"
|
544 |
+
msgstr ""
|
545 |
+
|
546 |
+
#: public/includes/class-cherry-team-shortcode.php:167
|
547 |
+
msgid "Select how many words show in desciption"
|
548 |
+
msgstr ""
|
549 |
+
|
550 |
+
#: public/includes/class-cherry-team-shortcode.php:175
|
551 |
+
msgid "Show/hide more button"
|
552 |
+
msgstr ""
|
553 |
+
|
554 |
+
#: public/includes/class-cherry-team-shortcode.php:178
|
555 |
+
#: public/includes/class-cherry-team-shortcode.php:201
|
556 |
+
#: public/includes/class-cherry-team-shortcode.php:212
|
557 |
+
#: public/includes/class-cherry-team-shortcode.php:221
|
558 |
+
#: public/includes/class-cherry-team-shortcode.php:230
|
559 |
+
#: public/includes/class-cherry-team-shortcode.php:239
|
560 |
+
#: public/includes/class-cherry-team-shortcode.php:248
|
561 |
+
#: public/includes/class-cherry-team-shortcode.php:257
|
562 |
+
#: public/includes/class-cherry-team-shortcode.php:266
|
563 |
+
#: public/includes/class-cherry-team-shortcode.php:289
|
564 |
+
#: public/includes/class-cherry-team-shortcode.php:298
|
565 |
+
msgid "Yes"
|
566 |
+
msgstr ""
|
567 |
+
|
568 |
+
#: public/includes/class-cherry-team-shortcode.php:179
|
569 |
+
#: public/includes/class-cherry-team-shortcode.php:202
|
570 |
+
#: public/includes/class-cherry-team-shortcode.php:213
|
571 |
+
#: public/includes/class-cherry-team-shortcode.php:222
|
572 |
+
#: public/includes/class-cherry-team-shortcode.php:231
|
573 |
+
#: public/includes/class-cherry-team-shortcode.php:240
|
574 |
+
#: public/includes/class-cherry-team-shortcode.php:249
|
575 |
+
#: public/includes/class-cherry-team-shortcode.php:258
|
576 |
+
#: public/includes/class-cherry-team-shortcode.php:267
|
577 |
+
#: public/includes/class-cherry-team-shortcode.php:290
|
578 |
+
#: public/includes/class-cherry-team-shortcode.php:299
|
579 |
+
msgid "No"
|
580 |
+
msgstr ""
|
581 |
+
|
582 |
+
#: public/includes/class-cherry-team-shortcode.php:197
|
583 |
+
msgid "AJAX load more"
|
584 |
+
msgstr ""
|
585 |
+
|
586 |
+
#: public/includes/class-cherry-team-shortcode.php:198
|
587 |
+
msgid "Enable AJAX load more event on more button"
|
588 |
+
msgstr ""
|
589 |
+
|
590 |
+
#: public/includes/class-cherry-team-shortcode.php:208
|
591 |
+
msgid "Pagination"
|
592 |
+
msgstr ""
|
593 |
+
|
594 |
+
#: public/includes/class-cherry-team-shortcode.php:209
|
595 |
+
msgid "Enable paging navigation"
|
596 |
+
msgstr ""
|
597 |
+
|
598 |
+
#: public/includes/class-cherry-team-shortcode.php:236
|
599 |
+
msgid "Show person bio"
|
600 |
+
msgstr ""
|
601 |
+
|
602 |
+
#: public/includes/class-cherry-team-shortcode.php:254
|
603 |
+
msgid "Show person social links"
|
604 |
+
msgstr ""
|
605 |
+
|
606 |
+
#: public/includes/class-cherry-team-shortcode.php:263
|
607 |
+
msgid "Show filter by groups before team listing"
|
608 |
+
msgstr ""
|
609 |
+
|
610 |
+
#: public/includes/class-cherry-team-shortcode.php:272
|
611 |
+
msgid "Listing item image size (if used in template)"
|
612 |
+
msgstr ""
|
613 |
+
|
614 |
+
#: public/includes/class-cherry-team-shortcode.php:279
|
615 |
+
msgid "Listing item template"
|
616 |
+
msgstr ""
|
617 |
+
|
618 |
+
#: public/includes/class-cherry-team-shortcode.php:286
|
619 |
+
msgid "Add space between team coumns"
|
620 |
+
msgstr ""
|
621 |
+
|
622 |
+
#: public/includes/class-cherry-team-shortcode.php:295
|
623 |
+
msgid "Add space between team rows"
|
624 |
+
msgstr ""
|
625 |
+
|
626 |
+
#: public/includes/class-cherry-team-shortcode.php:327
|
627 |
+
msgid "Showcase your team with Cherry Team Members plugin"
|
628 |
+
msgstr ""
|
629 |
+
|
630 |
+
#: public/includes/class-cherry-team-shortcode.php:333
|
631 |
+
msgid "Shortcode is used to display the team members list"
|
632 |
+
msgstr ""
|
633 |
+
|
634 |
+
#: public/includes/class-cherry-team-tools.php:105
|
635 |
+
msgid "Select page..."
|
636 |
+
msgstr ""
|
public/includes/class-cherry-team-init.php
CHANGED
@@ -57,6 +57,7 @@ class Cherry_Team_Members_Init {
|
|
57 |
$labels = array(
|
58 |
'name' => __( 'Team', 'cherry-team' ),
|
59 |
'singular_name' => __( 'Team', 'cherry-team' ),
|
|
|
60 |
'add_new' => __( 'Add New', 'cherry-team' ),
|
61 |
'add_new_item' => __( 'Add New Person', 'cherry-team' ),
|
62 |
'edit_item' => __( 'Edit Person', 'cherry-team' ),
|
@@ -84,7 +85,7 @@ class Cherry_Team_Members_Init {
|
|
84 |
'capability_type' => 'post',
|
85 |
'hierarchical' => false, // Hierarchical causes memory issues - WP loads all records!
|
86 |
'rewrite' => array(
|
87 |
-
'slug' =>
|
88 |
'with_front' => false,
|
89 |
'feeds' => true,
|
90 |
),
|
@@ -101,6 +102,79 @@ class Cherry_Team_Members_Init {
|
|
101 |
|
102 |
}
|
103 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
/**
|
105 |
* Register taxonomy for custom post type.
|
106 |
*
|
57 |
$labels = array(
|
58 |
'name' => __( 'Team', 'cherry-team' ),
|
59 |
'singular_name' => __( 'Team', 'cherry-team' ),
|
60 |
+
'archive_title' =>self::get_archive_title(),
|
61 |
'add_new' => __( 'Add New', 'cherry-team' ),
|
62 |
'add_new_item' => __( 'Add New Person', 'cherry-team' ),
|
63 |
'edit_item' => __( 'Edit Person', 'cherry-team' ),
|
85 |
'capability_type' => 'post',
|
86 |
'hierarchical' => false, // Hierarchical causes memory issues - WP loads all records!
|
87 |
'rewrite' => array(
|
88 |
+
'slug' => self::get_rewrite_slug(),
|
89 |
'with_front' => false,
|
90 |
'feeds' => true,
|
91 |
),
|
102 |
|
103 |
}
|
104 |
|
105 |
+
/**
|
106 |
+
* Returns archive page object if set in options.
|
107 |
+
*
|
108 |
+
* @return WP_Post|false
|
109 |
+
*/
|
110 |
+
public function get_archive_page_object() {
|
111 |
+
|
112 |
+
$archive_page = cherry_team_members()->get_option( 'archive-page' );
|
113 |
+
|
114 |
+
if ( ! $archive_page ) {
|
115 |
+
return false;
|
116 |
+
}
|
117 |
+
|
118 |
+
$page = wp_cache_get( 'cherry-team-archive-page' );
|
119 |
+
|
120 |
+
if ( is_object( $page ) ) {
|
121 |
+
return $page;
|
122 |
+
}
|
123 |
+
|
124 |
+
$page = get_post( $archive_page );
|
125 |
+
|
126 |
+
if ( $page && ! is_wp_error( $page ) ) {
|
127 |
+
wp_cache_add( 'cherry-team-archive-page', $page );
|
128 |
+
return $page;
|
129 |
+
} else {
|
130 |
+
return false;
|
131 |
+
}
|
132 |
+
|
133 |
+
}
|
134 |
+
|
135 |
+
/**
|
136 |
+
* Returns archive rewrite slug
|
137 |
+
*
|
138 |
+
* @return string
|
139 |
+
*/
|
140 |
+
public static function get_rewrite_slug() {
|
141 |
+
|
142 |
+
$default = 'team';
|
143 |
+
$page = self::get_archive_page_object();
|
144 |
+
|
145 |
+
if ( ! $page ) {
|
146 |
+
return $default;
|
147 |
+
}
|
148 |
+
|
149 |
+
if ( isset( $page->post_name ) ) {
|
150 |
+
return $page->post_name;
|
151 |
+
}
|
152 |
+
|
153 |
+
return $default;
|
154 |
+
}
|
155 |
+
|
156 |
+
/**
|
157 |
+
* Returns archive title
|
158 |
+
*
|
159 |
+
* @return string
|
160 |
+
*/
|
161 |
+
public static function get_archive_title() {
|
162 |
+
|
163 |
+
$default = esc_html__( 'Team', 'cherry-team' );
|
164 |
+
$page = self::get_archive_page_object();
|
165 |
+
|
166 |
+
if ( ! $page ) {
|
167 |
+
return $default;
|
168 |
+
}
|
169 |
+
|
170 |
+
if ( isset( $page->post_title ) ) {
|
171 |
+
return $page->post_title;
|
172 |
+
}
|
173 |
+
|
174 |
+
return $default;
|
175 |
+
|
176 |
+
}
|
177 |
+
|
178 |
/**
|
179 |
* Register taxonomy for custom post type.
|
180 |
*
|
public/includes/class-cherry-team-templater.php
CHANGED
@@ -47,9 +47,32 @@ class Cherry_Team_Members_Templater {
|
|
47 |
|
48 |
// Add a filter to the template include in order to determine if the page has our template assigned and return it's path.
|
49 |
add_filter( 'template_include', array( $this, 'view_template' ) );
|
|
|
50 |
|
51 |
}
|
52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
/**
|
54 |
* Checks if the template is assigned to the page.
|
55 |
*
|
@@ -59,12 +82,25 @@ class Cherry_Team_Members_Templater {
|
|
59 |
*/
|
60 |
public function view_template( $template ) {
|
61 |
|
62 |
-
$find
|
63 |
-
$file
|
64 |
|
65 |
$archive_page = cherry_team_members()->get_option( 'archive-page' );
|
66 |
$archive_page = apply_filters( 'wpml_object_id', $archive_page, 'page', true );
|
67 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
if ( is_single() && cherry_team_members_init()->name() === get_post_type() ) {
|
69 |
|
70 |
$file = 'single-team.php';
|
@@ -89,15 +125,16 @@ class Cherry_Team_Members_Templater {
|
|
89 |
|
90 |
} elseif ( is_post_type_archive( cherry_team_members_init()->name() ) ) {
|
91 |
|
92 |
-
$file =
|
93 |
$find[] = $file;
|
94 |
$find[] = cherry_team_members()->template_path() . $file;
|
95 |
|
96 |
} elseif ( $archive_page && is_page( $archive_page ) ) {
|
97 |
|
98 |
-
$file =
|
99 |
$find[] = $file;
|
100 |
$find[] = cherry_team_members()->template_path() . $file;
|
|
|
101 |
}
|
102 |
|
103 |
if ( $file ) {
|
47 |
|
48 |
// Add a filter to the template include in order to determine if the page has our template assigned and return it's path.
|
49 |
add_filter( 'template_include', array( $this, 'view_template' ) );
|
50 |
+
add_filter( 'request', array( $this, 'maybe_set_archive_page_vars' ) );
|
51 |
|
52 |
}
|
53 |
|
54 |
+
public function maybe_set_archive_page_vars( $query_vars ) {
|
55 |
+
|
56 |
+
if ( 1 !== count( $query_vars ) ) {
|
57 |
+
return $query_vars;
|
58 |
+
}
|
59 |
+
|
60 |
+
if ( empty( $query_vars['post_type'] ) || cherry_team_members_init()->name() !== $query_vars['post_type'] ) {
|
61 |
+
return $query_vars;
|
62 |
+
}
|
63 |
+
|
64 |
+
$page = Cherry_Team_Members_Init::get_archive_page_object();
|
65 |
+
|
66 |
+
if ( ! $page ) {
|
67 |
+
return $query_vars;
|
68 |
+
}
|
69 |
+
|
70 |
+
return array(
|
71 |
+
'page' => '',
|
72 |
+
'pagename' => $page->post_name,
|
73 |
+
);
|
74 |
+
}
|
75 |
+
|
76 |
/**
|
77 |
* Checks if the template is assigned to the page.
|
78 |
*
|
82 |
*/
|
83 |
public function view_template( $template ) {
|
84 |
|
85 |
+
$find = array();
|
86 |
+
$file = '';
|
87 |
|
88 |
$archive_page = cherry_team_members()->get_option( 'archive-page' );
|
89 |
$archive_page = apply_filters( 'wpml_object_id', $archive_page, 'page', true );
|
90 |
|
91 |
+
$archive_template = 'archive-team.php';
|
92 |
+
|
93 |
+
if ( $archive_page ) {
|
94 |
+
|
95 |
+
$archive_shows = cherry_team_members()->get_option( 'archive-page-shows' );
|
96 |
+
|
97 |
+
if ( 'content' === $archive_shows ) {
|
98 |
+
$archive_template = 'page.php';
|
99 |
+
}
|
100 |
+
}
|
101 |
+
|
102 |
+
|
103 |
+
|
104 |
if ( is_single() && cherry_team_members_init()->name() === get_post_type() ) {
|
105 |
|
106 |
$file = 'single-team.php';
|
125 |
|
126 |
} elseif ( is_post_type_archive( cherry_team_members_init()->name() ) ) {
|
127 |
|
128 |
+
$file = $archive_template;
|
129 |
$find[] = $file;
|
130 |
$find[] = cherry_team_members()->template_path() . $file;
|
131 |
|
132 |
} elseif ( $archive_page && is_page( $archive_page ) ) {
|
133 |
|
134 |
+
$file = $archive_template;
|
135 |
$find[] = $file;
|
136 |
$find[] = cherry_team_members()->template_path() . $file;
|
137 |
+
|
138 |
}
|
139 |
|
140 |
if ( $file ) {
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
Contributors: TemplateMonster 2002
|
4 |
Tags: custom post type, team, cherry-framework
|
5 |
Requires at least: 4.5
|
6 |
-
Tested up to: 4.7.
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -79,6 +79,11 @@ Standard templates can be rewritten in the theme. For that you need to create ch
|
|
79 |
|
80 |
== Changelog ==
|
81 |
|
|
|
|
|
|
|
|
|
|
|
82 |
= 1.1.0 =
|
83 |
|
84 |
* ADD: Insert shortcode button in editor
|
3 |
Contributors: TemplateMonster 2002
|
4 |
Tags: custom post type, team, cherry-framework
|
5 |
Requires at least: 4.5
|
6 |
+
Tested up to: 4.7.4
|
7 |
+
Stable tag: 1.2.0
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
79 |
|
80 |
== Changelog ==
|
81 |
|
82 |
+
= 1.2.0 =
|
83 |
+
|
84 |
+
* ADD: New option 'Arcive page shows'
|
85 |
+
* UPD: Plugin rewrite URL logic
|
86 |
+
|
87 |
= 1.1.0 =
|
88 |
|
89 |
* ADD: Insert shortcode button in editor
|