Cherry Services List - Version 1.2.0

Version Description

  • ADD: New option - 'Archive page shows'
  • UPD: Rewrite URLs logic
Download this release

Release Info

Developer TemplateMonster 2002
Plugin Icon 128x128 Cherry Services List
Version 1.2.0
Comparing to
See all releases

Code changes from version 1.1.0 to 1.2.0

admin/includes/class-cherry-services-options-page.php CHANGED
@@ -74,16 +74,38 @@ class Cherry_Services_Options_Page extends Cherry_Services_List {
74
  return;
75
  }
76
 
 
 
 
 
 
 
 
 
 
 
 
77
  $this->options = array(
78
  'archive-page' => array(
79
  'type' => 'select',
80
  'title' => esc_html__( 'Select Services archive page', 'cherry-services' ),
81
  'label' => '',
82
- 'description' => '',
83
  'value' => array(),
84
  'options' => false,
85
  'options_callback' => array( cherry_services_tools(), 'get_pages' ),
86
  ),
 
 
 
 
 
 
 
 
 
 
 
87
  'posts-per-page' => array(
88
  'type' => 'stepper',
89
  'title' => esc_html__( 'Set posts number per archive page', 'cherry-services' ),
74
  return;
75
  }
76
 
77
+ $permalinks_page = sprintf(
78
+ '<a href="%s" target="_blank">%s</a>',
79
+ esc_url( admin_url( 'options-permalink.php' ) ),
80
+ esc_html__( 'the permalink structure', 'cherry-services' )
81
+ );
82
+
83
+ $pemalinks_notice = sprintf(
84
+ esc_html__( 'Please save %s every time you change this option', 'cherry-services' ),
85
+ $permalinks_page
86
+ );
87
+
88
  $this->options = array(
89
  'archive-page' => array(
90
  'type' => 'select',
91
  'title' => esc_html__( 'Select Services archive page', 'cherry-services' ),
92
  'label' => '',
93
+ 'description' => $pemalinks_notice,
94
  'value' => array(),
95
  'options' => false,
96
  'options_callback' => array( cherry_services_tools(), 'get_pages' ),
97
  ),
98
+ 'archive-page-shows' => array(
99
+ 'type' => 'select',
100
+ 'title' => esc_html__( 'Archive page shows', 'cherry-team' ),
101
+ 'label' => '',
102
+ 'description' => '',
103
+ 'value' => $this->default_options['archive-page-shows'],
104
+ 'options' => array(
105
+ 'posts' => esc_html__( 'Default posts listing', 'cherry-services' ),
106
+ 'content' => esc_html__( 'Selected archive page content', 'cherry-services' ),
107
+ ),
108
+ ),
109
  'posts-per-page' => array(
110
  'type' => 'stepper',
111
  'title' => esc_html__( 'Set posts number per archive page', 'cherry-services' ),
cherry-services-list.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Cherry Services List
4
  * Plugin URI: http://www.cherryframework.com/plugins/
5
  * Description: Cherry Services is a flexible WordPress plugin that lets you display your company’s services in a variety of ways.
6
- * Version: 1.1.0
7
  * Author: TemplateMonster
8
  * Author URI: http://cherryframework.com/
9
  * Text Domain: cherry-services
@@ -92,7 +92,7 @@ if ( ! class_exists( 'Cherry_Services_List' ) ) {
92
  * @access private
93
  * @var string
94
  */
95
- private $version = '1.1.0';
96
 
97
  /**
98
  * Plugin CPT name
@@ -128,6 +128,7 @@ if ( ! class_exists( 'Cherry_Services_List' ) ) {
128
  */
129
  public $default_options = array(
130
  'archive-page' => '',
 
131
  'posts-per-page' => 9,
132
  'archive-columns' => 3,
133
  'single-template' => 'single',
3
  * Plugin Name: Cherry Services List
4
  * Plugin URI: http://www.cherryframework.com/plugins/
5
  * Description: Cherry Services is a flexible WordPress plugin that lets you display your company’s services in a variety of ways.
6
+ * Version: 1.2.0
7
  * Author: TemplateMonster
8
  * Author URI: http://cherryframework.com/
9
  * Text Domain: cherry-services
92
  * @access private
93
  * @var string
94
  */
95
+ private $version = '1.2.0';
96
 
97
  /**
98
  * Plugin CPT name
128
  */
129
  public $default_options = array(
130
  'archive-page' => '',
131
+ 'archive-page-shows' => 'posts',
132
  'posts-per-page' => 9,
133
  'archive-columns' => 3,
134
  'single-template' => 'single',
languages/cherry-services.mo CHANGED
Binary file
languages/cherry-services.pot CHANGED
@@ -1,833 +1,855 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: blank\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2017-03-21 17:51+0200\n"
6
- "PO-Revision-Date: 2017-03-21 17: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-services-meta.php:75
22
- msgid "Clone"
23
- msgstr ""
24
-
25
- #: admin/includes/class-cherry-services-meta.php:76
26
- msgid "Clone this post"
27
- msgstr ""
28
-
29
- #: admin/includes/class-cherry-services-meta.php:88
30
- msgid "You don't have permissions to do this"
31
- msgstr ""
32
-
33
- #: admin/includes/class-cherry-services-meta.php:92
34
- msgid "Not allowed function call!"
35
- msgstr ""
36
-
37
- #: admin/includes/class-cherry-services-meta.php:96
38
- msgid "No post to duplicate has been supplied!"
39
- msgstr ""
40
-
41
- #: admin/includes/class-cherry-services-meta.php:108
42
- #, php-format
43
- msgid "Post creation failed, could not find original post: %s"
44
- msgstr ""
45
-
46
- #: admin/includes/class-cherry-services-meta.php:194
47
- msgid ""
48
- "Testimonials management are not available. Please, install Cherry Testi "
49
- "plugin"
50
- msgstr ""
51
-
52
- #: admin/includes/class-cherry-services-meta.php:210
53
- msgid "Service Options"
54
- msgstr ""
55
-
56
- #: admin/includes/class-cherry-services-meta.php:224
57
- msgid "General"
58
- msgstr ""
59
-
60
- #: admin/includes/class-cherry-services-meta.php:230
61
- #: admin/includes/class-cherry-services-meta.php:284
62
- msgid "Features"
63
- msgstr ""
64
-
65
- #: admin/includes/class-cherry-services-meta.php:236
66
- msgid "Call To Action"
67
- msgstr ""
68
-
69
- #: admin/includes/class-cherry-services-meta.php:242
70
- msgid "Styling"
71
- msgstr ""
72
-
73
- #: admin/includes/class-cherry-services-meta.php:248
74
- msgid "Service Icon"
75
- msgstr ""
76
-
77
- #: admin/includes/class-cherry-services-meta.php:262
78
- #: admin/includes/class-cherry-services-meta.php:263
79
- #: admin/includes/class-cherry-services-meta.php:544
80
- msgid "Slogan"
81
- msgstr ""
82
-
83
- #: admin/includes/class-cherry-services-meta.php:269
84
- #: admin/includes/class-cherry-services-meta.php:270
85
- msgid "Short Description"
86
- msgstr ""
87
-
88
- #: admin/includes/class-cherry-services-meta.php:277
89
- #: admin/includes/class-cherry-services-meta.php:278
90
- msgid "Features Title"
91
- msgstr ""
92
-
93
- #: admin/includes/class-cherry-services-meta.php:285
94
- msgid "Add New Feature"
95
- msgstr ""
96
-
97
- #: admin/includes/class-cherry-services-meta.php:292
98
- #: admin/includes/class-cherry-services-meta.php:293
99
- msgid "Feature Label"
100
- msgstr ""
101
-
102
- #: admin/includes/class-cherry-services-meta.php:300
103
- #: admin/includes/class-cherry-services-meta.php:301
104
- msgid "Feature Value"
105
- msgstr ""
106
-
107
- #: admin/includes/class-cherry-services-meta.php:312
108
- msgid "Enable CTA block"
109
- msgstr ""
110
-
111
- #: admin/includes/class-cherry-services-meta.php:319
112
- #: admin/includes/class-cherry-services-meta.php:320
113
- #: admin/includes/class-cherry-services-meta.php:574
114
- #: public/includes/class-cherry-services-list-shortcode.php:109
115
- msgid "Title"
116
- msgstr ""
117
-
118
- #: admin/includes/class-cherry-services-meta.php:326
119
- #: admin/includes/class-cherry-services-meta.php:327
120
- msgid "Description"
121
- msgstr ""
122
-
123
- #: admin/includes/class-cherry-services-meta.php:333
124
- msgid "Call to Action Type"
125
- msgstr ""
126
-
127
- #: admin/includes/class-cherry-services-meta.php:337
128
- msgid "Contact Form"
129
- msgstr ""
130
-
131
- #: admin/includes/class-cherry-services-meta.php:341
132
- msgid "Link"
133
- msgstr ""
134
-
135
- #: admin/includes/class-cherry-services-meta.php:350
136
- msgid "Form Fields"
137
- msgstr ""
138
-
139
- #: admin/includes/class-cherry-services-meta.php:351
140
- msgid "Add New Field"
141
- msgstr ""
142
-
143
- #: admin/includes/class-cherry-services-meta.php:359
144
- msgid "Field Type"
145
- msgstr ""
146
-
147
- #: admin/includes/class-cherry-services-meta.php:360
148
- msgid "Type"
149
- msgstr ""
150
-
151
- #: admin/includes/class-cherry-services-meta.php:362
152
- msgid "Text"
153
- msgstr ""
154
-
155
- #: admin/includes/class-cherry-services-meta.php:363
156
- msgid "Email"
157
- msgstr ""
158
-
159
- #: admin/includes/class-cherry-services-meta.php:364
160
- msgid "Textarea"
161
- msgstr ""
162
-
163
- #: admin/includes/class-cherry-services-meta.php:372
164
- msgid "Field Label"
165
- msgstr ""
166
-
167
- #: admin/includes/class-cherry-services-meta.php:373
168
- #: public/includes/class-cherry-services-list-template-callbacks.php:301
169
- msgid "Label"
170
- msgstr ""
171
-
172
- #: admin/includes/class-cherry-services-meta.php:380
173
- msgid "Field Name"
174
- msgstr ""
175
-
176
- #: admin/includes/class-cherry-services-meta.php:381
177
- msgid "Name(Should be unique)"
178
- msgstr ""
179
-
180
- #: admin/includes/class-cherry-services-meta.php:388
181
- msgid "Field Width"
182
- msgstr ""
183
-
184
- #: admin/includes/class-cherry-services-meta.php:390
185
- #: admin/includes/class-cherry-services-meta.php:453
186
- msgid "Fullwidth"
187
- msgstr ""
188
-
189
- #: admin/includes/class-cherry-services-meta.php:391
190
- msgid "1/3"
191
- msgstr ""
192
-
193
- #: admin/includes/class-cherry-services-meta.php:392
194
- msgid "1/2"
195
- msgstr ""
196
-
197
- #: admin/includes/class-cherry-services-meta.php:393
198
- msgid "2/3"
199
- msgstr ""
200
-
201
- #: admin/includes/class-cherry-services-meta.php:401
202
- msgid "Is Required Field?"
203
- msgstr ""
204
-
205
- #: admin/includes/class-cherry-services-meta.php:403
206
- #: admin/includes/class-cherry-services-meta.php:616
207
- #: admin/includes/class-cherry-services-meta.php:649
208
- #: admin/includes/class-cherry-services-meta.php:660
209
- #: admin/includes/class-cherry-services-meta.php:671
210
- #: public/includes/class-cherry-services-list-shortcode.php:177
211
- #: public/includes/class-cherry-services-list-shortcode.php:200
212
- #: public/includes/class-cherry-services-list-shortcode.php:211
213
- #: public/includes/class-cherry-services-list-shortcode.php:220
214
- #: public/includes/class-cherry-services-list-shortcode.php:229
215
- #: public/includes/class-cherry-services-list-shortcode.php:238
216
- #: public/includes/class-cherry-services-list-shortcode.php:247
217
- #: public/includes/class-cherry-services-list-shortcode.php:270
218
- #: public/includes/class-cherry-services-list-shortcode.php:279
219
- msgid "Yes"
220
- msgstr ""
221
-
222
- #: admin/includes/class-cherry-services-meta.php:404
223
- #: admin/includes/class-cherry-services-meta.php:617
224
- #: admin/includes/class-cherry-services-meta.php:650
225
- #: admin/includes/class-cherry-services-meta.php:661
226
- #: admin/includes/class-cherry-services-meta.php:672
227
- #: public/includes/class-cherry-services-list-shortcode.php:178
228
- #: public/includes/class-cherry-services-list-shortcode.php:201
229
- #: public/includes/class-cherry-services-list-shortcode.php:212
230
- #: public/includes/class-cherry-services-list-shortcode.php:221
231
- #: public/includes/class-cherry-services-list-shortcode.php:230
232
- #: public/includes/class-cherry-services-list-shortcode.php:239
233
- #: public/includes/class-cherry-services-list-shortcode.php:248
234
- #: public/includes/class-cherry-services-list-shortcode.php:271
235
- #: public/includes/class-cherry-services-list-shortcode.php:280
236
- msgid "No"
237
- msgstr ""
238
-
239
- #: admin/includes/class-cherry-services-meta.php:416
240
- #: admin/includes/class-cherry-services-meta.php:417
241
- msgid "Form Submit Button Text"
242
- msgstr ""
243
-
244
- #: admin/includes/class-cherry-services-meta.php:424
245
- msgid "Thanks for your request"
246
- msgstr ""
247
-
248
- #: admin/includes/class-cherry-services-meta.php:426
249
- msgid "Success Message"
250
- msgstr ""
251
-
252
- #: admin/includes/class-cherry-services-meta.php:434
253
- msgid "Button Text"
254
- msgstr ""
255
-
256
- #: admin/includes/class-cherry-services-meta.php:435
257
- msgid "CTA Button Text"
258
- msgstr ""
259
-
260
- #: admin/includes/class-cherry-services-meta.php:443
261
- msgid "Button URL"
262
- msgstr ""
263
-
264
- #: admin/includes/class-cherry-services-meta.php:444
265
- msgid "CTA Button URL"
266
- msgstr ""
267
-
268
- #: admin/includes/class-cherry-services-meta.php:454
269
- msgid "Boxed"
270
- msgstr ""
271
-
272
- #: admin/includes/class-cherry-services-meta.php:456
273
- msgid "Single page content"
274
- msgstr ""
275
-
276
- #: admin/includes/class-cherry-services-meta.php:465
277
- msgid "Add Image"
278
- msgstr ""
279
-
280
- #: admin/includes/class-cherry-services-meta.php:466
281
- msgid "Call to action background image"
282
- msgstr ""
283
-
284
- #: admin/includes/class-cherry-services-meta.php:473
285
- msgid "Call to action background color"
286
- msgstr ""
287
-
288
- #: admin/includes/class-cherry-services-meta.php:482
289
- msgid "Left Top"
290
- msgstr ""
291
-
292
- #: admin/includes/class-cherry-services-meta.php:483
293
- msgid "Center Top"
294
- msgstr ""
295
-
296
- #: admin/includes/class-cherry-services-meta.php:484
297
- msgid "Right Top"
298
- msgstr ""
299
-
300
- #: admin/includes/class-cherry-services-meta.php:485
301
- msgid "Left Center"
302
- msgstr ""
303
-
304
- #: admin/includes/class-cherry-services-meta.php:486
305
- msgid "Center Center"
306
- msgstr ""
307
-
308
- #: admin/includes/class-cherry-services-meta.php:487
309
- msgid "Right Center"
310
- msgstr ""
311
-
312
- #: admin/includes/class-cherry-services-meta.php:488
313
- msgid "Left Bottom"
314
- msgstr ""
315
-
316
- #: admin/includes/class-cherry-services-meta.php:489
317
- msgid "Center Bottom"
318
- msgstr ""
319
-
320
- #: admin/includes/class-cherry-services-meta.php:490
321
- msgid "Right Bottom"
322
- msgstr ""
323
-
324
- #: admin/includes/class-cherry-services-meta.php:492
325
- msgid "Call to action background position"
326
- msgstr ""
327
-
328
- #: admin/includes/class-cherry-services-meta.php:501
329
- msgid "Repeat"
330
- msgstr ""
331
-
332
- #: admin/includes/class-cherry-services-meta.php:502
333
- msgid "Repeat X"
334
- msgstr ""
335
-
336
- #: admin/includes/class-cherry-services-meta.php:503
337
- msgid "Repeat Y"
338
- msgstr ""
339
-
340
- #: admin/includes/class-cherry-services-meta.php:504
341
- msgid "No Repeat"
342
- msgstr ""
343
-
344
- #: admin/includes/class-cherry-services-meta.php:506
345
- msgid "Call to action background repeat"
346
- msgstr ""
347
-
348
- #: admin/includes/class-cherry-services-meta.php:515
349
- msgid "Auto"
350
- msgstr ""
351
-
352
- #: admin/includes/class-cherry-services-meta.php:516
353
- msgid "Cover"
354
- msgstr ""
355
-
356
- #: admin/includes/class-cherry-services-meta.php:517
357
- msgid "Contain"
358
- msgstr ""
359
-
360
- #: admin/includes/class-cherry-services-meta.php:519
361
- msgid "Call to action background image size"
362
- msgstr ""
363
-
364
- #: admin/includes/class-cherry-services-meta.php:526
365
- msgid "Call to action text color"
366
- msgstr ""
367
-
368
- #: admin/includes/class-cherry-services-meta.php:533
369
- msgid "Call to action title color"
370
- msgstr ""
371
-
372
- #: admin/includes/class-cherry-services-meta.php:539
373
- msgid "Thumbnail"
374
- msgstr ""
375
-
376
- #: admin/includes/class-cherry-services-meta.php:555
377
- msgid "Testimonials"
378
- msgstr ""
379
-
380
- #: admin/includes/class-cherry-services-meta.php:566
381
- msgid "Enable testimonials block"
382
- msgstr ""
383
-
384
- #: admin/includes/class-cherry-services-meta.php:573
385
- msgid "Testimonials block title"
386
- msgstr ""
387
-
388
- #: admin/includes/class-cherry-services-meta.php:581
389
- msgid "Get testimonials from category:"
390
- msgstr ""
391
-
392
- #: admin/includes/class-cherry-services-meta.php:590
393
- msgid "Columns number:"
394
- msgstr ""
395
-
396
- #: admin/includes/class-cherry-services-meta.php:607
397
- msgid "Testimonials limit (set -1 to show all)"
398
- msgstr ""
399
-
400
- #: admin/includes/class-cherry-services-meta.php:614
401
- msgid "Show avatar?"
402
- msgstr ""
403
-
404
- #: admin/includes/class-cherry-services-meta.php:629
405
- msgid "Testimonial avatar size"
406
- msgstr ""
407
-
408
- #: admin/includes/class-cherry-services-meta.php:640
409
- msgid "Content Length (set -1 to show full content)"
410
- msgstr ""
411
-
412
- #: admin/includes/class-cherry-services-meta.php:647
413
- msgid "Show email?"
414
- msgstr ""
415
-
416
- #: admin/includes/class-cherry-services-meta.php:658
417
- msgid "Show position?"
418
- msgstr ""
419
-
420
- #: admin/includes/class-cherry-services-meta.php:669
421
- msgid "Show company?"
422
- msgstr ""
423
-
424
- #: admin/includes/class-cherry-services-meta.php:681
425
- msgid "Template name"
426
- msgstr ""
427
-
428
- #: admin/includes/class-cherry-services-meta.php:682
429
- msgid "Custom template"
430
- msgstr ""
431
-
432
- #: admin/includes/class-cherry-services-meta.php:737
433
- msgid "Select category..."
434
- msgstr ""
435
-
436
- #: admin/includes/class-cherry-services-options-page.php:80
437
- msgid "Select Services archive page"
438
- msgstr ""
439
-
440
- #: admin/includes/class-cherry-services-options-page.php:89
441
- msgid "Set posts number per archive page"
442
- msgstr ""
443
-
444
- #: admin/includes/class-cherry-services-options-page.php:97
445
- msgid "Select archive page columns number"
446
- msgstr ""
447
-
448
- #: admin/includes/class-cherry-services-options-page.php:105
449
- msgid "Select template for single service page"
450
- msgstr ""
451
-
452
- #: admin/includes/class-cherry-services-options-page.php:114
453
- msgid "Select image size for single service page"
454
- msgstr ""
455
-
456
- #: admin/includes/class-cherry-services-options-page.php:123
457
- msgid "Select template for Services listing page"
458
- msgstr ""
459
-
460
- #: admin/includes/class-cherry-services-options-page.php:132
461
- msgid "Select image size for Services listing page"
462
- msgstr ""
463
-
464
- #: admin/includes/class-cherry-services-options-page.php:205
465
- msgid "Cherry Services Options"
466
- msgstr ""
467
-
468
- #: admin/includes/class-cherry-services-options-page.php:206
469
- msgid "Settings"
470
- msgstr ""
471
-
472
- #: admin/includes/class-cherry-services-options-page.php:246
473
- msgid "Save"
474
- msgstr ""
475
-
476
- #: admin/includes/class-cherry-services-options-page.php:247
477
- msgid "Define as default"
478
- msgstr ""
479
-
480
- #: admin/includes/class-cherry-services-options-page.php:248
481
- msgid "Restore"
482
- msgstr ""
483
-
484
- #: admin/includes/class-cherry-services-options-page.php:366
485
- msgid "Options have been saved"
486
- msgstr ""
487
-
488
- #: admin/includes/class-cherry-services-options-page.php:374
489
- msgid "Options have been saved as default"
490
- msgstr ""
491
-
492
- #: admin/includes/class-cherry-services-options-page.php:384
493
- msgid "Options have been restored"
494
- msgstr ""
495
-
496
- #: admin/includes/class-cherry-services-options-page.php:423
497
- msgid "Please wait, processing the previous request"
498
- msgstr ""
499
-
500
- #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:346
501
- msgid "Home"
502
- msgstr ""
503
-
504
- #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:352
505
- msgid "Browse:"
506
- msgstr ""
507
-
508
- #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:354
509
- msgid "404 Not Found"
510
- msgstr ""
511
-
512
- #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:355
513
- msgid "Archives"
514
- msgstr ""
515
-
516
- #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:356
517
- #, php-format
518
- msgid "Search results for &#8220;%s&#8221;"
519
- msgstr ""
520
-
521
- #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:357
522
- #, php-format
523
- msgid "Page %s"
524
- msgstr ""
525
-
526
- #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:358
527
- #, php-format
528
- msgid "Minute %s"
529
- msgstr ""
530
-
531
- #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:359
532
- #, php-format
533
- msgid "Week %s"
534
- msgstr ""
535
-
536
- #: cherry-framework/modules/cherry-customizer/cherry-customizer.php:269
537
- msgid "Untitled Panel"
538
- msgstr ""
539
-
540
- #: cherry-framework/modules/cherry-customizer/cherry-customizer.php:305
541
- msgid "Untitled Section"
542
- msgstr ""
543
-
544
- #: cherry-framework/modules/cherry-customizer/cherry-customizer.php:339
545
- msgid "Untitled Control"
546
- msgstr ""
547
-
548
- #: cherry-framework/modules/cherry-db-updater/cherry-db-updater.php:105
549
- #, php-format
550
- msgid ""
551
- "Module DB Updater init error in %s - version and slug is required arguments"
552
- msgstr ""
553
-
554
- #: cherry-framework/modules/cherry-db-updater/cherry-db-updater.php:106
555
- msgid "We need to update your database to the latest version."
556
- msgstr ""
557
-
558
- #: cherry-framework/modules/cherry-db-updater/cherry-db-updater.php:107
559
- msgid "Update complete, thank you for updating to the latest version!"
560
- msgstr ""
561
-
562
- #: cherry-framework/modules/cherry-db-updater/cherry-db-updater.php:331
563
- msgid "Start Update"
564
- msgstr ""
565
-
566
- #: cherry-framework/modules/cherry-db-updater/cherry-db-updater.php:368
567
- msgid "Data Update"
568
- msgstr ""
569
-
570
- #: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-button.php:63
571
- msgid "Cherry shortcodes"
572
- msgstr ""
573
-
574
- #: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:128
575
- msgid "insert shortcode"
576
- msgstr ""
577
-
578
- #: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:148
579
- msgid "Shortcode List"
580
- msgstr ""
581
-
582
- #: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:206
583
- msgid "Shortcode not found."
584
- msgstr ""
585
-
586
- #: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:285
587
- msgid "Shortcode content."
588
- msgstr ""
589
-
590
- #: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:286
591
- msgid "Input shortcode content."
592
- msgstr ""
593
-
594
- #: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:301
595
- msgid "Shortcode not a have options."
596
- msgstr ""
597
-
598
- #: public/includes/class-cherry-services-list-data.php:93
599
- #: public/includes/class-cherry-services-list-data.php:449
600
- #: public/includes/class-cherry-services-list-shortcode.php:185
601
- msgid "More"
602
- msgstr ""
603
-
604
- #: public/includes/class-cherry-services-list-data.php:644
605
- msgid "All"
606
- msgstr ""
607
-
608
- #: public/includes/class-cherry-services-list-form.php:84
609
- #, php-format
610
- msgid "Request on %s"
611
- msgstr ""
612
-
613
- #: public/includes/class-cherry-services-list-init.php:52
614
- #: public/includes/class-cherry-services-list-shortcode.php:308
615
- #: public/includes/class-cherry-services-list-shortcode.php:314
616
- msgid "Services"
617
- msgstr ""
618
-
619
- #: public/includes/class-cherry-services-list-init.php:53
620
- msgid "Service"
621
- msgstr ""
622
-
623
- #: public/includes/class-cherry-services-list-init.php:54
624
- msgid "Add New"
625
- msgstr ""
626
-
627
- #: public/includes/class-cherry-services-list-init.php:55
628
- msgid "Add New Service"
629
- msgstr ""
630
-
631
- #: public/includes/class-cherry-services-list-init.php:56
632
- msgid "Edit Service"
633
- msgstr ""
634
-
635
- #: public/includes/class-cherry-services-list-init.php:57
636
- msgid "New Service"
637
- msgstr ""
638
-
639
- #: public/includes/class-cherry-services-list-init.php:58
640
- msgid "View Service"
641
- msgstr ""
642
-
643
- #: public/includes/class-cherry-services-list-init.php:59
644
- msgid "Search Services"
645
- msgstr ""
646
-
647
- #: public/includes/class-cherry-services-list-init.php:60
648
- msgid "No Services found"
649
- msgstr ""
650
-
651
- #: public/includes/class-cherry-services-list-init.php:61
652
- msgid "No Services found in trash"
653
- msgstr ""
654
-
655
- #: public/includes/class-cherry-services-list-init.php:106
656
- msgid "Services Category"
657
- msgstr ""
658
-
659
- #: public/includes/class-cherry-services-list-init.php:107
660
- #: public/includes/class-cherry-services-list-init.php:113
661
- msgid "Edit Category"
662
- msgstr ""
663
-
664
- #: public/includes/class-cherry-services-list-init.php:108
665
- msgid "Search Categories"
666
- msgstr ""
667
-
668
- #: public/includes/class-cherry-services-list-init.php:109
669
- msgid "Popular Categories"
670
- msgstr ""
671
-
672
- #: public/includes/class-cherry-services-list-init.php:110
673
- msgid "All Categories"
674
- msgstr ""
675
-
676
- #: public/includes/class-cherry-services-list-init.php:114
677
- msgid "Update Category"
678
- msgstr ""
679
-
680
- #: public/includes/class-cherry-services-list-init.php:115
681
- msgid "Add New Category"
682
- msgstr ""
683
-
684
- #: public/includes/class-cherry-services-list-init.php:116
685
- msgid "New Category Name"
686
- msgstr ""
687
-
688
- #: public/includes/class-cherry-services-list-init.php:117
689
- msgid "Separate categories with commas"
690
- msgstr ""
691
-
692
- #: public/includes/class-cherry-services-list-init.php:118
693
- msgid "Add or remove categories"
694
- msgstr ""
695
-
696
- #: public/includes/class-cherry-services-list-init.php:119
697
- msgid "Choose from the most used categories"
698
- msgstr ""
699
-
700
- #: public/includes/class-cherry-services-list-init.php:120
701
- msgid "No categories found."
702
- msgstr ""
703
-
704
- #: public/includes/class-cherry-services-list-init.php:121
705
- msgid "Categories"
706
- msgstr ""
707
-
708
- #: public/includes/class-cherry-services-list-shortcode.php:104
709
- msgid "Super title"
710
- msgstr ""
711
-
712
- #: public/includes/class-cherry-services-list-shortcode.php:114
713
- msgid "Subtitle"
714
- msgstr ""
715
-
716
- #: public/includes/class-cherry-services-list-shortcode.php:119
717
- msgid "Desktop columns"
718
- msgstr ""
719
-
720
- #: public/includes/class-cherry-services-list-shortcode.php:125
721
- msgid "Laptop columns"
722
- msgstr ""
723
-
724
- #: public/includes/class-cherry-services-list-shortcode.php:131
725
- msgid "Tablet columns"
726
- msgstr ""
727
-
728
- #: public/includes/class-cherry-services-list-shortcode.php:137
729
- msgid "Phone columns"
730
- msgstr ""
731
-
732
- #: public/includes/class-cherry-services-list-shortcode.php:143
733
- msgid "Posts per page"
734
- msgstr ""
735
-
736
- #: public/includes/class-cherry-services-list-shortcode.php:144
737
- msgid ""
738
- "Select how many posts per page do you want to display(-1 means that will "
739
- "show all services)"
740
- msgstr ""
741
-
742
- #: public/includes/class-cherry-services-list-shortcode.php:151
743
- msgid "Show services from categories"
744
- msgstr ""
745
-
746
- #: public/includes/class-cherry-services-list-shortcode.php:160
747
- msgid "Show services by ID"
748
- msgstr ""
749
-
750
- #: public/includes/class-cherry-services-list-shortcode.php:165
751
- msgid "Description length"
752
- msgstr ""
753
-
754
- #: public/includes/class-cherry-services-list-shortcode.php:166
755
- msgid "Select how many words show in desciption"
756
- msgstr ""
757
-
758
- #: public/includes/class-cherry-services-list-shortcode.php:173
759
- msgid "Show more button"
760
- msgstr ""
761
-
762
- #: public/includes/class-cherry-services-list-shortcode.php:174
763
- msgid "Show/hide more button"
764
- msgstr ""
765
-
766
- #: public/includes/class-cherry-services-list-shortcode.php:184
767
- #: public/includes/class-cherry-services-list-shortcode.php:190
768
- msgid "More button text"
769
- msgstr ""
770
-
771
- #: public/includes/class-cherry-services-list-shortcode.php:196
772
- msgid "AJAX load more"
773
- msgstr ""
774
-
775
- #: public/includes/class-cherry-services-list-shortcode.php:197
776
- msgid "Enable AJAX load more event on more button"
777
- msgstr ""
778
-
779
- #: public/includes/class-cherry-services-list-shortcode.php:207
780
- msgid "Pagination"
781
- msgstr ""
782
-
783
- #: public/includes/class-cherry-services-list-shortcode.php:208
784
- msgid "Enable paging navigation"
785
- msgstr ""
786
-
787
- #: public/includes/class-cherry-services-list-shortcode.php:217
788
- msgid "Show service title"
789
- msgstr ""
790
-
791
- #: public/includes/class-cherry-services-list-shortcode.php:226
792
- msgid "Show featured image"
793
- msgstr ""
794
-
795
- #: public/includes/class-cherry-services-list-shortcode.php:235
796
- msgid "Show service content"
797
- msgstr ""
798
-
799
- #: public/includes/class-cherry-services-list-shortcode.php:244
800
- msgid "Show filter by category before services listing"
801
- msgstr ""
802
-
803
- #: public/includes/class-cherry-services-list-shortcode.php:253
804
- msgid "Listing item image size (if used in template)"
805
- msgstr ""
806
-
807
- #: public/includes/class-cherry-services-list-shortcode.php:260
808
- msgid "Listing item template"
809
- msgstr ""
810
-
811
- #: public/includes/class-cherry-services-list-shortcode.php:267
812
- msgid "Add space between services coumns"
813
- msgstr ""
814
-
815
- #: public/includes/class-cherry-services-list-shortcode.php:276
816
- msgid "Add space between services rows"
817
- msgstr ""
818
-
819
- #: public/includes/class-cherry-services-list-shortcode.php:309
820
- msgid "Showcase your services with Cherry Services List plugin"
821
- msgstr ""
822
-
823
- #: public/includes/class-cherry-services-list-shortcode.php:315
824
- msgid "Shortcode is used to display the services list"
825
- msgstr ""
826
-
827
- #: public/includes/class-cherry-services-list-template-callbacks.php:646
828
- msgid "Read more"
829
- msgstr ""
830
-
831
- #: public/includes/class-cherry-services-list-tools.php:130
832
- msgid "Select page..."
833
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: blank\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2017-04-24 18:17+0200\n"
6
+ "PO-Revision-Date: 2017-04-24 18:17+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-services-meta.php:75
22
+ msgid "Clone"
23
+ msgstr ""
24
+
25
+ #: admin/includes/class-cherry-services-meta.php:76
26
+ msgid "Clone this post"
27
+ msgstr ""
28
+
29
+ #: admin/includes/class-cherry-services-meta.php:88
30
+ msgid "You don't have permissions to do this"
31
+ msgstr ""
32
+
33
+ #: admin/includes/class-cherry-services-meta.php:92
34
+ msgid "Not allowed function call!"
35
+ msgstr ""
36
+
37
+ #: admin/includes/class-cherry-services-meta.php:96
38
+ msgid "No post to duplicate has been supplied!"
39
+ msgstr ""
40
+
41
+ #: admin/includes/class-cherry-services-meta.php:108
42
+ #, php-format
43
+ msgid "Post creation failed, could not find original post: %s"
44
+ msgstr ""
45
+
46
+ #: admin/includes/class-cherry-services-meta.php:194
47
+ msgid ""
48
+ "Testimonials management are not available. Please, install Cherry Testi "
49
+ "plugin"
50
+ msgstr ""
51
+
52
+ #: admin/includes/class-cherry-services-meta.php:210
53
+ msgid "Service Options"
54
+ msgstr ""
55
+
56
+ #: admin/includes/class-cherry-services-meta.php:224
57
+ msgid "General"
58
+ msgstr ""
59
+
60
+ #: admin/includes/class-cherry-services-meta.php:230
61
+ #: admin/includes/class-cherry-services-meta.php:284
62
+ msgid "Features"
63
+ msgstr ""
64
+
65
+ #: admin/includes/class-cherry-services-meta.php:236
66
+ msgid "Call To Action"
67
+ msgstr ""
68
+
69
+ #: admin/includes/class-cherry-services-meta.php:242
70
+ msgid "Styling"
71
+ msgstr ""
72
+
73
+ #: admin/includes/class-cherry-services-meta.php:248
74
+ msgid "Service Icon"
75
+ msgstr ""
76
+
77
+ #: admin/includes/class-cherry-services-meta.php:262
78
+ #: admin/includes/class-cherry-services-meta.php:263
79
+ #: admin/includes/class-cherry-services-meta.php:544
80
+ msgid "Slogan"
81
+ msgstr ""
82
+
83
+ #: admin/includes/class-cherry-services-meta.php:269
84
+ #: admin/includes/class-cherry-services-meta.php:270
85
+ msgid "Short Description"
86
+ msgstr ""
87
+
88
+ #: admin/includes/class-cherry-services-meta.php:277
89
+ #: admin/includes/class-cherry-services-meta.php:278
90
+ msgid "Features Title"
91
+ msgstr ""
92
+
93
+ #: admin/includes/class-cherry-services-meta.php:285
94
+ msgid "Add New Feature"
95
+ msgstr ""
96
+
97
+ #: admin/includes/class-cherry-services-meta.php:292
98
+ #: admin/includes/class-cherry-services-meta.php:293
99
+ msgid "Feature Label"
100
+ msgstr ""
101
+
102
+ #: admin/includes/class-cherry-services-meta.php:300
103
+ #: admin/includes/class-cherry-services-meta.php:301
104
+ msgid "Feature Value"
105
+ msgstr ""
106
+
107
+ #: admin/includes/class-cherry-services-meta.php:312
108
+ msgid "Enable CTA block"
109
+ msgstr ""
110
+
111
+ #: admin/includes/class-cherry-services-meta.php:319
112
+ #: admin/includes/class-cherry-services-meta.php:320
113
+ #: admin/includes/class-cherry-services-meta.php:574
114
+ #: public/includes/class-cherry-services-list-shortcode.php:109
115
+ msgid "Title"
116
+ msgstr ""
117
+
118
+ #: admin/includes/class-cherry-services-meta.php:326
119
+ #: admin/includes/class-cherry-services-meta.php:327
120
+ msgid "Description"
121
+ msgstr ""
122
+
123
+ #: admin/includes/class-cherry-services-meta.php:333
124
+ msgid "Call to Action Type"
125
+ msgstr ""
126
+
127
+ #: admin/includes/class-cherry-services-meta.php:337
128
+ msgid "Contact Form"
129
+ msgstr ""
130
+
131
+ #: admin/includes/class-cherry-services-meta.php:341
132
+ msgid "Link"
133
+ msgstr ""
134
+
135
+ #: admin/includes/class-cherry-services-meta.php:350
136
+ msgid "Form Fields"
137
+ msgstr ""
138
+
139
+ #: admin/includes/class-cherry-services-meta.php:351
140
+ msgid "Add New Field"
141
+ msgstr ""
142
+
143
+ #: admin/includes/class-cherry-services-meta.php:359
144
+ msgid "Field Type"
145
+ msgstr ""
146
+
147
+ #: admin/includes/class-cherry-services-meta.php:360
148
+ msgid "Type"
149
+ msgstr ""
150
+
151
+ #: admin/includes/class-cherry-services-meta.php:362
152
+ msgid "Text"
153
+ msgstr ""
154
+
155
+ #: admin/includes/class-cherry-services-meta.php:363
156
+ msgid "Email"
157
+ msgstr ""
158
+
159
+ #: admin/includes/class-cherry-services-meta.php:364
160
+ msgid "Textarea"
161
+ msgstr ""
162
+
163
+ #: admin/includes/class-cherry-services-meta.php:372
164
+ msgid "Field Label"
165
+ msgstr ""
166
+
167
+ #: admin/includes/class-cherry-services-meta.php:373
168
+ #: public/includes/class-cherry-services-list-template-callbacks.php:301
169
+ msgid "Label"
170
+ msgstr ""
171
+
172
+ #: admin/includes/class-cherry-services-meta.php:380
173
+ msgid "Field Name"
174
+ msgstr ""
175
+
176
+ #: admin/includes/class-cherry-services-meta.php:381
177
+ msgid "Name(Should be unique)"
178
+ msgstr ""
179
+
180
+ #: admin/includes/class-cherry-services-meta.php:388
181
+ msgid "Field Width"
182
+ msgstr ""
183
+
184
+ #: admin/includes/class-cherry-services-meta.php:390
185
+ #: admin/includes/class-cherry-services-meta.php:453
186
+ msgid "Fullwidth"
187
+ msgstr ""
188
+
189
+ #: admin/includes/class-cherry-services-meta.php:391
190
+ msgid "1/3"
191
+ msgstr ""
192
+
193
+ #: admin/includes/class-cherry-services-meta.php:392
194
+ msgid "1/2"
195
+ msgstr ""
196
+
197
+ #: admin/includes/class-cherry-services-meta.php:393
198
+ msgid "2/3"
199
+ msgstr ""
200
+
201
+ #: admin/includes/class-cherry-services-meta.php:401
202
+ msgid "Is Required Field?"
203
+ msgstr ""
204
+
205
+ #: admin/includes/class-cherry-services-meta.php:403
206
+ #: admin/includes/class-cherry-services-meta.php:616
207
+ #: admin/includes/class-cherry-services-meta.php:649
208
+ #: admin/includes/class-cherry-services-meta.php:660
209
+ #: admin/includes/class-cherry-services-meta.php:671
210
+ #: public/includes/class-cherry-services-list-shortcode.php:177
211
+ #: public/includes/class-cherry-services-list-shortcode.php:200
212
+ #: public/includes/class-cherry-services-list-shortcode.php:211
213
+ #: public/includes/class-cherry-services-list-shortcode.php:220
214
+ #: public/includes/class-cherry-services-list-shortcode.php:229
215
+ #: public/includes/class-cherry-services-list-shortcode.php:238
216
+ #: public/includes/class-cherry-services-list-shortcode.php:247
217
+ #: public/includes/class-cherry-services-list-shortcode.php:270
218
+ #: public/includes/class-cherry-services-list-shortcode.php:279
219
+ msgid "Yes"
220
+ msgstr ""
221
+
222
+ #: admin/includes/class-cherry-services-meta.php:404
223
+ #: admin/includes/class-cherry-services-meta.php:617
224
+ #: admin/includes/class-cherry-services-meta.php:650
225
+ #: admin/includes/class-cherry-services-meta.php:661
226
+ #: admin/includes/class-cherry-services-meta.php:672
227
+ #: public/includes/class-cherry-services-list-shortcode.php:178
228
+ #: public/includes/class-cherry-services-list-shortcode.php:201
229
+ #: public/includes/class-cherry-services-list-shortcode.php:212
230
+ #: public/includes/class-cherry-services-list-shortcode.php:221
231
+ #: public/includes/class-cherry-services-list-shortcode.php:230
232
+ #: public/includes/class-cherry-services-list-shortcode.php:239
233
+ #: public/includes/class-cherry-services-list-shortcode.php:248
234
+ #: public/includes/class-cherry-services-list-shortcode.php:271
235
+ #: public/includes/class-cherry-services-list-shortcode.php:280
236
+ msgid "No"
237
+ msgstr ""
238
+
239
+ #: admin/includes/class-cherry-services-meta.php:416
240
+ #: admin/includes/class-cherry-services-meta.php:417
241
+ msgid "Form Submit Button Text"
242
+ msgstr ""
243
+
244
+ #: admin/includes/class-cherry-services-meta.php:424
245
+ msgid "Thanks for your request"
246
+ msgstr ""
247
+
248
+ #: admin/includes/class-cherry-services-meta.php:426
249
+ msgid "Success Message"
250
+ msgstr ""
251
+
252
+ #: admin/includes/class-cherry-services-meta.php:434
253
+ msgid "Button Text"
254
+ msgstr ""
255
+
256
+ #: admin/includes/class-cherry-services-meta.php:435
257
+ msgid "CTA Button Text"
258
+ msgstr ""
259
+
260
+ #: admin/includes/class-cherry-services-meta.php:443
261
+ msgid "Button URL"
262
+ msgstr ""
263
+
264
+ #: admin/includes/class-cherry-services-meta.php:444
265
+ msgid "CTA Button URL"
266
+ msgstr ""
267
+
268
+ #: admin/includes/class-cherry-services-meta.php:454
269
+ msgid "Boxed"
270
+ msgstr ""
271
+
272
+ #: admin/includes/class-cherry-services-meta.php:456
273
+ msgid "Single page content"
274
+ msgstr ""
275
+
276
+ #: admin/includes/class-cherry-services-meta.php:465
277
+ msgid "Add Image"
278
+ msgstr ""
279
+
280
+ #: admin/includes/class-cherry-services-meta.php:466
281
+ msgid "Call to action background image"
282
+ msgstr ""
283
+
284
+ #: admin/includes/class-cherry-services-meta.php:473
285
+ msgid "Call to action background color"
286
+ msgstr ""
287
+
288
+ #: admin/includes/class-cherry-services-meta.php:482
289
+ msgid "Left Top"
290
+ msgstr ""
291
+
292
+ #: admin/includes/class-cherry-services-meta.php:483
293
+ msgid "Center Top"
294
+ msgstr ""
295
+
296
+ #: admin/includes/class-cherry-services-meta.php:484
297
+ msgid "Right Top"
298
+ msgstr ""
299
+
300
+ #: admin/includes/class-cherry-services-meta.php:485
301
+ msgid "Left Center"
302
+ msgstr ""
303
+
304
+ #: admin/includes/class-cherry-services-meta.php:486
305
+ msgid "Center Center"
306
+ msgstr ""
307
+
308
+ #: admin/includes/class-cherry-services-meta.php:487
309
+ msgid "Right Center"
310
+ msgstr ""
311
+
312
+ #: admin/includes/class-cherry-services-meta.php:488
313
+ msgid "Left Bottom"
314
+ msgstr ""
315
+
316
+ #: admin/includes/class-cherry-services-meta.php:489
317
+ msgid "Center Bottom"
318
+ msgstr ""
319
+
320
+ #: admin/includes/class-cherry-services-meta.php:490
321
+ msgid "Right Bottom"
322
+ msgstr ""
323
+
324
+ #: admin/includes/class-cherry-services-meta.php:492
325
+ msgid "Call to action background position"
326
+ msgstr ""
327
+
328
+ #: admin/includes/class-cherry-services-meta.php:501
329
+ msgid "Repeat"
330
+ msgstr ""
331
+
332
+ #: admin/includes/class-cherry-services-meta.php:502
333
+ msgid "Repeat X"
334
+ msgstr ""
335
+
336
+ #: admin/includes/class-cherry-services-meta.php:503
337
+ msgid "Repeat Y"
338
+ msgstr ""
339
+
340
+ #: admin/includes/class-cherry-services-meta.php:504
341
+ msgid "No Repeat"
342
+ msgstr ""
343
+
344
+ #: admin/includes/class-cherry-services-meta.php:506
345
+ msgid "Call to action background repeat"
346
+ msgstr ""
347
+
348
+ #: admin/includes/class-cherry-services-meta.php:515
349
+ msgid "Auto"
350
+ msgstr ""
351
+
352
+ #: admin/includes/class-cherry-services-meta.php:516
353
+ msgid "Cover"
354
+ msgstr ""
355
+
356
+ #: admin/includes/class-cherry-services-meta.php:517
357
+ msgid "Contain"
358
+ msgstr ""
359
+
360
+ #: admin/includes/class-cherry-services-meta.php:519
361
+ msgid "Call to action background image size"
362
+ msgstr ""
363
+
364
+ #: admin/includes/class-cherry-services-meta.php:526
365
+ msgid "Call to action text color"
366
+ msgstr ""
367
+
368
+ #: admin/includes/class-cherry-services-meta.php:533
369
+ msgid "Call to action title color"
370
+ msgstr ""
371
+
372
+ #: admin/includes/class-cherry-services-meta.php:539
373
+ msgid "Thumbnail"
374
+ msgstr ""
375
+
376
+ #: admin/includes/class-cherry-services-meta.php:555
377
+ msgid "Testimonials"
378
+ msgstr ""
379
+
380
+ #: admin/includes/class-cherry-services-meta.php:566
381
+ msgid "Enable testimonials block"
382
+ msgstr ""
383
+
384
+ #: admin/includes/class-cherry-services-meta.php:573
385
+ msgid "Testimonials block title"
386
+ msgstr ""
387
+
388
+ #: admin/includes/class-cherry-services-meta.php:581
389
+ msgid "Get testimonials from category:"
390
+ msgstr ""
391
+
392
+ #: admin/includes/class-cherry-services-meta.php:590
393
+ msgid "Columns number:"
394
+ msgstr ""
395
+
396
+ #: admin/includes/class-cherry-services-meta.php:607
397
+ msgid "Testimonials limit (set -1 to show all)"
398
+ msgstr ""
399
+
400
+ #: admin/includes/class-cherry-services-meta.php:614
401
+ msgid "Show avatar?"
402
+ msgstr ""
403
+
404
+ #: admin/includes/class-cherry-services-meta.php:629
405
+ msgid "Testimonial avatar size"
406
+ msgstr ""
407
+
408
+ #: admin/includes/class-cherry-services-meta.php:640
409
+ msgid "Content Length (set -1 to show full content)"
410
+ msgstr ""
411
+
412
+ #: admin/includes/class-cherry-services-meta.php:647
413
+ msgid "Show email?"
414
+ msgstr ""
415
+
416
+ #: admin/includes/class-cherry-services-meta.php:658
417
+ msgid "Show position?"
418
+ msgstr ""
419
+
420
+ #: admin/includes/class-cherry-services-meta.php:669
421
+ msgid "Show company?"
422
+ msgstr ""
423
+
424
+ #: admin/includes/class-cherry-services-meta.php:681
425
+ msgid "Template name"
426
+ msgstr ""
427
+
428
+ #: admin/includes/class-cherry-services-meta.php:682
429
+ msgid "Custom template"
430
+ msgstr ""
431
+
432
+ #: admin/includes/class-cherry-services-meta.php:737
433
+ msgid "Select category..."
434
+ msgstr ""
435
+
436
+ #: admin/includes/class-cherry-services-options-page.php:80
437
+ msgid "the permalink structure"
438
+ msgstr ""
439
+
440
+ #: admin/includes/class-cherry-services-options-page.php:84
441
+ #, php-format
442
+ msgid "Please save %s every time you change this option"
443
+ msgstr ""
444
+
445
+ #: admin/includes/class-cherry-services-options-page.php:91
446
+ msgid "Select Services archive page"
447
+ msgstr ""
448
+
449
+ #: admin/includes/class-cherry-services-options-page.php:100
450
+ msgid "Archive page shows"
451
+ msgstr ""
452
+
453
+ #: admin/includes/class-cherry-services-options-page.php:105
454
+ msgid "Default posts listing"
455
+ msgstr ""
456
+
457
+ #: admin/includes/class-cherry-services-options-page.php:106
458
+ msgid "Selected archive page content"
459
+ msgstr ""
460
+
461
+ #: admin/includes/class-cherry-services-options-page.php:111
462
+ msgid "Set posts number per archive page"
463
+ msgstr ""
464
+
465
+ #: admin/includes/class-cherry-services-options-page.php:119
466
+ msgid "Select archive page columns number"
467
+ msgstr ""
468
+
469
+ #: admin/includes/class-cherry-services-options-page.php:127
470
+ msgid "Select template for single service page"
471
+ msgstr ""
472
+
473
+ #: admin/includes/class-cherry-services-options-page.php:136
474
+ msgid "Select image size for single service page"
475
+ msgstr ""
476
+
477
+ #: admin/includes/class-cherry-services-options-page.php:145
478
+ msgid "Select template for Services listing page"
479
+ msgstr ""
480
+
481
+ #: admin/includes/class-cherry-services-options-page.php:154
482
+ msgid "Select image size for Services listing page"
483
+ msgstr ""
484
+
485
+ #: admin/includes/class-cherry-services-options-page.php:227
486
+ msgid "Cherry Services Options"
487
+ msgstr ""
488
+
489
+ #: admin/includes/class-cherry-services-options-page.php:228
490
+ msgid "Settings"
491
+ msgstr ""
492
+
493
+ #: admin/includes/class-cherry-services-options-page.php:268
494
+ msgid "Save"
495
+ msgstr ""
496
+
497
+ #: admin/includes/class-cherry-services-options-page.php:269
498
+ msgid "Define as default"
499
+ msgstr ""
500
+
501
+ #: admin/includes/class-cherry-services-options-page.php:270
502
+ msgid "Restore"
503
+ msgstr ""
504
+
505
+ #: admin/includes/class-cherry-services-options-page.php:388
506
+ msgid "Options have been saved"
507
+ msgstr ""
508
+
509
+ #: admin/includes/class-cherry-services-options-page.php:396
510
+ msgid "Options have been saved as default"
511
+ msgstr ""
512
+
513
+ #: admin/includes/class-cherry-services-options-page.php:406
514
+ msgid "Options have been restored"
515
+ msgstr ""
516
+
517
+ #: admin/includes/class-cherry-services-options-page.php:445
518
+ msgid "Please wait, processing the previous request"
519
+ msgstr ""
520
+
521
+ #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:346
522
+ msgid "Home"
523
+ msgstr ""
524
+
525
+ #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:352
526
+ msgid "Browse:"
527
+ msgstr ""
528
+
529
+ #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:354
530
+ msgid "404 Not Found"
531
+ msgstr ""
532
+
533
+ #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:355
534
+ msgid "Archives"
535
+ msgstr ""
536
+
537
+ #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:356
538
+ #, php-format
539
+ msgid "Search results for &#8220;%s&#8221;"
540
+ msgstr ""
541
+
542
+ #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:357
543
+ #, php-format
544
+ msgid "Page %s"
545
+ msgstr ""
546
+
547
+ #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:358
548
+ #, php-format
549
+ msgid "Minute %s"
550
+ msgstr ""
551
+
552
+ #: cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php:359
553
+ #, php-format
554
+ msgid "Week %s"
555
+ msgstr ""
556
+
557
+ #: cherry-framework/modules/cherry-customizer/cherry-customizer.php:269
558
+ msgid "Untitled Panel"
559
+ msgstr ""
560
+
561
+ #: cherry-framework/modules/cherry-customizer/cherry-customizer.php:305
562
+ msgid "Untitled Section"
563
+ msgstr ""
564
+
565
+ #: cherry-framework/modules/cherry-customizer/cherry-customizer.php:339
566
+ msgid "Untitled Control"
567
+ msgstr ""
568
+
569
+ #: cherry-framework/modules/cherry-db-updater/cherry-db-updater.php:105
570
+ #, php-format
571
+ msgid ""
572
+ "Module DB Updater init error in %s - version and slug is required arguments"
573
+ msgstr ""
574
+
575
+ #: cherry-framework/modules/cherry-db-updater/cherry-db-updater.php:106
576
+ msgid "We need to update your database to the latest version."
577
+ msgstr ""
578
+
579
+ #: cherry-framework/modules/cherry-db-updater/cherry-db-updater.php:107
580
+ msgid "Update complete, thank you for updating to the latest version!"
581
+ msgstr ""
582
+
583
+ #: cherry-framework/modules/cherry-db-updater/cherry-db-updater.php:331
584
+ msgid "Start Update"
585
+ msgstr ""
586
+
587
+ #: cherry-framework/modules/cherry-db-updater/cherry-db-updater.php:368
588
+ msgid "Data Update"
589
+ msgstr ""
590
+
591
+ #: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-button.php:63
592
+ msgid "Cherry shortcodes"
593
+ msgstr ""
594
+
595
+ #: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:128
596
+ msgid "insert shortcode"
597
+ msgstr ""
598
+
599
+ #: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:148
600
+ msgid "Shortcode List"
601
+ msgstr ""
602
+
603
+ #: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:206
604
+ msgid "Shortcode not found."
605
+ msgstr ""
606
+
607
+ #: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:285
608
+ msgid "Shortcode content."
609
+ msgstr ""
610
+
611
+ #: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:286
612
+ msgid "Input shortcode content."
613
+ msgstr ""
614
+
615
+ #: cherry-framework/modules/cherry5-insert-shortcode/inc/class-cherry5-insertion-popup.php:301
616
+ msgid "Shortcode not a have options."
617
+ msgstr ""
618
+
619
+ #: public/includes/class-cherry-services-list-data.php:93
620
+ #: public/includes/class-cherry-services-list-data.php:449
621
+ #: public/includes/class-cherry-services-list-shortcode.php:185
622
+ msgid "More"
623
+ msgstr ""
624
+
625
+ #: public/includes/class-cherry-services-list-data.php:644
626
+ msgid "All"
627
+ msgstr ""
628
+
629
+ #: public/includes/class-cherry-services-list-form.php:84
630
+ #, php-format
631
+ msgid "Request on %s"
632
+ msgstr ""
633
+
634
+ #: public/includes/class-cherry-services-list-init.php:52
635
+ #: public/includes/class-cherry-services-list-init.php:155
636
+ #: public/includes/class-cherry-services-list-shortcode.php:308
637
+ #: public/includes/class-cherry-services-list-shortcode.php:314
638
+ msgid "Services"
639
+ msgstr ""
640
+
641
+ #: public/includes/class-cherry-services-list-init.php:53
642
+ msgid "Service"
643
+ msgstr ""
644
+
645
+ #: public/includes/class-cherry-services-list-init.php:55
646
+ msgid "Add New"
647
+ msgstr ""
648
+
649
+ #: public/includes/class-cherry-services-list-init.php:56
650
+ msgid "Add New Service"
651
+ msgstr ""
652
+
653
+ #: public/includes/class-cherry-services-list-init.php:57
654
+ msgid "Edit Service"
655
+ msgstr ""
656
+
657
+ #: public/includes/class-cherry-services-list-init.php:58
658
+ msgid "New Service"
659
+ msgstr ""
660
+
661
+ #: public/includes/class-cherry-services-list-init.php:59
662
+ msgid "View Service"
663
+ msgstr ""
664
+
665
+ #: public/includes/class-cherry-services-list-init.php:60
666
+ msgid "Search Services"
667
+ msgstr ""
668
+
669
+ #: public/includes/class-cherry-services-list-init.php:61
670
+ msgid "No Services found"
671
+ msgstr ""
672
+
673
+ #: public/includes/class-cherry-services-list-init.php:62
674
+ msgid "No Services found in trash"
675
+ msgstr ""
676
+
677
+ #: public/includes/class-cherry-services-list-init.php:180
678
+ msgid "Services Category"
679
+ msgstr ""
680
+
681
+ #: public/includes/class-cherry-services-list-init.php:181
682
+ #: public/includes/class-cherry-services-list-init.php:187
683
+ msgid "Edit Category"
684
+ msgstr ""
685
+
686
+ #: public/includes/class-cherry-services-list-init.php:182
687
+ msgid "Search Categories"
688
+ msgstr ""
689
+
690
+ #: public/includes/class-cherry-services-list-init.php:183
691
+ msgid "Popular Categories"
692
+ msgstr ""
693
+
694
+ #: public/includes/class-cherry-services-list-init.php:184
695
+ msgid "All Categories"
696
+ msgstr ""
697
+
698
+ #: public/includes/class-cherry-services-list-init.php:188
699
+ msgid "Update Category"
700
+ msgstr ""
701
+
702
+ #: public/includes/class-cherry-services-list-init.php:189
703
+ msgid "Add New Category"
704
+ msgstr ""
705
+
706
+ #: public/includes/class-cherry-services-list-init.php:190
707
+ msgid "New Category Name"
708
+ msgstr ""
709
+
710
+ #: public/includes/class-cherry-services-list-init.php:191
711
+ msgid "Separate categories with commas"
712
+ msgstr ""
713
+
714
+ #: public/includes/class-cherry-services-list-init.php:192
715
+ msgid "Add or remove categories"
716
+ msgstr ""
717
+
718
+ #: public/includes/class-cherry-services-list-init.php:193
719
+ msgid "Choose from the most used categories"
720
+ msgstr ""
721
+
722
+ #: public/includes/class-cherry-services-list-init.php:194
723
+ msgid "No categories found."
724
+ msgstr ""
725
+
726
+ #: public/includes/class-cherry-services-list-init.php:195
727
+ msgid "Categories"
728
+ msgstr ""
729
+
730
+ #: public/includes/class-cherry-services-list-shortcode.php:104
731
+ msgid "Super title"
732
+ msgstr ""
733
+
734
+ #: public/includes/class-cherry-services-list-shortcode.php:114
735
+ msgid "Subtitle"
736
+ msgstr ""
737
+
738
+ #: public/includes/class-cherry-services-list-shortcode.php:119
739
+ msgid "Desktop columns"
740
+ msgstr ""
741
+
742
+ #: public/includes/class-cherry-services-list-shortcode.php:125
743
+ msgid "Laptop columns"
744
+ msgstr ""
745
+
746
+ #: public/includes/class-cherry-services-list-shortcode.php:131
747
+ msgid "Tablet columns"
748
+ msgstr ""
749
+
750
+ #: public/includes/class-cherry-services-list-shortcode.php:137
751
+ msgid "Phone columns"
752
+ msgstr ""
753
+
754
+ #: public/includes/class-cherry-services-list-shortcode.php:143
755
+ msgid "Posts per page"
756
+ msgstr ""
757
+
758
+ #: public/includes/class-cherry-services-list-shortcode.php:144
759
+ msgid ""
760
+ "Select how many posts per page do you want to display(-1 means that will "
761
+ "show all services)"
762
+ msgstr ""
763
+
764
+ #: public/includes/class-cherry-services-list-shortcode.php:151
765
+ msgid "Show services from categories"
766
+ msgstr ""
767
+
768
+ #: public/includes/class-cherry-services-list-shortcode.php:160
769
+ msgid "Show services by ID"
770
+ msgstr ""
771
+
772
+ #: public/includes/class-cherry-services-list-shortcode.php:165
773
+ msgid "Description length"
774
+ msgstr ""
775
+
776
+ #: public/includes/class-cherry-services-list-shortcode.php:166
777
+ msgid "Select how many words show in desciption"
778
+ msgstr ""
779
+
780
+ #: public/includes/class-cherry-services-list-shortcode.php:173
781
+ msgid "Show more button"
782
+ msgstr ""
783
+
784
+ #: public/includes/class-cherry-services-list-shortcode.php:174
785
+ msgid "Show/hide more button"
786
+ msgstr ""
787
+
788
+ #: public/includes/class-cherry-services-list-shortcode.php:184
789
+ #: public/includes/class-cherry-services-list-shortcode.php:190
790
+ msgid "More button text"
791
+ msgstr ""
792
+
793
+ #: public/includes/class-cherry-services-list-shortcode.php:196
794
+ msgid "AJAX load more"
795
+ msgstr ""
796
+
797
+ #: public/includes/class-cherry-services-list-shortcode.php:197
798
+ msgid "Enable AJAX load more event on more button"
799
+ msgstr ""
800
+
801
+ #: public/includes/class-cherry-services-list-shortcode.php:207
802
+ msgid "Pagination"
803
+ msgstr ""
804
+
805
+ #: public/includes/class-cherry-services-list-shortcode.php:208
806
+ msgid "Enable paging navigation"
807
+ msgstr ""
808
+
809
+ #: public/includes/class-cherry-services-list-shortcode.php:217
810
+ msgid "Show service title"
811
+ msgstr ""
812
+
813
+ #: public/includes/class-cherry-services-list-shortcode.php:226
814
+ msgid "Show featured image"
815
+ msgstr ""
816
+
817
+ #: public/includes/class-cherry-services-list-shortcode.php:235
818
+ msgid "Show service content"
819
+ msgstr ""
820
+
821
+ #: public/includes/class-cherry-services-list-shortcode.php:244
822
+ msgid "Show filter by category before services listing"
823
+ msgstr ""
824
+
825
+ #: public/includes/class-cherry-services-list-shortcode.php:253
826
+ msgid "Listing item image size (if used in template)"
827
+ msgstr ""
828
+
829
+ #: public/includes/class-cherry-services-list-shortcode.php:260
830
+ msgid "Listing item template"
831
+ msgstr ""
832
+
833
+ #: public/includes/class-cherry-services-list-shortcode.php:267
834
+ msgid "Add space between services coumns"
835
+ msgstr ""
836
+
837
+ #: public/includes/class-cherry-services-list-shortcode.php:276
838
+ msgid "Add space between services rows"
839
+ msgstr ""
840
+
841
+ #: public/includes/class-cherry-services-list-shortcode.php:309
842
+ msgid "Showcase your services with Cherry Services List plugin"
843
+ msgstr ""
844
+
845
+ #: public/includes/class-cherry-services-list-shortcode.php:315
846
+ msgid "Shortcode is used to display the services list"
847
+ msgstr ""
848
+
849
+ #: public/includes/class-cherry-services-list-template-callbacks.php:646
850
+ msgid "Read more"
851
+ msgstr ""
852
+
853
+ #: public/includes/class-cherry-services-list-tools.php:130
854
+ msgid "Select page..."
855
+ msgstr ""
public/includes/class-cherry-services-list-init.php CHANGED
@@ -51,6 +51,7 @@ class Cherry_Services_List_Init extends Cherry_Services_List {
51
  $labels = array(
52
  'name' => __( 'Services', 'cherry-services' ),
53
  'singular_name' => __( 'Service', 'cherry-services' ),
 
54
  'add_new' => __( 'Add New', 'cherry-services' ),
55
  'add_new_item' => __( 'Add New Service', 'cherry-services' ),
56
  'edit_item' => __( 'Edit Service', 'cherry-services' ),
@@ -76,7 +77,7 @@ class Cherry_Services_List_Init extends Cherry_Services_List {
76
  'capability_type' => 'post',
77
  'hierarchical' => false, // Hierarchical causes memory issues - WP loads all records!
78
  'rewrite' => array(
79
- 'slug' => $this->post_type(),
80
  'with_front' => false,
81
  'feeds' => true,
82
  ),
@@ -93,6 +94,79 @@ class Cherry_Services_List_Init extends Cherry_Services_List {
93
 
94
  }
95
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  /**
97
  * Register taxonomy for custom post type.
98
  *
51
  $labels = array(
52
  'name' => __( 'Services', 'cherry-services' ),
53
  'singular_name' => __( 'Service', 'cherry-services' ),
54
+ 'archive_title' => $this->get_archive_title(),
55
  'add_new' => __( 'Add New', 'cherry-services' ),
56
  'add_new_item' => __( 'Add New Service', 'cherry-services' ),
57
  'edit_item' => __( 'Edit Service', 'cherry-services' ),
77
  'capability_type' => 'post',
78
  'hierarchical' => false, // Hierarchical causes memory issues - WP loads all records!
79
  'rewrite' => array(
80
+ 'slug' => $this->get_rewrite_slug(),
81
  'with_front' => false,
82
  'feeds' => true,
83
  ),
94
 
95
  }
96
 
97
+ /**
98
+ * Returns archive page object if set in options.
99
+ *
100
+ * @return WP_Post|false
101
+ */
102
+ public static function get_archive_page_object() {
103
+
104
+ $archive_page = cherry_services_list()->get_option( 'archive-page' );
105
+
106
+ if ( ! $archive_page ) {
107
+ return false;
108
+ }
109
+
110
+ $page = wp_cache_get( 'cherry-services-archive-page' );
111
+
112
+ if ( is_object( $page ) ) {
113
+ return $page;
114
+ }
115
+
116
+ $page = get_post( $archive_page );
117
+
118
+ if ( $page && ! is_wp_error( $page ) ) {
119
+ wp_cache_add( 'cherry-services-archive-page', $page );
120
+ return $page;
121
+ } else {
122
+ return false;
123
+ }
124
+
125
+ }
126
+
127
+ /**
128
+ * Returns archive rewrite slug
129
+ *
130
+ * @return string
131
+ */
132
+ public function get_rewrite_slug() {
133
+
134
+ $default = $this->post_type();
135
+ $page = self::get_archive_page_object();
136
+
137
+ if ( ! $page ) {
138
+ return $default;
139
+ }
140
+
141
+ if ( isset( $page->post_name ) ) {
142
+ return $page->post_name;
143
+ }
144
+
145
+ return $default;
146
+ }
147
+
148
+ /**
149
+ * Returns archive title
150
+ *
151
+ * @return string
152
+ */
153
+ public function get_archive_title() {
154
+
155
+ $default = esc_html__( 'Services', 'cherry-services' );
156
+ $page = self::get_archive_page_object();
157
+
158
+ if ( ! $page ) {
159
+ return $default;
160
+ }
161
+
162
+ if ( isset( $page->post_title ) ) {
163
+ return $page->post_title;
164
+ }
165
+
166
+ return $default;
167
+
168
+ }
169
+
170
  /**
171
  * Register taxonomy for custom post type.
172
  *
public/includes/class-cherry-services-list-templater.php CHANGED
@@ -61,9 +61,38 @@ class Cherry_Services_List_Templater extends Cherry_Services_List {
61
 
62
  // Add a filter to the template include in order to determine if the page has our template assigned and return it's path.
63
  add_filter( 'template_include', array( $this, 'view_template' ) );
 
64
 
65
  }
66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  /**
68
  * Checks if the template is assigned to the page.
69
  *
@@ -79,6 +108,17 @@ class Cherry_Services_List_Templater extends Cherry_Services_List {
79
  $archive_page = $this->get_option( 'archive-page' );
80
  $archive_page = apply_filters( 'wpml_object_id', $archive_page, 'page', true );
81
 
 
 
 
 
 
 
 
 
 
 
 
82
  if ( is_single() && $this->post_type() === get_post_type() ) {
83
 
84
  $file = 'single-services.php';
@@ -103,12 +143,12 @@ class Cherry_Services_List_Templater extends Cherry_Services_List {
103
 
104
  } elseif ( is_post_type_archive( $this->post_type() ) ) {
105
 
106
- $file = 'archive-services.php';
107
  $find[] = $file;
108
  $find[] = $this->template_path() . $file;
109
 
110
  } elseif ( $archive_page && is_page( $archive_page ) ) {
111
- $file = 'archive-services.php';
112
  $find[] = $file;
113
  $find[] = $this->template_path() . $file;
114
  }
@@ -176,20 +216,14 @@ class Cherry_Services_List_Templater extends Cherry_Services_List {
176
  */
177
  public function get_contents( $template ) {
178
 
179
- if ( ! function_exists( 'WP_Filesystem' ) ) {
180
- include_once( ABSPATH . '/wp-admin/includes/file.php' );
181
- }
182
-
183
- WP_Filesystem();
184
- global $wp_filesystem;
185
-
186
  // Check for existence.
187
- if ( ! $wp_filesystem->exists( $template ) ) {
188
  return false;
189
  }
190
 
191
- // Read the file.
192
- $content = $wp_filesystem->get_contents( $template );
 
193
 
194
  if ( ! $content ) {
195
  // Return error object.
61
 
62
  // Add a filter to the template include in order to determine if the page has our template assigned and return it's path.
63
  add_filter( 'template_include', array( $this, 'view_template' ) );
64
+ add_filter( 'request', array( $this, 'maybe_set_archive_page_vars' ) );
65
 
66
  }
67
 
68
+ /**
69
+ * Maybe change default requested query vars to Archive page if we try to get default post type archive
70
+ *
71
+ * @param array $query_vars Default query vars
72
+ * @return array
73
+ */
74
+ public function maybe_set_archive_page_vars( $query_vars ) {
75
+
76
+ if ( 1 !== count( $query_vars ) ) {
77
+ return $query_vars;
78
+ }
79
+
80
+ if ( empty( $query_vars['post_type'] ) || $this->post_type() !== $query_vars['post_type'] ) {
81
+ return $query_vars;
82
+ }
83
+
84
+ $page = Cherry_Services_List_Init::get_archive_page_object();
85
+
86
+ if ( ! $page ) {
87
+ return $query_vars;
88
+ }
89
+
90
+ return array(
91
+ 'page' => '',
92
+ 'pagename' => $page->post_name,
93
+ );
94
+ }
95
+
96
  /**
97
  * Checks if the template is assigned to the page.
98
  *
108
  $archive_page = $this->get_option( 'archive-page' );
109
  $archive_page = apply_filters( 'wpml_object_id', $archive_page, 'page', true );
110
 
111
+ $archive_template = 'archive-services.php';
112
+
113
+ if ( $archive_page ) {
114
+
115
+ $archive_shows = $this->get_option( 'archive-page-shows' );
116
+
117
+ if ( 'content' === $archive_shows ) {
118
+ $archive_template = 'page.php';
119
+ }
120
+ }
121
+
122
  if ( is_single() && $this->post_type() === get_post_type() ) {
123
 
124
  $file = 'single-services.php';
143
 
144
  } elseif ( is_post_type_archive( $this->post_type() ) ) {
145
 
146
+ $file = $archive_template;
147
  $find[] = $file;
148
  $find[] = $this->template_path() . $file;
149
 
150
  } elseif ( $archive_page && is_page( $archive_page ) ) {
151
+ $file = $archive_template;
152
  $find[] = $file;
153
  $find[] = $this->template_path() . $file;
154
  }
216
  */
217
  public function get_contents( $template ) {
218
 
 
 
 
 
 
 
 
219
  // Check for existence.
220
+ if ( ! file_exists( $template ) ) {
221
  return false;
222
  }
223
 
224
+ ob_start();
225
+ include $template;
226
+ $content = ob_get_clean();
227
 
228
  if ( ! $content ) {
229
  // Return error object.
readme.txt CHANGED
@@ -3,8 +3,8 @@
3
  Contributors: TemplateMonster 2002
4
  Tags: custom post type, services, service, cherry-framework
5
  Requires at least: 4.5
6
- Tested up to: 4.7.2
7
- Stable tag: 1.1.0
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -42,6 +42,11 @@ If you have Cherry Testimonials plugin installed on your website, you can also i
42
 
43
  == Changelog ==
44
 
 
 
 
 
 
45
  = 1.1.0 =
46
 
47
  * ADD: Insert shortcode button in editor
3
  Contributors: TemplateMonster 2002
4
  Tags: custom post type, services, service, 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
 
42
 
43
  == Changelog ==
44
 
45
+ = 1.2.0 =
46
+
47
+ * ADD: New option - 'Archive page shows'
48
+ * UPD: Rewrite URLs logic
49
+
50
  = 1.1.0 =
51
 
52
  * ADD: Insert shortcode button in editor