Orbit Fox by ThemeIsle - Version 2.0.3

Version Description

  • 2017-08-24
Download this release

Release Info

Developer codeinwp
Plugin Icon 128x128 Orbit Fox by ThemeIsle
Version 2.0.3
Comparing to
See all releases

Code changes from version 2.0.2 to 2.0.3

CHANGELOG.md CHANGED
@@ -1,7 +1,8 @@
1
 
2
- ### v2.0.2 - 2017-08-17
3
  **Changes:**
4
-
 
5
  ### v2.0.2 - 2017-08-16
6
  **Changes:**
7
  * Fix accordion not opening to display save buttons for modules
1
 
2
+ ### v2.0.3 - 2017-08-24
3
  **Changes:**
4
+ * Improved compatibility with the new Hestia version.
5
+
6
  ### v2.0.2 - 2017-08-16
7
  **Changes:**
8
  * Fix accordion not opening to display save buttons for modules
core/assets/css/orbit-fox-admin.css CHANGED
@@ -6,9 +6,9 @@
6
  *
7
  * @author ThemeIsle
8
  * Extends Spectre.css Library
9
- */
10
  /*
11
- Version: 2.0.2
12
  */
13
 
14
  /* Document
@@ -1600,8 +1600,8 @@ html {
1600
  }
1601
 
1602
  .obfx-header h1 {
1603
- letter-spacing: -0.025em;
1604
  margin-bottom: 0 !important;
 
1605
  }
1606
 
1607
  @media screen and (max-width: 1280px) {
6
  *
7
  * @author ThemeIsle
8
  * Extends Spectre.css Library
9
+ */
10
  /*
11
+ Version: 2.0.3
12
  */
13
 
14
  /* Document
1600
  }
1601
 
1602
  .obfx-header h1 {
 
1603
  margin-bottom: 0 !important;
1604
+ letter-spacing: -0.025em;
1605
  }
1606
 
1607
  @media screen and (max-width: 1280px) {
core/includes/class-orbit-fox.php CHANGED
@@ -68,7 +68,7 @@ class Orbit_Fox {
68
  public function __construct() {
69
 
70
  $this->plugin_name = 'orbit-fox';
71
- $this->version = '2.0.2';
72
 
73
  $this->load_dependencies();
74
  $this->set_locale();
68
  public function __construct() {
69
 
70
  $this->plugin_name = 'orbit-fox';
71
+ $this->version = '2.0.3';
72
 
73
  $this->load_dependencies();
74
  $this->set_locale();
images/orbit-fox.png CHANGED
Binary file
languages/themeisle-companion.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the GPL-2.0+.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Orbit Fox Companion 2.0.0\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Codeinwp/orbit-fox/issues\n"
7
- "POT-Creation-Date: 2017-08-11 10:36:30+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -81,15 +81,15 @@ msgstr ""
81
  msgid "No option found for provided type"
82
  msgstr ""
83
 
84
- #: core/app/views/modules-page.php:56
85
  msgid "Available Modules"
86
  msgstr ""
87
 
88
- #: core/app/views/modules-page.php:67
89
  msgid "Activated Modules Options"
90
  msgstr ""
91
 
92
- #: core/app/views/modules-page.php:69
93
  msgid "No modules activated."
94
  msgstr ""
95
 
@@ -134,240 +134,213 @@ msgid "Blog"
134
  msgstr ""
135
 
136
  #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:18
137
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php:26
138
  msgid "Why our product is the best"
139
  msgstr ""
140
 
141
  #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:23
142
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:32
143
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:40
144
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:48
145
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:64
146
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:194
147
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php:27
148
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php:139
149
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php:146
150
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php:153
151
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:24
152
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php:22
153
  msgid ""
154
  "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "
155
  "tempor incididunt ut labore et dolore magna aliqua."
156
  msgstr ""
157
 
158
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:31
159
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php:138
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  msgid "Responsive"
161
  msgstr ""
162
 
163
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:39
164
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php:145
165
  msgid "Quality"
166
  msgstr ""
167
 
168
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:47
169
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php:152
170
  msgid "Support"
171
  msgstr ""
172
 
173
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:60
174
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:23
175
- msgid "Meet our team"
176
- msgstr ""
177
-
178
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:71
179
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:172
180
  msgid "Desmond Purpleson"
181
  msgstr ""
182
 
183
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:72
184
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:173
185
  msgid "CEO"
186
  msgstr ""
187
 
188
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:73
189
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:174
190
  msgid ""
191
  "Locavore pinterest chambray affogato art party, forage coloring book "
192
  "typewriter. Bitters cold selfies, retro celiac sartorial mustache."
193
  msgstr ""
194
 
195
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:100
196
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:201
197
  msgid "Parsley Pepperspray"
198
  msgstr ""
199
 
200
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:101
201
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:202
202
  msgid "Marketing Specialist"
203
  msgstr ""
204
 
205
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:102
206
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:203
207
  msgid ""
208
  "Craft beer salvia celiac mlkshk. Pinterest celiac tumblr, portland salvia "
209
  "skateboard cliche thundercats. Tattooed chia austin hell."
210
  msgstr ""
211
 
212
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:129
213
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:230
214
  msgid "Desmond Eagle"
215
  msgstr ""
216
 
217
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:130
218
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:231
219
  msgid "Graphic Designer"
220
  msgstr ""
221
 
222
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:131
223
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:232
224
  msgid ""
225
  "Pok pok direct trade godard street art, poutine fam typewriter food truck "
226
  "narwhal kombucha wolf cardigan butcher whatever pickled you."
227
  msgstr ""
228
 
229
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:158
230
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:259
231
  msgid "Ruby Von Rails"
232
  msgstr ""
233
 
234
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:159
235
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:260
236
  msgid "Lead Developer"
237
  msgstr ""
238
 
239
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:160
240
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:261
241
  msgid ""
242
  "Small batch vexillologist 90's blue bottle stumptown bespoke. Pok pok tilde "
243
  "fixie chartreuse, VHS gluten-free selfies wolf hot."
244
  msgstr ""
245
 
246
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:190
247
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php:21
248
- msgid "What clients say"
249
- msgstr ""
250
-
251
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:201
252
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php:125
253
  msgid "Inverness McKenzie"
254
  msgstr ""
255
 
256
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:202
257
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php:126
258
  msgid "Business Owner"
259
  msgstr ""
260
 
261
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:203
262
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php:127
263
  msgid ""
264
  "\"We have no regrets! After using your product my business skyrocketed! I "
265
  "made back the purchase price in just 48 hours! I couldn't have asked for "
266
  "more than this.\""
267
  msgstr ""
268
 
269
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:208
270
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php:132
271
  msgid "Hanson Deck"
272
  msgstr ""
273
 
274
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:209
275
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php:133
276
  msgid "Independent Artist"
277
  msgstr ""
278
 
279
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:210
280
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php:134
281
  msgid ""
282
  "\"Your company is truly upstanding and is behind its product 100 percent. "
283
  "Hestia is worth much more than I paid. I like Hestia more each day because "
284
  "it makes easier.\""
285
  msgstr ""
286
 
287
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:215
288
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php:139
289
  msgid "Natalya Undergrowth"
290
  msgstr ""
291
 
292
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:216
293
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php:140
294
  msgid "Freelancer"
295
  msgstr ""
296
 
297
- #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:217
298
- #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php:141
299
  msgid ""
300
  "\"Thank you for making it painless, pleasant and most of all hassle free! I "
301
  "am so pleased with this product. Dude, your stuff is great! I will refer "
302
  "everyone I know.\""
303
  msgstr ""
304
 
305
- #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-features-section.php:26
306
- msgid "Features"
307
- msgstr ""
308
-
309
- #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-features-section.php:38
310
- #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-team-section.php:38
311
- #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-testimonials-section.php:38
312
- msgid "Disable section"
313
- msgstr ""
314
-
315
- #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-features-section.php:49
316
- #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-team-section.php:49
317
- #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-testimonials-section.php:49
318
- msgid "Section Title"
319
- msgstr ""
320
-
321
- #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-features-section.php:60
322
- #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-team-section.php:60
323
- #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-testimonials-section.php:60
324
- msgid "Section Subtitle"
325
- msgstr ""
326
-
327
- #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-features-section.php:72
328
- msgid "Features Content"
329
- msgstr ""
330
-
331
- #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-features-section.php:75
332
- msgid "Add new Feature"
333
- msgstr ""
334
-
335
- #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-features-section.php:76
336
- msgid "Feature"
337
- msgstr ""
338
-
339
- #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-team-section.php:26
340
- msgid "Team"
341
- msgstr ""
342
-
343
- #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-team-section.php:72
344
- msgid "Team Content"
345
- msgstr ""
346
-
347
- #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-team-section.php:75
348
- msgid "Add new Team Member"
349
- msgstr ""
350
-
351
- #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-team-section.php:76
352
- msgid "Team Member"
353
- msgstr ""
354
-
355
- #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-testimonials-section.php:26
356
- msgid "Testimonials"
357
- msgstr ""
358
-
359
- #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-testimonials-section.php:72
360
- msgid "Testimonials Content"
361
- msgstr ""
362
-
363
- #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-testimonials-section.php:75
364
- msgid "Add new Testimonial"
365
- msgstr ""
366
-
367
- #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-testimonials-section.php:76
368
- msgid "Testimonial"
369
- msgstr ""
370
-
371
  #: obfx_modules/companion-legacy/inc/rhea/widgets/about.widget.php:7
372
  #: obfx_modules/companion-legacy/inc/rhea/widgets/contact.widget.php:7
373
  #: obfx_modules/companion-legacy/inc/rhea/widgets/hours.widget.php:7
2
  # This file is distributed under the GPL-2.0+.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Orbit Fox Companion 2.0.2\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Codeinwp/orbit-fox/issues\n"
7
+ "POT-Creation-Date: 2017-08-22 14:27:35+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
81
  msgid "No option found for provided type"
82
  msgstr ""
83
 
84
+ #: core/app/views/modules-page.php:57
85
  msgid "Available Modules"
86
  msgstr ""
87
 
88
+ #: core/app/views/modules-page.php:68
89
  msgid "Activated Modules Options"
90
  msgstr ""
91
 
92
+ #: core/app/views/modules-page.php:70
93
  msgid "No modules activated."
94
  msgstr ""
95
 
134
  msgstr ""
135
 
136
  #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:18
137
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php:24
138
  msgid "Why our product is the best"
139
  msgstr ""
140
 
141
  #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:23
142
+ #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:38
143
+ #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:51
144
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php:25
145
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php:172
146
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php:179
147
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php:186
148
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:25
149
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php:23
 
 
 
150
  msgid ""
151
  "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod "
152
  "tempor incididunt ut labore et dolore magna aliqua."
153
  msgstr ""
154
 
155
+ #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:34
156
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:24
157
+ msgid "Meet our team"
158
+ msgstr ""
159
+
160
+ #: obfx_modules/companion-legacy/inc/hestia/inc/customizer.php:47
161
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php:22
162
+ msgid "What clients say"
163
+ msgstr ""
164
+
165
+ #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-features-section.php:21
166
+ msgid "Features"
167
+ msgstr ""
168
+
169
+ #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-features-section.php:37
170
+ #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-team-section.php:37
171
+ #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-testimonials-section.php:37
172
+ msgid "Disable section"
173
+ msgstr ""
174
+
175
+ #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-features-section.php:52
176
+ #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-team-section.php:52
177
+ #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-testimonials-section.php:52
178
+ msgid "Section Title"
179
+ msgstr ""
180
+
181
+ #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-features-section.php:67
182
+ #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-team-section.php:67
183
+ #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-testimonials-section.php:67
184
+ msgid "Section Subtitle"
185
+ msgstr ""
186
+
187
+ #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-features-section.php:84
188
+ msgid "Features Content"
189
+ msgstr ""
190
+
191
+ #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-features-section.php:87
192
+ msgid "Add new Feature"
193
+ msgstr ""
194
+
195
+ #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-features-section.php:88
196
+ msgid "Feature"
197
+ msgstr ""
198
+
199
+ #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-team-section.php:21
200
+ msgid "Team"
201
+ msgstr ""
202
+
203
+ #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-team-section.php:84
204
+ msgid "Team Content"
205
+ msgstr ""
206
+
207
+ #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-team-section.php:87
208
+ msgid "Add new Team Member"
209
+ msgstr ""
210
+
211
+ #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-team-section.php:88
212
+ msgid "Team Member"
213
+ msgstr ""
214
+
215
+ #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-testimonials-section.php:21
216
+ msgid "Testimonials"
217
+ msgstr ""
218
+
219
+ #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-testimonials-section.php:84
220
+ msgid "Testimonials Content"
221
+ msgstr ""
222
+
223
+ #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-testimonials-section.php:87
224
+ msgid "Add new Testimonial"
225
+ msgstr ""
226
+
227
+ #: obfx_modules/companion-legacy/inc/hestia/inc/features/feature-testimonials-section.php:88
228
+ msgid "Testimonial"
229
+ msgstr ""
230
+
231
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php:171
232
  msgid "Responsive"
233
  msgstr ""
234
 
235
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php:178
 
236
  msgid "Quality"
237
  msgstr ""
238
 
239
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php:185
 
240
  msgid "Support"
241
  msgstr ""
242
 
243
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:193
 
 
 
 
 
 
244
  msgid "Desmond Purpleson"
245
  msgstr ""
246
 
247
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:194
 
248
  msgid "CEO"
249
  msgstr ""
250
 
251
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:195
 
252
  msgid ""
253
  "Locavore pinterest chambray affogato art party, forage coloring book "
254
  "typewriter. Bitters cold selfies, retro celiac sartorial mustache."
255
  msgstr ""
256
 
257
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:224
 
258
  msgid "Parsley Pepperspray"
259
  msgstr ""
260
 
261
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:225
 
262
  msgid "Marketing Specialist"
263
  msgstr ""
264
 
265
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:226
 
266
  msgid ""
267
  "Craft beer salvia celiac mlkshk. Pinterest celiac tumblr, portland salvia "
268
  "skateboard cliche thundercats. Tattooed chia austin hell."
269
  msgstr ""
270
 
271
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:255
 
272
  msgid "Desmond Eagle"
273
  msgstr ""
274
 
275
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:256
 
276
  msgid "Graphic Designer"
277
  msgstr ""
278
 
279
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:257
 
280
  msgid ""
281
  "Pok pok direct trade godard street art, poutine fam typewriter food truck "
282
  "narwhal kombucha wolf cardigan butcher whatever pickled you."
283
  msgstr ""
284
 
285
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:286
 
286
  msgid "Ruby Von Rails"
287
  msgstr ""
288
 
289
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:287
 
290
  msgid "Lead Developer"
291
  msgstr ""
292
 
293
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php:288
 
294
  msgid ""
295
  "Small batch vexillologist 90's blue bottle stumptown bespoke. Pok pok tilde "
296
  "fixie chartreuse, VHS gluten-free selfies wolf hot."
297
  msgstr ""
298
 
299
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php:160
 
 
 
 
 
 
300
  msgid "Inverness McKenzie"
301
  msgstr ""
302
 
303
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php:161
 
304
  msgid "Business Owner"
305
  msgstr ""
306
 
307
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php:162
 
308
  msgid ""
309
  "\"We have no regrets! After using your product my business skyrocketed! I "
310
  "made back the purchase price in just 48 hours! I couldn't have asked for "
311
  "more than this.\""
312
  msgstr ""
313
 
314
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php:167
 
315
  msgid "Hanson Deck"
316
  msgstr ""
317
 
318
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php:168
 
319
  msgid "Independent Artist"
320
  msgstr ""
321
 
322
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php:169
 
323
  msgid ""
324
  "\"Your company is truly upstanding and is behind its product 100 percent. "
325
  "Hestia is worth much more than I paid. I like Hestia more each day because "
326
  "it makes easier.\""
327
  msgstr ""
328
 
329
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php:174
 
330
  msgid "Natalya Undergrowth"
331
  msgstr ""
332
 
333
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php:175
 
334
  msgid "Freelancer"
335
  msgstr ""
336
 
337
+ #: obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php:176
 
338
  msgid ""
339
  "\"Thank you for making it painless, pleasant and most of all hassle free! I "
340
  "am so pleased with this product. Dude, your stuff is great! I will refer "
341
  "everyone I know.\""
342
  msgstr ""
343
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
344
  #: obfx_modules/companion-legacy/inc/rhea/widgets/about.widget.php:7
345
  #: obfx_modules/companion-legacy/inc/rhea/widgets/contact.widget.php:7
346
  #: obfx_modules/companion-legacy/inc/rhea/widgets/hours.widget.php:7
obfx_modules/companion-legacy/inc/hestia/inc/customizer.php CHANGED
@@ -25,33 +25,7 @@ if ( ! function_exists( 'hestia_companion_customize_register' ) ) :
25
 
26
  $hestia_features_content_control = $wp_customize->get_setting( 'hestia_features_content' );
27
  if ( ! empty( $hestia_features_content_control ) ) {
28
- $hestia_features_content_control->default = json_encode( array(
29
- array(
30
- 'icon_value' => 'fa-wechat',
31
- 'title' => esc_html__( 'Responsive', 'themeisle-companion' ),
32
- 'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' ),
33
- 'link' => '#',
34
- 'id' => 'customizer_repeater_56d7ea7f40b56',
35
- 'color' => '#e91e63',
36
- ),
37
- array(
38
- 'icon_value' => 'fa-check',
39
- 'title' => esc_html__( 'Quality', 'themeisle-companion' ),
40
- 'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' ),
41
- 'link' => '#',
42
- 'id' => 'customizer_repeater_56d7ea7f40b66',
43
- 'color' => '#00bcd4',
44
- ),
45
- array(
46
- 'icon_value' => 'fa-support',
47
- 'title' => esc_html__( 'Support', 'themeisle-companion' ),
48
- 'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' ),
49
- 'link' => '#',
50
- 'id' => 'customizer_repeater_56d7ea7f40b86',
51
- 'color' => '#4caf50',
52
- ),
53
- ) );
54
-
55
  }
56
 
57
  // Change defaults for customizer controls for team section.
@@ -65,124 +39,7 @@ if ( ! function_exists( 'hestia_companion_customize_register' ) ) :
65
  }
66
  $hestia_team_content_control = $wp_customize->get_setting( 'hestia_team_content' );
67
  if ( ! empty( $hestia_team_content_control ) ) {
68
- $hestia_team_content_control->default = json_encode( array(
69
- array(
70
- 'image_url' => get_template_directory_uri() . '/assets/img/1.jpg',
71
- 'title' => esc_html__( 'Desmond Purpleson', 'themeisle-companion' ),
72
- 'subtitle' => esc_html__( 'CEO', 'themeisle-companion' ),
73
- 'text' => esc_html__( 'Locavore pinterest chambray affogato art party, forage coloring book typewriter. Bitters cold selfies, retro celiac sartorial mustache.', 'themeisle-companion' ),
74
- 'id' => 'customizer_repeater_56d7ea7f40c56',
75
- 'social_repeater' => json_encode( array(
76
- array(
77
- 'id' => 'customizer-repeater-social-repeater-57fb908674e06',
78
- 'link' => 'facebook.com',
79
- 'icon' => 'fa-facebook',
80
- ),
81
- array(
82
- 'id' => 'customizer-repeater-social-repeater-57fb9148530ft',
83
- 'link' => 'plus.google.com',
84
- 'icon' => 'fa-google-plus',
85
- ),
86
- array(
87
- 'id' => 'customizer-repeater-social-repeater-57fb9148530fc',
88
- 'link' => 'twitter.com',
89
- 'icon' => 'fa-twitter',
90
- ),
91
- array(
92
- 'id' => 'customizer-repeater-social-repeater-57fb9150e1e89',
93
- 'link' => 'linkedin.com',
94
- 'icon' => 'fa-linkedin',
95
- ),
96
- ) ),
97
- ),
98
- array(
99
- 'image_url' => get_template_directory_uri() . '/assets/img/2.jpg',
100
- 'title' => esc_html__( 'Parsley Pepperspray', 'themeisle-companion' ),
101
- 'subtitle' => esc_html__( 'Marketing Specialist', 'themeisle-companion' ),
102
- 'text' => esc_html__( 'Craft beer salvia celiac mlkshk. Pinterest celiac tumblr, portland salvia skateboard cliche thundercats. Tattooed chia austin hell.', 'themeisle-companion' ),
103
- 'id' => 'customizer_repeater_56d7ea7f40c66',
104
- 'social_repeater' => json_encode( array(
105
- array(
106
- 'id' => 'customizer-repeater-social-repeater-57fb9155a1072',
107
- 'link' => 'facebook.com',
108
- 'icon' => 'fa-facebook',
109
- ),
110
- array(
111
- 'id' => 'customizer-repeater-social-repeater-57fb9160ab683',
112
- 'link' => 'twitter.com',
113
- 'icon' => 'fa-twitter',
114
- ),
115
- array(
116
- 'id' => 'customizer-repeater-social-repeater-57fb9160ab484',
117
- 'link' => 'pinterest.com',
118
- 'icon' => 'fa-pinterest',
119
- ),
120
- array(
121
- 'id' => 'customizer-repeater-social-repeater-57fb916ddffc9',
122
- 'link' => 'linkedin.com',
123
- 'icon' => 'fa-linkedin',
124
- ),
125
- ) ),
126
- ),
127
- array(
128
- 'image_url' => get_template_directory_uri() . '/assets/img/3.jpg',
129
- 'title' => esc_html__( 'Desmond Eagle', 'themeisle-companion' ),
130
- 'subtitle' => esc_html__( 'Graphic Designer', 'themeisle-companion' ),
131
- 'text' => esc_html__( 'Pok pok direct trade godard street art, poutine fam typewriter food truck narwhal kombucha wolf cardigan butcher whatever pickled you.', 'themeisle-companion' ),
132
- 'id' => 'customizer_repeater_56d7ea7f40c76',
133
- 'social_repeater' => json_encode( array(
134
- array(
135
- 'id' => 'customizer-repeater-social-repeater-57fb917e4c69e',
136
- 'link' => 'facebook.com',
137
- 'icon' => 'fa-facebook',
138
- ),
139
- array(
140
- 'id' => 'customizer-repeater-social-repeater-57fb91830825c',
141
- 'link' => 'twitter.com',
142
- 'icon' => 'fa-twitter',
143
- ),
144
- array(
145
- 'id' => 'customizer-repeater-social-repeater-57fb918d65f2e',
146
- 'link' => 'linkedin.com',
147
- 'icon' => 'fa-linkedin',
148
- ),
149
- array(
150
- 'id' => 'customizer-repeater-social-repeater-57fb918d65f2x',
151
- 'link' => 'dribbble.com',
152
- 'icon' => 'fa-dribbble',
153
- ),
154
- ) ),
155
- ),
156
- array(
157
- 'image_url' => get_template_directory_uri() . '/assets/img/4.jpg',
158
- 'title' => esc_html__( 'Ruby Von Rails', 'themeisle-companion' ),
159
- 'subtitle' => esc_html__( 'Lead Developer', 'themeisle-companion' ),
160
- 'text' => esc_html__( 'Small batch vexillologist 90\'s blue bottle stumptown bespoke. Pok pok tilde fixie chartreuse, VHS gluten-free selfies wolf hot.', 'themeisle-companion' ),
161
- 'id' => 'customizer_repeater_56d7ea7f40c86',
162
- 'social_repeater' => json_encode( array(
163
- array(
164
- 'id' => 'customizer-repeater-social-repeater-57fb925cedcg5',
165
- 'link' => 'github.com',
166
- 'icon' => 'fa-github-square',
167
- ),
168
- array(
169
- 'id' => 'customizer-repeater-social-repeater-57fb925cedcb2',
170
- 'link' => 'facebook.com',
171
- 'icon' => 'fa-facebook',
172
- ),
173
- array(
174
- 'id' => 'customizer-repeater-social-repeater-57fb92615f030',
175
- 'link' => 'twitter.com',
176
- 'icon' => 'fa-twitter',
177
- ),
178
- array(
179
- 'id' => 'customizer-repeater-social-repeater-57fb9266c223a',
180
- 'link' => 'linkedin.com',
181
- 'icon' => 'fa-linkedin',
182
- ),
183
- ) ),
184
- ),
185
- ) );
186
  }// End if().
187
 
188
  $hestia_testimonials_title_setting = $wp_customize->get_setting( 'hestia_testimonials_title' );
@@ -195,29 +52,7 @@ if ( ! function_exists( 'hestia_companion_customize_register' ) ) :
195
  }
196
  $hestia_testimonials_content_setting = $wp_customize->get_setting( 'hestia_testimonials_content' );
197
  if ( ! empty( $hestia_testimonials_content_setting ) ) {
198
- $hestia_testimonials_content_setting->default = json_encode( array(
199
- array(
200
- 'image_url' => get_template_directory_uri() . '/assets/img/5.jpg',
201
- 'title' => esc_html__( 'Inverness McKenzie', 'themeisle-companion' ),
202
- 'subtitle' => esc_html__( 'Business Owner', 'themeisle-companion' ),
203
- 'text' => esc_html__( '"We have no regrets! After using your product my business skyrocketed! I made back the purchase price in just 48 hours! I couldn\'t have asked for more than this."', 'themeisle-companion' ),
204
- 'id' => 'customizer_repeater_56d7ea7f40d56',
205
- ),
206
- array(
207
- 'image_url' => get_template_directory_uri() . '/assets/img/6.jpg',
208
- 'title' => esc_html__( 'Hanson Deck', 'themeisle-companion' ),
209
- 'subtitle' => esc_html__( 'Independent Artist', 'themeisle-companion' ),
210
- 'text' => esc_html__( '"Your company is truly upstanding and is behind its product 100 percent. Hestia is worth much more than I paid. I like Hestia more each day because it makes easier."', 'themeisle-companion' ),
211
- 'id' => 'customizer_repeater_56d7ea7f40d66',
212
- ),
213
- array(
214
- 'image_url' => get_template_directory_uri() . '/assets/img/7.jpg',
215
- 'title' => esc_html__( 'Natalya Undergrowth', 'themeisle-companion' ),
216
- 'subtitle' => esc_html__( 'Freelancer', 'themeisle-companion' ),
217
- 'text' => esc_html__( '"Thank you for making it painless, pleasant and most of all hassle free! I am so pleased with this product. Dude, your stuff is great! I will refer everyone I know."', 'themeisle-companion' ),
218
- 'id' => 'customizer_repeater_56d7ea7f40d76',
219
- ),
220
- ) );
221
  }
222
 
223
  }
25
 
26
  $hestia_features_content_control = $wp_customize->get_setting( 'hestia_features_content' );
27
  if ( ! empty( $hestia_features_content_control ) ) {
28
+ $hestia_features_content_control->default = hestia_get_features_default();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  }
30
 
31
  // Change defaults for customizer controls for team section.
39
  }
40
  $hestia_team_content_control = $wp_customize->get_setting( 'hestia_team_content' );
41
  if ( ! empty( $hestia_team_content_control ) ) {
42
+ $hestia_team_content_control->default = hestia_get_team_default();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  }// End if().
44
 
45
  $hestia_testimonials_title_setting = $wp_customize->get_setting( 'hestia_testimonials_title' );
52
  }
53
  $hestia_testimonials_content_setting = $wp_customize->get_setting( 'hestia_testimonials_content' );
54
  if ( ! empty( $hestia_testimonials_content_setting ) ) {
55
+ $hestia_testimonials_content_setting->default = hestia_get_testimonials_default();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  }
57
 
58
  }
obfx_modules/companion-legacy/inc/hestia/inc/features/feature-features-section.php CHANGED
@@ -6,12 +6,6 @@
6
  * @since Hestia 1.0
7
  */
8
 
9
- // Load Customizer repeater control.
10
- $repeater_path = get_template_directory() . '/inc/customizer-repeater/functions.php';
11
- if ( file_exists( $repeater_path ) ) {
12
- require_once( $repeater_path );
13
- }
14
-
15
  if ( ! function_exists( 'hestia_features_customize_register' ) ) :
16
  /**
17
  * Hook controls for Features section to Customizer.
@@ -22,64 +16,84 @@ if ( ! function_exists( 'hestia_features_customize_register' ) ) :
22
  function hestia_features_customize_register( $wp_customize ) {
23
 
24
  $selective_refresh = isset( $wp_customize->selective_refresh ) ? true : false;
25
- $wp_customize->add_section( 'hestia_features', array(
26
- 'title' => esc_html__( 'Features', 'themeisle-companion' ),
27
- 'panel' => 'hestia_frontpage_sections',
28
- 'priority' => apply_filters( 'hestia_section_priority', 10, 'hestia_features' ),
29
- ) );
30
-
31
- $wp_customize->add_setting( 'hestia_features_hide', array(
32
- 'sanitize_callback' => 'hestia_sanitize_checkbox',
33
- 'default' => false,
34
- ) );
35
-
36
- $wp_customize->add_control( 'hestia_features_hide', array(
37
- 'type' => 'checkbox',
38
- 'label' => esc_html__( 'Disable section', 'themeisle-companion' ),
39
- 'section' => 'hestia_features',
40
- 'priority' => 1,
41
- ) );
42
-
43
- $wp_customize->add_setting( 'hestia_features_title', array(
44
- 'sanitize_callback' => 'sanitize_text_field',
45
- 'transport' => $selective_refresh ? 'postMessage' : 'refresh',
46
- ) );
47
-
48
- $wp_customize->add_control( 'hestia_features_title', array(
49
- 'label' => esc_html__( 'Section Title', 'themeisle-companion' ),
50
- 'section' => 'hestia_features',
51
- 'priority' => 5,
52
- ) );
53
-
54
- $wp_customize->add_setting( 'hestia_features_subtitle', array(
55
- 'sanitize_callback' => 'sanitize_text_field',
56
- 'transport' => $selective_refresh ? 'postMessage' : 'refresh',
57
- ) );
58
-
59
- $wp_customize->add_control( 'hestia_features_subtitle', array(
60
- 'label' => esc_html__( 'Section Subtitle', 'themeisle-companion' ),
61
- 'section' => 'hestia_features',
62
- 'priority' => 10,
63
- ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
 
65
  if ( class_exists( 'Hestia_Repeater' ) ) {
66
- $wp_customize->add_setting( 'hestia_features_content', array(
67
- 'sanitize_callback' => 'hestia_repeater_sanitize',
68
- 'transport' => $selective_refresh ? 'postMessage' : 'refresh',
69
- ) );
70
-
71
- $wp_customize->add_control( new Hestia_Repeater( $wp_customize, 'hestia_features_content', array(
72
- 'label' => esc_html__( 'Features Content', 'themeisle-companion' ),
73
- 'section' => 'hestia_features',
74
- 'priority' => 15,
75
- 'add_field_label' => esc_html__( 'Add new Feature', 'themeisle-companion' ),
76
- 'item_name' => esc_html__( 'Feature', 'themeisle-companion' ),
77
- 'customizer_repeater_icon_control' => true,
78
- 'customizer_repeater_title_control' => true,
79
- 'customizer_repeater_text_control' => true,
80
- 'customizer_repeater_link_control' => true,
81
- 'customizer_repeater_color_control' => true,
82
- ) ) );
 
 
 
 
 
 
83
  }
84
 
85
  }
@@ -92,7 +106,7 @@ endif;
92
  * Add selective refresh for features section controls.
93
  *
94
  * @param WP_Customize_Manager $wp_customize Theme Customizer object.
95
- * @since 1.1.30
96
  * @access public
97
  */
98
  function hestia_register_features_partials( $wp_customize ) {
@@ -101,23 +115,29 @@ function hestia_register_features_partials( $wp_customize ) {
101
  return;
102
  }
103
 
104
- $wp_customize->selective_refresh->add_partial( 'hestia_features_title', array(
105
- 'selector' => '.hestia-features h2.title',
106
- 'settings' => 'hestia_features_title',
107
- 'render_callback' => 'hestia_features_title_callback',
108
- ));
109
-
110
- $wp_customize->selective_refresh->add_partial( 'hestia_features_subtitle', array(
111
- 'selector' => '.hestia-features h5.description',
112
- 'settings' => 'hestia_features_subtitle',
113
- 'render_callback' => 'hestia_features_subtitle_callback',
114
- ));
115
-
116
- $wp_customize->selective_refresh->add_partial( 'hestia_features_content', array(
117
- 'selector' => '.hestia-features-content',
118
- 'settings' => 'hestia_features_content',
119
- 'render_callback' => 'hestia_features_content_callback',
120
- ));
 
 
 
 
 
 
121
  }
122
  add_action( 'customize_register', 'hestia_register_features_partials' );
123
 
@@ -125,7 +145,7 @@ add_action( 'customize_register', 'hestia_register_features_partials' );
125
  * Callback function for features title selective refresh.
126
  *
127
  * @return string
128
- * @since 1.1.30
129
  * @access public
130
  */
131
  function hestia_features_title_callback() {
@@ -136,7 +156,7 @@ function hestia_features_title_callback() {
136
  * Callback function for features subtitle selective refresh.
137
  *
138
  * @return string
139
- * @since 1.1.30
140
  * @access public
141
  */
142
  function hestia_features_subtitle_callback() {
@@ -146,7 +166,7 @@ function hestia_features_subtitle_callback() {
146
  /**
147
  * Callback function for features content selective refresh.
148
  *
149
- * @since 1.1.30
150
  * @access public
151
  */
152
  function hestia_features_content_callback() {
6
  * @since Hestia 1.0
7
  */
8
 
 
 
 
 
 
 
9
  if ( ! function_exists( 'hestia_features_customize_register' ) ) :
10
  /**
11
  * Hook controls for Features section to Customizer.
16
  function hestia_features_customize_register( $wp_customize ) {
17
 
18
  $selective_refresh = isset( $wp_customize->selective_refresh ) ? true : false;
19
+ $wp_customize->add_section(
20
+ 'hestia_features', array(
21
+ 'title' => esc_html__( 'Features', 'themeisle-companion' ),
22
+ 'panel' => 'hestia_frontpage_sections',
23
+ 'priority' => apply_filters( 'hestia_section_priority', 10, 'hestia_features' ),
24
+ )
25
+ );
26
+
27
+ $wp_customize->add_setting(
28
+ 'hestia_features_hide', array(
29
+ 'sanitize_callback' => 'hestia_sanitize_checkbox',
30
+ 'default' => false,
31
+ )
32
+ );
33
+
34
+ $wp_customize->add_control(
35
+ 'hestia_features_hide', array(
36
+ 'type' => 'checkbox',
37
+ 'label' => esc_html__( 'Disable section', 'themeisle-companion' ),
38
+ 'section' => 'hestia_features',
39
+ 'priority' => 1,
40
+ )
41
+ );
42
+
43
+ $wp_customize->add_setting(
44
+ 'hestia_features_title', array(
45
+ 'sanitize_callback' => 'sanitize_text_field',
46
+ 'transport' => $selective_refresh ? 'postMessage' : 'refresh',
47
+ )
48
+ );
49
+
50
+ $wp_customize->add_control(
51
+ 'hestia_features_title', array(
52
+ 'label' => esc_html__( 'Section Title', 'themeisle-companion' ),
53
+ 'section' => 'hestia_features',
54
+ 'priority' => 5,
55
+ )
56
+ );
57
+
58
+ $wp_customize->add_setting(
59
+ 'hestia_features_subtitle', array(
60
+ 'sanitize_callback' => 'sanitize_text_field',
61
+ 'transport' => $selective_refresh ? 'postMessage' : 'refresh',
62
+ )
63
+ );
64
+
65
+ $wp_customize->add_control(
66
+ 'hestia_features_subtitle', array(
67
+ 'label' => esc_html__( 'Section Subtitle', 'themeisle-companion' ),
68
+ 'section' => 'hestia_features',
69
+ 'priority' => 10,
70
+ )
71
+ );
72
 
73
  if ( class_exists( 'Hestia_Repeater' ) ) {
74
+ $wp_customize->add_setting(
75
+ 'hestia_features_content', array(
76
+ 'sanitize_callback' => 'hestia_repeater_sanitize',
77
+ 'transport' => $selective_refresh ? 'postMessage' : 'refresh',
78
+ )
79
+ );
80
+
81
+ $wp_customize->add_control(
82
+ new Hestia_Repeater(
83
+ $wp_customize, 'hestia_features_content', array(
84
+ 'label' => esc_html__( 'Features Content', 'themeisle-companion' ),
85
+ 'section' => 'hestia_features',
86
+ 'priority' => 15,
87
+ 'add_field_label' => esc_html__( 'Add new Feature', 'themeisle-companion' ),
88
+ 'item_name' => esc_html__( 'Feature', 'themeisle-companion' ),
89
+ 'customizer_repeater_icon_control' => true,
90
+ 'customizer_repeater_title_control' => true,
91
+ 'customizer_repeater_text_control' => true,
92
+ 'customizer_repeater_link_control' => true,
93
+ 'customizer_repeater_color_control' => true,
94
+ )
95
+ )
96
+ );
97
  }
98
 
99
  }
106
  * Add selective refresh for features section controls.
107
  *
108
  * @param WP_Customize_Manager $wp_customize Theme Customizer object.
109
+ * @since 1.1.31
110
  * @access public
111
  */
112
  function hestia_register_features_partials( $wp_customize ) {
115
  return;
116
  }
117
 
118
+ $wp_customize->selective_refresh->add_partial(
119
+ 'hestia_features_title', array(
120
+ 'selector' => '.hestia-features h2.title',
121
+ 'settings' => 'hestia_features_title',
122
+ 'render_callback' => 'hestia_features_title_callback',
123
+ )
124
+ );
125
+
126
+ $wp_customize->selective_refresh->add_partial(
127
+ 'hestia_features_subtitle', array(
128
+ 'selector' => '.hestia-features h5.description',
129
+ 'settings' => 'hestia_features_subtitle',
130
+ 'render_callback' => 'hestia_features_subtitle_callback',
131
+ )
132
+ );
133
+
134
+ $wp_customize->selective_refresh->add_partial(
135
+ 'hestia_features_content', array(
136
+ 'selector' => '.hestia-features-content',
137
+ 'settings' => 'hestia_features_content',
138
+ 'render_callback' => 'hestia_features_content_callback',
139
+ )
140
+ );
141
  }
142
  add_action( 'customize_register', 'hestia_register_features_partials' );
143
 
145
  * Callback function for features title selective refresh.
146
  *
147
  * @return string
148
+ * @since 1.1.31
149
  * @access public
150
  */
151
  function hestia_features_title_callback() {
156
  * Callback function for features subtitle selective refresh.
157
  *
158
  * @return string
159
+ * @since 1.1.31
160
  * @access public
161
  */
162
  function hestia_features_subtitle_callback() {
166
  /**
167
  * Callback function for features content selective refresh.
168
  *
169
+ * @since 1.1.31
170
  * @access public
171
  */
172
  function hestia_features_content_callback() {
obfx_modules/companion-legacy/inc/hestia/inc/features/feature-team-section.php CHANGED
@@ -6,12 +6,6 @@
6
  * @since Hestia 1.0
7
  */
8
 
9
- // Load Customizer repeater control.
10
- $repeater_path = get_template_directory() . '/inc/customizer-repeater/functions.php';
11
- if ( file_exists( $repeater_path ) ) {
12
- require_once( $repeater_path );
13
- }
14
-
15
  if ( ! function_exists( 'hestia_team_customize_register' ) ) :
16
  /**
17
  * Hook controls for Team section to Customizer.
@@ -22,65 +16,85 @@ if ( ! function_exists( 'hestia_team_customize_register' ) ) :
22
  function hestia_team_customize_register( $wp_customize ) {
23
 
24
  $selective_refresh = isset( $wp_customize->selective_refresh ) ? true : false;
25
- $wp_customize->add_section( 'hestia_team', array(
26
- 'title' => esc_html__( 'Team', 'themeisle-companion' ),
27
- 'panel' => 'hestia_frontpage_sections',
28
- 'priority' => apply_filters( 'hestia_section_priority', 30, 'hestia_team' ),
29
- ) );
30
-
31
- $wp_customize->add_setting( 'hestia_team_hide', array(
32
- 'sanitize_callback' => 'hestia_sanitize_checkbox',
33
- 'default' => false,
34
- ) );
35
-
36
- $wp_customize->add_control( 'hestia_team_hide', array(
37
- 'type' => 'checkbox',
38
- 'label' => esc_html__( 'Disable section', 'themeisle-companion' ),
39
- 'section' => 'hestia_team',
40
- 'priority' => 1,
41
- ) );
42
-
43
- $wp_customize->add_setting( 'hestia_team_title', array(
44
- 'sanitize_callback' => 'sanitize_text_field',
45
- 'transport' => $selective_refresh ? 'postMessage' : 'refresh',
46
- ) );
47
-
48
- $wp_customize->add_control( 'hestia_team_title', array(
49
- 'label' => esc_html__( 'Section Title', 'themeisle-companion' ),
50
- 'section' => 'hestia_team',
51
- 'priority' => 5,
52
- ) );
53
-
54
- $wp_customize->add_setting( 'hestia_team_subtitle', array(
55
- 'sanitize_callback' => 'sanitize_text_field',
56
- 'transport' => $selective_refresh ? 'postMessage' : 'refresh',
57
- ) );
58
-
59
- $wp_customize->add_control( 'hestia_team_subtitle', array(
60
- 'label' => esc_html__( 'Section Subtitle', 'themeisle-companion' ),
61
- 'section' => 'hestia_team',
62
- 'priority' => 10,
63
- ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
 
65
  if ( class_exists( 'Hestia_Repeater' ) ) {
66
- $wp_customize->add_setting( 'hestia_team_content', array(
67
- 'sanitize_callback' => 'hestia_repeater_sanitize',
68
- 'transport' => $selective_refresh ? 'postMessage' : 'refresh',
69
- ) );
70
-
71
- $wp_customize->add_control( new Hestia_Repeater( $wp_customize, 'hestia_team_content', array(
72
- 'label' => esc_html__( 'Team Content', 'themeisle-companion' ),
73
- 'section' => 'hestia_team',
74
- 'priority' => 15,
75
- 'add_field_label' => esc_html__( 'Add new Team Member', 'themeisle-companion' ),
76
- 'item_name' => esc_html__( 'Team Member', 'themeisle-companion' ),
77
- 'customizer_repeater_image_control' => true,
78
- 'customizer_repeater_title_control' => true,
79
- 'customizer_repeater_subtitle_control' => true,
80
- 'customizer_repeater_text_control' => true,
81
- 'customizer_repeater_link_control' => true,
82
- 'customizer_repeater_repeater_control' => true,
83
- ) ) );
 
 
 
 
 
 
84
  }
85
  }
86
 
@@ -93,7 +107,7 @@ endif;
93
  * Add selective refresh for team section controls.
94
  *
95
  * @param WP_Customize_Manager $wp_customize Theme Customizer object.
96
- * @since 1.1.30
97
  * @access public
98
  */
99
  function hestia_register_team_partials( $wp_customize ) {
@@ -102,23 +116,29 @@ function hestia_register_team_partials( $wp_customize ) {
102
  return;
103
  }
104
 
105
- $wp_customize->selective_refresh->add_partial( 'hestia_team_title', array(
106
- 'selector' => '#team h2.title',
107
- 'settings' => 'hestia_team_title',
108
- 'render_callback' => 'hestia_team_title_callback',
109
- ));
110
-
111
- $wp_customize->selective_refresh->add_partial( 'hestia_team_subtitle', array(
112
- 'selector' => '#team h5.description',
113
- 'settings' => 'hestia_team_subtitle',
114
- 'render_callback' => 'hestia_team_subtitle_callback',
115
- ));
116
-
117
- $wp_customize->selective_refresh->add_partial( 'hestia_team_content', array(
118
- 'selector' => '.hestia-team-content',
119
- 'settings' => 'hestia_team_content',
120
- 'render_callback' => 'hestia_team_content_callback',
121
- ));
 
 
 
 
 
 
122
  }
123
  add_action( 'customize_register', 'hestia_register_team_partials' );
124
 
@@ -127,7 +147,7 @@ add_action( 'customize_register', 'hestia_register_team_partials' );
127
  * Callback function for team title selective refresh.
128
  *
129
  * @return string
130
- * @since 1.1.30
131
  * @access public
132
  */
133
  function hestia_team_title_callback() {
@@ -138,7 +158,7 @@ function hestia_team_title_callback() {
138
  * Callback function for team subtitle selective refresh.
139
  *
140
  * @return string
141
- * @since 1.1.30
142
  * @access public
143
  */
144
  function hestia_team_subtitle_callback() {
@@ -148,7 +168,7 @@ function hestia_team_subtitle_callback() {
148
  /**
149
  * Callback function for team content selective refresh.
150
  *
151
- * @since 1.1.30
152
  * @access public
153
  */
154
  function hestia_team_content_callback() {
6
  * @since Hestia 1.0
7
  */
8
 
 
 
 
 
 
 
9
  if ( ! function_exists( 'hestia_team_customize_register' ) ) :
10
  /**
11
  * Hook controls for Team section to Customizer.
16
  function hestia_team_customize_register( $wp_customize ) {
17
 
18
  $selective_refresh = isset( $wp_customize->selective_refresh ) ? true : false;
19
+ $wp_customize->add_section(
20
+ 'hestia_team', array(
21
+ 'title' => esc_html__( 'Team', 'themeisle-companion' ),
22
+ 'panel' => 'hestia_frontpage_sections',
23
+ 'priority' => apply_filters( 'hestia_section_priority', 30, 'hestia_team' ),
24
+ )
25
+ );
26
+
27
+ $wp_customize->add_setting(
28
+ 'hestia_team_hide', array(
29
+ 'sanitize_callback' => 'hestia_sanitize_checkbox',
30
+ 'default' => false,
31
+ )
32
+ );
33
+
34
+ $wp_customize->add_control(
35
+ 'hestia_team_hide', array(
36
+ 'type' => 'checkbox',
37
+ 'label' => esc_html__( 'Disable section', 'themeisle-companion' ),
38
+ 'section' => 'hestia_team',
39
+ 'priority' => 1,
40
+ )
41
+ );
42
+
43
+ $wp_customize->add_setting(
44
+ 'hestia_team_title', array(
45
+ 'sanitize_callback' => 'sanitize_text_field',
46
+ 'transport' => $selective_refresh ? 'postMessage' : 'refresh',
47
+ )
48
+ );
49
+
50
+ $wp_customize->add_control(
51
+ 'hestia_team_title', array(
52
+ 'label' => esc_html__( 'Section Title', 'themeisle-companion' ),
53
+ 'section' => 'hestia_team',
54
+ 'priority' => 5,
55
+ )
56
+ );
57
+
58
+ $wp_customize->add_setting(
59
+ 'hestia_team_subtitle', array(
60
+ 'sanitize_callback' => 'sanitize_text_field',
61
+ 'transport' => $selective_refresh ? 'postMessage' : 'refresh',
62
+ )
63
+ );
64
+
65
+ $wp_customize->add_control(
66
+ 'hestia_team_subtitle', array(
67
+ 'label' => esc_html__( 'Section Subtitle', 'themeisle-companion' ),
68
+ 'section' => 'hestia_team',
69
+ 'priority' => 10,
70
+ )
71
+ );
72
 
73
  if ( class_exists( 'Hestia_Repeater' ) ) {
74
+ $wp_customize->add_setting(
75
+ 'hestia_team_content', array(
76
+ 'sanitize_callback' => 'hestia_repeater_sanitize',
77
+ 'transport' => $selective_refresh ? 'postMessage' : 'refresh',
78
+ )
79
+ );
80
+
81
+ $wp_customize->add_control(
82
+ new Hestia_Repeater(
83
+ $wp_customize, 'hestia_team_content', array(
84
+ 'label' => esc_html__( 'Team Content', 'themeisle-companion' ),
85
+ 'section' => 'hestia_team',
86
+ 'priority' => 15,
87
+ 'add_field_label' => esc_html__( 'Add new Team Member', 'themeisle-companion' ),
88
+ 'item_name' => esc_html__( 'Team Member', 'themeisle-companion' ),
89
+ 'customizer_repeater_image_control' => true,
90
+ 'customizer_repeater_title_control' => true,
91
+ 'customizer_repeater_subtitle_control' => true,
92
+ 'customizer_repeater_text_control' => true,
93
+ 'customizer_repeater_link_control' => true,
94
+ 'customizer_repeater_repeater_control' => true,
95
+ )
96
+ )
97
+ );
98
  }
99
  }
100
 
107
  * Add selective refresh for team section controls.
108
  *
109
  * @param WP_Customize_Manager $wp_customize Theme Customizer object.
110
+ * @since 1.1.31
111
  * @access public
112
  */
113
  function hestia_register_team_partials( $wp_customize ) {
116
  return;
117
  }
118
 
119
+ $wp_customize->selective_refresh->add_partial(
120
+ 'hestia_team_title', array(
121
+ 'selector' => '#team h2.title',
122
+ 'settings' => 'hestia_team_title',
123
+ 'render_callback' => 'hestia_team_title_callback',
124
+ )
125
+ );
126
+
127
+ $wp_customize->selective_refresh->add_partial(
128
+ 'hestia_team_subtitle', array(
129
+ 'selector' => '#team h5.description',
130
+ 'settings' => 'hestia_team_subtitle',
131
+ 'render_callback' => 'hestia_team_subtitle_callback',
132
+ )
133
+ );
134
+
135
+ $wp_customize->selective_refresh->add_partial(
136
+ 'hestia_team_content', array(
137
+ 'selector' => '.hestia-team-content',
138
+ 'settings' => 'hestia_team_content',
139
+ 'render_callback' => 'hestia_team_content_callback',
140
+ )
141
+ );
142
  }
143
  add_action( 'customize_register', 'hestia_register_team_partials' );
144
 
147
  * Callback function for team title selective refresh.
148
  *
149
  * @return string
150
+ * @since 1.1.31
151
  * @access public
152
  */
153
  function hestia_team_title_callback() {
158
  * Callback function for team subtitle selective refresh.
159
  *
160
  * @return string
161
+ * @since 1.1.31
162
  * @access public
163
  */
164
  function hestia_team_subtitle_callback() {
168
  /**
169
  * Callback function for team content selective refresh.
170
  *
171
+ * @since 1.1.31
172
  * @access public
173
  */
174
  function hestia_team_content_callback() {
obfx_modules/companion-legacy/inc/hestia/inc/features/feature-testimonials-section.php CHANGED
@@ -6,12 +6,6 @@
6
  * @since Hestia 1.0
7
  */
8
 
9
- // Load Customizer repeater control.
10
- $repeater_path = get_template_directory() . '/inc/customizer-repeater/functions.php';
11
- if ( file_exists( $repeater_path ) ) {
12
- require_once( $repeater_path );
13
- }
14
-
15
  if ( ! function_exists( 'hestia_testimonials_customize_register' ) ) :
16
  /**
17
  * Hook controls for Testimonials section to Customizer.
@@ -22,64 +16,84 @@ if ( ! function_exists( 'hestia_testimonials_customize_register' ) ) :
22
  function hestia_testimonials_customize_register( $wp_customize ) {
23
 
24
  $selective_refresh = isset( $wp_customize->selective_refresh ) ? true : false;
25
- $wp_customize->add_section( 'hestia_testimonials', array(
26
- 'title' => esc_html__( 'Testimonials', 'themeisle-companion' ),
27
- 'panel' => 'hestia_frontpage_sections',
28
- 'priority' => apply_filters( 'hestia_section_priority', 40, 'hestia_testimonials' ),
29
- ) );
30
-
31
- $wp_customize->add_setting( 'hestia_testimonials_hide', array(
32
- 'sanitize_callback' => 'hestia_sanitize_checkbox',
33
- 'default' => false,
34
- ) );
35
-
36
- $wp_customize->add_control( 'hestia_testimonials_hide', array(
37
- 'type' => 'checkbox',
38
- 'label' => esc_html__( 'Disable section', 'themeisle-companion' ),
39
- 'section' => 'hestia_testimonials',
40
- 'priority' => 1,
41
- ) );
42
-
43
- $wp_customize->add_setting( 'hestia_testimonials_title', array(
44
- 'sanitize_callback' => 'sanitize_text_field',
45
- 'transport' => $selective_refresh ? 'postMessage' : 'refresh',
46
- ) );
47
-
48
- $wp_customize->add_control( 'hestia_testimonials_title', array(
49
- 'label' => esc_html__( 'Section Title', 'themeisle-companion' ),
50
- 'section' => 'hestia_testimonials',
51
- 'priority' => 5,
52
- ) );
53
-
54
- $wp_customize->add_setting( 'hestia_testimonials_subtitle', array(
55
- 'sanitize_callback' => 'sanitize_text_field',
56
- 'transport' => $selective_refresh ? 'postMessage' : 'refresh',
57
- ) );
58
-
59
- $wp_customize->add_control( 'hestia_testimonials_subtitle', array(
60
- 'label' => esc_html__( 'Section Subtitle', 'themeisle-companion' ),
61
- 'section' => 'hestia_testimonials',
62
- 'priority' => 10,
63
- ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
 
65
  if ( class_exists( 'Hestia_Repeater' ) ) {
66
- $wp_customize->add_setting( 'hestia_testimonials_content', array(
67
- 'sanitize_callback' => 'hestia_repeater_sanitize',
68
- 'transport' => $selective_refresh ? 'postMessage' : 'refresh',
69
- ) );
70
-
71
- $wp_customize->add_control( new Hestia_Repeater( $wp_customize, 'hestia_testimonials_content', array(
72
- 'label' => esc_html__( 'Testimonials Content', 'themeisle-companion' ),
73
- 'section' => 'hestia_testimonials',
74
- 'priority' => 15,
75
- 'add_field_label' => esc_html__( 'Add new Testimonial', 'themeisle-companion' ),
76
- 'item_name' => esc_html__( 'Testimonial', 'themeisle-companion' ),
77
- 'customizer_repeater_image_control' => true,
78
- 'customizer_repeater_title_control' => true,
79
- 'customizer_repeater_subtitle_control' => true,
80
- 'customizer_repeater_text_control' => true,
81
- 'customizer_repeater_link_control' => true,
82
- ) ) );
 
 
 
 
 
 
83
  }
84
  }
85
 
@@ -91,7 +105,7 @@ endif;
91
  * Add selective refresh for testimonias section controls.
92
  *
93
  * @param WP_Customize_Manager $wp_customize Theme Customizer object.
94
- * @since 1.1.30
95
  * @access public
96
  */
97
  function hestia_register_testimonials_partials( $wp_customize ) {
@@ -101,23 +115,29 @@ function hestia_register_testimonials_partials( $wp_customize ) {
101
  return;
102
  }
103
 
104
- $wp_customize->selective_refresh->add_partial( 'hestia_testimonials_title', array(
105
- 'selector' => '#testimonials h2.title',
106
- 'settings' => 'hestia_testimonials_title',
107
- 'render_callback' => 'hestia_testimonials_title_callback',
108
- ));
109
-
110
- $wp_customize->selective_refresh->add_partial( 'hestia_testimonials_subtitle', array(
111
- 'selector' => '#testimonials h5.description',
112
- 'settings' => 'hestia_testimonials_subtitle',
113
- 'render_callback' => 'hestia_testimonials_subtitle_callback',
114
- ));
115
-
116
- $wp_customize->selective_refresh->add_partial( 'hestia_testimonials_content', array(
117
- 'selector' => '.hestia-testimonials-content',
118
- 'settings' => 'hestia_testimonials_content',
119
- 'render_callback' => 'hestia_testimonials_content_callback',
120
- ));
 
 
 
 
 
 
121
  }
122
  add_action( 'customize_register', 'hestia_register_testimonials_partials' );
123
 
@@ -125,7 +145,7 @@ add_action( 'customize_register', 'hestia_register_testimonials_partials' );
125
  * Callback function for testimonials title selective refresh.
126
  *
127
  * @return string
128
- * @since 1.1.30
129
  * @access public
130
  */
131
  function hestia_testimonials_title_callback() {
@@ -136,7 +156,7 @@ function hestia_testimonials_title_callback() {
136
  * Callback function for testimonials subtitle selective refresh.
137
  *
138
  * @return string
139
- * @since 1.1.30
140
  * @access public
141
  */
142
  function hestia_testimonials_subtitle_callback() {
@@ -146,7 +166,7 @@ function hestia_testimonials_subtitle_callback() {
146
  /**
147
  * Callback function for testimonials content selective refresh.
148
  *
149
- * @since 1.1.30
150
  * @access public
151
  */
152
  function hestia_testimonials_content_callback() {
6
  * @since Hestia 1.0
7
  */
8
 
 
 
 
 
 
 
9
  if ( ! function_exists( 'hestia_testimonials_customize_register' ) ) :
10
  /**
11
  * Hook controls for Testimonials section to Customizer.
16
  function hestia_testimonials_customize_register( $wp_customize ) {
17
 
18
  $selective_refresh = isset( $wp_customize->selective_refresh ) ? true : false;
19
+ $wp_customize->add_section(
20
+ 'hestia_testimonials', array(
21
+ 'title' => esc_html__( 'Testimonials', 'themeisle-companion' ),
22
+ 'panel' => 'hestia_frontpage_sections',
23
+ 'priority' => apply_filters( 'hestia_section_priority', 40, 'hestia_testimonials' ),
24
+ )
25
+ );
26
+
27
+ $wp_customize->add_setting(
28
+ 'hestia_testimonials_hide', array(
29
+ 'sanitize_callback' => 'hestia_sanitize_checkbox',
30
+ 'default' => false,
31
+ )
32
+ );
33
+
34
+ $wp_customize->add_control(
35
+ 'hestia_testimonials_hide', array(
36
+ 'type' => 'checkbox',
37
+ 'label' => esc_html__( 'Disable section', 'themeisle-companion' ),
38
+ 'section' => 'hestia_testimonials',
39
+ 'priority' => 1,
40
+ )
41
+ );
42
+
43
+ $wp_customize->add_setting(
44
+ 'hestia_testimonials_title', array(
45
+ 'sanitize_callback' => 'sanitize_text_field',
46
+ 'transport' => $selective_refresh ? 'postMessage' : 'refresh',
47
+ )
48
+ );
49
+
50
+ $wp_customize->add_control(
51
+ 'hestia_testimonials_title', array(
52
+ 'label' => esc_html__( 'Section Title', 'themeisle-companion' ),
53
+ 'section' => 'hestia_testimonials',
54
+ 'priority' => 5,
55
+ )
56
+ );
57
+
58
+ $wp_customize->add_setting(
59
+ 'hestia_testimonials_subtitle', array(
60
+ 'sanitize_callback' => 'sanitize_text_field',
61
+ 'transport' => $selective_refresh ? 'postMessage' : 'refresh',
62
+ )
63
+ );
64
+
65
+ $wp_customize->add_control(
66
+ 'hestia_testimonials_subtitle', array(
67
+ 'label' => esc_html__( 'Section Subtitle', 'themeisle-companion' ),
68
+ 'section' => 'hestia_testimonials',
69
+ 'priority' => 10,
70
+ )
71
+ );
72
 
73
  if ( class_exists( 'Hestia_Repeater' ) ) {
74
+ $wp_customize->add_setting(
75
+ 'hestia_testimonials_content', array(
76
+ 'sanitize_callback' => 'hestia_repeater_sanitize',
77
+ 'transport' => $selective_refresh ? 'postMessage' : 'refresh',
78
+ )
79
+ );
80
+
81
+ $wp_customize->add_control(
82
+ new Hestia_Repeater(
83
+ $wp_customize, 'hestia_testimonials_content', array(
84
+ 'label' => esc_html__( 'Testimonials Content', 'themeisle-companion' ),
85
+ 'section' => 'hestia_testimonials',
86
+ 'priority' => 15,
87
+ 'add_field_label' => esc_html__( 'Add new Testimonial', 'themeisle-companion' ),
88
+ 'item_name' => esc_html__( 'Testimonial', 'themeisle-companion' ),
89
+ 'customizer_repeater_image_control' => true,
90
+ 'customizer_repeater_title_control' => true,
91
+ 'customizer_repeater_subtitle_control' => true,
92
+ 'customizer_repeater_text_control' => true,
93
+ 'customizer_repeater_link_control' => true,
94
+ )
95
+ )
96
+ );
97
  }
98
  }
99
 
105
  * Add selective refresh for testimonias section controls.
106
  *
107
  * @param WP_Customize_Manager $wp_customize Theme Customizer object.
108
+ * @since 1.1.31
109
  * @access public
110
  */
111
  function hestia_register_testimonials_partials( $wp_customize ) {
115
  return;
116
  }
117
 
118
+ $wp_customize->selective_refresh->add_partial(
119
+ 'hestia_testimonials_title', array(
120
+ 'selector' => '#testimonials h2.title',
121
+ 'settings' => 'hestia_testimonials_title',
122
+ 'render_callback' => 'hestia_testimonials_title_callback',
123
+ )
124
+ );
125
+
126
+ $wp_customize->selective_refresh->add_partial(
127
+ 'hestia_testimonials_subtitle', array(
128
+ 'selector' => '#testimonials h5.description',
129
+ 'settings' => 'hestia_testimonials_subtitle',
130
+ 'render_callback' => 'hestia_testimonials_subtitle_callback',
131
+ )
132
+ );
133
+
134
+ $wp_customize->selective_refresh->add_partial(
135
+ 'hestia_testimonials_content', array(
136
+ 'selector' => '.hestia-testimonials-content',
137
+ 'settings' => 'hestia_testimonials_content',
138
+ 'render_callback' => 'hestia_testimonials_content_callback',
139
+ )
140
+ );
141
  }
142
  add_action( 'customize_register', 'hestia_register_testimonials_partials' );
143
 
145
  * Callback function for testimonials title selective refresh.
146
  *
147
  * @return string
148
+ * @since 1.1.31
149
  * @access public
150
  */
151
  function hestia_testimonials_title_callback() {
156
  * Callback function for testimonials subtitle selective refresh.
157
  *
158
  * @return string
159
+ * @since 1.1.31
160
  * @access public
161
  */
162
  function hestia_testimonials_subtitle_callback() {
166
  /**
167
  * Callback function for testimonials content selective refresh.
168
  *
169
+ * @since 1.1.31
170
  * @access public
171
  */
172
  function hestia_testimonials_content_callback() {
obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-features-section.php CHANGED
@@ -11,11 +11,9 @@ if ( ! function_exists( 'hestia_features' ) ) :
11
  * Features section content.
12
  *
13
  * @since Hestia 1.0
14
- * @modified 1.1.30
15
  */
16
- function hestia_features() {
17
-
18
- $show_features_single_product = get_theme_mod( 'hestia_features_show_on_single_product', false );
19
  $hide_section = get_theme_mod( 'hestia_features_hide', false );
20
 
21
  $default_title = false;
@@ -23,25 +21,38 @@ if ( ! function_exists( 'hestia_features' ) ) :
23
  $default_content = false;
24
 
25
  if ( current_user_can( 'edit_theme_options' ) ) {
26
- $default_title = __( 'Why our product is the best', 'themeisle-companion' );
27
- $default_subtitle = __( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' );
28
  $default_content = hestia_get_features_default();
29
  }
30
 
31
  $hestia_features_title = get_theme_mod( 'hestia_features_title', $default_title );
32
  $hestia_features_subtitle = get_theme_mod( 'hestia_features_subtitle', $default_subtitle );
 
 
 
 
33
  $hestia_features_content = get_theme_mod( 'hestia_features_content', $default_content );
34
 
35
- if ( ( ( is_single() && ( (bool) $show_features_single_product === false ) ) || ( is_front_page() && ( (bool) $hide_section === true ) ) ) || ( ( empty( $hestia_features_title ) ) && ( empty( $hestia_features_subtitle ) ) && ( empty( $hestia_features_content ) ) ) ) {
36
  return;
37
  }
 
 
 
 
 
 
 
38
  ?>
39
  <section class="features hestia-features" id="features" data-sorder="hestia_features">
40
- <div class="container">
 
 
41
  <div class="row">
42
  <div class="col-md-8 col-md-offset-2">
43
  <?php if ( ! empty( $hestia_features_title ) || is_customize_preview() ) : ?>
44
- <h2 class="title"><?php echo esc_html( $hestia_features_title ); ?></h2>
45
  <?php endif; ?>
46
  <?php if ( ! empty( $hestia_features_subtitle ) || is_customize_preview() ) : ?>
47
  <h5 class="description"><?php echo esc_html( $hestia_features_subtitle ); ?></h5>
@@ -49,77 +60,97 @@ if ( ! function_exists( 'hestia_features' ) ) :
49
  </div>
50
  </div>
51
  <?php hestia_features_content( $hestia_features_content ); ?>
 
52
  </div>
 
53
  </section>
54
  <?php
 
55
  }
56
 
57
  endif;
58
 
59
- if ( ! function_exists( 'hestia_features_register_strings' ) ) {
60
- /**
61
- * Register polylang strings
62
- *
63
- * @modified 1.1.30
64
- * @access public
65
- */
66
- function hestia_features_register_strings() {
67
- $default = hestia_get_features_default();
68
- hestia_pll_string_register_helper( 'hestia_features_content', $default, 'Features section' );
69
- }
70
- }
71
-
72
  /**
73
  * Get content for features section.
74
  *
75
- * @since 1.1.30
76
  * @access public
77
  * @param string $hestia_features_content Section content in json format.
78
  * @param bool $is_callback Flag to check if it's callback or not.
79
  */
80
  function hestia_features_content( $hestia_features_content, $is_callback = false ) {
81
- if ( ! $is_callback ) { ?>
82
- <div class="row hestia-features-content">
83
- <?php
 
84
  }
85
  if ( ! empty( $hestia_features_content ) ) :
 
86
  $hestia_features_content = json_decode( $hestia_features_content );
87
- foreach ( $hestia_features_content as $features_item ) :
88
- $icon = ! empty( $features_item->icon_value ) ? apply_filters( 'hestia_translate_single_string', $features_item->icon_value, 'Features section' ) : '';
89
- $title = ! empty( $features_item->title ) ? apply_filters( 'hestia_translate_single_string', $features_item->title, 'Features section' ) : '';
90
- $text = ! empty( $features_item->text ) ? apply_filters( 'hestia_translate_single_string', $features_item->text, 'Features section' ) : '';
91
- $link = ! empty( $features_item->link ) ? apply_filters( 'hestia_translate_single_string', $features_item->link, 'Features section' ) : '';
 
 
 
 
 
 
 
 
 
 
 
 
 
92
 
93
- $color = '';
94
- if ( ! empty( $features_item->color ) ) {
95
- $color = $features_item->color;
96
- }
97
  ?>
98
- <div class="col-md-4 feature-box">
99
- <div class="info hestia-info">
100
- <?php if ( ! empty( $link ) ) : ?>
101
- <a href="<?php echo esc_url( $link ); ?>">
102
- <?php endif; ?>
103
- <?php if ( ! empty( $icon ) ) : ?>
104
- <div class="icon" <?php if ( ! empty( $color ) ) { echo 'style="color:' . $color . '"'; } ?>>
105
- <i class="fa <?php echo esc_html( $icon ); ?>"></i>
106
- </div>
107
- <?php endif; ?>
108
- <?php if ( ! empty( $title ) ) : ?>
 
 
 
 
 
 
 
109
  <h4 class="info-title"><?php echo esc_html( $title ); ?></h4>
110
  <?php endif; ?>
111
- <?php if ( ! empty( $link ) ) : ?>
112
  </a>
113
  <?php endif; ?>
114
  <?php if ( ! empty( $text ) ) : ?>
115
  <p><?php echo wp_kses_post( html_entity_decode( $text ) ); ?></p>
116
  <?php endif; ?>
117
- </div>
118
- </div>
119
- <?php
 
 
 
 
 
 
120
  endforeach;
 
 
121
  endif;
122
- if ( ! $is_callback ) { ?>
 
123
  </div>
124
  <?php
125
  }
@@ -128,37 +159,43 @@ function hestia_features_content( $hestia_features_content, $is_callback = false
128
  /**
129
  * Get default values for features section.
130
  *
131
- * @since 1.1.30
132
  * @access public
133
  */
134
  function hestia_get_features_default() {
135
- return apply_filters( 'hestia_features_default_content', json_encode( array(
136
- array(
137
- 'icon_value' => 'fa-wechat',
138
- 'title' => __( 'Responsive', 'themeisle-companion' ),
139
- 'text' => __( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' ),
140
- 'link' => '#',
141
- 'color' => '#e91e63',
142
- ),
143
- array(
144
- 'icon_value' => 'fa-check',
145
- 'title' => __( 'Quality', 'themeisle-companion' ),
146
- 'text' => __( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' ),
147
- 'link' => '#',
148
- 'color' => '#00bcd4',
149
- ),
150
- array(
151
- 'icon_value' => 'fa-support',
152
- 'title' => __( 'Support', 'themeisle-companion' ),
153
- 'text' => __( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' ),
154
- 'link' => '#',
155
- 'color' => '#4caf50',
156
- ),
157
- ) ) );
 
 
 
 
158
  }
159
 
160
  if ( function_exists( 'hestia_features' ) ) {
161
  $section_priority = apply_filters( 'hestia_section_priority', 10, 'hestia_features' );
162
  add_action( 'hestia_sections', 'hestia_features', absint( $section_priority ) );
163
- add_action( 'after_setup_theme', 'hestia_features_register_strings', 11 );
 
 
164
  }
11
  * Features section content.
12
  *
13
  * @since Hestia 1.0
14
+ * @modified 1.1.34
15
  */
16
+ function hestia_features( $is_shortcode = false ) {
 
 
17
  $hide_section = get_theme_mod( 'hestia_features_hide', false );
18
 
19
  $default_title = false;
21
  $default_content = false;
22
 
23
  if ( current_user_can( 'edit_theme_options' ) ) {
24
+ $default_title = esc_html__( 'Why our product is the best', 'themeisle-companion' );
25
+ $default_subtitle = esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' );
26
  $default_content = hestia_get_features_default();
27
  }
28
 
29
  $hestia_features_title = get_theme_mod( 'hestia_features_title', $default_title );
30
  $hestia_features_subtitle = get_theme_mod( 'hestia_features_subtitle', $default_subtitle );
31
+ if ( $is_shortcode ) {
32
+ $hestia_features_title = '';
33
+ $hestia_features_subtitle = '';
34
+ }
35
  $hestia_features_content = get_theme_mod( 'hestia_features_content', $default_content );
36
 
37
+ if ( ! $is_shortcode && ( is_front_page() && ( (bool) $hide_section === true ) ) || ((empty( $hestia_features_title )) && (empty( $hestia_features_subtitle )) && (empty( $hestia_features_content ))) ) {
38
  return;
39
  }
40
+
41
+ $class_to_add = 'container';
42
+ if ( $is_shortcode ) {
43
+ $class_to_add = '';
44
+ }
45
+
46
+ hestia_before_features_section_trigger();
47
  ?>
48
  <section class="features hestia-features" id="features" data-sorder="hestia_features">
49
+ <?php hestia_before_features_section_content_trigger(); ?>
50
+ <div class="<?php echo esc_attr( $class_to_add ); ?>">
51
+ <?php hestia_top_features_section_content_trigger(); ?>
52
  <div class="row">
53
  <div class="col-md-8 col-md-offset-2">
54
  <?php if ( ! empty( $hestia_features_title ) || is_customize_preview() ) : ?>
55
+ <h2 class="hestia-title"><?php echo esc_html( $hestia_features_title ); ?></h2>
56
  <?php endif; ?>
57
  <?php if ( ! empty( $hestia_features_subtitle ) || is_customize_preview() ) : ?>
58
  <h5 class="description"><?php echo esc_html( $hestia_features_subtitle ); ?></h5>
60
  </div>
61
  </div>
62
  <?php hestia_features_content( $hestia_features_content ); ?>
63
+ <?php hestia_bottom_features_section_content_trigger(); ?>
64
  </div>
65
+ <?php hestia_after_features_section_content_trigger(); ?>
66
  </section>
67
  <?php
68
+ hestia_after_features_section_trigger();
69
  }
70
 
71
  endif;
72
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  /**
74
  * Get content for features section.
75
  *
76
+ * @since 1.1.31
77
  * @access public
78
  * @param string $hestia_features_content Section content in json format.
79
  * @param bool $is_callback Flag to check if it's callback or not.
80
  */
81
  function hestia_features_content( $hestia_features_content, $is_callback = false ) {
82
+ if ( ! $is_callback ) {
83
+ ?>
84
+ <div class="hestia-features-content">
85
+ <?php
86
  }
87
  if ( ! empty( $hestia_features_content ) ) :
88
+
89
  $hestia_features_content = json_decode( $hestia_features_content );
90
+ if ( ! empty( $hestia_features_content ) ) {
91
+ $i = 1;
92
+ echo '<div class="row">';
93
+ foreach ( $hestia_features_content as $features_item ) :
94
+ $icon = ! empty( $features_item->icon_value ) ? apply_filters( 'hestia_translate_single_string', $features_item->icon_value, 'Features section' ) : '';
95
+ $image = ! empty( $features_item->image_url ) ? apply_filters( 'hestia_translate_single_string', $features_item->image_url, 'Features section' ) : '';
96
+ $title = ! empty( $features_item->title ) ? apply_filters( 'hestia_translate_single_string', $features_item->title, 'Features section' ) : '';
97
+ $text = ! empty( $features_item->text ) ? apply_filters( 'hestia_translate_single_string', $features_item->text, 'Features section' ) : '';
98
+ $link = ! empty( $features_item->link ) ? apply_filters( 'hestia_translate_single_string', $features_item->link, 'Features section' ) : '';
99
+ $color = ! empty( $features_item->color ) ? $features_item->color : '';
100
+ $choice = ! empty( $features_item->choice ) ? $features_item->choice : 'customizer_repeater_icon';
101
+ ?>
102
+ <div class="col-md-4 feature-box">
103
+ <div class="info hestia-info">
104
+ <?php if ( ! empty( $link ) ) : ?>
105
+ <a href="<?php echo esc_url( $link ); ?>">
106
+ <?php
107
+ endif;
108
 
109
+ switch ( $choice ) {
110
+ case 'customizer_repeater_image':
111
+ if ( ! empty( $image ) ) {
 
112
  ?>
113
+ <div class="card card-plain">
114
+ <img src="<?php echo esc_url( $image ); ?>"/>
115
+ </div>
116
+ <?php
117
+ }
118
+ break;
119
+ case 'customizer_repeater_icon':
120
+ if ( ! empty( $icon ) ) {
121
+ ?>
122
+ <div class="icon" <?php echo ( ! empty( $color ) ? 'style="color:' . $color . '"' : '' ); ?>>
123
+ <i class="fa <?php echo esc_html( $icon ); ?>"></i>
124
+ </div>
125
+ <?php
126
+ }
127
+ break;
128
+ }
129
+ ?>
130
+ <?php if ( ! empty( $title ) ) : ?>
131
  <h4 class="info-title"><?php echo esc_html( $title ); ?></h4>
132
  <?php endif; ?>
133
+ <?php if ( ! empty( $link ) ) : ?>
134
  </a>
135
  <?php endif; ?>
136
  <?php if ( ! empty( $text ) ) : ?>
137
  <p><?php echo wp_kses_post( html_entity_decode( $text ) ); ?></p>
138
  <?php endif; ?>
139
+ </div>
140
+ </div>
141
+ <?php
142
+ if ( $i % 3 == 0 ) {
143
+ echo '</div><!-- /.row -->';
144
+ echo '<div class="row">';
145
+ }
146
+ $i++;
147
+
148
  endforeach;
149
+ echo '</div>';
150
+ }// End if().
151
  endif;
152
+ if ( ! $is_callback ) {
153
+ ?>
154
  </div>
155
  <?php
156
  }
159
  /**
160
  * Get default values for features section.
161
  *
162
+ * @since 1.1.31
163
  * @access public
164
  */
165
  function hestia_get_features_default() {
166
+ return apply_filters(
167
+ 'hestia_features_default_content', json_encode(
168
+ array(
169
+ array(
170
+ 'icon_value' => 'fa-wechat',
171
+ 'title' => esc_html__( 'Responsive', 'themeisle-companion' ),
172
+ 'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' ),
173
+ 'link' => '#',
174
+ 'color' => '#e91e63',
175
+ ),
176
+ array(
177
+ 'icon_value' => 'fa-check',
178
+ 'title' => esc_html__( 'Quality', 'themeisle-companion' ),
179
+ 'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' ),
180
+ 'link' => '#',
181
+ 'color' => '#00bcd4',
182
+ ),
183
+ array(
184
+ 'icon_value' => 'fa-support',
185
+ 'title' => esc_html__( 'Support', 'themeisle-companion' ),
186
+ 'text' => esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' ),
187
+ 'link' => '#',
188
+ 'color' => '#4caf50',
189
+ ),
190
+ )
191
+ )
192
+ );
193
  }
194
 
195
  if ( function_exists( 'hestia_features' ) ) {
196
  $section_priority = apply_filters( 'hestia_section_priority', 10, 'hestia_features' );
197
  add_action( 'hestia_sections', 'hestia_features', absint( $section_priority ) );
198
+ if ( function_exists( 'hestia_features_register_strings' ) ) {
199
+ add_action( 'after_setup_theme', 'hestia_features_register_strings', 11 );
200
+ }
201
  }
obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-team-section.php CHANGED
@@ -11,8 +11,9 @@ if ( ! function_exists( 'hestia_team' ) ) :
11
  * Team section content.
12
  *
13
  * @since Hestia 1.0
 
14
  */
15
- function hestia_team() {
16
 
17
  $default_title = false;
18
  $default_subtitle = false;
@@ -20,27 +21,38 @@ if ( ! function_exists( 'hestia_team' ) ) :
20
 
21
  if ( current_user_can( 'edit_theme_options' ) ) {
22
 
23
- $default_title = __( 'Meet our team', 'themeisle-companion' );
24
- $default_subtitle = __( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' );
25
  $default_content = hestia_get_team_default();
26
  }
27
 
28
  $hestia_team_title = get_theme_mod( 'hestia_team_title', $default_title );
29
  $hestia_team_subtitle = get_theme_mod( 'hestia_team_subtitle', $default_subtitle );
 
 
 
 
30
  $hestia_team_content = get_theme_mod( 'hestia_team_content', $default_content );
31
 
32
  $hide_section = get_theme_mod( 'hestia_team_hide', false );
33
- if ( ( (bool) $hide_section === true ) || ( empty( $hestia_team_title ) && empty( $hestia_team_subtitle ) && empty( $hestia_team_content ) ) ) {
34
  return;
35
  }
36
 
 
 
 
 
 
37
  ?>
38
  <section class="team hestia-team" id="team" data-sorder="hestia_team">
39
- <div class="container">
 
 
40
  <div class="row">
41
  <div class="col-md-8 col-md-offset-2 text-center">
42
  <?php if ( ! empty( $hestia_team_title ) || is_customize_preview() ) : ?>
43
- <h2 class="title"><?php echo esc_html( $hestia_team_title ); ?></h2>
44
  <?php endif; ?>
45
  <?php if ( ! empty( $hestia_team_subtitle ) || is_customize_preview() ) : ?>
46
  <h5 class="description"><?php echo esc_html( $hestia_team_subtitle ); ?></h5>
@@ -48,110 +60,117 @@ if ( ! function_exists( 'hestia_team' ) ) :
48
  </div>
49
  </div>
50
  <?php hestia_team_content( $hestia_team_content ); ?>
 
51
  </div>
 
52
  </section>
53
  <?php
 
54
  }
55
  endif;
56
 
57
- if ( ! function_exists( 'hestia_team_register_strings' ) ) {
58
- /**
59
- * Register polylang strings
60
- */
61
- function hestia_team_register_strings() {
62
- $default = hestia_get_team_default();
63
-
64
- hestia_pll_string_register_helper( 'hestia_team_content', $default, 'Team section' );
65
- }
66
- }// End if().
67
-
68
 
69
  /**
70
  * Get content for team section.
71
  *
72
- * @since 1.1.30
73
  * @access public
74
  * @param string $hestia_team_content Section content in json format.
75
  * @param bool $is_callback Flag to check if it's callback or not.
76
  */
77
  function hestia_team_content( $hestia_team_content, $is_callback = false ) {
78
- if ( ! $is_callback ) { ?>
79
- <div class="row hestia-team-content">
 
80
  <?php
81
- } ?>
 
82
  <?php
83
  if ( ! empty( $hestia_team_content ) ) :
84
  $hestia_team_content = json_decode( $hestia_team_content );
85
 
86
- if ( empty( $hestia_team_content ) ) {
87
- return;
88
- }
89
 
90
- foreach ( $hestia_team_content as $team_item ) :
91
- $image = ! empty( $team_item->image_url ) ? apply_filters( 'hestia_translate_single_string', $team_item->image_url, 'Team section' ) : '';
92
- $title = ! empty( $team_item->title ) ? apply_filters( 'hestia_translate_single_string', $team_item->title, 'Team section' ) : '';
93
- $subtitle = ! empty( $team_item->subtitle ) ? apply_filters( 'hestia_translate_single_string', $team_item->subtitle, 'Team section' ) : '';
94
- $text = ! empty( $team_item->text ) ? apply_filters( 'hestia_translate_single_string', $team_item->text, 'Team section' ) : '';
95
- $link = ! empty( $team_item->link ) ? apply_filters( 'hestia_translate_single_string', $team_item->link, 'Team section' ) : '';
96
- ?>
97
- <div class="col-md-6">
98
- <div class="card card-profile card-plain">
99
- <div class="col-md-5">
100
- <div class="card-image">
101
- <?php if ( ! empty( $image ) ) : ?>
102
- <?php if ( ! empty( $link ) ) : ?>
103
- <a href="<?php echo esc_url( $link ); ?>">
104
- <?php endif; ?>
105
- <img class="img"
106
- src="<?php echo esc_url( $image ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
107
- <?php if ( ! empty( $link ) ) : ?>
108
- </a>
 
 
 
 
 
 
 
109
  <?php endif; ?>
110
- <?php endif; ?>
111
  </div>
112
- </div>
113
- <div class="col-md-7">
114
- <div class="content">
115
- <?php if ( ! empty( $title ) ) : ?>
116
- <h4 class="card-title"><?php echo esc_html( $title ); ?></h4>
117
- <?php endif; ?>
118
- <?php if ( ! empty( $subtitle ) ) : ?>
119
- <h6 class="category text-muted"><?php echo esc_html( $subtitle ); ?></h6>
120
- <?php endif; ?>
121
- <?php if ( ! empty( $text ) ) : ?>
122
- <p class="card-description"><?php echo wp_kses_post( html_entity_decode( $text ) ); ?></p>
123
- <?php endif; ?>
124
- <?php
125
- if ( ! empty( $team_item->social_repeater ) ) :
126
- $icons = html_entity_decode( $team_item->social_repeater );
127
- $icons_decoded = json_decode( $icons, true );
128
- if ( ! empty( $icons_decoded ) ) :
129
- ?>
130
- <div class="footer">
131
- <?php foreach ( $icons_decoded as $value ) :
132
- $social_icon = ! empty( $value['icon'] ) ? apply_filters( 'hestia_translate_single_string', $value['icon'], 'Team section' ) : '';
133
- $social_link = ! empty( $value['link'] ) ? apply_filters( 'hestia_translate_single_string', $value['link'], 'Team section' ) : '';
134
- ?>
135
- <?php if ( ! empty( $social_icon ) ) : ?>
136
- <a href="<?php echo esc_url( $social_link ); ?>"
137
- class="btn btn-just-icon btn-simple">
138
- <i class="fa <?php echo esc_attr( $social_icon ); ?>"></i>
139
- </a>
140
- <?php endif; ?>
141
- <?php endforeach; ?>
142
- </div>
143
- <?php
 
144
  endif;
145
- endif;
146
- ?>
147
  </div>
148
  </div>
149
  </div>
150
- </div>
151
- <?php
152
- endforeach;
 
 
 
 
 
 
153
  endif;
154
- if ( ! $is_callback ) { ?>
 
155
  </div>
156
  <?php
157
  }
@@ -162,133 +181,147 @@ function hestia_team_content( $hestia_team_content, $is_callback = false ) {
162
  /**
163
  * Get default values for features section.
164
  *
165
- * @since 1.1.30
166
  * @access public
167
  */
168
  function hestia_get_team_default() {
169
- return apply_filters( 'hestia_team_default_content', json_encode( array(
170
- array(
171
- 'image_url' => get_template_directory_uri() . '/assets/img/1.jpg',
172
- 'title' => esc_html__( 'Desmond Purpleson', 'themeisle-companion' ),
173
- 'subtitle' => esc_html__( 'CEO', 'themeisle-companion' ),
174
- 'text' => esc_html__( 'Locavore pinterest chambray affogato art party, forage coloring book typewriter. Bitters cold selfies, retro celiac sartorial mustache.', 'themeisle-companion' ),
175
- 'id' => 'customizer_repeater_56d7ea7f40c56',
176
- 'social_repeater' => json_encode( array(
177
- array(
178
- 'id' => 'customizer-repeater-social-repeater-57fb908674e06',
179
- 'link' => 'facebook.com',
180
- 'icon' => 'fa-facebook',
181
- ),
182
- array(
183
- 'id' => 'customizer-repeater-social-repeater-57fb9148530ft',
184
- 'link' => 'plus.google.com',
185
- 'icon' => 'fa-google-plus',
186
- ),
187
  array(
188
- 'id' => 'customizer-repeater-social-repeater-57fb9148530fc',
189
- 'link' => 'twitter.com',
190
- 'icon' => 'fa-twitter',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
191
  ),
192
  array(
193
- 'id' => 'customizer-repeater-social-repeater-57fb9150e1e89',
194
- 'link' => 'linkedin.com',
195
- 'icon' => 'fa-linkedin',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
196
  ),
197
- ) ),
198
- ),
199
- array(
200
- 'image_url' => get_template_directory_uri() . '/assets/img/2.jpg',
201
- 'title' => esc_html__( 'Parsley Pepperspray', 'themeisle-companion' ),
202
- 'subtitle' => esc_html__( 'Marketing Specialist', 'themeisle-companion' ),
203
- 'text' => esc_html__( 'Craft beer salvia celiac mlkshk. Pinterest celiac tumblr, portland salvia skateboard cliche thundercats. Tattooed chia austin hell.', 'themeisle-companion' ),
204
- 'id' => 'customizer_repeater_56d7ea7f40c66',
205
- 'social_repeater' => json_encode( array(
206
  array(
207
- 'id' => 'customizer-repeater-social-repeater-57fb9155a1072',
208
- 'link' => 'facebook.com',
209
- 'icon' => 'fa-facebook',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
210
  ),
211
  array(
212
- 'id' => 'customizer-repeater-social-repeater-57fb9160ab683',
213
- 'link' => 'twitter.com',
214
- 'icon' => 'fa-twitter',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
215
  ),
216
- array(
217
- 'id' => 'customizer-repeater-social-repeater-57fb9160ab484',
218
- 'link' => 'pinterest.com',
219
- 'icon' => 'fa-pinterest',
220
- ),
221
- array(
222
- 'id' => 'customizer-repeater-social-repeater-57fb916ddffc9',
223
- 'link' => 'linkedin.com',
224
- 'icon' => 'fa-linkedin',
225
- ),
226
- ) ),
227
- ),
228
- array(
229
- 'image_url' => get_template_directory_uri() . '/assets/img/3.jpg',
230
- 'title' => esc_html__( 'Desmond Eagle', 'themeisle-companion' ),
231
- 'subtitle' => esc_html__( 'Graphic Designer', 'themeisle-companion' ),
232
- 'text' => esc_html__( 'Pok pok direct trade godard street art, poutine fam typewriter food truck narwhal kombucha wolf cardigan butcher whatever pickled you.', 'themeisle-companion' ),
233
- 'id' => 'customizer_repeater_56d7ea7f40c76',
234
- 'social_repeater' => json_encode( array(
235
- array(
236
- 'id' => 'customizer-repeater-social-repeater-57fb917e4c69e',
237
- 'link' => 'facebook.com',
238
- 'icon' => 'fa-facebook',
239
- ),
240
- array(
241
- 'id' => 'customizer-repeater-social-repeater-57fb91830825c',
242
- 'link' => 'twitter.com',
243
- 'icon' => 'fa-twitter',
244
- ),
245
- array(
246
- 'id' => 'customizer-repeater-social-repeater-57fb918d65f2e',
247
- 'link' => 'linkedin.com',
248
- 'icon' => 'fa-linkedin',
249
- ),
250
- array(
251
- 'id' => 'customizer-repeater-social-repeater-57fb918d65f2x',
252
- 'link' => 'dribbble.com',
253
- 'icon' => 'fa-dribbble',
254
- ),
255
- ) ),
256
- ),
257
- array(
258
- 'image_url' => get_template_directory_uri() . '/assets/img/4.jpg',
259
- 'title' => esc_html__( 'Ruby Von Rails', 'themeisle-companion' ),
260
- 'subtitle' => esc_html__( 'Lead Developer', 'themeisle-companion' ),
261
- 'text' => esc_html__( 'Small batch vexillologist 90\'s blue bottle stumptown bespoke. Pok pok tilde fixie chartreuse, VHS gluten-free selfies wolf hot.', 'themeisle-companion' ),
262
- 'id' => 'customizer_repeater_56d7ea7f40c86',
263
- 'social_repeater' => json_encode( array(
264
- array(
265
- 'id' => 'customizer-repeater-social-repeater-57fb925cedcg5',
266
- 'link' => 'github.com',
267
- 'icon' => 'fa-github-square',
268
- ),
269
- array(
270
- 'id' => 'customizer-repeater-social-repeater-57fb925cedcb2',
271
- 'link' => 'facebook.com',
272
- 'icon' => 'fa-facebook',
273
- ),
274
- array(
275
- 'id' => 'customizer-repeater-social-repeater-57fb92615f030',
276
- 'link' => 'twitter.com',
277
- 'icon' => 'fa-twitter',
278
- ),
279
- array(
280
- 'id' => 'customizer-repeater-social-repeater-57fb9266c223a',
281
- 'link' => 'linkedin.com',
282
- 'icon' => 'fa-linkedin',
283
- ),
284
- ) ),
285
- ),
286
- ) ) );
287
  }
288
 
289
 
290
  if ( function_exists( 'hestia_team' ) ) {
291
  $section_priority = apply_filters( 'hestia_section_priority', 30, 'hestia_team' );
292
  add_action( 'hestia_sections', 'hestia_team', absint( $section_priority ) );
293
- add_action( 'after_setup_theme', 'hestia_team_register_strings', 11 );
 
 
294
  }
11
  * Team section content.
12
  *
13
  * @since Hestia 1.0
14
+ * @modified 1.1.34
15
  */
16
+ function hestia_team( $is_shortcode = false ) {
17
 
18
  $default_title = false;
19
  $default_subtitle = false;
21
 
22
  if ( current_user_can( 'edit_theme_options' ) ) {
23
 
24
+ $default_title = esc_html__( 'Meet our team', 'themeisle-companion' );
25
+ $default_subtitle = esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' );
26
  $default_content = hestia_get_team_default();
27
  }
28
 
29
  $hestia_team_title = get_theme_mod( 'hestia_team_title', $default_title );
30
  $hestia_team_subtitle = get_theme_mod( 'hestia_team_subtitle', $default_subtitle );
31
+ if ( $is_shortcode ) {
32
+ $hestia_team_title = '';
33
+ $hestia_team_subtitle = '';
34
+ }
35
  $hestia_team_content = get_theme_mod( 'hestia_team_content', $default_content );
36
 
37
  $hide_section = get_theme_mod( 'hestia_team_hide', false );
38
+ if ( ! $is_shortcode && ( (bool) $hide_section === true ) || ( empty( $hestia_team_title ) && empty( $hestia_team_subtitle ) && empty( $hestia_team_content ) ) ) {
39
  return;
40
  }
41
 
42
+ $class_to_add = 'container';
43
+ if ( $is_shortcode ) {
44
+ $class_to_add = '';
45
+ }
46
+ hestia_before_team_section_trigger();
47
  ?>
48
  <section class="team hestia-team" id="team" data-sorder="hestia_team">
49
+ <?php hestia_before_team_section_content_trigger(); ?>
50
+ <div class="<?php echo esc_attr( $class_to_add ); ?>">
51
+ <?php hestia_top_team_section_content_trigger(); ?>
52
  <div class="row">
53
  <div class="col-md-8 col-md-offset-2 text-center">
54
  <?php if ( ! empty( $hestia_team_title ) || is_customize_preview() ) : ?>
55
+ <h2 class="hestia-title"><?php echo esc_html( $hestia_team_title ); ?></h2>
56
  <?php endif; ?>
57
  <?php if ( ! empty( $hestia_team_subtitle ) || is_customize_preview() ) : ?>
58
  <h5 class="description"><?php echo esc_html( $hestia_team_subtitle ); ?></h5>
60
  </div>
61
  </div>
62
  <?php hestia_team_content( $hestia_team_content ); ?>
63
+ <?php hestia_bottom_team_section_content_trigger(); ?>
64
  </div>
65
+ <?php hestia_after_team_section_content_trigger(); ?>
66
  </section>
67
  <?php
68
+ hestia_after_team_section_trigger();
69
  }
70
  endif;
71
 
 
 
 
 
 
 
 
 
 
 
 
72
 
73
  /**
74
  * Get content for team section.
75
  *
76
+ * @since 1.1.31
77
  * @access public
78
  * @param string $hestia_team_content Section content in json format.
79
  * @param bool $is_callback Flag to check if it's callback or not.
80
  */
81
  function hestia_team_content( $hestia_team_content, $is_callback = false ) {
82
+ if ( ! $is_callback ) {
83
+ ?>
84
+ <div class="hestia-team-content">
85
  <?php
86
+ }
87
+ ?>
88
  <?php
89
  if ( ! empty( $hestia_team_content ) ) :
90
  $hestia_team_content = json_decode( $hestia_team_content );
91
 
92
+ if ( ! empty( $hestia_team_content ) ) {
 
 
93
 
94
+ $i = 1;
95
+ echo '<div class="row">';
96
+ foreach ( $hestia_team_content as $team_item ) :
97
+ $image = ! empty( $team_item->image_url ) ? apply_filters( 'hestia_translate_single_string', $team_item->image_url, 'Team section' ) : '';
98
+ $title = ! empty( $team_item->title ) ? apply_filters( 'hestia_translate_single_string', $team_item->title, 'Team section' ) : '';
99
+ $subtitle = ! empty( $team_item->subtitle ) ? apply_filters( 'hestia_translate_single_string', $team_item->subtitle, 'Team section' ) : '';
100
+ $text = ! empty( $team_item->text ) ? apply_filters( 'hestia_translate_single_string', $team_item->text, 'Team section' ) : '';
101
+ $link = ! empty( $team_item->link ) ? apply_filters( 'hestia_translate_single_string', $team_item->link, 'Team section' ) : '';
102
+ ?>
103
+ <div class="col-md-6">
104
+ <div class="card card-profile card-plain">
105
+ <div class="col-md-5">
106
+ <div class="card-image">
107
+ <?php if ( ! empty( $image ) ) : ?>
108
+ <?php if ( ! empty( $link ) ) : ?>
109
+ <a href="<?php echo esc_url( $link ); ?>">
110
+ <?php endif; ?>
111
+ <img class="img"
112
+ src="<?php echo esc_url( $image ); ?>"
113
+ <?php
114
+ if ( ! empty( $title ) ) :
115
+ ?>
116
+ alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
117
+ <?php if ( ! empty( $link ) ) : ?>
118
+ </a>
119
+ <?php endif; ?>
120
  <?php endif; ?>
121
+ </div>
122
  </div>
123
+ <div class="col-md-7">
124
+ <div class="content">
125
+ <?php if ( ! empty( $title ) ) : ?>
126
+ <h4 class="card-title"><?php echo esc_html( $title ); ?></h4>
127
+ <?php endif; ?>
128
+ <?php if ( ! empty( $subtitle ) ) : ?>
129
+ <h6 class="category text-muted"><?php echo esc_html( $subtitle ); ?></h6>
130
+ <?php endif; ?>
131
+ <?php if ( ! empty( $text ) ) : ?>
132
+ <p class="card-description"><?php echo wp_kses_post( html_entity_decode( $text ) ); ?></p>
133
+ <?php endif; ?>
134
+ <?php
135
+ if ( ! empty( $team_item->social_repeater ) ) :
136
+ $icons = html_entity_decode( $team_item->social_repeater );
137
+ $icons_decoded = json_decode( $icons, true );
138
+ if ( ! empty( $icons_decoded ) ) :
139
+ ?>
140
+ <div class="footer">
141
+ <?php
142
+ foreach ( $icons_decoded as $value ) :
143
+ $social_icon = ! empty( $value['icon'] ) ? apply_filters( 'hestia_translate_single_string', $value['icon'], 'Team section' ) : '';
144
+ $social_link = ! empty( $value['link'] ) ? apply_filters( 'hestia_translate_single_string', $value['link'], 'Team section' ) : '';
145
+ ?>
146
+ <?php if ( ! empty( $social_icon ) ) : ?>
147
+ <a href="<?php echo esc_url( $social_link ); ?>"
148
+ class="btn btn-just-icon btn-simple">
149
+ <i class="fa <?php echo esc_attr( $social_icon ); ?>"></i>
150
+ </a>
151
+ <?php endif; ?>
152
+ <?php endforeach; ?>
153
+ </div>
154
+ <?php
155
+ endif;
156
  endif;
157
+ ?>
158
+ </div>
159
  </div>
160
  </div>
161
  </div>
162
+ <?php
163
+ if ( $i % 2 == 0 ) {
164
+ echo '</div><!-- /.row -->';
165
+ echo '<div class="row">';
166
+ }
167
+ $i++;
168
+ endforeach;
169
+ echo '</div>';
170
+ }// End if().
171
  endif;
172
+ if ( ! $is_callback ) {
173
+ ?>
174
  </div>
175
  <?php
176
  }
181
  /**
182
  * Get default values for features section.
183
  *
184
+ * @since 1.1.31
185
  * @access public
186
  */
187
  function hestia_get_team_default() {
188
+ return apply_filters(
189
+ 'hestia_team_default_content', json_encode(
190
+ array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
191
  array(
192
+ 'image_url' => get_template_directory_uri() . '/assets/img/1.jpg',
193
+ 'title' => esc_html__( 'Desmond Purpleson', 'themeisle-companion' ),
194
+ 'subtitle' => esc_html__( 'CEO', 'themeisle-companion' ),
195
+ 'text' => esc_html__( 'Locavore pinterest chambray affogato art party, forage coloring book typewriter. Bitters cold selfies, retro celiac sartorial mustache.', 'themeisle-companion' ),
196
+ 'id' => 'customizer_repeater_56d7ea7f40c56',
197
+ 'social_repeater' => json_encode(
198
+ array(
199
+ array(
200
+ 'id' => 'customizer-repeater-social-repeater-57fb908674e06',
201
+ 'link' => 'facebook.com',
202
+ 'icon' => 'fa-facebook',
203
+ ),
204
+ array(
205
+ 'id' => 'customizer-repeater-social-repeater-57fb9148530ft',
206
+ 'link' => 'plus.google.com',
207
+ 'icon' => 'fa-google-plus',
208
+ ),
209
+ array(
210
+ 'id' => 'customizer-repeater-social-repeater-57fb9148530fc',
211
+ 'link' => 'twitter.com',
212
+ 'icon' => 'fa-twitter',
213
+ ),
214
+ array(
215
+ 'id' => 'customizer-repeater-social-repeater-57fb9150e1e89',
216
+ 'link' => 'linkedin.com',
217
+ 'icon' => 'fa-linkedin',
218
+ ),
219
+ )
220
+ ),
221
  ),
222
  array(
223
+ 'image_url' => get_template_directory_uri() . '/assets/img/2.jpg',
224
+ 'title' => esc_html__( 'Parsley Pepperspray', 'themeisle-companion' ),
225
+ 'subtitle' => esc_html__( 'Marketing Specialist', 'themeisle-companion' ),
226
+ 'text' => esc_html__( 'Craft beer salvia celiac mlkshk. Pinterest celiac tumblr, portland salvia skateboard cliche thundercats. Tattooed chia austin hell.', 'themeisle-companion' ),
227
+ 'id' => 'customizer_repeater_56d7ea7f40c66',
228
+ 'social_repeater' => json_encode(
229
+ array(
230
+ array(
231
+ 'id' => 'customizer-repeater-social-repeater-57fb9155a1072',
232
+ 'link' => 'facebook.com',
233
+ 'icon' => 'fa-facebook',
234
+ ),
235
+ array(
236
+ 'id' => 'customizer-repeater-social-repeater-57fb9160ab683',
237
+ 'link' => 'twitter.com',
238
+ 'icon' => 'fa-twitter',
239
+ ),
240
+ array(
241
+ 'id' => 'customizer-repeater-social-repeater-57fb9160ab484',
242
+ 'link' => 'pinterest.com',
243
+ 'icon' => 'fa-pinterest',
244
+ ),
245
+ array(
246
+ 'id' => 'customizer-repeater-social-repeater-57fb916ddffc9',
247
+ 'link' => 'linkedin.com',
248
+ 'icon' => 'fa-linkedin',
249
+ ),
250
+ )
251
+ ),
252
  ),
 
 
 
 
 
 
 
 
 
253
  array(
254
+ 'image_url' => get_template_directory_uri() . '/assets/img/3.jpg',
255
+ 'title' => esc_html__( 'Desmond Eagle', 'themeisle-companion' ),
256
+ 'subtitle' => esc_html__( 'Graphic Designer', 'themeisle-companion' ),
257
+ 'text' => esc_html__( 'Pok pok direct trade godard street art, poutine fam typewriter food truck narwhal kombucha wolf cardigan butcher whatever pickled you.', 'themeisle-companion' ),
258
+ 'id' => 'customizer_repeater_56d7ea7f40c76',
259
+ 'social_repeater' => json_encode(
260
+ array(
261
+ array(
262
+ 'id' => 'customizer-repeater-social-repeater-57fb917e4c69e',
263
+ 'link' => 'facebook.com',
264
+ 'icon' => 'fa-facebook',
265
+ ),
266
+ array(
267
+ 'id' => 'customizer-repeater-social-repeater-57fb91830825c',
268
+ 'link' => 'twitter.com',
269
+ 'icon' => 'fa-twitter',
270
+ ),
271
+ array(
272
+ 'id' => 'customizer-repeater-social-repeater-57fb918d65f2e',
273
+ 'link' => 'linkedin.com',
274
+ 'icon' => 'fa-linkedin',
275
+ ),
276
+ array(
277
+ 'id' => 'customizer-repeater-social-repeater-57fb918d65f2x',
278
+ 'link' => 'dribbble.com',
279
+ 'icon' => 'fa-dribbble',
280
+ ),
281
+ )
282
+ ),
283
  ),
284
  array(
285
+ 'image_url' => get_template_directory_uri() . '/assets/img/4.jpg',
286
+ 'title' => esc_html__( 'Ruby Von Rails', 'themeisle-companion' ),
287
+ 'subtitle' => esc_html__( 'Lead Developer', 'themeisle-companion' ),
288
+ 'text' => esc_html__( 'Small batch vexillologist 90\'s blue bottle stumptown bespoke. Pok pok tilde fixie chartreuse, VHS gluten-free selfies wolf hot.', 'themeisle-companion' ),
289
+ 'id' => 'customizer_repeater_56d7ea7f40c86',
290
+ 'social_repeater' => json_encode(
291
+ array(
292
+ array(
293
+ 'id' => 'customizer-repeater-social-repeater-57fb925cedcg5',
294
+ 'link' => 'github.com',
295
+ 'icon' => 'fa-github-square',
296
+ ),
297
+ array(
298
+ 'id' => 'customizer-repeater-social-repeater-57fb925cedcb2',
299
+ 'link' => 'facebook.com',
300
+ 'icon' => 'fa-facebook',
301
+ ),
302
+ array(
303
+ 'id' => 'customizer-repeater-social-repeater-57fb92615f030',
304
+ 'link' => 'twitter.com',
305
+ 'icon' => 'fa-twitter',
306
+ ),
307
+ array(
308
+ 'id' => 'customizer-repeater-social-repeater-57fb9266c223a',
309
+ 'link' => 'linkedin.com',
310
+ 'icon' => 'fa-linkedin',
311
+ ),
312
+ )
313
+ ),
314
  ),
315
+ )
316
+ )
317
+ );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
318
  }
319
 
320
 
321
  if ( function_exists( 'hestia_team' ) ) {
322
  $section_priority = apply_filters( 'hestia_section_priority', 30, 'hestia_team' );
323
  add_action( 'hestia_sections', 'hestia_team', absint( $section_priority ) );
324
+ if ( function_exists( 'hestia_team_register_strings' ) ) {
325
+ add_action( 'after_setup_theme', 'hestia_team_register_strings', 11 );
326
+ }
327
  }
obfx_modules/companion-legacy/inc/hestia/inc/sections/hestia-testimonials-section.php CHANGED
@@ -11,33 +11,47 @@ if ( ! function_exists( 'hestia_testimonials' ) ) :
11
  * Testimonials section content.
12
  *
13
  * @since Hestia 1.0
 
14
  */
15
- function hestia_testimonials() {
16
 
17
  $default_title = '';
18
  $default_subtitle = '';
19
  $default_content = '';
20
  if ( current_user_can( 'edit_theme_options' ) ) {
21
- $default_title = __( 'What clients say', 'themeisle-companion' );
22
- $default_subtitle = __( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' );
23
  $default_content = hestia_get_testimonials_default();
24
  }
25
  $hestia_testimonials_title = get_theme_mod( 'hestia_testimonials_title', $default_title );
26
  $hestia_testimonials_subtitle = get_theme_mod( 'hestia_testimonials_subtitle', $default_subtitle );
 
 
 
 
 
27
  $hestia_testimonials_content = get_theme_mod( 'hestia_testimonials_content', $default_content );
28
 
29
  $hide_section = get_theme_mod( 'hestia_testimonials_hide', false );
30
- if ( ( (bool) $hide_section === true ) || ( empty( $hestia_testimonials_title ) && empty( $hestia_testimonials_subtitle ) && empty( $hestia_testimonials_content ) ) ) {
31
  return;
32
  }
33
 
 
 
 
 
 
 
34
  ?>
35
  <section class="testimonials hestia-testimonials" id="testimonials" data-sorder="hestia_testimonials">
36
- <div class="container">
 
 
37
  <div class="row">
38
  <div class="col-md-8 col-md-offset-2 text-center">
39
  <?php if ( ! empty( $hestia_testimonials_title ) || is_customize_preview() ) : ?>
40
- <h2 class="title"><?php echo esc_html( $hestia_testimonials_title ); ?></h2>
41
  <?php endif; ?>
42
  <?php if ( ! empty( $hestia_testimonials_subtitle ) || is_customize_preview() ) : ?>
43
  <h5 class="description"><?php echo esc_html( $hestia_testimonials_subtitle ); ?></h5>
@@ -45,9 +59,12 @@ if ( ! function_exists( 'hestia_testimonials' ) ) :
45
  </div>
46
  </div>
47
  <?php hestia_testimonials_content( $hestia_testimonials_content ); ?>
 
48
  </div>
 
49
  </section>
50
  <?php
 
51
  }
52
  endif;
53
 
@@ -55,57 +72,73 @@ endif;
55
  /**
56
  * Display content for testimonials section.
57
  *
58
- * @since 1.1.30
59
  * @access public
60
  * @param string $hestia_testimonials_content Section content in json format.
61
  * @param bool $is_callback Flag to check if it's callback or not.
62
  */
63
  function hestia_testimonials_content( $hestia_testimonials_content, $is_callback = false ) {
64
 
65
- if ( ! $is_callback ) { ?>
66
- <div class="row hestia-testimonials-content">
 
67
  <?php
68
  }
69
  if ( ! empty( $hestia_testimonials_content ) ) :
70
  $hestia_testimonials_content = json_decode( $hestia_testimonials_content );
71
- foreach ( $hestia_testimonials_content as $testimonial_item ) :
72
- $image = ! empty( $testimonial_item->image_url ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->image_url, 'Testimonials section' ) : '';
73
- $title = ! empty( $testimonial_item->title ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->title, 'Testimonials section' ) : '';
74
- $subtitle = ! empty( $testimonial_item->subtitle ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->subtitle, 'Testimonials section' ) : '';
75
- $text = ! empty( $testimonial_item->text ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->text, 'Testimonials section' ) : '';
76
- $link = ! empty( $testimonial_item->link ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->link, 'Testimonials section' ) : '';
77
- ?>
78
- <div class="col-md-4">
79
- <div class="card card-testimonial card-plain">
80
- <?php if ( ! empty( $image ) ) : ?>
81
- <div class="card-avatar">
82
- <?php if ( ! empty( $link ) ) : ?>
83
- <a href="<?php echo esc_url( $link ); ?>">
84
- <?php endif; ?>
85
- <img class="img"
86
- src="<?php echo esc_url( $image ); ?>" <?php if ( ! empty( $title ) ) : ?> alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
87
  <?php if ( ! empty( $link ) ) : ?>
88
- </a>
 
 
 
 
 
 
 
 
 
 
 
89
  <?php endif; ?>
 
 
 
 
 
 
 
 
 
 
90
  </div>
91
- <?php endif; ?>
92
- <div class="content">
93
- <?php if ( ! empty( $title ) ) : ?>
94
- <h4 class="card-title"><?php echo esc_html( $title ); ?></h4>
95
- <?php endif; ?>
96
- <?php if ( ! empty( $subtitle ) ) : ?>
97
- <h6 class="category text-muted"><?php echo esc_html( $subtitle ); ?></h6>
98
- <?php endif; ?>
99
- <?php if ( ! empty( $text ) ) : ?>
100
- <p class="card-description"><?php echo wp_kses_post( html_entity_decode( $text ) ); ?></p>
101
- <?php endif; ?>
102
  </div>
103
  </div>
104
- </div>
105
- <?php
106
- endforeach;
 
 
 
 
 
 
107
  endif;
108
- if ( ! $is_callback ) { ?>
 
109
  </div>
110
  <?php
111
  }
@@ -115,47 +148,43 @@ function hestia_testimonials_content( $hestia_testimonials_content, $is_callback
115
  /**
116
  * Get default values for testimonials section.
117
  *
118
- * @since 1.1.30
119
  * @access public
120
  */
121
  function hestia_get_testimonials_default() {
122
- return apply_filters( 'hestia_testimonials_default_content', json_encode( array(
123
- array(
124
- 'image_url' => get_template_directory_uri() . '/assets/img/5.jpg',
125
- 'title' => esc_html__( 'Inverness McKenzie', 'themeisle-companion' ),
126
- 'subtitle' => esc_html__( 'Business Owner', 'themeisle-companion' ),
127
- 'text' => esc_html__( '"We have no regrets! After using your product my business skyrocketed! I made back the purchase price in just 48 hours! I couldn\'t have asked for more than this."', 'themeisle-companion' ),
128
- 'id' => 'customizer_repeater_56d7ea7f40d56',
129
- ),
130
- array(
131
- 'image_url' => get_template_directory_uri() . '/assets/img/6.jpg',
132
- 'title' => esc_html__( 'Hanson Deck', 'themeisle-companion' ),
133
- 'subtitle' => esc_html__( 'Independent Artist', 'themeisle-companion' ),
134
- 'text' => esc_html__( '"Your company is truly upstanding and is behind its product 100 percent. Hestia is worth much more than I paid. I like Hestia more each day because it makes easier."', 'themeisle-companion' ),
135
- 'id' => 'customizer_repeater_56d7ea7f40d66',
136
- ),
137
- array(
138
- 'image_url' => get_template_directory_uri() . '/assets/img/7.jpg',
139
- 'title' => esc_html__( 'Natalya Undergrowth', 'themeisle-companion' ),
140
- 'subtitle' => esc_html__( 'Freelancer', 'themeisle-companion' ),
141
- 'text' => esc_html__( '"Thank you for making it painless, pleasant and most of all hassle free! I am so pleased with this product. Dude, your stuff is great! I will refer everyone I know."', 'themeisle-companion' ),
142
- 'id' => 'customizer_repeater_56d7ea7f40d76',
143
- ),
144
- ) ) );
145
- }
146
-
147
- if ( ! function_exists( 'hestia_testimonials_register_strings' ) ) {
148
- /**
149
- * Register polylang strings
150
- */
151
- function hestia_testimonials_register_strings() {
152
- $default = hestia_get_testimonials_default();
153
- hestia_pll_string_register_helper( 'hestia_testimonials_content', $default, 'Testimonials section' );
154
- }
155
  }
156
 
157
  if ( function_exists( 'hestia_testimonials' ) ) {
158
  $section_priority = apply_filters( 'hestia_section_priority', 40, 'hestia_testimonials' );
159
  add_action( 'hestia_sections', 'hestia_testimonials', absint( $section_priority ) );
160
- add_action( 'after_setup_theme', 'hestia_testimonials_register_strings', 11 );
 
 
161
  }
11
  * Testimonials section content.
12
  *
13
  * @since Hestia 1.0
14
+ * @modified 1.1.34
15
  */
16
+ function hestia_testimonials( $is_shortcode = false ) {
17
 
18
  $default_title = '';
19
  $default_subtitle = '';
20
  $default_content = '';
21
  if ( current_user_can( 'edit_theme_options' ) ) {
22
+ $default_title = esc_html__( 'What clients say', 'themeisle-companion' );
23
+ $default_subtitle = esc_html__( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', 'themeisle-companion' );
24
  $default_content = hestia_get_testimonials_default();
25
  }
26
  $hestia_testimonials_title = get_theme_mod( 'hestia_testimonials_title', $default_title );
27
  $hestia_testimonials_subtitle = get_theme_mod( 'hestia_testimonials_subtitle', $default_subtitle );
28
+ if ( $is_shortcode ) {
29
+ $hestia_testimonials_title = '';
30
+ $hestia_testimonials_subtitle = '';
31
+ }
32
+
33
  $hestia_testimonials_content = get_theme_mod( 'hestia_testimonials_content', $default_content );
34
 
35
  $hide_section = get_theme_mod( 'hestia_testimonials_hide', false );
36
+ if ( ! $is_shortcode && ( (bool) $hide_section === true ) || ( empty( $hestia_testimonials_title ) && empty( $hestia_testimonials_subtitle ) && empty( $hestia_testimonials_content ) ) ) {
37
  return;
38
  }
39
 
40
+ $class_to_add = 'container';
41
+ if ( $is_shortcode ) {
42
+ $class_to_add = '';
43
+ }
44
+
45
+ hestia_before_testimonials_section_trigger();
46
  ?>
47
  <section class="testimonials hestia-testimonials" id="testimonials" data-sorder="hestia_testimonials">
48
+ <?php hestia_before_testimonials_section_content_trigger(); ?>
49
+ <div class="<?php echo esc_attr( $class_to_add ); ?>">
50
+ <?php hestia_top_testimonials_section_content_trigger(); ?>
51
  <div class="row">
52
  <div class="col-md-8 col-md-offset-2 text-center">
53
  <?php if ( ! empty( $hestia_testimonials_title ) || is_customize_preview() ) : ?>
54
+ <h2 class="hestia-title"><?php echo esc_html( $hestia_testimonials_title ); ?></h2>
55
  <?php endif; ?>
56
  <?php if ( ! empty( $hestia_testimonials_subtitle ) || is_customize_preview() ) : ?>
57
  <h5 class="description"><?php echo esc_html( $hestia_testimonials_subtitle ); ?></h5>
59
  </div>
60
  </div>
61
  <?php hestia_testimonials_content( $hestia_testimonials_content ); ?>
62
+ <?php hestia_bottom_testimonials_section_content_trigger(); ?>
63
  </div>
64
+ <?php hestia_after_testimonials_section_content_trigger(); ?>
65
  </section>
66
  <?php
67
+ hestia_after_testimonials_section_trigger();
68
  }
69
  endif;
70
 
72
  /**
73
  * Display content for testimonials section.
74
  *
75
+ * @since 1.1.31
76
  * @access public
77
  * @param string $hestia_testimonials_content Section content in json format.
78
  * @param bool $is_callback Flag to check if it's callback or not.
79
  */
80
  function hestia_testimonials_content( $hestia_testimonials_content, $is_callback = false ) {
81
 
82
+ if ( ! $is_callback ) {
83
+ ?>
84
+ <div class="hestia-testimonials-content">
85
  <?php
86
  }
87
  if ( ! empty( $hestia_testimonials_content ) ) :
88
  $hestia_testimonials_content = json_decode( $hestia_testimonials_content );
89
+ if ( ! empty( $hestia_testimonials_content ) ) {
90
+ $i = 1;
91
+ echo '<div class="row">';
92
+ foreach ( $hestia_testimonials_content as $testimonial_item ) :
93
+ $image = ! empty( $testimonial_item->image_url ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->image_url, 'Testimonials section' ) : '';
94
+ $title = ! empty( $testimonial_item->title ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->title, 'Testimonials section' ) : '';
95
+ $subtitle = ! empty( $testimonial_item->subtitle ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->subtitle, 'Testimonials section' ) : '';
96
+ $text = ! empty( $testimonial_item->text ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->text, 'Testimonials section' ) : '';
97
+ $link = ! empty( $testimonial_item->link ) ? apply_filters( 'hestia_translate_single_string', $testimonial_item->link, 'Testimonials section' ) : '';
98
+ ?>
99
+ <div class="col-md-4">
100
+ <div class="card card-testimonial card-plain">
101
+ <?php if ( ! empty( $image ) ) : ?>
102
+ <div class="card-avatar">
 
 
103
  <?php if ( ! empty( $link ) ) : ?>
104
+ <a href="<?php echo esc_url( $link ); ?>">
105
+ <?php endif; ?>
106
+ <img class="img"
107
+ src="<?php echo esc_url( $image ); ?>"
108
+ <?php
109
+ if ( ! empty( $title ) ) :
110
+ ?>
111
+ alt="<?php echo esc_attr( $title ); ?>" title="<?php echo esc_attr( $title ); ?>" <?php endif; ?> />
112
+ <?php if ( ! empty( $link ) ) : ?>
113
+ </a>
114
+ <?php endif; ?>
115
+ </div>
116
  <?php endif; ?>
117
+ <div class="content">
118
+ <?php if ( ! empty( $title ) ) : ?>
119
+ <h4 class="card-title"><?php echo esc_html( $title ); ?></h4>
120
+ <?php endif; ?>
121
+ <?php if ( ! empty( $subtitle ) ) : ?>
122
+ <h6 class="category text-muted"><?php echo esc_html( $subtitle ); ?></h6>
123
+ <?php endif; ?>
124
+ <?php if ( ! empty( $text ) ) : ?>
125
+ <p class="card-description"><?php echo wp_kses_post( html_entity_decode( $text ) ); ?></p>
126
+ <?php endif; ?>
127
  </div>
 
 
 
 
 
 
 
 
 
 
 
128
  </div>
129
  </div>
130
+ <?php
131
+ if ( $i % 3 == 0 ) {
132
+ echo '</div><!-- /.row -->';
133
+ echo '<div class="row">';
134
+ }
135
+ $i++;
136
+ endforeach;
137
+ echo '</div>';
138
+ }// End if().
139
  endif;
140
+ if ( ! $is_callback ) {
141
+ ?>
142
  </div>
143
  <?php
144
  }
148
  /**
149
  * Get default values for testimonials section.
150
  *
151
+ * @since 1.1.31
152
  * @access public
153
  */
154
  function hestia_get_testimonials_default() {
155
+ return apply_filters(
156
+ 'hestia_testimonials_default_content', json_encode(
157
+ array(
158
+ array(
159
+ 'image_url' => get_template_directory_uri() . '/assets/img/5.jpg',
160
+ 'title' => esc_html__( 'Inverness McKenzie', 'themeisle-companion' ),
161
+ 'subtitle' => esc_html__( 'Business Owner', 'themeisle-companion' ),
162
+ 'text' => esc_html__( '"We have no regrets! After using your product my business skyrocketed! I made back the purchase price in just 48 hours! I couldn\'t have asked for more than this."', 'themeisle-companion' ),
163
+ 'id' => 'customizer_repeater_56d7ea7f40d56',
164
+ ),
165
+ array(
166
+ 'image_url' => get_template_directory_uri() . '/assets/img/6.jpg',
167
+ 'title' => esc_html__( 'Hanson Deck', 'themeisle-companion' ),
168
+ 'subtitle' => esc_html__( 'Independent Artist', 'themeisle-companion' ),
169
+ 'text' => esc_html__( '"Your company is truly upstanding and is behind its product 100 percent. Hestia is worth much more than I paid. I like Hestia more each day because it makes easier."', 'themeisle-companion' ),
170
+ 'id' => 'customizer_repeater_56d7ea7f40d66',
171
+ ),
172
+ array(
173
+ 'image_url' => get_template_directory_uri() . '/assets/img/7.jpg',
174
+ 'title' => esc_html__( 'Natalya Undergrowth', 'themeisle-companion' ),
175
+ 'subtitle' => esc_html__( 'Freelancer', 'themeisle-companion' ),
176
+ 'text' => esc_html__( '"Thank you for making it painless, pleasant and most of all hassle free! I am so pleased with this product. Dude, your stuff is great! I will refer everyone I know."', 'themeisle-companion' ),
177
+ 'id' => 'customizer_repeater_56d7ea7f40d76',
178
+ ),
179
+ )
180
+ )
181
+ );
 
 
 
 
 
 
182
  }
183
 
184
  if ( function_exists( 'hestia_testimonials' ) ) {
185
  $section_priority = apply_filters( 'hestia_section_priority', 40, 'hestia_testimonials' );
186
  add_action( 'hestia_sections', 'hestia_testimonials', absint( $section_priority ) );
187
+ if ( function_exists( 'hestia_testimonials_register_strings' ) ) {
188
+ add_action( 'after_setup_theme', 'hestia_testimonials_register_strings', 11 );
189
+ }
190
  }
readme.txt CHANGED
@@ -76,6 +76,11 @@ Activating the Orbit Fox Companion plugin is just like any other plugin. If you'
76
  3. Screenshot 3. How reports module is looking
77
 
78
  == Changelog ==
 
 
 
 
 
79
  = 2.0.2 - 2017-08-16 =
80
 
81
  * Fix accordion not opening to display save buttons for modules
76
  3. Screenshot 3. How reports module is looking
77
 
78
  == Changelog ==
79
+ = 2.0.3 - 2017-08-24 =
80
+
81
+ * Improved compatibility with the new Hestia version.
82
+
83
+
84
  = 2.0.2 - 2017-08-16 =
85
 
86
  * Fix accordion not opening to display save buttons for modules
themeisle-companion.php CHANGED
@@ -15,7 +15,7 @@
15
  * Plugin Name: Orbit Fox Companion
16
  * Plugin URI: https://themeisle.com/plugins/orbit-fox-companion
17
  * Description: Enhances ThemeIsle's themes with extra functionality.
18
- * Version: 2.0.2
19
  * Author: Themeisle
20
  * Author URI: https://themeisle.com
21
  * License: GPL-2.0+
15
  * Plugin Name: Orbit Fox Companion
16
  * Plugin URI: https://themeisle.com/plugins/orbit-fox-companion
17
  * Description: Enhances ThemeIsle's themes with extra functionality.
18
+ * Version: 2.0.3
19
  * Author: Themeisle
20
  * Author URI: https://themeisle.com
21
  * License: GPL-2.0+
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit9b6e83b67c65b8031c140ee76007cd30::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit93ef7e0033f9d4e7eba42884eb0218f8::getLoader();
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-feedback-deactivate.php CHANGED
@@ -413,7 +413,7 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
413
  $list .= '<li ti-option-id="' . $id . '"><input type="radio" name="ti-deactivate-option" id="' . $key . $id . '"><label for="' . $key . $id . '">' . str_replace( '{theme}', $this->product->get_name(), $title ) . '</label>';
414
  if ( array_key_exists( 'type', $attributes ) ) {
415
  $list .= '<div>';
416
- $placeholder = array_key_exists( 'placeholder', $attributes ) ? __( $attributes['placeholder'] ) : '';
417
  switch ( $attributes['type'] ) {
418
  case 'text':
419
  $list .= '<textarea style="width: 100%" rows="1" name="comments" placeholder="' . $placeholder . '"></textarea>';
@@ -431,11 +431,11 @@ if ( ! class_exists( 'ThemeIsle_SDK_Feedback_Deactivate' ) ) :
431
  . '<ul class="ti-list">' . $list . '</ul>'
432
  . '<div class="actions">'
433
  . get_submit_button(
434
- __( $button_submit_before ), 'secondary', $this->product->get_key() . 'ti-deactivate-yes', false, array(
435
  'data-after-text' => $button_submit,
436
  )
437
  )
438
- . get_submit_button( __( $button_cancel ), 'primary', $this->product->get_key() . 'ti-deactivate-no', false )
439
  . '</div></div>';
440
  }
441
 
413
  $list .= '<li ti-option-id="' . $id . '"><input type="radio" name="ti-deactivate-option" id="' . $key . $id . '"><label for="' . $key . $id . '">' . str_replace( '{theme}', $this->product->get_name(), $title ) . '</label>';
414
  if ( array_key_exists( 'type', $attributes ) ) {
415
  $list .= '<div>';
416
+ $placeholder = array_key_exists( 'placeholder', $attributes ) ? $attributes['placeholder'] : '';
417
  switch ( $attributes['type'] ) {
418
  case 'text':
419
  $list .= '<textarea style="width: 100%" rows="1" name="comments" placeholder="' . $placeholder . '"></textarea>';
431
  . '<ul class="ti-list">' . $list . '</ul>'
432
  . '<div class="actions">'
433
  . get_submit_button(
434
+ $button_submit_before , 'secondary', $this->product->get_key() . 'ti-deactivate-yes', false, array(
435
  'data-after-text' => $button_submit,
436
  )
437
  )
438
+ . get_submit_button( $button_cancel, 'primary', $this->product->get_key() . 'ti-deactivate-no', false )
439
  . '</div></div>';
440
  }
441
 
vendor/codeinwp/themeisle-sdk/class-themeisle-sdk-logger.php CHANGED
@@ -155,12 +155,12 @@ if ( ! class_exists( 'ThemeIsle_SDK_Logger' ) ) :
155
  . '<p>' . $heading . '</p>'
156
  . '<div class="actions">'
157
  . get_submit_button(
158
- __( $button_submit ), 'primary ' . $this->product->get_key() . '-ti-logger', $this->product->get_key() . 'ti-logger-yes', false, array(
159
  'data-ti-log-enable' => 1,
160
  )
161
  )
162
  . get_submit_button(
163
- __( $button_cancel ), 'secondary ' . $this->product->get_key() . '-ti-logger', $this->product->get_key() . 'ti-logger-no', false, array(
164
  'data-ti-log-enable' => 0,
165
  )
166
  )
155
  . '<p>' . $heading . '</p>'
156
  . '<div class="actions">'
157
  . get_submit_button(
158
+ $button_submit, 'primary ' . $this->product->get_key() . '-ti-logger', $this->product->get_key() . 'ti-logger-yes', false, array(
159
  'data-ti-log-enable' => 1,
160
  )
161
  )
162
  . get_submit_button(
163
+ $button_cancel, 'secondary ' . $this->product->get_key() . '-ti-logger', $this->product->get_key() . 'ti-logger-no', false, array(
164
  'data-ti-log-enable' => 0,
165
  )
166
  )
vendor/codeinwp/themeisle-sdk/load.php CHANGED
@@ -11,7 +11,7 @@
11
  */
12
 
13
  // Current SDK version and path.
14
- $themeisle_sdk_version = '1.5.5';
15
  $themeisle_sdk_path = dirname( __FILE__ );
16
 
17
  global $themeisle_sdk_max_version;
11
  */
12
 
13
  // Current SDK version and path.
14
+ $themeisle_sdk_version = '1.5.6';
15
  $themeisle_sdk_path = dirname( __FILE__ );
16
 
17
  global $themeisle_sdk_max_version;
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit9b6e83b67c65b8031c140ee76007cd30
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit9b6e83b67c65b8031c140ee76007cd30
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit9b6e83b67c65b8031c140ee76007cd30', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit9b6e83b67c65b8031c140ee76007cd30', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
@@ -42,14 +42,14 @@ class ComposerAutoloaderInit9b6e83b67c65b8031c140ee76007cd30
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
- composerRequire9b6e83b67c65b8031c140ee76007cd30($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
- function composerRequire9b6e83b67c65b8031c140ee76007cd30($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit93ef7e0033f9d4e7eba42884eb0218f8
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit93ef7e0033f9d4e7eba42884eb0218f8', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit93ef7e0033f9d4e7eba42884eb0218f8', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
+ composerRequire93ef7e0033f9d4e7eba42884eb0218f8($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequire93ef7e0033f9d4e7eba42884eb0218f8($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
vendor/composer/installed.json CHANGED
@@ -5,16 +5,16 @@
5
  "version_normalized": "9999999-dev",
6
  "source": {
7
  "type": "git",
8
- "url": "git@github.com:Codeinwp/themeisle-sdk.git",
9
- "reference": "f05bd8f0fe4d628424484e2bdd6d20ee65f454ee"
10
  },
11
  "dist": {
12
  "type": "zip",
13
- "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/f05bd8f0fe4d628424484e2bdd6d20ee65f454ee",
14
- "reference": "f05bd8f0fe4d628424484e2bdd6d20ee65f454ee",
15
  "shasum": ""
16
  },
17
- "time": "2017-08-08 22:09:54",
18
  "type": "library",
19
  "installation-source": "dist",
20
  "autoload": {
@@ -38,7 +38,8 @@
38
  "wordpress"
39
  ],
40
  "support": {
41
- "issues": "https://github.com/Codeinwp/themeisle-sdk/issues"
 
42
  }
43
  }
44
  ]
5
  "version_normalized": "9999999-dev",
6
  "source": {
7
  "type": "git",
8
+ "url": "https://github.com/Codeinwp/themeisle-sdk.git",
9
+ "reference": "1fb829fd268e739864b6f1822239c1112d80853f"
10
  },
11
  "dist": {
12
  "type": "zip",
13
+ "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/1fb829fd268e739864b6f1822239c1112d80853f",
14
+ "reference": "1fb829fd268e739864b6f1822239c1112d80853f",
15
  "shasum": ""
16
  },
17
+ "time": "2017-08-22 16:09:34",
18
  "type": "library",
19
  "installation-source": "dist",
20
  "autoload": {
38
  "wordpress"
39
  ],
40
  "support": {
41
+ "issues": "https://github.com/Codeinwp/themeisle-sdk/issues",
42
+ "source": "https://github.com/Codeinwp/themeisle-sdk/tree/master"
43
  }
44
  }
45
  ]