Cherry Team Members - Version 1.2.0

Version Description

  • ADD: New option 'Arcive page shows'
  • UPD: Plugin rewrite URL logic
Download this release

Release Info

Developer TemplateMonster 2002
Plugin Icon 128x128 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 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.1.0
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.1.0';
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-03-02 16:52+0200\n"
6
- "PO-Revision-Date: 2017-03-02 16:52+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:106
107
- msgid "Select team archive page"
108
- msgstr ""
109
-
110
- #: admin/includes/class-cherry-team-options-page.php:115
111
- msgid "Set posts number per archive page"
112
- msgstr ""
113
-
114
- #: admin/includes/class-cherry-team-options-page.php:123
115
- msgid "Select archive page columns number"
116
- msgstr ""
117
-
118
- #: admin/includes/class-cherry-team-options-page.php:131
119
- msgid "Select template for single team member page"
120
- msgstr ""
121
-
122
- #: admin/includes/class-cherry-team-options-page.php:140
123
- msgid "Select image size for single team member page"
124
- msgstr ""
125
-
126
- #: admin/includes/class-cherry-team-options-page.php:149
127
- msgid "Select template for team listing page"
128
- msgstr ""
129
-
130
- #: admin/includes/class-cherry-team-options-page.php:158
131
- msgid "Select image size for listing team member page"
132
- msgstr ""
133
-
134
- #: admin/includes/class-cherry-team-options-page.php:231
135
- msgid "Cherry Team Options"
136
- msgstr ""
137
-
138
- #: admin/includes/class-cherry-team-options-page.php:232
139
- msgid "Settings"
140
- msgstr ""
141
-
142
- #: admin/includes/class-cherry-team-options-page.php:272
143
- msgid "Save"
144
- msgstr ""
145
-
146
- #: admin/includes/class-cherry-team-options-page.php:273
147
- msgid "Define as default"
148
- msgstr ""
149
-
150
- #: admin/includes/class-cherry-team-options-page.php:274
151
- msgid "Restore"
152
- msgstr ""
153
-
154
- #: admin/includes/class-cherry-team-options-page.php:389
155
- msgid "Options have been saved"
156
- msgstr ""
157
-
158
- #: admin/includes/class-cherry-team-options-page.php:397
159
- msgid "Options have been saved as default"
160
- msgstr ""
161
-
162
- #: admin/includes/class-cherry-team-options-page.php:407
163
- msgid "Options have been restored"
164
- msgstr ""
165
-
166
- #: admin/includes/class-cherry-team-options-page.php:467
167
- msgid "Please wait, processing the previous request"
168
- msgstr ""
169
-
170
- #: admin/views/options-page.php:49
171
- msgid "Text before main title"
172
- msgstr ""
173
-
174
- #: admin/views/options-page.php:50
175
- msgid "Main title"
176
- msgstr ""
177
-
178
- #: admin/views/options-page.php:51
179
- msgid "Text after main title"
180
- msgstr ""
181
-
182
- #: admin/views/options-page.php:52
183
- msgid "Columns number"
184
- msgstr ""
185
-
186
- #: admin/views/options-page.php:53
187
- msgid "Tablets columns number"
188
- msgstr ""
189
-
190
- #: admin/views/options-page.php:54
191
- msgid "Phones columns number"
192
- msgstr ""
193
-
194
- #: admin/views/options-page.php:55
195
- msgid "Posts number to show"
196
- msgstr ""
197
-
198
- #: admin/views/options-page.php:56
199
- msgid ""
200
- "Select posts from group (use goup slug, pass multiplie groups via comma)"
201
- msgstr ""
202
-
203
- #: admin/views/options-page.php:57
204
- msgid "Words number in excerpt"
205
- msgstr ""
206
-
207
- #: admin/views/options-page.php:58
208
- #: public/includes/class-cherry-team-shortcode.php:174
209
- msgid "Show more button"
210
- msgstr ""
211
-
212
- #: admin/views/options-page.php:59
213
- #: public/includes/class-cherry-team-shortcode.php:185
214
- #: public/includes/class-cherry-team-shortcode.php:191
215
- msgid "More button text"
216
- msgstr ""
217
-
218
- #: admin/views/options-page.php:60
219
- msgid "More button URL"
220
- msgstr ""
221
-
222
- #: admin/views/options-page.php:61
223
- msgid "Use more as AJAX load more button"
224
- msgstr ""
225
-
226
- #: admin/views/options-page.php:62
227
- msgid "Show pagination"
228
- msgstr ""
229
-
230
- #: admin/views/options-page.php:63
231
- #: public/includes/class-cherry-team-shortcode.php:218
232
- msgid "Show person name"
233
- msgstr ""
234
-
235
- #: admin/views/options-page.php:64
236
- #: public/includes/class-cherry-team-shortcode.php:227
237
- msgid "Show person photo"
238
- msgstr ""
239
-
240
- #: admin/views/options-page.php:65
241
- msgid "Show person description"
242
- msgstr ""
243
-
244
- #: admin/views/options-page.php:66
245
- #: public/includes/class-cherry-team-shortcode.php:245
246
- msgid "Show person position"
247
- msgstr ""
248
-
249
- #: admin/views/options-page.php:67
250
- msgid "Show person social profiles links"
251
- msgstr ""
252
-
253
- #: admin/views/options-page.php:68
254
- msgid "Show filters by groups before listing"
255
- msgstr ""
256
-
257
- #: admin/views/options-page.php:69
258
- msgid "Person photo size"
259
- msgstr ""
260
-
261
- #: admin/views/options-page.php:70
262
- msgid "Template name to use (default or grid-boxes)"
263
- msgstr ""
264
-
265
- #: admin/views/options-page.php:71
266
- msgid "Use space between columns"
267
- msgstr ""
268
-
269
- #: admin/views/options-page.php:72
270
- msgid "Use space between rows"
271
- msgstr ""
272
-
273
- #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:346
274
- msgid "Home"
275
- msgstr ""
276
-
277
- #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:352
278
- msgid "Browse:"
279
- msgstr ""
280
-
281
- #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:354
282
- msgid "404 Not Found"
283
- msgstr ""
284
-
285
- #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:355
286
- msgid "Archives"
287
- msgstr ""
288
-
289
- #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:356
290
- #, php-format
291
- msgid "Search results for &#8220;%s&#8221;"
292
- msgstr ""
293
-
294
- #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:357
295
- #, php-format
296
- msgid "Page %s"
297
- msgstr ""
298
-
299
- #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:358
300
- #, php-format
301
- msgid "Minute %s"
302
- msgstr ""
303
-
304
- #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:359
305
- #, php-format
306
- msgid "Week %s"
307
- msgstr ""
308
-
309
- #: cherry-framework/modules/cherry-customizer/cherry-customizer.php:269
310
- msgid "Untitled Panel"
311
- msgstr ""
312
-
313
- #: cherry-framework/modules/cherry-customizer/cherry-customizer.php:305
314
- msgid "Untitled Section"
315
- msgstr ""
316
-
317
- #: cherry-framework/modules/cherry-customizer/cherry-customizer.php:339
318
- msgid "Untitled Control"
319
- msgstr ""
320
-
321
- #: cherry-framework/modules/cherry-db-updater/cherry-db-updater.php:105
322
- #, php-format
323
- msgid ""
324
- "Module DB Updater init error in %s - version and slug is required arguments"
325
- msgstr ""
326
-
327
- #: cherry-framework/modules/cherry-db-updater/cherry-db-updater.php:106
328
- msgid "We need to update your database to the latest version."
329
- msgstr ""
330
-
331
- #: cherry-framework/modules/cherry-db-updater/cherry-db-updater.php:107
332
- msgid "Update complete, thank you for updating to the latest version!"
333
- msgstr ""
334
-
335
- #: cherry-framework/modules/cherry-db-updater/cherry-db-updater.php:331
336
- msgid "Start Update"
337
- msgstr ""
338
-
339
- #: cherry-framework/modules/cherry-db-updater/cherry-db-updater.php:368
340
- msgid "Data Update"
341
- msgstr ""
342
-
343
- #: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-button.php:63
344
- msgid "Cherry shortcodes"
345
- msgstr ""
346
-
347
- #: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:128
348
- msgid "insert shortcode"
349
- msgstr ""
350
-
351
- #: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:148
352
- msgid "Shortcode List"
353
- msgstr ""
354
-
355
- #: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:206
356
- msgid "Shortcode not found."
357
- msgstr ""
358
-
359
- #: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:285
360
- msgid "Shortcode content."
361
- msgstr ""
362
-
363
- #: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:286
364
- msgid "Input shortcode content."
365
- msgstr ""
366
-
367
- #: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:301
368
- msgid "Shortcode not a have options."
369
- msgstr ""
370
-
371
- #: public/includes/class-cherry-team-data.php:81
372
- #: public/includes/class-cherry-team-data.php:414
373
- #: public/includes/class-cherry-team-shortcode.php:186
374
- #: public/includes/class-cherry-team-shortcode.php:377
375
- msgid "More"
376
- msgstr ""
377
-
378
- #: public/includes/class-cherry-team-data.php:721
379
- msgid "All"
380
- msgstr ""
381
-
382
- #: public/includes/class-cherry-team-init.php:58
383
- #: public/includes/class-cherry-team-init.php:59
384
- #: public/includes/class-cherry-team-shortcode.php:326
385
- #: public/includes/class-cherry-team-shortcode.php:332
386
- msgid "Team"
387
- msgstr ""
388
-
389
- #: public/includes/class-cherry-team-init.php:60
390
- msgid "Add New"
391
- msgstr ""
392
-
393
- #: public/includes/class-cherry-team-init.php:61
394
- msgid "Add New Person"
395
- msgstr ""
396
-
397
- #: public/includes/class-cherry-team-init.php:62
398
- msgid "Edit Person"
399
- msgstr ""
400
-
401
- #: public/includes/class-cherry-team-init.php:63
402
- msgid "New Person"
403
- msgstr ""
404
-
405
- #: public/includes/class-cherry-team-init.php:64
406
- msgid "View Person"
407
- msgstr ""
408
-
409
- #: public/includes/class-cherry-team-init.php:65
410
- msgid "Search Persons"
411
- msgstr ""
412
-
413
- #: public/includes/class-cherry-team-init.php:66
414
- msgid "No persons found"
415
- msgstr ""
416
-
417
- #: public/includes/class-cherry-team-init.php:67
418
- msgid "No persons found in trash"
419
- msgstr ""
420
-
421
- #: public/includes/class-cherry-team-init.php:114
422
- msgid "Team Groups"
423
- msgstr ""
424
-
425
- #: public/includes/class-cherry-team-init.php:115
426
- #: public/includes/class-cherry-team-init.php:121
427
- msgid "Edit Group"
428
- msgstr ""
429
-
430
- #: public/includes/class-cherry-team-init.php:116
431
- msgid "Search Groups"
432
- msgstr ""
433
-
434
- #: public/includes/class-cherry-team-init.php:117
435
- msgid "Popular Groups"
436
- msgstr ""
437
-
438
- #: public/includes/class-cherry-team-init.php:118
439
- msgid "All Groups"
440
- msgstr ""
441
-
442
- #: public/includes/class-cherry-team-init.php:122
443
- msgid "Update Group"
444
- msgstr ""
445
-
446
- #: public/includes/class-cherry-team-init.php:123
447
- msgid "Add New Group"
448
- msgstr ""
449
-
450
- #: public/includes/class-cherry-team-init.php:124
451
- msgid "New Group Name"
452
- msgstr ""
453
-
454
- #: public/includes/class-cherry-team-init.php:125
455
- msgid "Separate groups with commas"
456
- msgstr ""
457
-
458
- #: public/includes/class-cherry-team-init.php:126
459
- msgid "Add or remove groups"
460
- msgstr ""
461
-
462
- #: public/includes/class-cherry-team-init.php:127
463
- msgid "Choose from the most used groups"
464
- msgstr ""
465
-
466
- #: public/includes/class-cherry-team-init.php:128
467
- msgid "No groups found."
468
- msgstr ""
469
-
470
- #: public/includes/class-cherry-team-init.php:129
471
- msgid "Groups"
472
- msgstr ""
473
-
474
- #: public/includes/class-cherry-team-shortcode.php:105
475
- msgid "Super title"
476
- msgstr ""
477
-
478
- #: public/includes/class-cherry-team-shortcode.php:110
479
- msgid "Title"
480
- msgstr ""
481
-
482
- #: public/includes/class-cherry-team-shortcode.php:115
483
- msgid "Subtitle"
484
- msgstr ""
485
-
486
- #: public/includes/class-cherry-team-shortcode.php:120
487
- msgid "Desktop columns"
488
- msgstr ""
489
-
490
- #: public/includes/class-cherry-team-shortcode.php:126
491
- msgid "Laptop columns"
492
- msgstr ""
493
-
494
- #: public/includes/class-cherry-team-shortcode.php:132
495
- msgid "Tablet columns"
496
- msgstr ""
497
-
498
- #: public/includes/class-cherry-team-shortcode.php:138
499
- msgid "Phone columns"
500
- msgstr ""
501
-
502
- #: public/includes/class-cherry-team-shortcode.php:144
503
- msgid "Posts per page"
504
- msgstr ""
505
-
506
- #: public/includes/class-cherry-team-shortcode.php:145
507
- msgid ""
508
- "Select how many posts per page do you want to display(-1 means that will "
509
- "show all team)"
510
- msgstr ""
511
-
512
- #: public/includes/class-cherry-team-shortcode.php:152
513
- msgid "Show team members from groups"
514
- msgstr ""
515
-
516
- #: public/includes/class-cherry-team-shortcode.php:161
517
- msgid "Show persons by ID"
518
- msgstr ""
519
-
520
- #: public/includes/class-cherry-team-shortcode.php:166
521
- msgid "Description length"
522
- msgstr ""
523
-
524
- #: public/includes/class-cherry-team-shortcode.php:167
525
- msgid "Select how many words show in desciption"
526
- msgstr ""
527
-
528
- #: public/includes/class-cherry-team-shortcode.php:175
529
- msgid "Show/hide more button"
530
- msgstr ""
531
-
532
- #: public/includes/class-cherry-team-shortcode.php:178
533
- #: public/includes/class-cherry-team-shortcode.php:201
534
- #: public/includes/class-cherry-team-shortcode.php:212
535
- #: public/includes/class-cherry-team-shortcode.php:221
536
- #: public/includes/class-cherry-team-shortcode.php:230
537
- #: public/includes/class-cherry-team-shortcode.php:239
538
- #: public/includes/class-cherry-team-shortcode.php:248
539
- #: public/includes/class-cherry-team-shortcode.php:257
540
- #: public/includes/class-cherry-team-shortcode.php:266
541
- #: public/includes/class-cherry-team-shortcode.php:289
542
- #: public/includes/class-cherry-team-shortcode.php:298
543
- msgid "Yes"
544
- msgstr ""
545
-
546
- #: public/includes/class-cherry-team-shortcode.php:179
547
- #: public/includes/class-cherry-team-shortcode.php:202
548
- #: public/includes/class-cherry-team-shortcode.php:213
549
- #: public/includes/class-cherry-team-shortcode.php:222
550
- #: public/includes/class-cherry-team-shortcode.php:231
551
- #: public/includes/class-cherry-team-shortcode.php:240
552
- #: public/includes/class-cherry-team-shortcode.php:249
553
- #: public/includes/class-cherry-team-shortcode.php:258
554
- #: public/includes/class-cherry-team-shortcode.php:267
555
- #: public/includes/class-cherry-team-shortcode.php:290
556
- #: public/includes/class-cherry-team-shortcode.php:299
557
- msgid "No"
558
- msgstr ""
559
-
560
- #: public/includes/class-cherry-team-shortcode.php:197
561
- msgid "AJAX load more"
562
- msgstr ""
563
-
564
- #: public/includes/class-cherry-team-shortcode.php:198
565
- msgid "Enable AJAX load more event on more button"
566
- msgstr ""
567
-
568
- #: public/includes/class-cherry-team-shortcode.php:208
569
- msgid "Pagination"
570
- msgstr ""
571
-
572
- #: public/includes/class-cherry-team-shortcode.php:209
573
- msgid "Enable paging navigation"
574
- msgstr ""
575
-
576
- #: public/includes/class-cherry-team-shortcode.php:236
577
- msgid "Show person bio"
578
- msgstr ""
579
-
580
- #: public/includes/class-cherry-team-shortcode.php:254
581
- msgid "Show person social links"
582
- msgstr ""
583
-
584
- #: public/includes/class-cherry-team-shortcode.php:263
585
- msgid "Show filter by groups before team listing"
586
- msgstr ""
587
-
588
- #: public/includes/class-cherry-team-shortcode.php:272
589
- msgid "Listing item image size (if used in template)"
590
- msgstr ""
591
-
592
- #: public/includes/class-cherry-team-shortcode.php:279
593
- msgid "Listing item template"
594
- msgstr ""
595
-
596
- #: public/includes/class-cherry-team-shortcode.php:286
597
- msgid "Add space between team coumns"
598
- msgstr ""
599
-
600
- #: public/includes/class-cherry-team-shortcode.php:295
601
- msgid "Add space between team rows"
602
- msgstr ""
603
-
604
- #: public/includes/class-cherry-team-shortcode.php:327
605
- msgid "Showcase your team with Cherry Team Members plugin"
606
- msgstr ""
607
-
608
- #: public/includes/class-cherry-team-shortcode.php:333
609
- msgid "Shortcode is used to display the team members list"
610
- msgstr ""
611
-
612
- #: public/includes/class-cherry-team-tools.php:105
613
- msgid "Select page..."
614
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 &#8220;%s&#8221;"
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' => 'team',
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 = array();
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 = 'archive-team.php';
93
  $find[] = $file;
94
  $find[] = cherry_team_members()->template_path() . $file;
95
 
96
  } elseif ( $archive_page && is_page( $archive_page ) ) {
97
 
98
- $file = 'archive-team.php';
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.3
7
- Stable tag: 1.1.0
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