Shortcodes and extra features for Phlox theme - Version 1.0.0

Version Description

Download this release

Release Info

Developer averta
Plugin Icon 128x128 Shortcodes and extra features for Phlox theme
Version 1.0.0
Comparing to
See all releases

Version 1.0.0

Files changed (71) hide show
  1. LICENSE.txt +621 -0
  2. README.txt +141 -0
  3. admin/assets/css/editor.css +31 -0
  4. admin/assets/css/index.php +1 -0
  5. admin/assets/images/index.php +1 -0
  6. admin/assets/js/index.php +1 -0
  7. admin/assets/js/tinymce/plugins/auxin-btns.js +322 -0
  8. admin/class-auxels-admin.php +112 -0
  9. admin/includes/admin-hooks.php +177 -0
  10. admin/includes/admin-the-functions.php +188 -0
  11. admin/includes/classes/class-auxels-admin-assets.php +47 -0
  12. admin/includes/index.php +13 -0
  13. admin/includes/metaboxes/metabox-fields-post-audio.php +66 -0
  14. admin/includes/metaboxes/metabox-fields-post-gallery.php +39 -0
  15. admin/includes/metaboxes/metabox-fields-post-quote.php +45 -0
  16. admin/includes/metaboxes/metabox-fields-post-video.php +72 -0
  17. assets/screenshot-1.png +0 -0
  18. assets/screenshot-2.jpg +0 -0
  19. assets/screenshot-3.png +0 -0
  20. assets/screenshot-4.png +0 -0
  21. assets/screenshot-5.png +0 -0
  22. assets/screenshot-6.png +0 -0
  23. assets/screenshot-7.png +0 -0
  24. assets/screenshot-8.png +0 -0
  25. assets/screenshot-9.png +0 -0
  26. auxin-elements.php +52 -0
  27. includes/classes/class-auxin-widget-shortcode-map.php +357 -0
  28. includes/define.php +33 -0
  29. includes/elements/about-widget.php +260 -0
  30. includes/elements/accordion.php +165 -0
  31. includes/elements/attachment-url.php +22 -0
  32. includes/elements/audio.php +197 -0
  33. includes/elements/button.php +331 -0
  34. includes/elements/code.php +205 -0
  35. includes/elements/contact-box.php +429 -0
  36. includes/elements/contact-form.php +254 -0
  37. includes/elements/divider.php +231 -0
  38. includes/elements/dropcap.php +212 -0
  39. includes/elements/gallery.php +569 -0
  40. includes/elements/gmap.php +308 -0
  41. includes/elements/highlight.php +150 -0
  42. includes/elements/image.php +333 -0
  43. includes/elements/instagram-feed.php +393 -0
  44. includes/elements/latest-items.php +502 -0
  45. includes/elements/latest-posts-slider.php +541 -0
  46. includes/elements/quote.php +303 -0
  47. includes/elements/recent-posts-widget.php +341 -0
  48. includes/elements/recent-posts.php +708 -0
  49. includes/elements/sample-element.php +215 -0
  50. includes/elements/search.php +119 -0
  51. includes/elements/socials-list.php +138 -0
  52. includes/elements/tabs.php +146 -0
  53. includes/elements/text.php +272 -0
  54. includes/elements/video.php +277 -0
  55. includes/general-functions.php +24 -0
  56. includes/general-hooks.php +929 -0
  57. includes/general-shortcodes.php +366 -0
  58. includes/index.php +43 -0
  59. index.php +1 -0
  60. languages/auxin-elements.pot +5850 -0
  61. public/assets/css/index.php +1 -0
  62. public/assets/index.php +1 -0
  63. public/assets/js/index.php +1 -0
  64. public/class-auxels.php +289 -0
  65. public/includes/class-auxels-frontend-assets.php +45 -0
  66. public/includes/index.php +1 -0
  67. public/templates/vcomposer/auxin_shortcode_mapper.php +12 -0
  68. public/templates/vcomposer/auxin_vc_extendes.php +86 -0
  69. public/templates/vcomposer/vc_raw_html.php +38 -0
  70. public/templates/vcomposer/vc_row.php +162 -0
  71. uninstall.php +16 -0
LICENSE.txt ADDED
@@ -0,0 +1,621 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 3, 29 June 2007
3
+
4
+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5
+ Everyone is permitted to copy and distribute verbatim copies
6
+ of this license document, but changing it is not allowed.
7
+
8
+ Preamble
9
+
10
+ The GNU General Public License is a free, copyleft license for
11
+ software and other kinds of works.
12
+
13
+ The licenses for most software and other practical works are designed
14
+ to take away your freedom to share and change the works. By contrast,
15
+ the GNU General Public License is intended to guarantee your freedom to
16
+ share and change all versions of a program--to make sure it remains free
17
+ software for all its users. We, the Free Software Foundation, use the
18
+ GNU General Public License for most of our software; it applies also to
19
+ any other work released this way by its authors. You can apply it to
20
+ your programs, too.
21
+
22
+ When we speak of free software, we are referring to freedom, not
23
+ price. Our General Public Licenses are designed to make sure that you
24
+ have the freedom to distribute copies of free software (and charge for
25
+ them if you wish), that you receive source code or can get it if you
26
+ want it, that you can change the software or use pieces of it in new
27
+ free programs, and that you know you can do these things.
28
+
29
+ To protect your rights, we need to prevent others from denying you
30
+ these rights or asking you to surrender the rights. Therefore, you have
31
+ certain responsibilities if you distribute copies of the software, or if
32
+ you modify it: responsibilities to respect the freedom of others.
33
+
34
+ For example, if you distribute copies of such a program, whether
35
+ gratis or for a fee, you must pass on to the recipients the same
36
+ freedoms that you received. You must make sure that they, too, receive
37
+ or can get the source code. And you must show them these terms so they
38
+ know their rights.
39
+
40
+ Developers that use the GNU GPL protect your rights with two steps:
41
+ (1) assert copyright on the software, and (2) offer you this License
42
+ giving you legal permission to copy, distribute and/or modify it.
43
+
44
+ For the developers' and authors' protection, the GPL clearly explains
45
+ that there is no warranty for this free software. For both users' and
46
+ authors' sake, the GPL requires that modified versions be marked as
47
+ changed, so that their problems will not be attributed erroneously to
48
+ authors of previous versions.
49
+
50
+ Some devices are designed to deny users access to install or run
51
+ modified versions of the software inside them, although the manufacturer
52
+ can do so. This is fundamentally incompatible with the aim of
53
+ protecting users' freedom to change the software. The systematic
54
+ pattern of such abuse occurs in the area of products for individuals to
55
+ use, which is precisely where it is most unacceptable. Therefore, we
56
+ have designed this version of the GPL to prohibit the practice for those
57
+ products. If such problems arise substantially in other domains, we
58
+ stand ready to extend this provision to those domains in future versions
59
+ of the GPL, as needed to protect the freedom of users.
60
+
61
+ Finally, every program is threatened constantly by software patents.
62
+ States should not allow patents to restrict development and use of
63
+ software on general-purpose computers, but in those that do, we wish to
64
+ avoid the special danger that patents applied to a free program could
65
+ make it effectively proprietary. To prevent this, the GPL assures that
66
+ patents cannot be used to render the program non-free.
67
+
68
+ The precise terms and conditions for copying, distribution and
69
+ modification follow.
70
+
71
+ TERMS AND CONDITIONS
72
+
73
+ 0. Definitions.
74
+
75
+ "This License" refers to version 3 of the GNU General Public License.
76
+
77
+ "Copyright" also means copyright-like laws that apply to other kinds of
78
+ works, such as semiconductor masks.
79
+
80
+ "The Program" refers to any copyrightable work licensed under this
81
+ License. Each licensee is addressed as "you". "Licensees" and
82
+ "recipients" may be individuals or organizations.
83
+
84
+ To "modify" a work means to copy from or adapt all or part of the work
85
+ in a fashion requiring copyright permission, other than the making of an
86
+ exact copy. The resulting work is called a "modified version" of the
87
+ earlier work or a work "based on" the earlier work.
88
+
89
+ A "covered work" means either the unmodified Program or a work based
90
+ on the Program.
91
+
92
+ To "propagate" a work means to do anything with it that, without
93
+ permission, would make you directly or secondarily liable for
94
+ infringement under applicable copyright law, except executing it on a
95
+ computer or modifying a private copy. Propagation includes copying,
96
+ distribution (with or without modification), making available to the
97
+ public, and in some countries other activities as well.
98
+
99
+ To "convey" a work means any kind of propagation that enables other
100
+ parties to make or receive copies. Mere interaction with a user through
101
+ a computer network, with no transfer of a copy, is not conveying.
102
+
103
+ An interactive user interface displays "Appropriate Legal Notices"
104
+ to the extent that it includes a convenient and prominently visible
105
+ feature that (1) displays an appropriate copyright notice, and (2)
106
+ tells the user that there is no warranty for the work (except to the
107
+ extent that warranties are provided), that licensees may convey the
108
+ work under this License, and how to view a copy of this License. If
109
+ the interface presents a list of user commands or options, such as a
110
+ menu, a prominent item in the list meets this criterion.
111
+
112
+ 1. Source Code.
113
+
114
+ The "source code" for a work means the preferred form of the work
115
+ for making modifications to it. "Object code" means any non-source
116
+ form of a work.
117
+
118
+ A "Standard Interface" means an interface that either is an official
119
+ standard defined by a recognized standards body, or, in the case of
120
+ interfaces specified for a particular programming language, one that
121
+ is widely used among developers working in that language.
122
+
123
+ The "System Libraries" of an executable work include anything, other
124
+ than the work as a whole, that (a) is included in the normal form of
125
+ packaging a Major Component, but which is not part of that Major
126
+ Component, and (b) serves only to enable use of the work with that
127
+ Major Component, or to implement a Standard Interface for which an
128
+ implementation is available to the public in source code form. A
129
+ "Major Component", in this context, means a major essential component
130
+ (kernel, window system, and so on) of the specific operating system
131
+ (if any) on which the executable work runs, or a compiler used to
132
+ produce the work, or an object code interpreter used to run it.
133
+
134
+ The "Corresponding Source" for a work in object code form means all
135
+ the source code needed to generate, install, and (for an executable
136
+ work) run the object code and to modify the work, including scripts to
137
+ control those activities. However, it does not include the work's
138
+ System Libraries, or general-purpose tools or generally available free
139
+ programs which are used unmodified in performing those activities but
140
+ which are not part of the work. For example, Corresponding Source
141
+ includes interface definition files associated with source files for
142
+ the work, and the source code for shared libraries and dynamically
143
+ linked subprograms that the work is specifically designed to require,
144
+ such as by intimate data communication or control flow between those
145
+ subprograms and other parts of the work.
146
+
147
+ The Corresponding Source need not include anything that users
148
+ can regenerate automatically from other parts of the Corresponding
149
+ Source.
150
+
151
+ The Corresponding Source for a work in source code form is that
152
+ same work.
153
+
154
+ 2. Basic Permissions.
155
+
156
+ All rights granted under this License are granted for the term of
157
+ copyright on the Program, and are irrevocable provided the stated
158
+ conditions are met. This License explicitly affirms your unlimited
159
+ permission to run the unmodified Program. The output from running a
160
+ covered work is covered by this License only if the output, given its
161
+ content, constitutes a covered work. This License acknowledges your
162
+ rights of fair use or other equivalent, as provided by copyright law.
163
+
164
+ You may make, run and propagate covered works that you do not
165
+ convey, without conditions so long as your license otherwise remains
166
+ in force. You may convey covered works to others for the sole purpose
167
+ of having them make modifications exclusively for you, or provide you
168
+ with facilities for running those works, provided that you comply with
169
+ the terms of this License in conveying all material for which you do
170
+ not control copyright. Those thus making or running the covered works
171
+ for you must do so exclusively on your behalf, under your direction
172
+ and control, on terms that prohibit them from making any copies of
173
+ your copyrighted material outside their relationship with you.
174
+
175
+ Conveying under any other circumstances is permitted solely under
176
+ the conditions stated below. Sublicensing is not allowed; section 10
177
+ makes it unnecessary.
178
+
179
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180
+
181
+ No covered work shall be deemed part of an effective technological
182
+ measure under any applicable law fulfilling obligations under article
183
+ 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184
+ similar laws prohibiting or restricting circumvention of such
185
+ measures.
186
+
187
+ When you convey a covered work, you waive any legal power to forbid
188
+ circumvention of technological measures to the extent such circumvention
189
+ is effected by exercising rights under this License with respect to
190
+ the covered work, and you disclaim any intention to limit operation or
191
+ modification of the work as a means of enforcing, against the work's
192
+ users, your or third parties' legal rights to forbid circumvention of
193
+ technological measures.
194
+
195
+ 4. Conveying Verbatim Copies.
196
+
197
+ You may convey verbatim copies of the Program's source code as you
198
+ receive it, in any medium, provided that you conspicuously and
199
+ appropriately publish on each copy an appropriate copyright notice;
200
+ keep intact all notices stating that this License and any
201
+ non-permissive terms added in accord with section 7 apply to the code;
202
+ keep intact all notices of the absence of any warranty; and give all
203
+ recipients a copy of this License along with the Program.
204
+
205
+ You may charge any price or no price for each copy that you convey,
206
+ and you may offer support or warranty protection for a fee.
207
+
208
+ 5. Conveying Modified Source Versions.
209
+
210
+ You may convey a work based on the Program, or the modifications to
211
+ produce it from the Program, in the form of source code under the
212
+ terms of section 4, provided that you also meet all of these conditions:
213
+
214
+ a) The work must carry prominent notices stating that you modified
215
+ it, and giving a relevant date.
216
+
217
+ b) The work must carry prominent notices stating that it is
218
+ released under this License and any conditions added under section
219
+ 7. This requirement modifies the requirement in section 4 to
220
+ "keep intact all notices".
221
+
222
+ c) You must license the entire work, as a whole, under this
223
+ License to anyone who comes into possession of a copy. This
224
+ License will therefore apply, along with any applicable section 7
225
+ additional terms, to the whole of the work, and all its parts,
226
+ regardless of how they are packaged. This License gives no
227
+ permission to license the work in any other way, but it does not
228
+ invalidate such permission if you have separately received it.
229
+
230
+ d) If the work has interactive user interfaces, each must display
231
+ Appropriate Legal Notices; however, if the Program has interactive
232
+ interfaces that do not display Appropriate Legal Notices, your
233
+ work need not make them do so.
234
+
235
+ A compilation of a covered work with other separate and independent
236
+ works, which are not by their nature extensions of the covered work,
237
+ and which are not combined with it such as to form a larger program,
238
+ in or on a volume of a storage or distribution medium, is called an
239
+ "aggregate" if the compilation and its resulting copyright are not
240
+ used to limit the access or legal rights of the compilation's users
241
+ beyond what the individual works permit. Inclusion of a covered work
242
+ in an aggregate does not cause this License to apply to the other
243
+ parts of the aggregate.
244
+
245
+ 6. Conveying Non-Source Forms.
246
+
247
+ You may convey a covered work in object code form under the terms
248
+ of sections 4 and 5, provided that you also convey the
249
+ machine-readable Corresponding Source under the terms of this License,
250
+ in one of these ways:
251
+
252
+ a) Convey the object code in, or embodied in, a physical product
253
+ (including a physical distribution medium), accompanied by the
254
+ Corresponding Source fixed on a durable physical medium
255
+ customarily used for software interchange.
256
+
257
+ b) Convey the object code in, or embodied in, a physical product
258
+ (including a physical distribution medium), accompanied by a
259
+ written offer, valid for at least three years and valid for as
260
+ long as you offer spare parts or customer support for that product
261
+ model, to give anyone who possesses the object code either (1) a
262
+ copy of the Corresponding Source for all the software in the
263
+ product that is covered by this License, on a durable physical
264
+ medium customarily used for software interchange, for a price no
265
+ more than your reasonable cost of physically performing this
266
+ conveying of source, or (2) access to copy the
267
+ Corresponding Source from a network server at no charge.
268
+
269
+ c) Convey individual copies of the object code with a copy of the
270
+ written offer to provide the Corresponding Source. This
271
+ alternative is allowed only occasionally and noncommercially, and
272
+ only if you received the object code with such an offer, in accord
273
+ with subsection 6b.
274
+
275
+ d) Convey the object code by offering access from a designated
276
+ place (gratis or for a charge), and offer equivalent access to the
277
+ Corresponding Source in the same way through the same place at no
278
+ further charge. You need not require recipients to copy the
279
+ Corresponding Source along with the object code. If the place to
280
+ copy the object code is a network server, the Corresponding Source
281
+ may be on a different server (operated by you or a third party)
282
+ that supports equivalent copying facilities, provided you maintain
283
+ clear directions next to the object code saying where to find the
284
+ Corresponding Source. Regardless of what server hosts the
285
+ Corresponding Source, you remain obligated to ensure that it is
286
+ available for as long as needed to satisfy these requirements.
287
+
288
+ e) Convey the object code using peer-to-peer transmission, provided
289
+ you inform other peers where the object code and Corresponding
290
+ Source of the work are being offered to the general public at no
291
+ charge under subsection 6d.
292
+
293
+ A separable portion of the object code, whose source code is excluded
294
+ from the Corresponding Source as a System Library, need not be
295
+ included in conveying the object code work.
296
+
297
+ A "User Product" is either (1) a "consumer product", which means any
298
+ tangible personal property which is normally used for personal, family,
299
+ or household purposes, or (2) anything designed or sold for incorporation
300
+ into a dwelling. In determining whether a product is a consumer product,
301
+ doubtful cases shall be resolved in favor of coverage. For a particular
302
+ product received by a particular user, "normally used" refers to a
303
+ typical or common use of that class of product, regardless of the status
304
+ of the particular user or of the way in which the particular user
305
+ actually uses, or expects or is expected to use, the product. A product
306
+ is a consumer product regardless of whether the product has substantial
307
+ commercial, industrial or non-consumer uses, unless such uses represent
308
+ the only significant mode of use of the product.
309
+
310
+ "Installation Information" for a User Product means any methods,
311
+ procedures, authorization keys, or other information required to install
312
+ and execute modified versions of a covered work in that User Product from
313
+ a modified version of its Corresponding Source. The information must
314
+ suffice to ensure that the continued functioning of the modified object
315
+ code is in no case prevented or interfered with solely because
316
+ modification has been made.
317
+
318
+ If you convey an object code work under this section in, or with, or
319
+ specifically for use in, a User Product, and the conveying occurs as
320
+ part of a transaction in which the right of possession and use of the
321
+ User Product is transferred to the recipient in perpetuity or for a
322
+ fixed term (regardless of how the transaction is characterized), the
323
+ Corresponding Source conveyed under this section must be accompanied
324
+ by the Installation Information. But this requirement does not apply
325
+ if neither you nor any third party retains the ability to install
326
+ modified object code on the User Product (for example, the work has
327
+ been installed in ROM).
328
+
329
+ The requirement to provide Installation Information does not include a
330
+ requirement to continue to provide support service, warranty, or updates
331
+ for a work that has been modified or installed by the recipient, or for
332
+ the User Product in which it has been modified or installed. Access to a
333
+ network may be denied when the modification itself materially and
334
+ adversely affects the operation of the network or violates the rules and
335
+ protocols for communication across the network.
336
+
337
+ Corresponding Source conveyed, and Installation Information provided,
338
+ in accord with this section must be in a format that is publicly
339
+ documented (and with an implementation available to the public in
340
+ source code form), and must require no special password or key for
341
+ unpacking, reading or copying.
342
+
343
+ 7. Additional Terms.
344
+
345
+ "Additional permissions" are terms that supplement the terms of this
346
+ License by making exceptions from one or more of its conditions.
347
+ Additional permissions that are applicable to the entire Program shall
348
+ be treated as though they were included in this License, to the extent
349
+ that they are valid under applicable law. If additional permissions
350
+ apply only to part of the Program, that part may be used separately
351
+ under those permissions, but the entire Program remains governed by
352
+ this License without regard to the additional permissions.
353
+
354
+ When you convey a copy of a covered work, you may at your option
355
+ remove any additional permissions from that copy, or from any part of
356
+ it. (Additional permissions may be written to require their own
357
+ removal in certain cases when you modify the work.) You may place
358
+ additional permissions on material, added by you to a covered work,
359
+ for which you have or can give appropriate copyright permission.
360
+
361
+ Notwithstanding any other provision of this License, for material you
362
+ add to a covered work, you may (if authorized by the copyright holders of
363
+ that material) supplement the terms of this License with terms:
364
+
365
+ a) Disclaiming warranty or limiting liability differently from the
366
+ terms of sections 15 and 16 of this License; or
367
+
368
+ b) Requiring preservation of specified reasonable legal notices or
369
+ author attributions in that material or in the Appropriate Legal
370
+ Notices displayed by works containing it; or
371
+
372
+ c) Prohibiting misrepresentation of the origin of that material, or
373
+ requiring that modified versions of such material be marked in
374
+ reasonable ways as different from the original version; or
375
+
376
+ d) Limiting the use for publicity purposes of names of licensors or
377
+ authors of the material; or
378
+
379
+ e) Declining to grant rights under trademark law for use of some
380
+ trade names, trademarks, or service marks; or
381
+
382
+ f) Requiring indemnification of licensors and authors of that
383
+ material by anyone who conveys the material (or modified versions of
384
+ it) with contractual assumptions of liability to the recipient, for
385
+ any liability that these contractual assumptions directly impose on
386
+ those licensors and authors.
387
+
388
+ All other non-permissive additional terms are considered "further
389
+ restrictions" within the meaning of section 10. If the Program as you
390
+ received it, or any part of it, contains a notice stating that it is
391
+ governed by this License along with a term that is a further
392
+ restriction, you may remove that term. If a license document contains
393
+ a further restriction but permits relicensing or conveying under this
394
+ License, you may add to a covered work material governed by the terms
395
+ of that license document, provided that the further restriction does
396
+ not survive such relicensing or conveying.
397
+
398
+ If you add terms to a covered work in accord with this section, you
399
+ must place, in the relevant source files, a statement of the
400
+ additional terms that apply to those files, or a notice indicating
401
+ where to find the applicable terms.
402
+
403
+ Additional terms, permissive or non-permissive, may be stated in the
404
+ form of a separately written license, or stated as exceptions;
405
+ the above requirements apply either way.
406
+
407
+ 8. Termination.
408
+
409
+ You may not propagate or modify a covered work except as expressly
410
+ provided under this License. Any attempt otherwise to propagate or
411
+ modify it is void, and will automatically terminate your rights under
412
+ this License (including any patent licenses granted under the third
413
+ paragraph of section 11).
414
+
415
+ However, if you cease all violation of this License, then your
416
+ license from a particular copyright holder is reinstated (a)
417
+ provisionally, unless and until the copyright holder explicitly and
418
+ finally terminates your license, and (b) permanently, if the copyright
419
+ holder fails to notify you of the violation by some reasonable means
420
+ prior to 60 days after the cessation.
421
+
422
+ Moreover, your license from a particular copyright holder is
423
+ reinstated permanently if the copyright holder notifies you of the
424
+ violation by some reasonable means, this is the first time you have
425
+ received notice of violation of this License (for any work) from that
426
+ copyright holder, and you cure the violation prior to 30 days after
427
+ your receipt of the notice.
428
+
429
+ Termination of your rights under this section does not terminate the
430
+ licenses of parties who have received copies or rights from you under
431
+ this License. If your rights have been terminated and not permanently
432
+ reinstated, you do not qualify to receive new licenses for the same
433
+ material under section 10.
434
+
435
+ 9. Acceptance Not Required for Having Copies.
436
+
437
+ You are not required to accept this License in order to receive or
438
+ run a copy of the Program. Ancillary propagation of a covered work
439
+ occurring solely as a consequence of using peer-to-peer transmission
440
+ to receive a copy likewise does not require acceptance. However,
441
+ nothing other than this License grants you permission to propagate or
442
+ modify any covered work. These actions infringe copyright if you do
443
+ not accept this License. Therefore, by modifying or propagating a
444
+ covered work, you indicate your acceptance of this License to do so.
445
+
446
+ 10. Automatic Licensing of Downstream Recipients.
447
+
448
+ Each time you convey a covered work, the recipient automatically
449
+ receives a license from the original licensors, to run, modify and
450
+ propagate that work, subject to this License. You are not responsible
451
+ for enforcing compliance by third parties with this License.
452
+
453
+ An "entity transaction" is a transaction transferring control of an
454
+ organization, or substantially all assets of one, or subdividing an
455
+ organization, or merging organizations. If propagation of a covered
456
+ work results from an entity transaction, each party to that
457
+ transaction who receives a copy of the work also receives whatever
458
+ licenses to the work the party's predecessor in interest had or could
459
+ give under the previous paragraph, plus a right to possession of the
460
+ Corresponding Source of the work from the predecessor in interest, if
461
+ the predecessor has it or can get it with reasonable efforts.
462
+
463
+ You may not impose any further restrictions on the exercise of the
464
+ rights granted or affirmed under this License. For example, you may
465
+ not impose a license fee, royalty, or other charge for exercise of
466
+ rights granted under this License, and you may not initiate litigation
467
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
468
+ any patent claim is infringed by making, using, selling, offering for
469
+ sale, or importing the Program or any portion of it.
470
+
471
+ 11. Patents.
472
+
473
+ A "contributor" is a copyright holder who authorizes use under this
474
+ License of the Program or a work on which the Program is based. The
475
+ work thus licensed is called the contributor's "contributor version".
476
+
477
+ A contributor's "essential patent claims" are all patent claims
478
+ owned or controlled by the contributor, whether already acquired or
479
+ hereafter acquired, that would be infringed by some manner, permitted
480
+ by this License, of making, using, or selling its contributor version,
481
+ but do not include claims that would be infringed only as a
482
+ consequence of further modification of the contributor version. For
483
+ purposes of this definition, "control" includes the right to grant
484
+ patent sublicenses in a manner consistent with the requirements of
485
+ this License.
486
+
487
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
488
+ patent license under the contributor's essential patent claims, to
489
+ make, use, sell, offer for sale, import and otherwise run, modify and
490
+ propagate the contents of its contributor version.
491
+
492
+ In the following three paragraphs, a "patent license" is any express
493
+ agreement or commitment, however denominated, not to enforce a patent
494
+ (such as an express permission to practice a patent or covenant not to
495
+ sue for patent infringement). To "grant" such a patent license to a
496
+ party means to make such an agreement or commitment not to enforce a
497
+ patent against the party.
498
+
499
+ If you convey a covered work, knowingly relying on a patent license,
500
+ and the Corresponding Source of the work is not available for anyone
501
+ to copy, free of charge and under the terms of this License, through a
502
+ publicly available network server or other readily accessible means,
503
+ then you must either (1) cause the Corresponding Source to be so
504
+ available, or (2) arrange to deprive yourself of the benefit of the
505
+ patent license for this particular work, or (3) arrange, in a manner
506
+ consistent with the requirements of this License, to extend the patent
507
+ license to downstream recipients. "Knowingly relying" means you have
508
+ actual knowledge that, but for the patent license, your conveying the
509
+ covered work in a country, or your recipient's use of the covered work
510
+ in a country, would infringe one or more identifiable patents in that
511
+ country that you have reason to believe are valid.
512
+
513
+ If, pursuant to or in connection with a single transaction or
514
+ arrangement, you convey, or propagate by procuring conveyance of, a
515
+ covered work, and grant a patent license to some of the parties
516
+ receiving the covered work authorizing them to use, propagate, modify
517
+ or convey a specific copy of the covered work, then the patent license
518
+ you grant is automatically extended to all recipients of the covered
519
+ work and works based on it.
520
+
521
+ A patent license is "discriminatory" if it does not include within
522
+ the scope of its coverage, prohibits the exercise of, or is
523
+ conditioned on the non-exercise of one or more of the rights that are
524
+ specifically granted under this License. You may not convey a covered
525
+ work if you are a party to an arrangement with a third party that is
526
+ in the business of distributing software, under which you make payment
527
+ to the third party based on the extent of your activity of conveying
528
+ the work, and under which the third party grants, to any of the
529
+ parties who would receive the covered work from you, a discriminatory
530
+ patent license (a) in connection with copies of the covered work
531
+ conveyed by you (or copies made from those copies), or (b) primarily
532
+ for and in connection with specific products or compilations that
533
+ contain the covered work, unless you entered into that arrangement,
534
+ or that patent license was granted, prior to 28 March 2007.
535
+
536
+ Nothing in this License shall be construed as excluding or limiting
537
+ any implied license or other defenses to infringement that may
538
+ otherwise be available to you under applicable patent law.
539
+
540
+ 12. No Surrender of Others' Freedom.
541
+
542
+ If conditions are imposed on you (whether by court order, agreement or
543
+ otherwise) that contradict the conditions of this License, they do not
544
+ excuse you from the conditions of this License. If you cannot convey a
545
+ covered work so as to satisfy simultaneously your obligations under this
546
+ License and any other pertinent obligations, then as a consequence you may
547
+ not convey it at all. For example, if you agree to terms that obligate you
548
+ to collect a royalty for further conveying from those to whom you convey
549
+ the Program, the only way you could satisfy both those terms and this
550
+ License would be to refrain entirely from conveying the Program.
551
+
552
+ 13. Use with the GNU Affero General Public License.
553
+
554
+ Notwithstanding any other provision of this License, you have
555
+ permission to link or combine any covered work with a work licensed
556
+ under version 3 of the GNU Affero General Public License into a single
557
+ combined work, and to convey the resulting work. The terms of this
558
+ License will continue to apply to the part which is the covered work,
559
+ but the special requirements of the GNU Affero General Public License,
560
+ section 13, concerning interaction through a network will apply to the
561
+ combination as such.
562
+
563
+ 14. Revised Versions of this License.
564
+
565
+ The Free Software Foundation may publish revised and/or new versions of
566
+ the GNU General Public License from time to time. Such new versions will
567
+ be similar in spirit to the present version, but may differ in detail to
568
+ address new problems or concerns.
569
+
570
+ Each version is given a distinguishing version number. If the
571
+ Program specifies that a certain numbered version of the GNU General
572
+ Public License "or any later version" applies to it, you have the
573
+ option of following the terms and conditions either of that numbered
574
+ version or of any later version published by the Free Software
575
+ Foundation. If the Program does not specify a version number of the
576
+ GNU General Public License, you may choose any version ever published
577
+ by the Free Software Foundation.
578
+
579
+ If the Program specifies that a proxy can decide which future
580
+ versions of the GNU General Public License can be used, that proxy's
581
+ public statement of acceptance of a version permanently authorizes you
582
+ to choose that version for the Program.
583
+
584
+ Later license versions may give you additional or different
585
+ permissions. However, no additional obligations are imposed on any
586
+ author or copyright holder as a result of your choosing to follow a
587
+ later version.
588
+
589
+ 15. Disclaimer of Warranty.
590
+
591
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592
+ APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593
+ HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594
+ OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597
+ IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598
+ ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599
+
600
+ 16. Limitation of Liability.
601
+
602
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604
+ THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605
+ GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606
+ USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607
+ DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608
+ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609
+ EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610
+ SUCH DAMAGES.
611
+
612
+ 17. Interpretation of Sections 15 and 16.
613
+
614
+ If the disclaimer of warranty and limitation of liability provided
615
+ above cannot be given local legal effect according to their terms,
616
+ reviewing courts shall apply local law that most closely approximates
617
+ an absolute waiver of all civil liability in connection with the
618
+ Program, unless a warranty or assumption of liability accompanies a
619
+ copy of the Program in return for a fee.
620
+
621
+ END OF TERMS AND CONDITIONS
README.txt ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Auxin Elements - Shortcodes and Widgets for themes with auxin framework ===
2
+ Contributors: averta
3
+ Donate link: http://averta.net/
4
+ License: GPLv3
5
+ License URI: http://www.gnu.org/licenses/gpl.html
6
+ Tags: banner SEO, shortcode, page-builder, siteorigin, auxin, framework, widget, element, phlox, averta, fullwidth, masonry, timeline
7
+ Requires at least: 4.3
8
+ Tested up to: 4.6.0
9
+ Stable tag: 1.0.0
10
+ License: GPLv3
11
+ License URI: http://www.gnu.org/licenses/gpl.html
12
+
13
+ Extra features, shortcodes and widgets for PHLOX theme.
14
+
15
+ == Description ==
16
+
17
+
18
+ >[Demo on Phlox Theme](http://averta.net/phlox/wordpress-theme/ "Live demo of Auxin Elements on Phlox Theme") | [Documentation](http://docs.averta.net/display/PD/Phlox+Documentation "Auxin Elements documentation") | [Video tutorials](http://support.averta.net/envato/videos/phlox-video-tutorials/ "Watch all video tutorials") | [Support forum](http://wordpress.org/support/plugin/auxin-elements "Free support")
19
+
20
+
21
+ = Overview =
22
+
23
+ When using a Theme with auxin framework (like [Phlox Theme](http://averta.net/phlox/wordpress-theme/ "Phlox Theme")), this plugin adds some shortcodes and widgets to extend the functionality of the theme.
24
+
25
+
26
+ = Features =
27
+
28
+ * Fully Responsive
29
+ * Cross Browser IE8+ and Other Modern Browsers
30
+
31
+ = Some working Samples =
32
+ * [Classic Blog](http://averta.net/phlox/wordpress-theme/demo/classic-blog/)
33
+ * [Journey Blog](http://averta.net/phlox/wordpress-theme/demo/journey/)
34
+ * [food](http://averta.net/phlox/wordpress-theme/demo/food/)
35
+
36
+ = Compatible Browsers =
37
+
38
+ * IE8+
39
+ * Firefox
40
+ * Safari
41
+ * Opera
42
+ * Chrome
43
+ * iOS browser
44
+ * Android browser
45
+
46
+ = Documentations =
47
+
48
+ If you have any question about working with "Auxin Elements", you can take a look at [online documentations](http://docs.averta.net/display/PD/Phlox+Documentation)
49
+
50
+ = Translation =
51
+
52
+ You can start translating this plugin from here: [online translation service](http://translate.averta.net/projects/).
53
+
54
+
55
+ == Installation ==
56
+
57
+ = Minimum Requirements =
58
+
59
+ * WordPress 4.2 or greater
60
+ * PHP version 5.6.0 or greater
61
+ * MySQL version 5.0 or greater
62
+
63
+
64
+ **This plugin works the best in [Phlox Theme](http://averta.net/phlox/wordpress-theme/)**
65
+
66
+
67
+ = Automatic installation (easiest way) =
68
+
69
+ To do an automatic install of Auxin Elements, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.
70
+
71
+ In the search field type "Auxin Elements" and click Search Plugins. Once you have found it you can install it by simply clicking "Install Now".
72
+
73
+
74
+ = Manual installation =
75
+
76
+ **Uploading in WordPress Dashboard**
77
+
78
+ 1. Download `auxin-elements.zip`
79
+ 2. Navigate to the 'Add New' in the plugins dashboard
80
+ 3. Navigate to the 'Upload' area
81
+ 4. Select `auxin-elements.zip` from your computer
82
+ 5. Click 'Install Now'
83
+ 6. Activate the plugin in the Plugin dashboard
84
+
85
+ **Using FTP**
86
+
87
+ 1. Download `auxin-elements.zip`
88
+ 2. Extract the `auxin-elements` directory to your computer
89
+ 3. Upload the `auxin-elements` directory to the `/wp-content/plugins/` directory
90
+ 4. Activate the plugin in the Plugin dashboard
91
+
92
+ The WordPress codex contains [instructions on how to install a WordPress plugin](http://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation).
93
+
94
+
95
+
96
+ = Updating =
97
+
98
+ You can use automatic update to update the plugin safely.
99
+
100
+
101
+ == Frequently Asked Questions ==
102
+
103
+ = Where can I find Auxin Elements documentation and user guides =
104
+
105
+
106
+ If you have any question about working with "Auxin Elements", you can take a look at [online documentations](http://docs.averta.net/display/PD/Phlox+Documentation)
107
+
108
+ If you get stuck you can follow these [steps to get support](http://docs.averta.net/display/PD/Support).
109
+
110
+ = Will Auxin Elements work with my theme? =
111
+ No, Auxin Element only works on [Phlox Theme](http://averta.net/phlox/)
112
+
113
+ = Where can I report bugs? =
114
+ Bugs can be reported in our [support forums](http://wordpress.org/tags/auxin-elements).
115
+
116
+
117
+
118
+ == Screenshots ==
119
+
120
+ 1. Front end widgets
121
+ 2. Sample of using elements on the page
122
+ 3. Some of these elements on the footer
123
+ 4. Some Dropcap elements styles
124
+ 5. User friendly back end elements options
125
+ 6. List of elements on the page to choose from
126
+ 7. List of widgets to choose from
127
+ 8. One click shortcode elements with its options
128
+ 9. User friendly editing elements
129
+
130
+
131
+ == Changelog ==
132
+
133
+ = Version 1.0.0 / (28.8.2016) =
134
+ - Initial release
135
+
136
+
137
+
138
+ == Upgrade Notice ==
139
+
140
+ = 1.0.0 =
141
+ - Initial release
admin/assets/css/editor.css ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*------------------------
2
+ $editor buttons
3
+ --------------------------*/
4
+ .wp_themeSkin .mceIcon.mce_dropcap,
5
+ .wp_themeSkin .mceIcon.mce_quote ,
6
+ .wp_themeSkin .mceIcon.mce_button,
7
+ .wp_themeSkin .mceIcon.mce_column,
8
+ .wp_themeSkin .mceIcon.mce_divider,
9
+ .wp_themeSkin .mceIcon.mce_highlight,
10
+ .wp_themeSkin .mceIcon.mce_msgbox,
11
+ .wp_themeSkin .mceIcon.mce_tabs,
12
+ .wp_themeSkin .mceIcon.mce_vimeo,
13
+ .wp_themeSkin .mceIcon.mce_utube,
14
+ .wp_themeSkin .mceIcon.mce_vplayer,
15
+ .wp_themeSkin .mceIcon.mce_video,
16
+ .wp_themeSkin .mceIcon.mce_testimonial {
17
+ background: url(images/mini-element-icons.png) 0 0 no-repeat;
18
+ }
19
+
20
+ .wp_themeSkin .mceIcon.mce_dropcap { background-position :-366px -8px; }
21
+ .wp_themeSkin .mceIcon.mce_quote { background-position :-128px -128px; }
22
+ .wp_themeSkin .mceIcon.mce_button { background-position :-366px -47px; }
23
+ .wp_themeSkin .mceIcon.mce_column { background-position :-278px -247px; }
24
+ .wp_themeSkin .mceIcon.mce_divider { background-position :-308px -287px; }
25
+ .wp_themeSkin .mceIcon.mce_highlight{ background-position :-366px -88px; }
26
+ .wp_themeSkin .mceIcon.mce_msgbox { background-position :-308px -248px; }
27
+ .wp_themeSkin .mceIcon.mce_tabs { background-position :-128px -288px; }
28
+ .wp_themeSkin .mceIcon.mce_testimonial { background-position:-158px -127px; }
29
+ .wp_themeSkin .mceIcon.mce_utube { background-position :-366px -128px; }
30
+ .wp_themeSkin .mceIcon.mce_vimeo { background-position :-218px -287px; }
31
+ .wp_themeSkin .mceIcon.mce_video { background-position :-38px -288px; }
admin/assets/css/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden
admin/assets/images/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden
admin/assets/js/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden
admin/assets/js/tinymce/plugins/auxin-btns.js ADDED
@@ -0,0 +1,322 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (function() {
2
+
3
+ tinymce.PluginManager.add('phlox_shortcodes_button', function(editor, url) {
4
+ editor.addButton('phlox_shortcodes_button', {
5
+ // text : false,
6
+ title: 'Phlox Shortcode',
7
+ type : 'menubutton',
8
+ icon : 'phlox-shortcode-btn',
9
+ classes: 'widget btn mfnsc',
10
+ menu : [ {
11
+ text : 'Typography',
12
+ menu :
13
+ [ {
14
+ text : 'Highlight',
15
+ menu :
16
+ [ {
17
+ text : 'Red',
18
+ onclick : function() {
19
+ editor.insertContent('[aux_highlight style="aux-highlight-red" extra_classes=""]Insert your content here[/aux_highlight]');
20
+ },
21
+ },
22
+ {
23
+ text : 'Blue',
24
+ onclick : function() {
25
+ editor.insertContent('[aux_highlight style="aux-highlight-blue" extra_classes=""]Insert your content here[/aux_highlight]');
26
+ },
27
+ },
28
+ {
29
+ text : 'Yellow',
30
+ onclick : function() {
31
+ editor.insertContent('[aux_highlight style="aux-highlight-yellow" extra_classes=""]Insert your content here[/aux_highlight]');
32
+ },
33
+ },
34
+ {
35
+ text : 'Green',
36
+ onclick : function() {
37
+ editor.insertContent('[aux_highlight style="aux-highlight-green" extra_classes=""]Insert your content here[/aux_highlight]');
38
+ },
39
+ },
40
+ ] // end of highlight
41
+
42
+
43
+ },
44
+ {
45
+ text : 'Dropcap',
46
+ menu :
47
+ [ {
48
+ text : 'Classic',
49
+ onclick : function() {
50
+ editor.insertContent('[aux_dropcap style="classic" extra_classes=""]Please insert your content here[/aux_dropcap]');
51
+ },
52
+ },
53
+ {
54
+ text : 'Square',
55
+ onclick : function() {
56
+ editor.insertContent('[aux_dropcap style="square" extra_classes=""]Please insert your content here[/aux_dropcap]');
57
+ },
58
+ },
59
+ {
60
+ text : 'Outline Square',
61
+ onclick : function() {
62
+ editor.insertContent('[aux_dropcap style="square-outline" extra_classes=""]Please insert your content here[/aux_dropcap]');
63
+ },
64
+ },
65
+ {
66
+ text : 'Round Square',
67
+ onclick : function() {
68
+ editor.insertContent('[aux_dropcap style="square-round" extra_classes=""]Please insert your content here[/aux_dropcap]');
69
+ },
70
+ },
71
+ {
72
+ text : 'Circle',
73
+ onclick : function() {
74
+ editor.insertContent('[aux_dropcap style="circle" extra_classes=""]Please insert your content here[/aux_dropcap]');
75
+ },
76
+ },
77
+ {
78
+ text : 'Outline Circle',
79
+ onclick : function() {
80
+ editor.insertContent('[aux_dropcap style="circle-outline" extra_classes=""]Please insert your content here[/aux_dropcap]');
81
+ },
82
+ },
83
+ ] // end of dropcap
84
+ }, // end of dropcap
85
+ {
86
+ text : 'Blockquote',
87
+ menu :
88
+ [ {
89
+ text : 'Quote Normal',
90
+ onclick : function() {
91
+ editor.insertContent('[aux_quote type="quote-normal" text_align="left" quote_symbol="1" title="title" extra_classes=""]Insert your quote here[/aux_quote]');
92
+ },
93
+ },
94
+ {
95
+ text : 'Blockquote Normal',
96
+ onclick : function() {
97
+ editor.insertContent('[aux_quote type="blockquote-normal" text_align="left" quote_symbol="1" title="title" extra_classes=""]Insert your quote here[/aux_quote]');
98
+ },
99
+ },
100
+ {
101
+ text : 'Blockquote Bordered',
102
+ onclick : function() {
103
+ editor.insertContent('[aux_quote type="blockquote-bordered" text_align="left" quote_symbol="1" title="title" extra_classes=""]Insert your quote here[/aux_quote]');
104
+ },
105
+ },
106
+ {
107
+ text : 'Intro Hero',
108
+ onclick : function() {
109
+ editor.insertContent('[aux_quote type="intro-hero" text_align="left" quote_symbol="1" title="title" extra_classes=""]Insert your quote here[/aux_quote]');
110
+ },
111
+ },
112
+ {
113
+ text : 'Intro',
114
+ onclick : function() {
115
+ editor.insertContent('[aux_quote type="intro-normal" text_align="left" quote_symbol="1" title="title" extra_classes=""]Insert your quote here[/aux_quote]');
116
+ },
117
+ },
118
+ {
119
+ text : 'Intro with Splitter',
120
+ onclick : function() {
121
+ editor.insertContent('[aux_quote type="intro-splitter" text_align="left" quote_symbol="1" title="title" extra_classes=""]Insert your quote here[/aux_quote]');
122
+ },
123
+ },
124
+ {
125
+ text : 'Pullquote Normal',
126
+ onclick : function() {
127
+ editor.insertContent('[aux_quote type="pullquote-normal" text_align="left" quote_symbol="1" title="title" extra_classes=""]Insert your quote here[/aux_quote]');
128
+ },
129
+ },
130
+ {
131
+ text : 'Pullquote Colorized',
132
+ onclick : function() {
133
+ editor.insertContent('[aux_quote type="pullquote-colorized" text_align="left" quote_symbol="1" title="title" extra_classes=""]Insert your quote here[/aux_quote]');
134
+ },
135
+ },
136
+ ] // end of Block Qoute
137
+ }, // end of Block Qoute
138
+
139
+ ] // end of typography
140
+ }, // end of typography
141
+ {
142
+ text : 'Content',
143
+ menu : [ {
144
+ text : 'Phlox Text',
145
+ onclick : function() {
146
+ editor.insertContent('[aux_text title_link="" text_align="left" icon="auxicon-bow-tie" image_position="top" icon_color="#888" title="title" extra_classes=""]Insert your quote here[/aux_text]');
147
+ },
148
+
149
+ }, // end of Phlox Text
150
+ {
151
+ text : 'Button',
152
+ menu :
153
+ [ {
154
+ text : 'Normal',
155
+ onclick : function() {
156
+ editor.insertContent('[aux_button label="Button" size="medium" icon_align="left" color_name="dark-gray" border="" style="" icon="fa fa-beer" link="" target="_blank"]');
157
+ },
158
+ },
159
+ {
160
+ text : '3D',
161
+ onclick : function() {
162
+ editor.insertContent('[aux_button label="Button" size="medium" icon_align="left" color_name="dark-gray" border="" style="3d" icon="fa fa-beer" link="" target="_blank"]');
163
+ },
164
+ },
165
+ {
166
+ text : 'Outline',
167
+ onclick : function() {
168
+ editor.insertContent('[aux_button label="Button" size="medium" icon_align="left" color_name="dark-gray" border="" style="outline" icon="fa fa-beer" link="" target="_blank"]');
169
+ },
170
+ },
171
+ ] // end of Button
172
+ }, // end of Button
173
+ {
174
+ text : 'Map',
175
+ onclick : function() {
176
+ editor.insertContent('[aux_gmaps type="ROADMAP" show_mapcontrols="1" zoom_wheel="0" height="700" latitude="54" longitude="14" zoom="3" style="" title="Title" marker_info="Marker info" extra_classes=""]');
177
+ },
178
+
179
+ }, // end of map
180
+ {
181
+ text : 'Gallery',
182
+ menu :
183
+ [ {
184
+ text : 'Grid',
185
+ onclick : function() {
186
+ editor.insertContent('[aux_gallery columns="2" order="ASC" orderby="menu_order ID" layout="grid" pagination="0" perpage="24" size="medium" link="lightbox" include="seprate your image ids here" extra_classes=""]');
187
+ },
188
+ },
189
+ {
190
+ text : '3D',
191
+ onclick : function() {
192
+ editor.insertContent('[aux_gallery columns="2" order="ASC" orderby="menu_order ID" layout="justify-rows" pagination="0" perpage="24" size="medium" link="lightbox" include="seprate your image ids here" extra_classes=""]');
193
+ },
194
+ },
195
+
196
+ ] // end of Gallery
197
+ }, // end of Gallery
198
+ {
199
+ text : 'Divider',
200
+ menu :
201
+ [ {
202
+ text : 'Solid',
203
+ onclick : function() {
204
+ editor.insertContent('[aux_divider width="medium" style="solid" margin_top="20" margin_bottom="20" extra_classes=""]');
205
+ },
206
+ },
207
+ {
208
+ text : 'White Space',
209
+ onclick : function() {
210
+ editor.insertContent('[aux_divider width="medium" style="white-space" margin_top="20" margin_bottom="20" extra_classes=""]');
211
+ },
212
+ },
213
+ {
214
+ text : 'Dashed',
215
+ onclick : function() {
216
+ editor.insertContent('[aux_divider width="medium" style="dashed" margin_top="20" margin_bottom="20" extra_classes=""]');
217
+ },
218
+ },
219
+ {
220
+ text : 'Circle',
221
+ onclick : function() {
222
+ editor.insertContent('[aux_divider width="medium" style="circle-symbol" margin_top="20" margin_bottom="20" extra_classes=""]');
223
+ },
224
+ },
225
+ {
226
+ text : 'Diamond',
227
+ onclick : function() {
228
+ editor.insertContent('[aux_divider width="medium" style="diamond-symbol" margin_top="20" margin_bottom="20" extra_classes=""]');
229
+ },
230
+ },
231
+
232
+ ] // end of Divider
233
+ }, // end of Divider
234
+ {
235
+ text : 'Contact Form',
236
+ menu :
237
+ [ {
238
+ text : 'Phlox Contact Form',
239
+ onclick : function() {
240
+ editor.insertContent('[aux_contact_form title="Title" type="phlox" email="info@email.net" extra_classes=""]');
241
+ },
242
+ },
243
+ {
244
+ text : 'Contact Form7',
245
+ onclick : function() {
246
+ editor.insertContent('[aux_contact_form title="Title" type="cf7" email="info@email.net" cf7_shortcode="insert contactform shortcode here" extra_classes=""]');
247
+ },
248
+ },
249
+
250
+
251
+ ] // end of Contact Form
252
+ }, // end of Contact Form
253
+ {
254
+ text : 'Search',
255
+ onclick : function() {
256
+ editor.insertContent('[aux_search title="Title" extra_classes=""]');
257
+ },
258
+
259
+ }, // end of Search
260
+ {
261
+ text : 'Code',
262
+ onclick : function() {
263
+ editor.insertContent('[aux_code language="javascript" theme="tomorrow" title="Title" extra_classes=""]insert your code here[/aux_code]');
264
+ },
265
+
266
+ }, // end of Code
267
+ {
268
+ text : 'Socials',
269
+ menu :
270
+ [ {
271
+ text : 'Horizontal',
272
+ onclick : function() {
273
+ editor.insertContent('[aux_socials_list size="medium" direction="horizontal" title="Title"]');
274
+ },
275
+ },
276
+ {
277
+ text : 'Vertical',
278
+ onclick : function() {
279
+ editor.insertContent('[aux_socials_list size="medium" direction="vertical" title="Title"]');
280
+ },
281
+ },
282
+
283
+
284
+ ] // end of Socials
285
+ }, // end of Socials
286
+ {
287
+ text : 'Image',
288
+ menu :
289
+ [ {
290
+ text : 'Normal',
291
+ onclick : function() {
292
+ editor.insertContent('[aux_image target="_blank" title="Title" attach_id="Insert your image id here" lightbox="no" attach_id_hover="Insert your image id here" width="" height="" link="" icon="plus" extra_classes=""]');
293
+ },
294
+ },
295
+ {
296
+ text : 'Lightbox',
297
+ onclick : function() {
298
+ editor.insertContent('[aux_image target="_blank" title="Title" attach_id="Insert your image id here" lightbox="yes" attach_id_hover="Insert your image id here" width="" height="" link="" icon="plus" extra_classes=""]');
299
+ },
300
+ },
301
+
302
+
303
+ ] // end of Image
304
+ }, // end of Image
305
+ {
306
+ text : 'About Author',
307
+ onclick : function() {
308
+ editor.insertContent('[aux_about_widget image_style="square" title="Title" name="Name" skills="Skills" info="Insert your info here" about_image="Insert your image id here" image_style="circle/square" align_center="0" show_socials="0" extra_classes=""]');
309
+ },
310
+
311
+ }, // end of About
312
+
313
+
314
+ ]
315
+ }
316
+ ]
317
+
318
+ });
319
+
320
+ });
321
+
322
+ })();
admin/class-auxels-admin.php ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Main Admin Class
4
+ *
5
+ * @echo HEADER
6
+ */
7
+
8
+ // no direct access allowed
9
+ if ( ! defined( 'ABSPATH' ) ) {
10
+ die();
11
+ }
12
+
13
+
14
+ /**
15
+ * This class is used to work with the
16
+ * administrative side of the plugin
17
+ */
18
+ class AUXELS_Admin {
19
+
20
+ /**
21
+ * Instance of this class.
22
+ *
23
+ * @since 1.0.0
24
+ *
25
+ * @var object
26
+ */
27
+ protected static $instance = null;
28
+
29
+ /**
30
+ * Slug of the plugin screen.
31
+ *
32
+ * @since 1.0.0
33
+ *
34
+ * @var string
35
+ */
36
+ protected $screen_hook_suffix = null;
37
+
38
+
39
+
40
+ /**
41
+ * Initialize the plugin by loading admin classes and functions
42
+ *
43
+ * @since 1.0.0
44
+ */
45
+ private function __construct() {
46
+
47
+ // include admin files
48
+ $this->includes();
49
+
50
+ $this->enqueue_admin_scripts();
51
+ }
52
+
53
+
54
+ /**
55
+ * Include admin essential classes and functions
56
+ *
57
+ * @return void
58
+ */
59
+ private function includes(){
60
+ include_once( AUXELS_ADMIN_DIR . '/includes/index.php' );
61
+ }
62
+
63
+
64
+
65
+ /**
66
+ * Return an instance of this class.
67
+ *
68
+ * @since 1.0.0
69
+ *
70
+ * @return object A single instance of this class.
71
+ */
72
+ public static function get_instance() {
73
+
74
+ if( apply_filters( 'auxels_access_only_for_super_admins' , 0 ) && ! is_super_admin() ) {
75
+ return;
76
+ }
77
+
78
+ // If the single instance hasn't been set, set it now.
79
+ if ( null == self::$instance ) {
80
+ self::$instance = new self;
81
+ }
82
+
83
+ return self::$instance;
84
+ }
85
+
86
+
87
+ /**
88
+ * Register and enqueue admin-specific JavaScript & Stylesheet.
89
+ *
90
+ * @since 1.0.0
91
+ *
92
+ * @return null Return early if no settings page is registered.
93
+ */
94
+ public function enqueue_admin_scripts() {
95
+
96
+ $admin_assets = new AUXELS_Admin_Assets();
97
+
98
+ if ( ! isset( $this->screen_hook_suffix ) )
99
+ return;
100
+
101
+ $screen = get_current_screen();
102
+ if ( $this->screen_hook_suffix == $screen->id ) {
103
+ // enqueue styles on the pages that belongs to plugin
104
+ }
105
+
106
+ }
107
+
108
+
109
+
110
+ }
111
+
112
+ return AUXELS_Admin::get_instance();
admin/includes/admin-hooks.php ADDED
@@ -0,0 +1,177 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+
4
+
5
+
6
+ /*-----------------------------------------------------------------------------------*/
7
+ /* Add shortcode button to tinymce
8
+ /*-----------------------------------------------------------------------------------*/
9
+
10
+ function auxin_register_shortcode_button( $buttons ) {
11
+ array_push( $buttons, '|', 'phlox_shortcodes_button' );
12
+ return $buttons;
13
+ }
14
+
15
+ /**
16
+ * Add the shortcode button to TinyMCE
17
+ *
18
+ * @param array $plugin_array
19
+ * @return array
20
+ */
21
+ function auxin_add_elements_tinymce_plugin( $plugin_array ) {
22
+ $wp_version = get_bloginfo( 'version' );
23
+
24
+ $plugin_array['phlox_shortcodes_button'] = AUXELS_ADMIN_URL."/assets/js/tinymce/plugins/auxin-btns.js";
25
+
26
+ return $plugin_array;
27
+ }
28
+
29
+
30
+ function axion_init_shortcode_manager(){
31
+ if ( ! current_user_can('edit_posts') && ! current_user_can('edit_pages') )
32
+ return;
33
+
34
+ add_filter( 'mce_external_plugins', 'auxin_add_elements_tinymce_plugin' );
35
+ add_filter( 'mce_buttons', 'auxin_register_shortcode_button' );
36
+ }
37
+ add_action("init", "axion_init_shortcode_manager");
38
+
39
+ /*-----------------------------------------------------------------------------------*/
40
+ /* Add Editor styles
41
+ /*-----------------------------------------------------------------------------------*/
42
+
43
+ function auxin_register_mce_buttons_style(){
44
+ wp_register_style('auxin_mce_buttons' , AUXELS_ADMIN_URL. '/assets/css/editor.css', NULL, '1.1');
45
+ wp_enqueue_style('auxin_mce_buttons');
46
+ }
47
+ add_action('admin_enqueue_scripts', 'auxin_register_mce_buttons_style');
48
+
49
+
50
+
51
+ /*-----------------------------------------------------------------------------------*/
52
+ /* Adds system status tab in theme about (welcome) page
53
+ /*-----------------------------------------------------------------------------------*/
54
+
55
+ function auxin_about_system_status( $sections ){
56
+
57
+ $sections['status'] = array(
58
+ 'label' => __( 'System Status', 'auxin-elements' ),
59
+ 'description' => __( 'The informaition about your WordPress installation which can be helpful for debugging or monitoring your website.', 'auxin-elements'),
60
+ 'callback' => 'auxin_get_about_system_status'
61
+ );
62
+
63
+ return $sections;
64
+ }
65
+
66
+ add_filter( 'auxin_admin_welcome_sections', 'auxin_about_system_status', 100 );
67
+
68
+
69
+
70
+ /*-----------------------------------------------------------------------------------*/
71
+ /* Adds subtitle meta field to 'Title setting' tab
72
+ /*-----------------------------------------------------------------------------------*/
73
+
74
+ function auxin_add_metabox_field_to_title_setting_tab( $fields, $id, $type ){
75
+
76
+ if( 'general-title' == $id ){
77
+ array_unshift(
78
+ $fields,
79
+ array(
80
+ 'title' => __('Subtitle', THEME_DOMAIN),
81
+ 'description' => __('Second Title (optional). Note: You have to enable "Display Title Bar Section" option in order to display the subtitle.', THEME_DOMAIN),
82
+ 'id' => 'page_subtitle',
83
+ 'type' => 'editor',
84
+ 'default' => ''
85
+ )
86
+ );
87
+ }
88
+
89
+ return $fields;
90
+ }
91
+ add_filter( 'auxin_metabox_fields', 'auxin_add_metabox_field_to_title_setting_tab', 10, 3 );
92
+
93
+
94
+ /*-----------------------------------------------------------------------------------*/
95
+ /* Adds Custom JavaScript meta field to 'Advanced setting' tab
96
+ /*-----------------------------------------------------------------------------------*/
97
+
98
+ function auxin_add_metabox_field_to_advanced_setting_tab( $fields, $id, $type ){
99
+
100
+ if( 'general-advanced' == $id ){
101
+ $fields[] = array(
102
+ 'title' => __('Custom JavaScript Code', THEME_DOMAIN),
103
+ 'description' => __('Attention: The following custom JavaScript code will be applied ONLY to this page.', THEME_DOMAIN).'<br />'.
104
+ __('For defining global JavaScript roles, please use custom javaScript field on option panel.', THEME_DOMAIN ),
105
+ 'id' => 'aux_page_custom_js',
106
+ 'type' => 'code',
107
+ 'mode' => 'javascript',
108
+ 'default' => ''
109
+ );
110
+ }
111
+ return $fields;
112
+ }
113
+ add_filter( 'auxin_metabox_fields', 'auxin_add_metabox_field_to_advanced_setting_tab', 10, 3 );
114
+
115
+
116
+
117
+
118
+
119
+
120
+ /*======================================================================*/
121
+
122
+ function auxin_elements_add_post_metabox_models( $models ){
123
+
124
+ // Load general metabox models
125
+ include_once( 'metaboxes/metabox-fields-post-audio.php' );
126
+ include_once( 'metaboxes/metabox-fields-post-gallery.php' );
127
+ include_once( 'metaboxes/metabox-fields-post-quote.php' );
128
+ include_once( 'metaboxes/metabox-fields-post-video.php' );
129
+
130
+ $models[] = array(
131
+ 'model' => auxin_metabox_fields_post_gallery(),
132
+ 'priority' => 20
133
+ );
134
+
135
+ $models[] = array(
136
+ 'model' => auxin_metabox_fields_post_video(),
137
+ 'priority' => 22
138
+ );
139
+
140
+ $models[] = array(
141
+ 'model' => auxin_metabox_fields_post_audio(),
142
+ 'priority' => 24
143
+ );
144
+
145
+ $models[] = array(
146
+ 'model' => auxin_metabox_fields_post_quote(),
147
+ 'priority' => 26
148
+ );
149
+
150
+ return $models;
151
+ }
152
+
153
+ add_filter( 'auxin_admin_metabox_models_post', 'auxin_elements_add_post_metabox_models' );
154
+
155
+
156
+ /*-----------------------------------------------------------------------------------*/
157
+ /* Add theme tab in siteorigin page builder
158
+ /*-----------------------------------------------------------------------------------*/
159
+
160
+ function auxin_add_widget_tabs($tabs) {
161
+ $tabs[] = array(
162
+ 'title' => THEME_NAME,
163
+ 'filter' => array(
164
+ 'groups' => array('auxin')
165
+ )
166
+ );
167
+
168
+ if (isset($tabs['recommended'])){
169
+ unset($tabs['recommended']);
170
+ }
171
+
172
+
173
+ return $tabs;
174
+ }
175
+ add_filter( 'siteorigin_panels_widget_dialog_tabs', 'auxin_add_widget_tabs', 20 );
176
+
177
+ // =============================================================================
admin/includes/admin-the-functions.php ADDED
@@ -0,0 +1,188 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php // admin related functions
2
+
3
+
4
+ function auxin_get_about_system_status(){
5
+ ?>
6
+ <div class="aux-status-wrapper">
7
+ <table class="widefat" cellspacing="0">
8
+ <thead>
9
+ <tr>
10
+ <th colspan="3" data-export-label="WordPress Environment"><?php _e( 'WordPress Environment', 'auxin-elements' ); ?></th>
11
+ </tr>
12
+ </thead>
13
+ <tbody>
14
+ <tr>
15
+ <td data-export-label="Home URL"><?php _e( 'Home URL', 'auxin-elements' ); ?>:</td>
16
+ <td class="help"><?php echo '<a href="#" class="help-tip" original-title="' . esc_attr__( 'The URL of your site\'s homepage.', 'auxin-elements' ) . '"> ? </a>'; ?></td>
17
+ <td><?php echo home_url(); ?></td>
18
+ </tr>
19
+ <tr>
20
+ <td data-export-label="Site URL"><?php _e( 'Site URL', 'auxin-elements' ); ?>:</td>
21
+ <td class="help"><?php echo '<a href="#" class="help-tip" original-title="' . esc_attr__( 'The root URL of your site.', 'auxin-elements' ) . '"> ? </a>'; ?></td>
22
+ <td><?php echo site_url(); ?></td>
23
+ </tr>
24
+ <tr>
25
+ <td data-export-label="WP Version"><?php _e( 'WP Version', 'auxin-elements' ); ?>:</td>
26
+ <td class="help"><?php echo '<a href="#" class="help-tip" original-title="' . esc_attr__( 'The version of WordPress installed on your site.', 'auxin-elements' ) . '"> ? </a>'; ?></td>
27
+ <td><?php bloginfo('version'); ?></td>
28
+ </tr>
29
+ <tr>
30
+ <td data-export-label="WP Multisite"><?php _e( 'WP Multisite', 'auxin-elements' ); ?>:</td>
31
+ <td class="help"><?php echo '<a href="#" class="help-tip" original-title="' . esc_attr__( 'Whether or not you have WordPress Multisite enabled.', 'auxin-elements' ) . '"> ? </a>'; ?></td>
32
+ <td><?php if ( is_multisite() ) echo '&#10004;'; else echo '&#10005;'; ?></td>
33
+ </tr>
34
+ <tr>
35
+ <td data-export-label="WP Memory Limit"><?php _e( 'WP Memory Limit', 'auxin-elements' ); ?>:</td>
36
+ <td class="help"><?php echo '<a href="#" class="help-tip" original-title="' . esc_attr__( 'The maximum amount of memory (RAM) that your site can use at one time.', 'auxin-elements' ) . '"> ? </a>'; ?></td>
37
+ <td><?php
38
+ // This field need to make some changes
39
+ $server_memory = 0;
40
+ if( function_exists( 'ini_get' ) ) {
41
+ echo ( ini_get( 'memory_limit') );
42
+ }
43
+ ?></td>
44
+ </tr>
45
+ <tr>
46
+ <td data-export-label="WP Permalink"><?php _e( 'WP Permalink', 'auxin-elements' ); ?>:</td>
47
+ <td class="help"><?php echo '<a href="#" class="help-tip" original-title="' . esc_attr__( 'The WordPress permalink structer.', 'auxin-elements' ) . '"> ? </a>'; ?></td>
48
+ <td><?php echo get_option( 'permalink_structure' ); ?></td>
49
+ </tr>
50
+ <tr>
51
+ <td data-export-label="WP Debug Mode"><?php _e( 'WP Debug Mode', 'auxin-elements' ); ?>:</td>
52
+ <td class="help"><?php echo '<a href="#" class="help-tip" original-title="' . esc_attr__( 'Displays whether or not WordPress is in Debug Mode.', 'auxin-elements' ) . '"> ? </a>'; ?></td>
53
+ <td><?php if ( defined('WP_DEBUG') && WP_DEBUG ) echo '<mark class="yes">' . '&#10004;' . '</mark>'; else echo '<mark class="no">' . '&#10005;' . '</mark>'; ?></td>
54
+ </tr>
55
+ <tr>
56
+ <td data-export-label="Language"><?php _e( 'Language', 'auxin-elements' ); ?>:</td>
57
+ <td class="help"><?php echo '<a href="#" class="help-tip" original-title="' . esc_attr__( 'The current language used by WordPress. Default = English', 'auxin-elements' ) . '"> ? </a>'; ?></td>
58
+ <td><?php echo get_locale() ?></td>
59
+ </tr>
60
+ </tbody>
61
+ </table>
62
+
63
+ <table class="widefat" cellspacing="0">
64
+ <thead>
65
+ <tr>
66
+ <th colspan="3" data-export-label="Server Environment"><?php _e( 'Server Environment', 'auxin-elements' ); ?></th>
67
+ </tr>
68
+ </thead>
69
+ <tbody>
70
+ <tr>
71
+ <td data-export-label="Server Info"><?php _e( 'Server Info', 'auxin-elements' ); ?>:</td>
72
+ <td class="help"><?php echo '<a href="#" class="help-tip" original-title="' . esc_attr__( 'Information about the web server that is currently hosting your site.', 'auxin-elements' ) . '"> ? </a>'; ?></td>
73
+ <td><?php echo esc_html( $_SERVER['SERVER_SOFTWARE'] ); ?></td>
74
+ </tr>
75
+ <tr>
76
+ <td data-export-label="PHP Version"><?php _e( 'PHP Version', 'auxin-elements' ); ?>:</td>
77
+ <td class="help"><?php echo '<a href="#" class="help-tip" original-title="' . esc_attr__( 'The version of PHP installed on your hosting server.', 'auxin-elements' ) . '"> ? </a>'; ?></td>
78
+ <td><?php
79
+ // should add the cpmparsion check for version_compare(PHP_VERSION, '5.0.0', '<')
80
+ if ( function_exists( 'phpversion' ) ) echo esc_html( phpversion() ); ?></td>
81
+ </tr>
82
+ <tr>
83
+ <td data-export-label="Server Info"><?php _e( 'Server Info', 'auxin-elements' ); ?>:</td>
84
+ <td class="help"><?php echo '<a href="#" class="help-tip" original-title="' . esc_attr__( 'Information about the web server that is currently hosting your site.', 'auxin-elements' ) . '"> ? </a>'; ?></td>
85
+ <td><?php echo esc_html( $_SERVER['SERVER_SOFTWARE'] ); ?></td>
86
+ </tr>
87
+ <?php if ( function_exists( 'ini_get' ) ) : ?>
88
+ <tr>
89
+ <td data-export-label="PHP Post Max Size"><?php _e( 'PHP Post Max Size', 'auxin-elements' ); ?>:</td>
90
+ <td class="help"><?php echo '<a href="#" class="help-tip" original-title="' . esc_attr__( 'The largest file size that can be contained in one post.', 'auxin-elements' ) . '"> ? </a>'; ?></td>
91
+ <td></td>
92
+ </tr>
93
+ <tr>
94
+ <td data-export-label="PHP Time Limit"><?php _e( 'PHP Time Limit', 'auxin-elements' ); ?>:</td>
95
+ <td class="help"><?php echo '<a href="#" class="help-tip" original-title="' . esc_attr__( 'The amount of time (in seconds) that your site will spend on a single operation before timing out (to avoid server lockups)', 'auxin-elements' ) . '"> ? </a>'; ?></td>
96
+ <td><?php
97
+ $time_limit = ini_get('max_execution_time');
98
+ //should add the condition
99
+ if ( $time_limit < 180 && $time_limit != 0 ) {
100
+ echo '<mark class="error">' . sprintf( __( '%s - We recommend setting max execution time to at least 180. See: <a href="%s" target="_blank">Increasing max execution to PHP</a>', 'auxin-elements' ), $time_limit, 'http://codex.wordpress.org/Common_WordPress_Errors#Maximum_execution_time_exceeded' ) . '</mark>';
101
+ } else {
102
+ echo '<mark class="yes">' . $time_limit . '</mark>';
103
+ }
104
+ ?>
105
+ </td>
106
+ </tr>
107
+ <tr>
108
+ <td data-export-label="PHP Max Input Vars"><?php _e( 'PHP Max Input Vars', 'auxin-elements' ); ?>:</td>
109
+ <td class="help"><?php echo '<a href="#" class="help-tip" original-title="' . esc_attr__( 'The maximum number of variables your server can use for a single function to avoid overloads.', 'auxin-elements' ) . '"> ? </a>'; ?></td>
110
+ <td><?php echo ini_get('max_input_vars'); ?></td>
111
+ </tr>
112
+ <tr>
113
+ <td data-export-label="SUHOSIN Installed"><?php _e( 'SUHOSIN Installed', 'auxin-elements' ); ?>:</td>
114
+ <td class="help"><?php echo '<a href="#" class="help-tip" original-title="' . esc_attr__( 'Suhosin is an advanced protection system for PHP installations. It was designed to protect your servers on the one hand against a number of well known problems in PHP applications and on the other hand against potential unknown vulnerabilities within these applications or the PHP core itself. If enabled on your server, Suhosin may need to be configured to increase its data submission limits.', 'auxin-elements' ) . '"> ? </a>'; ?></td>
115
+ <td><?php echo extension_loaded( 'suhosin' ) ? '&#10004;' : '&#10005;'; ?></td>
116
+ </tr>
117
+ <?php endif; ?>
118
+ <tr>
119
+ <td data-export-label="MySQL Version"><?php _e( 'MySQL Version', 'auxin-elements' ); ?>:</td>
120
+ <td class="help"><?php echo '<a href="#" class="help-tip" original-title="' . esc_attr__( 'The version of MySQL installed on your hosting server.', 'auxin-elements' ) . '"> ? </a>'; ?></td>
121
+ <td>
122
+ <?php
123
+ /** @global wpdb $wpdb */
124
+ global $wpdb;
125
+ echo $wpdb->db_version();
126
+ ?>
127
+ </td>
128
+ </tr>
129
+ <tr>
130
+ <td data-export-label="Max Upload Size"><?php _e( 'Max Upload Size', 'auxin-elements' ); ?>:</td>
131
+ <td class="help"><?php echo '<a href="#" class="help-tip" original-title="' . esc_attr__( 'The largest file size that can be uploaded to your WordPress installation.', 'auxin-elements' ) . '"> ? </a>'; ?></td>
132
+ <td><?php echo size_format( wp_max_upload_size() ); ?></td>
133
+ </tr>
134
+ <tr>
135
+ <td data-export-label="Default Timezone is UTC"><?php _e( 'Default Timezone is UTC', 'auxin-elements' ); ?>:</td>
136
+ <td class="help"><?php echo '<a href="#" class="help-tip" original-title="' . esc_attr__( 'The default timezone for your server.', 'auxin-elements' ) . '"> ? </a>'; ?></td>
137
+ <td><?php
138
+ $default_timezone = date_default_timezone_get();
139
+ if ( 'UTC' !== $default_timezone ) {
140
+ echo '<mark class="error">' . '&#10005; ' . sprintf( __( 'Default timezone is %s - it should be UTC', 'auxin-elements' ), $default_timezone ) . '</mark>';
141
+ } else {
142
+ echo '<mark class="yes">' . '&#10004;' . '</mark>';
143
+ } ?>
144
+ </td>
145
+ </tr>
146
+ </tbody>
147
+ </table>
148
+
149
+ <table class="widefat active-plugins" cellspacing="0" id="status">
150
+ <thead>
151
+ <tr>
152
+ <th colspan="3" data-export-label="Active Plugins (<?php echo count( (array) get_option( 'active_plugins' ) ); ?>)"><?php _e( 'Active Plugins', 'auxin-elements' ); ?> (<?php echo count( (array) get_option( 'active_plugins' ) ); ?>)</th>
153
+ </tr>
154
+ </thead>
155
+ <tbody>
156
+ <?php
157
+ $active_plugins = (array) get_option( 'active_plugins', array() );
158
+
159
+ if ( is_multisite() ) {
160
+ $active_plugins = array_merge( $active_plugins, get_site_option( 'active_sitewide_plugins', array() ) );
161
+ }
162
+ foreach ( $active_plugins as $plugin ) {
163
+ $plugin_data = @get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin );
164
+ $dirname = dirname( $plugin );
165
+ $version_string = '';
166
+ $network_string = '';
167
+ if ( ! empty( $plugin_data['Name'] ) ) {
168
+ // link the plugin name to the plugin url if available
169
+ $plugin_name = esc_html( $plugin_data['Name'] );
170
+ if ( ! empty( $plugin_data['PluginURI'] ) ) {
171
+ $plugin_name = '<a href="' . esc_url( $plugin_data['PluginURI'] ) . '" title="' . __( 'Visit plugin homepage' , 'auxin-elements' ) . '" target="_blank">' . $plugin_name . '</a>';
172
+ }
173
+ ?>
174
+ <tr>
175
+ <td><?php echo $plugin_name; ?></td>
176
+ <td><?php echo sprintf( _x( 'by %s', 'by author', 'auxin-elements' ), $plugin_data['Author'] ) . ' Version &ndash; ' . esc_html( $plugin_data['Version'] ) . $version_string . $network_string; ?></td>
177
+ </tr>
178
+ <?php
179
+ }
180
+ }
181
+ ?>
182
+ </tbody>
183
+ </table>
184
+
185
+ </div>
186
+ <?php
187
+ }
188
+
admin/includes/classes/class-auxels-admin-assets.php ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Master Slider Admin Scripts Class.
4
+ *
5
+ * @
6
+ */
7
+
8
+ // no direct access allowed
9
+ if ( ! defined('ABSPATH') ) {
10
+ die();
11
+ }
12
+
13
+ /**
14
+ * Class to load and print master slider panel scripts
15
+ */
16
+ class AUXELS_Admin_Assets {
17
+
18
+
19
+ /**
20
+ * __construct
21
+ */
22
+ function __construct() {
23
+ // general assets
24
+ $this->load_styles();
25
+ $this->load_scripts();
26
+ }
27
+
28
+
29
+ /**
30
+ * Styles for admin
31
+ *
32
+ * @return void
33
+ */
34
+ public function load_styles() {
35
+ // wp_enqueue_style( AUXELS_SLUG .'-admin-styles', AUXELS_ADMIN_URL . '/assets/css/msp-general.css', array(), AUXELS_VERSION );
36
+ }
37
+
38
+ /**
39
+ * Scripts for admin
40
+ *
41
+ * @return void
42
+ */
43
+ public function load_scripts() {
44
+ //wp_enqueue_script( AUXELS_SLUG .'-admin-scripts', AUXELS_ADMIN_URL . '/assets/js/admin.js', array('jquery', 'jquery-ui-core', 'jquery-ui-dialog'), AUXELS_VERSION, true );
45
+ }
46
+
47
+ }
admin/includes/index.php ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php // load admin related classes & functions
2
+
3
+ // load admin related functions
4
+ include_once( 'admin-the-functions.php' );
5
+
6
+ // load admin related classes
7
+ include_once( 'classes/class-auxels-admin-assets.php' );
8
+
9
+
10
+ do_action( 'auxels_admin_classes_loaded' );
11
+
12
+ // load admin related functions
13
+ include_once( 'admin-hooks.php' );
admin/includes/metaboxes/metabox-fields-post-audio.php ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Add Video Option meta box for video post format
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+
13
+ // no direct access allowed
14
+ if ( ! defined('ABSPATH') ) exit;
15
+
16
+
17
+ /*======================================================================*/
18
+
19
+ function auxin_metabox_fields_post_audio(){
20
+
21
+ $model = new Auxin_Metabox_Model();
22
+ $model->id = 'post-audio';
23
+ $model->title = __('Audio Post options', THEME_DOMAIN);
24
+ $model->css_class = 'aux-format-tab';
25
+ $model->fields = array(
26
+
27
+ array(
28
+ 'title' => __('Audio file (MP3 or ogg)', THEME_DOMAIN),
29
+ 'description' => __('Please upload an MP3 file for self hosted audio player.', THEME_DOMAIN),
30
+ 'id' => '_format_audio_attachment',
31
+ 'type' => 'audio',
32
+ 'default' => ''
33
+ ),
34
+ array(
35
+ 'title' => __('Audio URL (oEmbed)', THEME_DOMAIN),
36
+ 'description' => '',
37
+ 'id' => '_format_audio_embed',
38
+ 'type' => 'textarea',
39
+ 'default' => ''
40
+ ),
41
+ array(
42
+ 'title' => __('Player Skin', THEME_DOMAIN),
43
+ 'description' => __('Specifies the skin for audio player.', THEME_DOMAIN),
44
+ 'id' => '_format_audio_player_skin',
45
+ 'type' => 'radio-image',
46
+ 'default' => 'default',
47
+ 'choices' => array(
48
+ 'default' => array(
49
+ 'label' => __('Default (set in theme options)', THEME_DOMAIN),
50
+ 'image' => AUX_URL . 'images/visual-select/default2.svg'
51
+ ),
52
+ 'light' => array(
53
+ 'label' => __('Light', THEME_DOMAIN),
54
+ 'image' => AUX_URL . 'images/visual-select/audio-player-light.svg'
55
+ ),
56
+ 'dark' => array(
57
+ 'label' => __('Dark', THEME_DOMAIN),
58
+ 'image' => AUX_URL . 'images/visual-select/audio-player-dark.svg'
59
+ )
60
+ )
61
+ )
62
+
63
+ );
64
+
65
+ return $model;
66
+ }
admin/includes/metaboxes/metabox-fields-post-gallery.php ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Add gallery Option meta box for gallery post format
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+
13
+ // no direct access allowed
14
+ if ( ! defined('ABSPATH') ) exit;
15
+
16
+
17
+ /*======================================================================*/
18
+
19
+ // @TODO: attachment type is not working and it should check later.
20
+ function auxin_metabox_fields_post_gallery(){
21
+
22
+ $model = new Auxin_Metabox_Model();
23
+ $model->id = 'post-gallery';
24
+ $model->title = __('Gallery Post options', THEME_DOMAIN);
25
+ $model->css_class = 'aux-format-tab';
26
+ $model->fields = array(
27
+
28
+ array(
29
+ 'title' => __('The Gallery Images', THEME_DOMAIN),
30
+ 'description' => '',
31
+ 'id' => '_format_gallery_type',
32
+ 'type' => 'images',
33
+ 'default' => ''
34
+ )
35
+
36
+ );
37
+
38
+ return $model;
39
+ }
admin/includes/metaboxes/metabox-fields-post-quote.php ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Add quote Option meta box for quote post format
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+
13
+ // no direct access allowed
14
+ if ( ! defined('ABSPATH') ) exit;
15
+
16
+
17
+ /*======================================================================*/
18
+
19
+ function auxin_metabox_fields_post_quote(){
20
+
21
+ $model = new Auxin_Metabox_Model();
22
+ $model->id = 'post-quote';
23
+ $model->title = __('Quote Post options', THEME_DOMAIN);
24
+ $model->css_class = 'aux-format-tab';
25
+ $model->fields = array(
26
+
27
+ array(
28
+ 'title' => __('Source Name', THEME_DOMAIN),
29
+ 'description' => __('The Source name', THEME_DOMAIN),
30
+ 'id' => '_format_quote_source_name',
31
+ 'type' => 'text',
32
+ 'default' => ''
33
+ ),
34
+ array(
35
+ 'title' => __('Source URL', THEME_DOMAIN),
36
+ 'description' => __('Add the URL', THEME_DOMAIN),
37
+ 'id' => '_format_quote_source_url',
38
+ 'type' => 'text',
39
+ 'default' => ''
40
+ )
41
+
42
+ );
43
+
44
+ return $model;
45
+ }
admin/includes/metaboxes/metabox-fields-post-video.php ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Add Video Option meta box for video post format
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+
13
+ // no direct access allowed
14
+ if ( ! defined('ABSPATH') ) exit;
15
+
16
+
17
+ /*======================================================================*/
18
+
19
+ function auxin_metabox_fields_post_video(){
20
+
21
+ $model = new Auxin_Metabox_Model();
22
+ $model->id = 'post-video';
23
+ $model->title = __('Video Post options', THEME_DOMAIN);
24
+ $model->css_class = 'aux-format-tab';
25
+ $model->fields = array(
26
+
27
+ array(
28
+ 'title' => __('Video file', THEME_DOMAIN),
29
+ 'description' => __('Please upload an MP4/OGG/WEBM file for self hosted video player.', THEME_DOMAIN),
30
+ 'id' => '_format_video_attachment',
31
+ 'type' => 'video',
32
+ 'default' => ''
33
+ ),
34
+ array(
35
+ 'title' => __('Poster image', THEME_DOMAIN),
36
+ 'description' => __('Please specify an image as a poster for self hosted video player.', THEME_DOMAIN),
37
+ 'id' => '_format_video_attachment_poster',
38
+ 'type' => 'image',
39
+ 'default' => ''
40
+ ),
41
+ array(
42
+ 'title' => __('Video URL (oEmbed)', THEME_DOMAIN),
43
+ 'description' => __('Youtube or vimeo link', THEME_DOMAIN),
44
+ 'id' => '_format_video_embed',
45
+ 'type' => 'textarea',
46
+ 'default' => ''
47
+ ),
48
+ array(
49
+ 'title' => __('Player Skin', THEME_DOMAIN),
50
+ 'description' => __('Specifies the skin for audio player.', THEME_DOMAIN),
51
+ 'id' => '_format_video_player_skin',
52
+ 'type' => 'radio-image',
53
+ 'default' => 'default',
54
+ 'choices' => array(
55
+ 'default' => array(
56
+ 'label' => __('Default (set in theme options)', THEME_DOMAIN),
57
+ 'image' => AUX_URL . 'images/visual-select/default2.svg'
58
+ ),
59
+ 'light' => array(
60
+ 'label' => __('Light', THEME_DOMAIN),
61
+ 'image' => AUX_URL . 'images/visual-select/audio-player-light.svg'
62
+ ),
63
+ 'dark' => array(
64
+ 'label' => __('Dark', THEME_DOMAIN),
65
+ 'image' => AUX_URL . 'images/visual-select/audio-player-dark.svg'
66
+ )
67
+ )
68
+ )
69
+ );
70
+
71
+ return $model;
72
+ }
assets/screenshot-1.png ADDED
Binary file
assets/screenshot-2.jpg ADDED
Binary file
assets/screenshot-3.png ADDED
Binary file
assets/screenshot-4.png ADDED
Binary file
assets/screenshot-5.png ADDED
Binary file
assets/screenshot-6.png ADDED
Binary file
assets/screenshot-7.png ADDED
Binary file
assets/screenshot-8.png ADDED
Binary file
assets/screenshot-9.png ADDED
Binary file
auxin-elements.php ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Extra features, shortcodes and widgets for themes with auxin framework
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ *
12
+ * Plugin Name: Auxin Elements
13
+ * Plugin URI: https://wordpress.org/plugins/auxin-elements/
14
+ * Description: Extra features, shortcodes and widgets for PHLOX theme.
15
+ * Version: 1.0.0
16
+ * Author: averta
17
+ * Author URI: http://averta.net
18
+ * Text Domain: auxin-elements
19
+ * License URI: LICENSE.txt
20
+ * Domain Path: /languages
21
+ * Tested up to: 1.0.0
22
+ */
23
+
24
+ // If this file is called directly, abort.
25
+ if ( ! defined( 'WPINC' ) ) {
26
+ die('No Naughty Business Please !');
27
+ }
28
+
29
+ // Abort loading if WordPress is upgrading
30
+ if ( defined( 'WP_INSTALLING' ) && WP_INSTALLING ) {
31
+ return;
32
+ }
33
+
34
+ function auel_requirement_notice() {
35
+ echo '<div class="error"><p>' . __( 'PHP version 5.3.0 or above is required for "Auxin Elements" plugin', 'auxin-elements' ) . '</p></div>';
36
+ }
37
+
38
+ if ( version_compare( PHP_VERSION, '5.3.0', '<' ) ) {
39
+ add_action( 'admin_notices', 'auel_requirement_notice' );
40
+ return;
41
+ }
42
+
43
+ /*----------------------------------------------------------------------------*/
44
+
45
+ require_once( plugin_dir_path( __FILE__ ) . 'includes/define.php' );
46
+ require_once( plugin_dir_path( __FILE__ ) . 'public/class-auxels.php' );
47
+
48
+ // Register hooks that are fired when the plugin is activated or deactivated.
49
+ register_activation_hook ( __FILE__, array( 'AUXELS', 'activate' ) );
50
+ register_deactivation_hook( __FILE__, array( 'AUXELS', 'deactivate' ) );
51
+
52
+ /*----------------------------------------------------------------------------*/
includes/classes/class-auxin-widget-shortcode-map.php ADDED
@@ -0,0 +1,357 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Adds Theme Widgets (elements), shortcodes and visual elements
4
+ * (visual composer and siteorigin page builder elements are the same)
5
+ *
6
+ *
7
+ * @package auxin-elements
8
+ * @license LICENSE.txt
9
+ * @author
10
+ * @link https://bitbucket.org/averta/
11
+ * @copyright (c) 2010-2016
12
+ */
13
+
14
+ // no direct access allowed
15
+ if ( ! defined('ABSPATH') ) exit;
16
+
17
+
18
+
19
+
20
+ class Auxin_Widget_Shortcode_Map {
21
+
22
+ /**
23
+ * Instance of this class.
24
+ *
25
+ * @var object
26
+ */
27
+ protected static $instance = null;
28
+
29
+ /**
30
+ * The Master list of all shortcodes and widgets
31
+ *
32
+ * @var array
33
+ */
34
+ private $master_array = array();
35
+
36
+ /**
37
+ * The Master list of all shortcodes
38
+ *
39
+ * @var array
40
+ */
41
+ public $master_shortcode_array = array();
42
+
43
+
44
+
45
+ function __construct(){
46
+ add_action('auxin_loaded', array( $this, 'auxin_framework_loaded' ) );
47
+ }
48
+
49
+
50
+
51
+ public function auxin_framework_loaded(){
52
+
53
+ add_action( 'vc_before_init', array( $this, 'vc_mapper' ) );
54
+ add_action( 'widgets_init' , array( $this, 'add_widgets' ) );
55
+
56
+ add_filter( 'siteorigin_panels_widgets' , array( $this,'add_siteorigin_widget' ) );
57
+ add_filter( 'siteorigin_panels_widget_object', array( $this,'add_siteorigin_widget_object' ), 10,2 );
58
+
59
+ // map and add all shortcodes
60
+ $this->add_shortcodes();
61
+ }
62
+
63
+
64
+
65
+ /**
66
+ * Collects and stores elements info
67
+ */
68
+ public function get_master_array(){
69
+
70
+ if( empty( $this->master_array ) ){
71
+
72
+ $master_array = apply_filters( 'auxin_master_array_shortcodes', array() );
73
+
74
+ foreach ( $master_array as $element_id => $element_info ) {
75
+ // determines whether the widget should be generated or not
76
+ $element_info['is_widget'] = isset( $element_info['is_widget'] ) && $element_info['is_widget'] === false ? false : true;
77
+ // determines whether the shortcode should be added or not
78
+ $element_info['is_shortcode'] = isset( $element_info['is_shortcode'] ) && $element_info['is_shortcode'] === false ? false : true;
79
+ // determines whether the an element in siteorigin should be generated or not
80
+ $element_info['is_so'] = isset( $element_info['is_so'] ) && $element_info['is_so'] === false ? false : true;
81
+ // determines whether the an element in vc should be generated or not
82
+ $element_info['is_vc'] = isset( $element_info['is_vc'] ) && $element_info['is_vc'] === false ? false : true;
83
+
84
+ // make sure icon is set
85
+ $element_info['icon'] = isset( $element_info['icon'] ) && ! empty( $element_info['icon'] ) ? $element_info['icon'] : 'dashicons dashicons-admin-generic';
86
+
87
+ // make sure key in master array is base name of elements, in this case we can find elements in this array faster
88
+ $this->master_array[ $element_info['base'] ] = $element_info;
89
+ }
90
+ }
91
+
92
+ return $this->master_array;
93
+ }
94
+
95
+ /**
96
+ * Register all allowed widgets
97
+ */
98
+ public function add_widgets() {
99
+
100
+ $master_array = $this->get_master_array();
101
+
102
+ foreach ( $master_array as $element_id => $element_info ) {
103
+
104
+ // Add a widget if it was allowed
105
+ if( $element_info['is_widget'] ) {
106
+ $widget_info = $this->generate_widget_array( $element_info );
107
+ // print_r($widget_info);
108
+ global $wp_widget_factory;
109
+ $wp_widget_factory->widgets[ $element_info['base'] ] = new Auxin_Widget( $widget_info );
110
+ }
111
+
112
+ }
113
+ }
114
+
115
+
116
+ /**
117
+ * Adds all collected shortcodes
118
+ */
119
+ private function add_shortcodes() {
120
+
121
+ $shortcode_array_list = $this->get_master_shortcode_array();
122
+
123
+ foreach ( $shortcode_array_list as $shortcode_index => $shortcode_array ) {
124
+ add_shortcode( $shortcode_array['base'], $shortcode_array['auxin_output_callback'] );
125
+ }
126
+ }
127
+
128
+
129
+ /**
130
+ * It removes all the none defined array keys
131
+ */
132
+ protected function visual_compatible( $compelet_array ){
133
+ $validated_complete_array = array();
134
+
135
+ foreach( $compelet_array as $node_key => $node ) {
136
+ if( is_array( $node ) ){
137
+ $validated_complete_array[ $node_key ] = $this->visual_compatible( $node );
138
+ } else {
139
+ if ( ! empty( $node ) || $node === false ){
140
+ $validated_complete_array[ $node_key ] = $compelet_array[ $node_key ];
141
+ }
142
+ }
143
+ }
144
+
145
+ return $validated_complete_array;
146
+ }
147
+
148
+
149
+ /**
150
+ * Get list of allowed shortcodes
151
+ */
152
+ public function get_master_shortcode_array(){
153
+ $this->get_master_array();
154
+
155
+ if( empty( $this->master_shortcode_array ) ){
156
+ foreach ( $this->master_array as $element_id => $element_info ) {
157
+ // Collect the shortcode if it was allowed
158
+ if( $element_info['is_shortcode'] ){
159
+ $this->master_shortcode_array[] = $this->generate_shortcode_array( $element_info );
160
+ }
161
+ }
162
+ }
163
+
164
+ return $this->master_shortcode_array;
165
+ }
166
+
167
+
168
+ /**
169
+ * Generates shortcode info
170
+ */
171
+ protected function generate_shortcode_array( $element_info ){
172
+
173
+ $shortcode_array['base'] = $element_info['base'];
174
+ $shortcode_array['is_shortcode'] = $element_info['is_shortcode'];
175
+
176
+ $shortcode_array['auxin_output_callback'] = $element_info['auxin_output_callback'];
177
+
178
+ foreach ( $element_info['params'] as $param_id => $param ) {
179
+ if( isset( $param['def_value'] ) ){
180
+ $shortcode_array['params'][ $param['param_name'] ] = $param['def_value'];
181
+ } else {
182
+ $shortcode_array['params'][ $param['param_name'] ] = '';
183
+ }
184
+ }
185
+
186
+ return $shortcode_array;
187
+ }
188
+
189
+
190
+ /**
191
+ * Generates widget info
192
+ */
193
+ protected function generate_widget_array( $element_info ){
194
+ $widget_array = array();
195
+
196
+ $widget_array['base_ID'] = $element_info['base'];
197
+ $widget_array['name'] = $element_info['name'];
198
+ $widget_array['is_widget'] = $element_info['is_widget'];
199
+ $widget_array['is_so'] = $element_info['is_so'];
200
+
201
+ /**
202
+ * This filter makes the others able to override element output function
203
+ */
204
+ $widget_array['auxin_output_callback'] = apply_filters( 'auxin_element_output_callback', $element_info['auxin_output_callback'], 'widget' );
205
+ $widget_array['args']['description'] = $element_info['description'];
206
+ $widget_array['args']['panels_groups'] = array('auxin');
207
+
208
+ if( ! empty( $element_info['icon'] ) ) {
209
+ $widget_array['args']['panels_icon'] = $element_info['icon'];
210
+ }
211
+
212
+ foreach ( $element_info['params'] as $param_id => $param ) {
213
+ $widget_params = array();
214
+
215
+ $widget_params['name'] = $param['heading'];
216
+ $widget_params['id'] = $param['param_name'];
217
+ $widget_params['type'] = $param['type'];
218
+
219
+ if( !empty( $param['std'] ) ) {
220
+ $widget_params['value'] = $param['std'];
221
+ }
222
+ elseif( !empty( $param['def_value'] ) ) {
223
+ $widget_params['value'] = $param['def_value'];
224
+ }
225
+ elseif( 1 ) {
226
+ $widget_params['value'] = $param['value'];
227
+ }
228
+ if( $widget_params['type'] == 'aux_visual_select' ) {
229
+ $widget_params['choices'] = $param['choices'];
230
+ }
231
+ if( isset( $param['description'] ) ) {
232
+ $widget_params['description'] = $param['description'];
233
+ }
234
+ if( isset( $param['dependency'] ) ) {
235
+ $widget_params['dependency'] = $param['dependency'];
236
+ }
237
+ // TODO: It shoould convert to array an array when dependency js writes
238
+ // $widget_params['dependency'] = array( $param['dependency'] );
239
+
240
+ if( in_array( $param['type'], array( 'select', 'dropdown', 'aux_multiple_selector' ) ) ) {
241
+ $widget_params['options'] = $param['value'];
242
+ }
243
+
244
+ // lets set a key for each param, for improving search in array
245
+ $widget_array['params'][ $widget_params['id'] ] = $widget_params;
246
+ }
247
+
248
+ return $widget_array;
249
+ }
250
+
251
+
252
+ /**
253
+ * Adds all defined elements to vc
254
+ */
255
+ public function vc_mapper(){
256
+ $master_array = $this->get_master_array();
257
+ foreach ( $master_array as $array_node_key => $array_node ) {
258
+ if($array_node['is_vc'] !== false) {
259
+ $array_node['params'] = $this->exchange_dropdown( $array_node['params'] );
260
+ vc_map( $this->visual_compatible( $array_node ) );
261
+ }
262
+ }
263
+ }
264
+
265
+ /**
266
+ * get the params array and flip the value array of its value key.
267
+ */
268
+ public function exchange_dropdown( $params ){
269
+ $result;
270
+ foreach ( $params as $params_cell => $params_value ) {
271
+ if( $params_value['type'] == 'dropdown' ){
272
+ $params_value['value'] = array_flip( $params_value['value'] );
273
+ }
274
+ $result[] = $params_value;
275
+ }
276
+ return $result;
277
+ }
278
+
279
+
280
+ /**
281
+ * Register elements in siteorigin page builder
282
+ */
283
+ function add_siteorigin_widget( $widgets ) {
284
+
285
+ $master_array = $this->get_master_array();
286
+
287
+ foreach ( $master_array as $element_id => $element_info ) {
288
+
289
+ // add a SO element if widget is not allowed
290
+ if( ! $element_info['is_widget'] && $element_info['is_so'] ) {
291
+
292
+ $widgets[ $element_info['base'] ] = array(
293
+ 'class' => $element_info['base'],
294
+ 'title' => $element_info['name'],
295
+ 'panels_title'=> $element_info['name'],
296
+ 'description' => $element_info['description'],
297
+ 'installed' => true,
298
+ 'plugin' => array(),
299
+ 'groups' => array('auxin'),
300
+ 'icon' => $element_info['icon']
301
+ );
302
+
303
+ // remove the widget from SO if displaying widget in SO is not allowed
304
+ } elseif( ! $element_info['is_so'] ){
305
+ if( isset( $widgets[ $element_info['base'] ] ) ){
306
+ unset( $widgets[ $element_info['base'] ] );
307
+ }
308
+ }
309
+
310
+ }
311
+
312
+ return $widgets;
313
+ }
314
+
315
+ /**
316
+ * Define the instance of widget for SO
317
+ *
318
+ * @param object $object the instance of widget element
319
+ * @param string $widget The base name of widget
320
+ */
321
+ function add_siteorigin_widget_object( $object, $widget ) {
322
+
323
+ // We can skip this if there's already an object
324
+ if ( ! empty( $object ) ){
325
+ return $object;
326
+ }
327
+
328
+ $master_array = $this->get_master_array();
329
+
330
+ if ( isset( $master_array[ $widget ] ) ) {
331
+ $widget_instance = $this->generate_widget_array( $master_array[ $widget ] );
332
+ $object = new Auxin_Widget( $widget_instance );
333
+ }
334
+
335
+ return $object;
336
+ }
337
+
338
+
339
+ /**
340
+ * Return an instance of this class.
341
+ *
342
+ * @return object A single instance of this class.
343
+ */
344
+ public static function get_instance() {
345
+
346
+ // If the single instance hasn't been set, set it now.
347
+ if ( null == self::$instance ) {
348
+ self::$instance = new self;
349
+ }
350
+
351
+ return self::$instance;
352
+ }
353
+
354
+ }
355
+
356
+
357
+ Auxin_Widget_Shortcode_Map::get_instance();
includes/define.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // no direct access allowed
4
+ if ( ! defined('ABSPATH') ) {
5
+ die();
6
+ }
7
+
8
+ // theme name
9
+ if( ! defined( 'THEME_NAME' ) ){
10
+ $theme_data = wp_get_theme();
11
+ define( 'THEME_NAME', $theme_data->Name );
12
+ }
13
+
14
+
15
+ define( 'AUXELS_VERSION' , '1.0.0' );
16
+
17
+ define( 'AUXELS_SLUG' , 'auxin-elements' );
18
+ define( 'AUXELS_TEXT_DOMAIN' , 'auxin-elements' );
19
+
20
+
21
+ define( 'AUXELS_DIR' , dirname( plugin_dir_path( __FILE__ ) ) );
22
+ define( 'AUXELS_URL' , plugins_url( '', plugin_dir_path( __FILE__ ) ) );
23
+ define( 'AUXELS_BASE_NAME' , plugin_basename( AUXELS_DIR ) . '/auxin-elements.php' ); // auxin-elements/auxin-elements.php
24
+
25
+
26
+ define( 'AUXELS_ADMIN_DIR' , AUXELS_DIR . '/admin' );
27
+ define( 'AUXELS_ADMIN_URL' , AUXELS_URL . '/admin' );
28
+
29
+ define( 'AUXELS_INC_DIR' , AUXELS_DIR . '/includes' );
30
+ define( 'AUXELS_INC_URL' , AUXELS_URL . '/includes' );
31
+
32
+ define( 'AUXELS_PUB_DIR' , AUXELS_DIR . '/public' );
33
+ define( 'AUXELS_PUB_URL' , AUXELS_URL . '/public' );
includes/elements/about-widget.php ADDED
@@ -0,0 +1,260 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * About element
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+
13
+ function get_auxin_about_widget( $master_array ) {
14
+
15
+ $master_array['aux_about_widget'] = array(
16
+ 'name' => __("[Phlox] About Author", 'auxin-elements' ),
17
+ 'auxin_output_callback' => 'auxin_widget_about_callback',
18
+ 'base' => 'aux_about_widget',
19
+ 'description' => __('It adds an about author element.', 'auxin-elements' ),
20
+ 'class' => 'aux-widget-about',
21
+ 'show_settings_on_create' => true,
22
+ 'weight' => 1,
23
+ 'is_widget' => true,
24
+ 'is_shortcode' => true,
25
+ 'is_so' => false,
26
+ 'is_vc' => false,
27
+ 'category' => THEME_NAME,
28
+ 'group' => '',
29
+ 'admin_enqueue_js' => '',
30
+ 'admin_enqueue_css' => '',
31
+ 'front_enqueue_js' => '',
32
+ 'front_enqueue_css' => '',
33
+ 'icon' => 'auxin-element auxin-about',
34
+ 'custom_markup' => '',
35
+ 'js_view' => '',
36
+ 'html_template' => '',
37
+ 'deprecated' => '',
38
+ 'content_element' => '',
39
+ 'as_parent' => '',
40
+ 'as_child' => '',
41
+ 'params' => array(
42
+ array(
43
+ 'param_name' => 'title',
44
+ 'type' => 'textfield',
45
+ 'value' => '',
46
+ 'def_value' => '',
47
+ 'holder' => 'textfield',
48
+ 'class' => 'id',
49
+ 'heading' => __('Title','auxin-elements' ),
50
+ 'description' => '',
51
+ 'admin_label' => true,
52
+ 'dependency' => '',
53
+ 'weight' => '',
54
+ 'group' => '' ,
55
+ 'edit_field_class' => ''
56
+ ),
57
+ array(
58
+ 'param_name' => 'name',
59
+ 'type' => 'textfield',
60
+ 'value' => '',
61
+ 'holder' => 'textfield',
62
+ 'class' => 'title',
63
+ 'heading' => __('Name','auxin-elements' ),
64
+ 'description' => __('The name which appears in about widget.', 'auxin-elements' ),
65
+ 'admin_label' => true,
66
+ 'dependency' => '',
67
+ 'weight' => '',
68
+ 'group' => '' ,
69
+ 'edit_field_class' => ''
70
+ ),
71
+ array(
72
+ 'param_name' => 'skills',
73
+ 'type' => 'textfield',
74
+ 'value' => '',
75
+ 'holder' => 'textfield',
76
+ 'class' => 'skills',
77
+ 'heading' => __('Skills','auxin-elements' ),
78
+ 'description' => __('It appears below the name.', 'auxin-elements' ),
79
+ 'admin_label' => true,
80
+ 'weight' => '',
81
+ 'group' => '',
82
+ 'edit_field_class' => ''
83
+ ),
84
+ array(
85
+ 'param_name' => 'info',
86
+ 'type' => 'textarea_html',
87
+ 'def_value' => '',
88
+ 'value' => '',
89
+ 'holder' => 'div',
90
+ 'class' => 'info',
91
+ 'heading' => __('Info','auxin-elements' ),
92
+ 'description' => __('Biographical info or any other content.', 'auxin-elements' ),
93
+ 'admin_label' => false,
94
+ 'dependency' => '',
95
+ 'weight' => '',
96
+ 'group' => '' ,
97
+ 'edit_field_class' => ''
98
+ ),
99
+ array(
100
+ 'param_name' => 'about_image',
101
+ 'type' => 'attach_image',
102
+ 'value' => '',
103
+ 'def_value' => '',
104
+ 'holder' => 'textfield',
105
+ 'class' => 'about_image',
106
+ 'heading' => __('Image','auxin-elements' ),
107
+ 'description' => __('It appears above the name.', 'auxin-elements' ),
108
+ 'admin_label' => true,
109
+ 'dependency' => '',
110
+ 'weight' => '',
111
+ 'group' => '' ,
112
+ 'edit_field_class' => ''
113
+ ),
114
+ array(
115
+ 'param_name' => 'image_style',
116
+ 'type' => 'dropdown',
117
+ 'def_value' => 'circle',
118
+ 'value' => array(
119
+ 'circle' => __('Circle', 'auxin-elements' ),
120
+ 'square' => __('Square', 'auxin-elements' )
121
+ ),
122
+ 'holder' => 'dropdown',
123
+ 'class' => 'image_style',
124
+ 'heading' => __('Image style','auxin-elements' ),
125
+ 'description' => '',
126
+ 'admin_label' => true,
127
+ 'dependency' => '',
128
+ 'weight' => '',
129
+ 'group' => '' ,
130
+ 'edit_field_class' => ''
131
+ ),
132
+ array(
133
+ 'param_name' => 'align_center',
134
+ 'type' => 'aux_switch',
135
+ 'def_value' => '',
136
+ 'value' => '1',
137
+ 'holder' => 'dropdown',
138
+ 'class' => 'align_center',
139
+ 'heading' => __('Align center texts', 'auxin-elements' ),
140
+ 'description' => '',
141
+ 'admin_label' => true,
142
+ 'dependency' => '',
143
+ 'weight' => '',
144
+ 'group' => '' ,
145
+ 'edit_field_class' => ''
146
+ ),
147
+ array(
148
+ 'param_name' => 'show_socials',
149
+ 'type' => 'aux_switch',
150
+ 'def_value' => '',
151
+ 'value' => '0',
152
+ 'holder' => 'dropdown',
153
+ 'class' => 'show_socials',
154
+ 'heading' => __('Show socials below the info','auxin-elements' ),
155
+ 'description' => '',
156
+ 'admin_label' => true,
157
+ 'dependency' => '',
158
+ 'weight' => '',
159
+ 'group' => '' ,
160
+ 'edit_field_class' => ''
161
+ ),
162
+ array(
163
+ 'param_name' => 'extra_classes',
164
+ 'type' => 'textfield',
165
+ 'value' => '',
166
+ 'def_value' => '',
167
+ 'holder' => 'textfield',
168
+ 'class' => 'extra_classes',
169
+ 'heading' => __('Extra class name','auxin-elements' ),
170
+ 'description' => __('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'auxin-elements' ),
171
+ 'admin_label' => true,
172
+ 'dependency' => '',
173
+ 'weight' => '',
174
+ 'group' => '' ,
175
+ 'edit_field_class' => ''
176
+ )
177
+
178
+ )
179
+ );
180
+
181
+ return $master_array;
182
+ }
183
+
184
+ add_filter( 'auxin_master_array_shortcodes', 'get_auxin_about_widget', 10, 1 );
185
+
186
+ /**
187
+ * The front-end output of this element is returned by the following function
188
+ *
189
+ * @param array $atts The array containing the parsed values from shortcode, it should be same as defined params above.
190
+ * @param string $shortcode_content The shorcode content
191
+ * @return string The output of element markup
192
+ */
193
+ function auxin_widget_about_callback( $atts, $shortcode_content = null ){
194
+
195
+ // Defining default attributes
196
+ $default_atts = array(
197
+ 'title' => '',
198
+ 'about_image' => '',
199
+ 'show_socials' => '0',
200
+ 'image_style' => 'square',
201
+ 'align_center' => '1',
202
+ 'info' => '',
203
+ 'name' => '',
204
+ 'skills' => '',
205
+
206
+ 'extra_classes' => '',
207
+ 'custom_el_id' => '', // custom id attribute for this element
208
+ 'base_class' => 'aux-widget-about' // base class name for container
209
+ );
210
+
211
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
212
+ extract( $result['parsed_atts'] );
213
+
214
+ ob_start();
215
+
216
+ // widget header ------------------------------
217
+ echo $result['widget_header'];
218
+ echo $result['widget_title'];
219
+ ?>
220
+
221
+
222
+ <div class="<?php echo ($align_center ? 'aux-text-center' : ''); ?>">
223
+
224
+ <!--- The output for element here -->
225
+ <?php
226
+
227
+ if ( !empty( $about_image ) && is_numeric( $about_image ) ) {
228
+ echo '<div class="aux-about-image aux-style-' . $image_style . '">' . auxin_get_the_resized_attachment( $about_image, 240, ( $image_style == 'square' ? 400 : 240 ), true ) . '</div>';
229
+ }
230
+
231
+ echo '<dl>';
232
+
233
+ if ( !empty( $name ) ) {
234
+ echo '<dt class="aux-about-name">' . $name . '</dt>';
235
+ }
236
+
237
+ if ( !empty( $skills ) ) {
238
+ echo '<dd class="aux-about-skills">' . $skills . '</dd>';
239
+ }
240
+
241
+ if ( !empty( $info ) ) {
242
+ echo '<dd class="aux-about-content">'.$info.'</dd>';
243
+ }
244
+
245
+ echo '</dl>';
246
+
247
+ if( $show_socials ) {
248
+ echo auxin_the_socials();
249
+ }
250
+ ?>
251
+
252
+ </div><!-- widget-inner -->
253
+
254
+
255
+ <?php
256
+ // widget footer ------------------------------
257
+ echo $result['widget_footer'];
258
+
259
+ return ob_get_clean();
260
+ }
includes/elements/accordion.php ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Accordion element
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+
13
+ function auxin_get_new_accordion_master_array( $master_array ) {
14
+
15
+ $master_array['aux_accordion'] = array(
16
+ 'name' => __('[Phlox] Accordion ', 'auxin-elements'),
17
+ 'auxin_output_callback' => 'auxin_widget_accordion_callback',
18
+ 'base' => 'aux_accordion',
19
+ 'description' => __('Collapsible content', 'auxin-elements'),
20
+ 'class' => 'aux-widget-accordion widget-toggle',
21
+ 'show_settings_on_create' => true,
22
+ 'weight' => 1,
23
+ 'category' => THEME_NAME,
24
+ 'group' => '',
25
+ 'admin_enqueue_js' => '',
26
+ 'admin_enqueue_css' => '',
27
+ 'front_enqueue_js' => '',
28
+ 'front_enqueue_css' => '',
29
+ 'icon' => 'auxin-element auxin-accordion',
30
+ 'custom_markup' => '',
31
+ 'js_view' => '',
32
+ 'html_template' => '',
33
+ 'deprecated' => '',
34
+ 'content_element' => '',
35
+ 'as_parent' => '',
36
+ 'as_child' => '',
37
+ 'params' => array(
38
+ array(
39
+ 'param_name' => 'title',
40
+ 'type' => 'textfield',
41
+ 'value' => '',
42
+ 'holder' => 'textfield',
43
+ 'class' => 'title',
44
+ 'heading' => __('Title','auxin-elements'),
45
+ 'description' => __('Accordion title, leave it empty if you don`t need title.', 'auxin-elements'),
46
+ 'admin_label' => true,
47
+ 'dependency' => '',
48
+ 'weight' => '',
49
+ 'group' => '' ,
50
+ 'edit_field_class' => ''
51
+ ),
52
+ array(
53
+ 'param_name' => 'type',
54
+ 'type' => 'aux_visual_select',
55
+ 'def_value' => 'accordion',
56
+ 'choices' => array(
57
+ 'false' => array(
58
+ 'label' => __('Toggle', 'auxin-elements'),
59
+ 'image' => AUX_URL . 'images/visual-select/toggle.svg'
60
+ ),
61
+ 'true' => array(
62
+ 'label' => __('Accordion', 'auxin-elements'),
63
+ 'image' => AUX_URL . 'images/visual-select/accordion.svg'
64
+ )
65
+ ),
66
+ 'holder' => 'dropdown',
67
+ 'class' => 'type',
68
+ 'heading' => __('Type','auxin-elements'),
69
+ 'description' => __('Select accordion to show only 1 element opens at a time.','auxin-elements'),
70
+ 'admin_label' => true,
71
+ 'dependency' => '',
72
+ 'weight' => '',
73
+ 'group' => '' ,
74
+ 'edit_field_class' => ''
75
+ ),
76
+ array(
77
+ 'param_name' => 'content',
78
+ 'type' => 'textarea_html',
79
+ 'value' => '',
80
+ 'def_value' => '',
81
+ 'holder' => 'div',
82
+ 'class' => 'content',
83
+ 'heading' => __('Content','auxin-elements'),
84
+ 'description' => __('Please use below sample for each accordion item.<br>[accordion_section label="Accordion label here" ] accordion content here [/accordion_section]', 'auxin-elements'),
85
+ 'admin_label' => true,
86
+ 'dependency' => '',
87
+ 'weight' => '',
88
+ 'group' => '',
89
+ 'edit_field_class' => ''
90
+ ),
91
+ array(
92
+ 'param_name' => 'extra_classes',
93
+ 'type' => 'textfield',
94
+ 'value' => '',
95
+ 'def_value' => '',
96
+ 'holder' => 'textfield',
97
+ 'class' => 'extra_classes',
98
+ 'heading' => __('Extra class name','auxin-elements'),
99
+ 'description' => __('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'auxin-elements'),
100
+ 'admin_label' => true,
101
+ 'dependency' => '',
102
+ 'weight' => '',
103
+ 'group' => '' ,
104
+ 'edit_field_class' => ''
105
+ )
106
+ )
107
+ );
108
+
109
+ return $master_array;
110
+ }
111
+
112
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_new_accordion_master_array', 10, 1 );
113
+
114
+
115
+ /**
116
+ * Element without loop and column
117
+ * The front-end output of this element is returned by the following function
118
+ *
119
+ * @param array $atts The array containing the parsed values from shortcode, it should be same as defined params above.
120
+ * @param string $shortcode_content The shorcode content
121
+ * @return string The output of element markup
122
+ */
123
+ function auxin_widget_accordion_callback( $atts, $shortcode_content = null ){
124
+
125
+ // Defining default attributes
126
+ $default_atts = array(
127
+ 'title' => '', // header title
128
+ 'content' => '', // content
129
+ 'type' => 'true', // accordion/toggle
130
+
131
+ 'extra_classes' => '', // custom css class names for this element
132
+ 'custom_el_id' => '', // custom id attribute for this element
133
+ 'base_class' => 'aux-widget-accordion widget-toggle' // base class name for container
134
+ );
135
+
136
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
137
+ extract( $result['parsed_atts'] );
138
+
139
+
140
+ // widget header ------------------------------
141
+ $output = $result['widget_header'];
142
+ $output .= $result['widget_title'];
143
+ $output .= '<div class="widget-inner ' .$extra_classes . '" data-toggle="' . $type . '">';
144
+
145
+ // widget custom output -----------------------
146
+ $content_array = explode("[/accordion_section]", $content);
147
+ foreach ( $content_array as $key => $value ) {
148
+ if( $key !== count( $content_array ) - 1 ) {
149
+ $output .= '<section>';
150
+ $section_title = auxin_get_string_between( $value, 'label="', '" ');
151
+ $pos = strpos($value, "]");
152
+ $section_content = substr( $value, $pos+1);
153
+ $output .= '<h6 class="toggle-header">' . $section_title . '</h6>';
154
+ $output .= '<div class="toggle-content"><p>' . $section_content . '</p></div>';
155
+ $output .= '</section>';
156
+ }
157
+ }
158
+
159
+ $output .= '</div>'; // End od widget-toggle
160
+ $output .= $result['widget_footer'];
161
+
162
+ // widget footer ------------------------------
163
+
164
+ return $output;
165
+ }
includes/elements/attachment-url.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Retrieves attachment URL
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+
13
+ add_shortcode( 'aux_attach_url', 'auxin_shortcode_attach_id' );
14
+
15
+ function auxin_shortcode_attach_id( $atts, $content = null ) {
16
+ extract( shortcode_atts( array( 'id' => '' ) , $atts ) );
17
+ if( empty( $id ) ){
18
+ return '';
19
+ }
20
+ return wp_get_attachment_url( $id );
21
+ }
22
+
includes/elements/audio.php ADDED
@@ -0,0 +1,197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Audio player element
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+ function auxin_get_audio_master_array( $master_array ) {
13
+
14
+ $master_array['aux_audio'] = array(
15
+ 'name' => __("[Phlox] Audio", 'auxin-elements' ),
16
+ 'auxin_output_callback' => 'auxin_widget_audio_callback',
17
+ 'base' => 'aux_audio',
18
+ 'description' => __('Audio player', 'auxin-elements' ),
19
+ 'description' => __('It adds an audio player element.', 'auxin-elements'),
20
+ 'class' => 'aux-widget-audio',
21
+ 'show_settings_on_create' => true,
22
+ 'weight' => 1,
23
+ 'is_widget' => true,
24
+ 'is_shortcode' => true,
25
+ 'is_so' => true,
26
+ 'is_vc' => true,
27
+ 'category' => THEME_NAME,
28
+ 'group' => '',
29
+ 'admin_enqueue_js' => '',
30
+ 'admin_enqueue_css' => '',
31
+ 'front_enqueue_js' => '',
32
+ 'front_enqueue_css' => '',
33
+ 'icon' => 'auxin-element auxin-sound-cloud',
34
+ 'custom_markup' => '',
35
+ 'js_view' => '',
36
+ 'html_template' => '',
37
+ 'deprecated' => '',
38
+ 'content_element' => '',
39
+ 'as_parent' => '',
40
+ 'as_child' => '',
41
+ 'params' => array(
42
+ array(
43
+ 'param_name' => 'title',
44
+ 'type' => 'textfield',
45
+ 'value' => '',
46
+ 'holder' => 'textfield',
47
+ 'class' => 'title',
48
+ 'heading' => __('Title','auxin-elements' ),
49
+ 'description' => __('The title of audio element.','auxin-elements' ),
50
+ 'admin_label' => true,
51
+ 'dependency' => '',
52
+ 'weight' => '',
53
+ 'group' => '' ,
54
+ 'edit_field_class' => ''
55
+ ),
56
+ array(
57
+ 'param_name' => 'src',
58
+ 'type' => 'aux_select_audio',
59
+ 'value' => '',
60
+ 'holder' => 'aux_select_audio',
61
+ 'class' => 'audio_src',
62
+ 'heading' => __('Audio file(MP3 or ogg)','auxin-elements' ),
63
+ 'description' => '',
64
+ 'admin_label' => true,
65
+ 'dependency' => '',
66
+ 'weight' => '',
67
+ 'group' => '' ,
68
+ 'edit_field_class' => ''
69
+ ),
70
+ array(
71
+ 'param_name' => 'loop',
72
+ 'type' => 'aux_switch',
73
+ 'def_value' => '0',
74
+ 'value' => '0',
75
+ 'class' => '',
76
+ 'heading' => __('Repeat the audio','auxin-elements' ),
77
+ 'description' => '',
78
+ 'admin_label' => true,
79
+ 'dependency' => '',
80
+ 'weight' => '',
81
+ 'group' => '',
82
+ 'edit_field_class' => ''
83
+ ),
84
+ array(
85
+ 'param_name' => 'autoplay',
86
+ 'type' => 'aux_switch',
87
+ 'def_value' => '0',
88
+ 'value' => '0',
89
+ 'class' => '',
90
+ 'heading' => __('AutoPlay','auxin-elements' ),
91
+ 'description' => __('Play the audio file automatically.','auxin-elements' ),
92
+ 'admin_label' => true,
93
+ 'dependency' => '',
94
+ 'weight' => '',
95
+ 'group' => '',
96
+ 'edit_field_class' => ''
97
+ ),
98
+ array(
99
+ 'param_name' => 'skin',
100
+ 'type' => 'aux_visual_select',
101
+ 'def_value' => 'dark',
102
+ 'choices' => array(
103
+ 'dark' => array(
104
+ 'label' => __('Dark', 'auxin-elements'),
105
+ 'image' => AUX_URL . 'images/visual-select/audio-player-dark.svg'
106
+ ),
107
+ 'light' => array(
108
+ 'label' => __('Light', 'auxin-elements'),
109
+ 'image' => AUX_URL . 'images/visual-select/audio-player-light.svg'
110
+ )
111
+ ),
112
+ 'holder' => 'dropdown',
113
+ 'class' => 'skin',
114
+ 'heading' => __('Skin','auxin-elements' ),
115
+ 'description' => __('The skin of audio element','auxin-elements' ),
116
+ 'admin_label' => true,
117
+ 'dependency' => '',
118
+ 'weight' => '',
119
+ 'group' => '' ,
120
+ 'edit_field_class' => ''
121
+ ),
122
+ array(
123
+ 'param_name' => 'extra_classes',
124
+ 'type' => 'textfield',
125
+ 'value' => '',
126
+ 'def_value' => '',
127
+ 'holder' => 'textfield',
128
+ 'class' => 'extra_classes',
129
+ 'heading' => __('Extra class name','auxin-elements' ),
130
+ 'description' => __('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'auxin-elements' ),
131
+ 'admin_label' => true,
132
+ 'dependency' => '',
133
+ 'weight' => '',
134
+ 'group' => '' ,
135
+ 'edit_field_class' => ''
136
+ )
137
+
138
+ )
139
+ );
140
+
141
+ return $master_array;
142
+ }
143
+
144
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_audio_master_array', 10, 1 );
145
+
146
+
147
+ /**
148
+ * This is the widget callback in fact the front end out put of this widget comes from this function
149
+ */
150
+ function auxin_widget_audio_callback( $atts, $shortcode_content = null ){
151
+
152
+ // Defining default attributes
153
+ $default_atts = array(
154
+ 'title' => '', // section title
155
+
156
+ 'src' => '',
157
+ 'loop' => '',
158
+ 'autoplay' => '',
159
+ 'preload' => '',
160
+ 'skin' => '', // dark or light
161
+
162
+ 'extra_classes' => '', // custom css class names for this element
163
+ 'custom_el_id' => '', // custom id attribute for this element
164
+ 'base_class' => 'aux-widget-audio' // base class name for container
165
+ );
166
+
167
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
168
+ extract( $result['parsed_atts'] );
169
+
170
+ ob_start();
171
+
172
+ // widget header ------------------------------
173
+ echo $result['widget_header'];
174
+ echo $result['widget_title'];
175
+
176
+ if( empty( $skin ) ){
177
+ $skin = 'dark';
178
+ }
179
+
180
+ $class = 'wp-audio-shortcode aux-player-' . esc_attr( $skin );
181
+
182
+ // convert attachment id to url
183
+ if( is_numeric( $src ) ){
184
+ $src = wp_get_attachment_url( $src );
185
+ }
186
+
187
+ if( $provider = auxin_extract_embed_provider_name( $src ) ){
188
+ $class .= ' aux-provider-'. $provider;
189
+ }
190
+
191
+ echo do_shortcode( sprintf( '[audio src="%s" loop="%s" autoplay="%s" preload="%s" class="%s"]', $src, $loop, $autoplay, $preload, $class ) );
192
+
193
+ // widget footer ------------------------------
194
+ echo $result['widget_footer'];
195
+
196
+ return ob_get_clean();
197
+ }
includes/elements/button.php ADDED
@@ -0,0 +1,331 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Button element
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+
13
+ function auxin_get_button_master_array( $master_array ) {
14
+
15
+ $master_array['aux_button'] = array(
16
+ 'name' => __("[Phlox] Button", 'auxin-elements' ),
17
+ 'auxin_output_callback' => 'auxin_widget_button_callback',
18
+ 'base' => 'aux_button',
19
+ 'description' => __('It adds a button element.', 'auxin-elements' ),
20
+ 'class' => 'aux-widget-button',
21
+ 'show_settings_on_create' => true,
22
+ 'weight' => 1,
23
+ 'is_widget' => false,
24
+ 'is_shortcode' => true,
25
+ 'is_so' => true,
26
+ 'is_vc' => true,
27
+ 'category' => THEME_NAME,
28
+ 'group' => '',
29
+ 'admin_enqueue_js' => '',
30
+ 'admin_enqueue_css' => '',
31
+ 'front_enqueue_js' => '',
32
+ 'front_enqueue_css' => '',
33
+ 'icon' => 'auxin-element auxin-image',
34
+ 'custom_markup' => '',
35
+ 'js_view' => '',
36
+ 'html_template' => '',
37
+ 'deprecated' => '',
38
+ 'content_element' => '',
39
+ 'as_parent' => '',
40
+ 'as_child' => '',
41
+ 'params' => array(
42
+ array(
43
+ 'param_name' => 'label',
44
+ 'type' => 'textfield',
45
+ 'value' => 'Button',
46
+ 'holder' => 'textfield',
47
+ 'class' => 'label',
48
+ 'heading' => __('Button Label','auxin-elements' ),
49
+ 'description' => __('The label of button','auxin-elements' ),
50
+ 'admin_label' => true,
51
+ 'dependency' => '',
52
+ 'weight' => '',
53
+ 'group' => '' ,
54
+ 'edit_field_class' => ''
55
+ ),
56
+ array(
57
+ 'param_name' => 'size',
58
+ 'type' => 'dropdown',
59
+ 'def_value' => 'medium',
60
+ 'value' => array(
61
+ 'exlarge' => __('Exlarge', 'auxin-elements' ),
62
+ 'large' => __('Large' , 'auxin-elements' ),
63
+ 'medium' => __('Medium' , 'auxin-elements' ),
64
+ 'small' => __('Small' , 'auxin-elements' ),
65
+ 'tiny' => __('Tiny' , 'auxin-elements' )
66
+ ),
67
+ 'holder' => 'dropdown',
68
+ 'class' => 'round',
69
+ 'heading' => __('Button Size','auxin-elements' ),
70
+ 'description' => '',
71
+ 'admin_label' => true,
72
+ 'dependency' => '',
73
+ 'weight' => '',
74
+ 'group' => '' ,
75
+ 'edit_field_class' => ''
76
+ ),
77
+
78
+ array(
79
+ 'param_name' => 'border',
80
+ 'type' => 'aux_visual_select',
81
+ 'value' => '',
82
+ 'holder' => 'dropdown',
83
+ 'class' => 'border',
84
+ 'heading' => __('Button shape style','auxin-elements' ),
85
+ 'description' => '',
86
+ 'admin_label' => true,
87
+ 'dependency' => '',
88
+ 'weight' => '',
89
+ 'group' => '' ,
90
+ 'edit_field_class' => '',
91
+ 'choices' => array(
92
+ '' => array(
93
+ 'label' => __('Box', 'auxin-elements' ),
94
+ 'image' => AUX_URL . 'images/visual-select/button-normal.svg'
95
+ ),
96
+ 'round' => array(
97
+ 'label' => __('Round', 'auxin-elements' ),
98
+ 'image' => AUX_URL . 'images/visual-select/button-curved.svg'
99
+ ),
100
+ 'curve' => array(
101
+ 'label' => __('Curve', 'auxin-elements' ),
102
+ 'image' => AUX_URL . 'images/visual-select/button-rounded.svg'
103
+ )
104
+ )
105
+ ),
106
+
107
+ array(
108
+ 'param_name' => 'style',
109
+ 'type' => 'aux_visual_select',
110
+ 'value' => '',
111
+ 'holder' => 'dropdown',
112
+ 'class' => 'style',
113
+ 'heading' => __('Button style','auxin-elements' ),
114
+ 'description' => '',
115
+ 'admin_label' => true,
116
+ 'dependency' => '',
117
+ 'weight' => '',
118
+ 'group' => '' ,
119
+ 'edit_field_class' => '',
120
+ 'choices' => array(
121
+ '' => array(
122
+ 'label' => __('Normal', 'auxin-elements' ),
123
+ 'image' => AUX_URL . 'images/visual-select/button-normal.svg'
124
+ ),
125
+ '3d' => array(
126
+ 'label' => __('3D', 'auxin-elements' ),
127
+ 'image' => AUX_URL . 'images/visual-select/button-3d.svg'
128
+ ),
129
+ 'outline' => array(
130
+ 'label' => __('Outline', 'auxin-elements' ),
131
+ 'image' => AUX_URL . 'images/visual-select/button-outline.svg'
132
+ )
133
+ )
134
+ ),
135
+
136
+ array(
137
+ 'param_name' => 'uppercase',
138
+ 'type' => 'aux_switch',
139
+ 'def_value' => '',
140
+ 'value' => '0',
141
+ 'holder' => 'dropdown',
142
+ 'class' => 'showheader',
143
+ 'heading' => __('Uppercase label','auxin-elements' ),
144
+ 'description' => '',
145
+ 'admin_label' => true,
146
+ 'dependency' => '',
147
+ 'weight' => '',
148
+ 'group' => '' ,
149
+ 'edit_field_class' => ''
150
+ ),
151
+ array(
152
+ 'param_name' => 'dark',
153
+ 'type' => 'aux_switch',
154
+ 'def_value' => '',
155
+ 'value' => '0',
156
+ 'holder' => 'dropdown',
157
+ 'class' => 'showheader',
158
+ 'heading' => __('Darken the label','auxin-elements' ),
159
+ 'description' => __('Darken label of button while mouse over it.','auxin-elements' ),
160
+ 'admin_label' => true,
161
+ 'dependency' => '',
162
+ 'weight' => '',
163
+ 'group' => '' ,
164
+ 'edit_field_class' => ''
165
+ ),
166
+
167
+ array(
168
+ 'param_name' => 'icon',
169
+ 'type' => 'iconpicker',
170
+ 'def_value' => '',
171
+ 'value' => '',
172
+ 'holder' => 'icon',
173
+ 'class' => 'icon-name',
174
+ 'heading' => __('Icon for button','auxin-elements' ),
175
+ 'description' => '',
176
+ 'admin_label' => true,
177
+ 'dependency' => '',
178
+ 'weight' => '',
179
+ 'group' => '' ,
180
+ 'edit_field_class' => ''
181
+ ),
182
+ array(
183
+ 'param_name' => 'icon_align',
184
+ 'type' => 'dropdown',
185
+ 'def_value' => '',
186
+ 'value' => array(
187
+ '' => __('Default' , 'auxin-elements' ),
188
+ 'left' => __('Left' , 'auxin-elements' ),
189
+ 'right' => __('Right' , 'auxin-elements' ),
190
+ 'over' => __('Over' , 'auxin-elements' ),
191
+ 'left-animate' => __('Animate from Left' , 'auxin-elements' ),
192
+ 'right-animate' => __('Animate from Right' , 'auxin-elements' )
193
+ ),
194
+ 'holder' => 'dropdown',
195
+ 'class' => 'icon-align',
196
+ 'heading' => __('Icon alignment','auxin-elements' ),
197
+ 'description' => '',
198
+ 'admin_label' => true,
199
+ 'dependency' => '',
200
+ 'weight' => '',
201
+ 'group' => '' ,
202
+ 'edit_field_class' => ''
203
+ ),
204
+ array(
205
+ 'param_name' => 'color_name',
206
+ 'type' => 'dropdown',
207
+ 'def_value' => 'carmine-pink',
208
+ 'value' => auxin_get_famous_colors_list(),
209
+ 'holder' => '',
210
+ 'class' => 'color',
211
+ 'heading' => __('Color of Button','auxin-elements' ),
212
+ 'description' => '',
213
+ 'admin_label' => true,
214
+ 'dependency' => '',
215
+ 'weight' => '',
216
+ 'group' => '' ,
217
+ 'edit_field_class' => ''
218
+ ),
219
+ array(
220
+ 'param_name' => 'link',
221
+ 'type' => 'textfield',
222
+ 'value' => '',
223
+ 'def_value' => '',
224
+ 'holder' => 'textfield',
225
+ 'class' => 'link',
226
+ 'heading' => __('Link','auxin-elements' ),
227
+ 'description' => '',
228
+ 'admin_label' => true,
229
+ 'dependency' => '',
230
+ 'weight' => '',
231
+ 'group' => '' ,
232
+ 'edit_field_class' => ''
233
+ ),
234
+ array(
235
+ 'param_name' => 'target',
236
+ 'type' => 'dropdown',
237
+ 'def_value' => '_self',
238
+ 'value' => array(
239
+ '_self' => __('Current page' , 'auxin-elements' ),
240
+ '_blank' => __('New page', 'auxin-elements' )
241
+ ),
242
+ 'holder' => 'dropdown',
243
+ 'class' => 'target',
244
+ 'heading' => __('Open link in','auxin-elements' ),
245
+ 'description' => '',
246
+ 'admin_label' => true,
247
+ 'dependency' => '',
248
+ 'weight' => '',
249
+ 'group' => '' ,
250
+ 'edit_field_class' => ''
251
+ )
252
+ )
253
+ );
254
+
255
+ return $master_array;
256
+ }
257
+
258
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_button_master_array', 10, 1 );
259
+
260
+
261
+ function auxin_widget_button_callback( $atts, $shortcode_content = null ){
262
+
263
+ // Defining default attributes
264
+ $default_atts = array(
265
+ 'label' => '',
266
+ 'size' => 'medium',
267
+ 'border' => '',
268
+ 'style' => '',
269
+ 'uppercase' => '0',
270
+ 'dark' => '0',
271
+ 'icon' => '',
272
+ 'icon_align' => '',
273
+ 'color_name' => 'carmine-pink',
274
+ 'link' => '',
275
+ 'target' => '_self',
276
+
277
+ 'extra_classes' => '',
278
+ 'custom_el_id' => '',
279
+ 'base_class' => 'aux-widget-button'
280
+ );
281
+
282
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
283
+ extract( $result['parsed_atts'] );
284
+
285
+ // --------------------------------------------
286
+ $btn_css_classes = array( 'aux-button' );
287
+ $btn_css_classes[] = 'aux-' . $size; // size
288
+ $btn_css_classes[] = 'aux-' . $border; // border form
289
+ $btn_css_classes[] = 'aux-' . $style; // appearance
290
+ $btn_css_classes[] = 'aux-' . $color_name; // appearance
291
+
292
+
293
+ if( auxin_is_true( $uppercase ) ){
294
+ $btn_css_classes[] = 'aux-uppercase'; // text form
295
+ }
296
+ if( auxin_is_true( $dark ) ){
297
+ $btn_css_classes[] = 'aux-dark-text'; // text color
298
+ }
299
+ if( $icon_align ){
300
+ $btn_css_classes[] = 'aux-icon-' . $icon_align; // icon align
301
+ }
302
+
303
+ $button_class_attr = auxin_make_html_class_attribute( $btn_css_classes );
304
+
305
+ $label = empty( $label ) ? $shortcode_content : $label;
306
+
307
+ $btn_content = '<span class="aux-overlay"></span>';
308
+ $btn_label = '<span class="aux-text">'. auxin_do_cleanup_shortcode( $label ) .'</span>';
309
+ $btn_icon = $icon ? '<span class="aux-icon '. esc_attr($icon) .'"></span>' : '';
310
+
311
+ // if icon is aligned on left
312
+ if( false !== strpos( $icon_align, 'left') ){
313
+ $btn_content .= $btn_icon . $btn_label;
314
+ } else {
315
+ $btn_content .= $btn_label. $btn_icon;
316
+ }
317
+
318
+ $btn_tag = empty( $link ) ? 'button' : 'a';
319
+ $btn_href = empty( $link ) ? '' : ' href="'. $link .'" target="'. $target .'" ';
320
+
321
+
322
+ $output = '';
323
+
324
+ // widget custom output -----------------------
325
+
326
+ $output .= "<$btn_tag $btn_href $button_class_attr>";
327
+ $output .= $btn_content;
328
+ $output .= "</$btn_tag>";
329
+
330
+ return $output;
331
+ }
includes/elements/code.php ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Code highlighter element
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+
13
+ function auxin_get_code_master_array( $master_array ) {
14
+
15
+ $master_array['aux_code'] = array(
16
+ 'name' => __('[Phlox] Code', 'auxin-elements' ),
17
+ 'auxin_output_callback' => 'auxin_widget_code_callback',
18
+ 'base' => 'aux_code',
19
+ 'description' => __('It adds a code element.', 'auxin-elements' ),
20
+ 'class' => 'aux-widget-code',
21
+ 'show_settings_on_create' => true,
22
+ 'weight' => 1,
23
+ 'is_widget' => false,
24
+ 'is_shortcode' => true,
25
+ 'is_so' => true,
26
+ 'is_vc' => true,
27
+ 'category' => THEME_NAME,
28
+ 'group' => '',
29
+ 'admin_enqueue_js' => '',
30
+ 'admin_enqueue_css' => '',
31
+ 'front_enqueue_js' => '',
32
+ 'front_enqueue_css' => '',
33
+ 'icon' => 'auxin-element auxin-code',
34
+ 'custom_markup' => '',
35
+ 'js_view' => '',
36
+ 'html_template' => '',
37
+ 'deprecated' => '',
38
+ 'content_element' => '',
39
+ 'as_parent' => '',
40
+ 'as_child' => '',
41
+ 'params' => array(
42
+ array(
43
+ 'param_name' => 'title',
44
+ 'type' => 'textfield',
45
+ 'std' => '',
46
+ 'value' => '',
47
+ 'holder' => 'textfield',
48
+ 'class' => 'title',
49
+ 'heading' => __('Title','auxin-elements' ),
50
+ 'description' => '',
51
+ 'admin_label' => true,
52
+ 'dependency' => '',
53
+ 'weight' => '',
54
+ 'group' => '' ,
55
+ 'edit_field_class' => ''
56
+ ),
57
+ array(
58
+ 'param_name' => 'content',
59
+ 'type' => 'textarea_html',
60
+ 'value' => '',
61
+ 'def_value' => '',
62
+ 'holder' => 'div',
63
+ 'class' => 'content',
64
+ 'heading' => __('Code','auxin-elements' ),
65
+ 'description' => '',
66
+ 'admin_label' => true,
67
+ 'dependency' => '',
68
+ 'weight' => '',
69
+ 'group' => '' ,
70
+ 'edit_field_class' => ''
71
+ ),
72
+ array( // @TODO: language option does not work here
73
+ 'param_name' => 'language',
74
+ 'type' => 'dropdown',
75
+ 'def_value' => 'javascript ',
76
+ 'value' => array(
77
+ 'javascript ' => __('javascript' , 'auxin-elements' ) ,
78
+ 'html' => __('html' , 'auxin-elements' ),
79
+ 'xml' => __('xml' , 'auxin-elements' )
80
+ ),
81
+ 'holder' => 'dropdown',
82
+ 'class' => 'language',
83
+ 'heading' => __('Language','auxin-elements' ),
84
+ 'description' => '',
85
+ 'admin_label' => true,
86
+ 'dependency' => '',
87
+ 'weight' => '',
88
+ 'group' => '' ,
89
+ 'edit_field_class' => ''
90
+ ),
91
+ array(
92
+ 'param_name' => 'theme',
93
+ 'type' => 'dropdown',
94
+ 'value' => array(
95
+ 'tomorrow ' => __('tomorrow' , 'auxin-elements' ) ,
96
+ 'dark' => __('Dark' , 'auxin-elements' ),
97
+ 'far' => __('far' , 'auxin-elements' ),
98
+ 'googlecode' => __('googlecode' , 'auxin-elements' ),
99
+ 'github.com' => __('github' , 'auxin-elements' ),
100
+ 'monokai' => __('monokai' , 'auxin-elements' )
101
+ ),
102
+ 'holder' => 'dropdown',
103
+ 'class' => 'theme',
104
+ 'heading' => __('Theme','auxin-elements' ),
105
+ 'description' => __('Specifies the theme for code element.','auxin-elements' ),
106
+ 'admin_label' => true,
107
+ 'dependency' => '',
108
+ 'weight' => '',
109
+ 'group' => '' ,
110
+ 'edit_field_class' => ''
111
+ ),
112
+ array(
113
+ 'param_name' => 'extra_classes',
114
+ 'type' => 'textfield',
115
+ 'value' => '',
116
+ 'def_value' => '',
117
+ 'holder' => 'textfield',
118
+ 'class' => 'extra_classes',
119
+ 'heading' => __('Extra class name','auxin-elements' ),
120
+ 'description' => __('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'auxin-elements' ),
121
+ 'admin_label' => true,
122
+ 'dependency' => '',
123
+ 'weight' => '',
124
+ 'group' => '' ,
125
+ 'edit_field_class' => ''
126
+ )
127
+ )
128
+ );
129
+
130
+ return $master_array;
131
+ }
132
+
133
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_code_master_array', 10, 1 );
134
+
135
+
136
+
137
+
138
+ /**
139
+ * Element without loop and column
140
+ * The front-end output of this element is returned by the following function
141
+ *
142
+ * @param array $atts The array containing the parsed values from shortcode, it should be same as defined params above.
143
+ * @param string $shortcode_content The shorcode content
144
+ * @return string The output of element markup
145
+ */
146
+ function auxin_widget_code_callback( $atts, $shortcode_content = null ){
147
+
148
+ // Defining default attributes
149
+ $default_atts = array(
150
+ 'title' => '', // header title
151
+ 'content' => '', // custom css class names for this element
152
+ 'language' => 'javascript',
153
+ 'theme' => 'tomorrow',
154
+
155
+ 'extra_classes' => '',
156
+ 'custom_el_id' => '',
157
+ 'base_class' => 'aux-widget-code'
158
+ );
159
+
160
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
161
+ extract( $result['parsed_atts'] );
162
+
163
+ ob_start();
164
+
165
+ // widget header ------------------------------
166
+ echo $result['widget_header'];
167
+ echo $result['widget_title'];
168
+
169
+ $themes = array(
170
+ 'default',
171
+ 'dark',
172
+ 'far',
173
+ 'github.com',
174
+ 'googlecode',
175
+ 'idea',
176
+ 'magula',
177
+ 'monokai',
178
+ 'rainbow',
179
+ 'sunburst',
180
+ 'tomorrow-night-bright',
181
+ 'tomorrow-night-eighties',
182
+ 'tomorrow-night',
183
+ 'tomorrow',
184
+ 'vs',
185
+ 'xcode',
186
+ 'zenburn'
187
+ );
188
+ if( ! in_array( $theme, $themes ) ){
189
+ $theme = 'default';
190
+ }
191
+ // @TODO: it seems highlight already enqoue in page since it merges with othe scripts
192
+ // wp_enqueue_script('highlightjs');
193
+
194
+ wp_enqueue_style ('highlightjs', THEME_URL . 'css/other/highlightjs/' . $theme . '.css' , NULL, '7.2');
195
+ //wp_register_script('highlightjs' , THEME_URL . 'js/libs/modules/highlight.pack.js', null, '7.2', TRUE);
196
+
197
+ echo '<pre class="aux-widget-code ' . $extra_classes . '">' .
198
+ '<code class="' . $language . '">' . do_shortcode($content) .
199
+ '</code></pre>';
200
+
201
+ // widget footer ------------------------------
202
+ echo $result['widget_footer'];
203
+
204
+ return ob_get_clean();
205
+ }
includes/elements/contact-box.php ADDED
@@ -0,0 +1,429 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Contact box element
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+
13
+ function get_auxin_contact_box( $master_array ) {
14
+
15
+ $master_array['aux_contact_box'] = array(
16
+ 'name' => __("[Phlox] Contact Box", 'auxin-elements' ),
17
+ 'auxin_output_callback' => 'auxin_widget_contact_box',
18
+ 'base' => 'aux_contact_box',
19
+ 'description' => __('It adds a contact box element.', 'auxin-elements'),
20
+ 'class' => 'aux-widget-contact-box',
21
+ 'show_settings_on_create' => true,
22
+ 'weight' => 1,
23
+ 'category' => THEME_NAME,
24
+ 'group' => '',
25
+ 'admin_enqueue_js' => '',
26
+ 'admin_enqueue_css' => '',
27
+ 'front_enqueue_js' => '',
28
+ 'front_enqueue_css' => '',
29
+ 'icon' => 'auxin-element auxin-message-box',
30
+ 'custom_markup' => '',
31
+ 'js_view' => '',
32
+ 'html_template' => '',
33
+ 'deprecated' => '',
34
+ 'content_element' => '',
35
+ 'as_parent' => '',
36
+ 'as_child' => '',
37
+ 'params' => array(
38
+ array(
39
+ 'param_name' => 'title',
40
+ 'type' => 'textfield',
41
+ 'value' => '',
42
+ 'def_value' => '',
43
+ 'holder' => 'textfield',
44
+ 'class' => 'id',
45
+ 'heading' => __('Title','auxin-elements'),
46
+ 'description' => '',
47
+ 'admin_label' => true,
48
+ 'dependency' => '',
49
+ 'weight' => '',
50
+ 'group' => '' ,
51
+ 'edit_field_class' => ''
52
+ ),
53
+ array(
54
+ 'param_name' => 'email',
55
+ 'type' => 'textfield',
56
+ 'value' => '',
57
+ 'holder' => 'textfield',
58
+ 'class' => 'title',
59
+ 'heading' => __('Email','auxin-elements'),
60
+ 'description' => __('The contact box email address.', 'auxin-elements'),
61
+ 'admin_label' => true,
62
+ 'dependency' => '',
63
+ 'weight' => '',
64
+ 'group' => '' ,
65
+ 'edit_field_class' => ''
66
+ ),
67
+ array(
68
+ 'param_name' => 'telephone',
69
+ 'type' => 'textfield',
70
+ 'value' => '',
71
+ 'holder' => 'textfield',
72
+ 'class' => 'telephone',
73
+ 'heading' => __('Telephone','auxin-elements'),
74
+ 'description' => __('The contact box phone number.', 'auxin-elements'),
75
+ 'admin_label' => true,
76
+ 'weight' => '',
77
+ 'group' => '',
78
+ 'edit_field_class' => ''
79
+ ),
80
+ array(
81
+ 'param_name' => 'address',
82
+ 'type' => 'textfield',
83
+ 'value' => '',
84
+ 'holder' => 'textfield',
85
+ 'class' => '',
86
+ 'heading' => __('Address','auxin-elements'),
87
+ 'description' => __('The contact box address.', 'auxin-elements'),
88
+ 'admin_label' => true,
89
+ 'weight' => '',
90
+ 'group' => '',
91
+ 'edit_field_class' => ''
92
+ ),
93
+ array(
94
+ 'param_name' => 'show_socials',
95
+ 'type' => 'aux_switch',
96
+ 'def_value' => '',
97
+ 'value' => '1',
98
+ 'holder' => 'dropdown',
99
+ 'class' => 'show_socials',
100
+ 'heading' => __('Show Socials','auxin-elements'),
101
+ 'description' => __('Show socials below the info.','auxin-elements'),
102
+ 'admin_label' => true,
103
+ 'dependency' => '',
104
+ 'weight' => '',
105
+ 'group' => '' ,
106
+ 'edit_field_class' => ''
107
+ ),
108
+ array(
109
+ 'param_name' => 'show_map',
110
+ 'type' => 'aux_switch',
111
+ 'def_value' => '',
112
+ 'value' => '0',
113
+ 'holder' => 'dropdown',
114
+ 'class' => 'show_map',
115
+ 'heading' => __('Show Map','auxin-elements'),
116
+ 'description' => __('Show map above the info.','auxin-elements'),
117
+ 'admin_label' => true,
118
+ 'dependency' => '',
119
+ 'weight' => '',
120
+ 'group' => '' ,
121
+ 'edit_field_class' => ''
122
+ ),
123
+ array(
124
+ 'param_name' => 'height',
125
+ 'type' => 'textfield',
126
+ 'value' => '160',
127
+ 'def_value' => '160',
128
+ 'holder' => 'textfield',
129
+ 'class' => 'height',
130
+ 'heading' => __('Map height','auxin-elements'),
131
+ 'description' => __('Height of the map in pixels.', 'auxin-elements'),
132
+ 'admin_label' => true,
133
+ 'dependency' => array(
134
+ 'element' => 'show_map',
135
+ 'value' => '1'
136
+ ),
137
+ 'weight' => '',
138
+ 'group' => '' ,
139
+ 'edit_field_class' => ''
140
+ ),
141
+ array(
142
+ 'param_name' => 'latitude',
143
+ 'type' => 'textfield',
144
+ 'value' => '40.7',
145
+ 'holder' => 'textfield',
146
+ 'class' => '',
147
+ 'heading' => __('Latitude','auxin-elements'),
148
+ 'description' => __('Latitude location over the map.', 'auxin-elements'),
149
+ 'admin_label' => true,
150
+ 'dependency' => array(
151
+ 'element' => 'show_map',
152
+ 'value' => '1'
153
+ ),
154
+ 'weight' => '',
155
+ 'group' => '' ,
156
+ 'edit_field_class' => ''
157
+ ),
158
+ array(
159
+ 'param_name' => 'longitude',
160
+ 'type' => 'textfield',
161
+ 'value' => '-74',
162
+ 'holder' => 'textfield',
163
+ 'class' => '',
164
+ 'heading' => __('Longitude','auxin-elements'),
165
+ 'description' => __('Longitude location over the map.', 'auxin-elements'),
166
+ 'admin_label' => true,
167
+ 'dependency' => array(
168
+ 'element' => 'show_map',
169
+ 'value' => '1'
170
+ ),
171
+ 'weight' => '',
172
+ 'group' => '' ,
173
+ 'edit_field_class' => ''
174
+ ),
175
+ array(
176
+ 'param_name' => 'type',
177
+ 'type' => 'dropdown',
178
+ 'def_value' => 'ROADMAP',
179
+ 'value' => array( 'ROADMAP' => __('ROADMAP', 'auxin-elements'), 'SATELLITE' => __('SATELLITE', 'auxin-elements') ),
180
+ 'holder' => 'dropdown',
181
+ 'class' => 'type',
182
+ 'heading' => __('Map Type','auxin-elements'),
183
+ 'dependency' => array(
184
+ 'element' => 'show_map',
185
+ 'value' => '1'
186
+ ),
187
+ 'admin_label' => true,
188
+ 'weight' => '',
189
+ 'group' => '' ,
190
+ 'edit_field_class' => ''
191
+ ),
192
+ array(
193
+ 'param_name' => 'style',
194
+ 'type' => 'textarea_html',
195
+ 'def_value' => '',
196
+ 'value' => '',
197
+ 'holder' => 'div',
198
+ 'class' => 'style',
199
+ 'heading' => __('Map style','auxin-elements'),
200
+ 'description' => __('This feild allow you to customize the presentation of the standard Google base maps. You can find many preset styles in ', 'auxin-elements') .
201
+ '<a href="https://snazzymaps.com/" target="_blank">' . __('this website.', 'auxin-elements') . '</a>' ,
202
+ 'admin_label' => false,
203
+ 'dependency' => array(
204
+ // array(
205
+ 'element' => 'show_map',
206
+ 'value' => '1'
207
+ // ),
208
+ // @TODO: this kind of dependency is not working we should fix it later
209
+ // array(
210
+ // 'element' => 'type',
211
+ // 'value' => 'ROADMAP'
212
+ // ),
213
+ // 'relation'=> 'and'
214
+ ),
215
+ 'weight' => '',
216
+ 'group' => '' ,
217
+ 'edit_field_class' => ''
218
+ ),
219
+ array(
220
+ 'param_name' => 'marker_info',
221
+ 'type' => 'textfield',
222
+ 'value' => '',
223
+ 'def_value' => '',
224
+ 'holder' => 'textfield',
225
+ 'class' => 'marker_info',
226
+ 'heading' => __('Marker info','auxin-elements'),
227
+ 'description' => __('Marker popup text, leave it empty if you don\'t need it.', 'auxin-elements'),
228
+ 'admin_label' => true,
229
+ 'dependency' => array(
230
+ 'element' => 'show_map',
231
+ 'value' => '1'
232
+ ),
233
+ 'weight' => '',
234
+ 'group' => '' ,
235
+ 'edit_field_class' => ''
236
+ ),
237
+ array(
238
+ 'param_name' => 'show_mapcontrols',
239
+ 'type' => 'aux_switch',
240
+ 'def_value' => '',
241
+ 'value' => '0',
242
+ 'holder' => 'dropdown',
243
+ 'class' => 'show_mapcontrols',
244
+ 'heading' => __('Navigation control','auxin-elements'),
245
+ 'description' => __('Show nacigation control on map.','auxin-elements'),
246
+ 'admin_label' => true,
247
+ 'dependency' => array(
248
+ 'element' => 'show_map',
249
+ 'value' => '1'
250
+ ),
251
+ 'weight' => '',
252
+ 'group' => '' ,
253
+ 'edit_field_class' => ''
254
+ ),
255
+ array(
256
+ 'param_name' => 'zoom',
257
+ 'type' => 'textfield',
258
+ 'value' => '10',
259
+ 'holder' => 'textfield',
260
+ 'class' => '',
261
+ 'heading' => __('Zoom','auxin-elements'),
262
+ 'description' => __('The initial resolution at which to display the map, between 1 to 20.', 'auxin-elements'),
263
+ 'admin_label' => true,
264
+ 'dependency' => array(
265
+ 'element' => 'show_map',
266
+ 'value' => '1'
267
+ ),
268
+ 'weight' => '',
269
+ 'group' => '' ,
270
+ 'edit_field_class' => ''
271
+ ),
272
+ array(
273
+ 'param_name' => 'zoom_wheel',
274
+ 'type' => 'aux_switch',
275
+ 'def_value' => '',
276
+ 'value' => '0',
277
+ 'holder' => 'dropdown',
278
+ 'class' => 'zoom_wheel',
279
+ 'heading' => __('Zoom with mouse wheel','auxin-elements'),
280
+ 'description' => '',
281
+ 'admin_label' => true,
282
+ 'dependency' => array(
283
+ 'element' => 'show_map',
284
+ 'value' => '1'
285
+ ),
286
+ 'weight' => '',
287
+ 'group' => '' ,
288
+ 'edit_field_class' => ''
289
+ ),
290
+ array(
291
+ 'param_name' => 'extra_classes',
292
+ 'type' => 'textfield',
293
+ 'value' => '',
294
+ 'def_value' => '',
295
+ 'holder' => 'textfield',
296
+ 'class' => 'extra_classes',
297
+ 'heading' => __('Extra class name','auxin-elements'),
298
+ 'description' => __('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'auxin-elements'),
299
+ 'admin_label' => true,
300
+ 'dependency' => '',
301
+ 'weight' => '',
302
+ 'group' => '' ,
303
+ 'edit_field_class' => ''
304
+ )
305
+
306
+ )
307
+ );
308
+
309
+ return $master_array;
310
+ }
311
+
312
+ add_filter( 'auxin_master_array_shortcodes', 'get_auxin_contact_box', 10, 1 );
313
+
314
+ /**
315
+ * The front-end output of this element is returned by the following function
316
+ *
317
+ * @param array $atts The array containing the parsed values from shortcode, it should be same as defined params above.
318
+ * @param string $shortcode_content The shorcode content
319
+ * @return string The output of element markup
320
+ */
321
+ function auxin_widget_contact_box( $atts, $shortcode_content = null ){
322
+
323
+ // Defining default attributes
324
+ $default_atts = array(
325
+ 'title' => '', // header title
326
+ 'style' => '',
327
+ 'show_map' => '0',
328
+ 'show_socials' => '1',
329
+ 'email' => '',
330
+ 'telephone' => '',
331
+ 'address' => '',
332
+ 'type' => 'ROADMAP',
333
+ 'zoom' => '10',
334
+ 'zoom_wheel' => '0',
335
+ 'marker_info' => '',
336
+ 'show_mapcontrols' => '0',
337
+ 'latitude' => 40.7,
338
+ 'longitude' => -74,
339
+ 'height' => 160,
340
+ 'extra_classes' => '', // custom css class names for this element
341
+ 'base_class' => 'aux-widget-contact-box' // base class name for container
342
+ );
343
+
344
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
345
+ extract( $result['parsed_atts'] );
346
+
347
+ ob_start();
348
+
349
+ // widget header ------------------------------
350
+ echo $result['widget_header'];
351
+ echo $result['widget_title'];
352
+ ?>
353
+ <!--- The output for element here -->
354
+ <?php
355
+
356
+ if( $show_map ){
357
+ // enqueue google map scripts
358
+ wp_enqueue_script ('gmaps');
359
+
360
+ $mapid = uniqid("axi_map");
361
+ $marker_title = '';
362
+
363
+ if ( empty( $style ) ) {
364
+ $style = auxin_get_gmap_style();
365
+ }
366
+ ?>
367
+
368
+ <div id="<?php echo $mapid; ?>" class="aux_map_wrapper <?php echo $extra_classes; ?>" style="height:<?php echo $height; ?>px" ></div>
369
+
370
+ <script>
371
+ jQuery( function($) {
372
+ var map = new GMaps({
373
+ el: "#<?php echo $mapid; ?>",
374
+ lat: <?php echo $latitude; ?>,
375
+ lng: <?php echo $longitude; ?>,
376
+ zoom: <?php echo $zoom; ?>,
377
+ scrollwheel: <?php echo $zoom_wheel; ?>,
378
+ <?php if($type == "SATELLITE"){ ?>
379
+ mapTypeId: google.maps.MapTypeId.SATELLITE,
380
+ <?php } else { ?> mapTypeId: google.maps.MapTypeId.ROADMAP,
381
+ <?php } if ( $show_mapcontrols == false ) { ?>
382
+ disableDefaultUI: true,
383
+ <?php } ?>
384
+ panControl : true
385
+ });
386
+
387
+ <?php if($type == "ROADMAP"){ ?>
388
+ map.addStyle({
389
+ styledMapName:"Auxin custom style map",
390
+ styles: <?php echo $style; ?>,
391
+ mapTypeId: "aux_map_style"
392
+ });
393
+
394
+ map.setStyle("aux_map_style");
395
+ <?php } ?>
396
+ map.addMarker({
397
+ <?php if ( ! empty( $marker_info ) ) { ?>
398
+ infoWindow: { content: "<?php echo $marker_info; ?>" },
399
+ <?php } ?>
400
+ lat: <?php echo $latitude; ?>,
401
+ lng: <?php echo $longitude; ?>
402
+ });
403
+ });
404
+
405
+ </script>
406
+ <?php } ?>
407
+
408
+ <ul>
409
+ <?php if( ! empty( $telephone ) ){ ?>
410
+ <li class="phone"><i class="auxicon-phone-classic-on"></i><span class="info-text"><?php echo $telephone; ?></span></li>
411
+ <?php } if( ! empty( $email ) ){ ?>
412
+ <li class="email"><i class="auxicon-mail-3"></i><span class="info-text"><?php echo $email; ?></span></li>
413
+ <?php } if( ! empty( $address ) ){ ?>
414
+ <li class="address"><i class="auxicon-map-pin-streamline"></i><span class="info-text"><?php echo $address; ?></span></li>
415
+ <?php } ?>
416
+ </ul>
417
+
418
+ <?php
419
+ if( $show_socials ) {
420
+ echo auxin_the_socials();
421
+ }
422
+ ?>
423
+
424
+ <?php
425
+ // widget footer ------------------------------
426
+ echo $result['widget_footer'];
427
+
428
+ return ob_get_clean();
429
+ }
includes/elements/contact-form.php ADDED
@@ -0,0 +1,254 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Contact form element
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+
13
+ function auxin_get_contact_form_master_array( $master_array ) {
14
+
15
+ $master_array['aux_contact_form'] = array(
16
+ 'name' => __('[Phlox] Contact Form', 'auxin-elements' ),
17
+ 'auxin_output_callback' => 'auxin_widget_contact_form_callback',
18
+ 'base' => 'aux_contact_form',
19
+ 'description' => __('It adds a contact form element.', 'auxin-elements' ),
20
+ 'class' => 'aux-widget-contact-form',
21
+ 'show_settings_on_create' => true,
22
+ 'weight' => 1,
23
+ 'is_widget' => true,
24
+ 'is_shortcode' => true,
25
+ 'is_so' => true,
26
+ 'is_vc' => true,
27
+ 'category' => THEME_NAME,
28
+ 'group' => '',
29
+ 'admin_enqueue_js' => '',
30
+ 'admin_enqueue_css' => '',
31
+ 'front_enqueue_js' => '',
32
+ 'front_enqueue_css' => '',
33
+ 'icon' => 'auxin-element auxin-contact-form',
34
+ 'custom_markup' => '',
35
+ 'js_view' => '',
36
+ 'html_template' => '',
37
+ 'deprecated' => '',
38
+ 'content_element' => '',
39
+ 'as_parent' => '',
40
+ 'as_child' => '',
41
+ 'params' => array(
42
+ array(
43
+ 'param_name' => 'title',
44
+ 'type' => 'textfield',
45
+ 'value' => '',
46
+ 'def_value' => '',
47
+ 'holder' => 'textfield',
48
+ 'class' => 'title',
49
+ 'heading' => __('Title','auxin-elements' ),
50
+ 'description' => __('Adds a title to the contact form.', 'auxin-elements' ),
51
+ 'admin_label' => true,
52
+ 'dependency' => '',
53
+ 'weight' => '',
54
+ 'group' => '' ,
55
+ 'edit_field_class' => ''
56
+ ),
57
+ array(
58
+ 'param_name' => 'email',
59
+ 'type' => 'textfield',
60
+ 'value' => '',
61
+ 'def_value' => '',
62
+ 'holder' => 'textfield',
63
+ 'class' => 'email',
64
+ 'heading' => __('Email','auxin-elements' ),
65
+ 'description' => __('The email address of message\'s recipient', 'auxin-elements' ),
66
+ 'admin_label' => true,
67
+ 'dependency' => '',
68
+ 'weight' => '',
69
+ 'group' => '' ,
70
+ 'edit_field_class' => ''
71
+ ),
72
+ array(
73
+ 'param_name' => 'type',
74
+ 'type' => 'dropdown',
75
+ 'value' => array(
76
+ 'phlox' => __('Phlox Contact Form', 'auxin-elements' ),
77
+ 'cf7' => __('Contact Form 7 plugin', 'auxin-elements' ),
78
+ ),
79
+ 'std' => "phlox",
80
+ 'def_value' => '',
81
+ 'holder' => 'textfield',
82
+ 'class' => 'width',
83
+ 'heading' => __('Contact form type','auxin-elements' ),
84
+ 'description' => __('Specifies the contact form element\'s type. The built-in form or adds Contact Form 7.', 'auxin-elements' ),
85
+ 'admin_label' => true,
86
+ 'weight' => '',
87
+ 'group' => '' ,
88
+ 'edit_field_class' => ''
89
+ ),
90
+ array(
91
+ 'param_name' => 'cf7_shortcode',
92
+ 'type' => 'textfield',
93
+ 'value' => '',
94
+ 'def_value' => '',
95
+ 'holder' => 'textfield',
96
+ 'class' => 'cf7_shortcode',
97
+ 'heading' => __('Contact form 7 shortcode','auxin-elements' ),
98
+ 'description' => '',
99
+ 'admin_label' => true,
100
+ 'dependency' => array(
101
+ 'element' => 'type',
102
+ 'value' => 'cf7'
103
+ ),
104
+ 'weight' => '',
105
+ 'group' => '' ,
106
+ 'edit_field_class' => ''
107
+ ),
108
+ array(
109
+ 'param_name' => 'extra_classes',
110
+ 'type' => 'textfield',
111
+ 'value' => '',
112
+ 'def_value' => '',
113
+ 'holder' => 'textfield',
114
+ 'class' => 'extra_classes',
115
+ 'heading' => __('Extra class name','auxin-elements' ),
116
+ 'description' => __('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'auxin-elements' ),
117
+ 'admin_label' => true,
118
+ 'admin_label' => true,
119
+ 'weight' => '',
120
+ 'group' => '' ,
121
+ 'edit_field_class' => ''
122
+ )
123
+ )
124
+ );
125
+
126
+ return $master_array;
127
+ }
128
+
129
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_contact_form_master_array', 10, 1 );
130
+
131
+ /**
132
+ * The front-end output of this element is returned by the following function
133
+ *
134
+ * @param array $atts The array containing the parsed values from shortcode, it should be same as defined params above.
135
+ * @param string $shortcode_content The shorcode content
136
+ * @return string The output of element markup
137
+ */
138
+ function auxin_widget_contact_form_callback( $atts, $shortcode_content = null ){
139
+
140
+ // Defining default attributes
141
+ $default_atts = array(
142
+ 'title' => '', // header title
143
+ 'size' => '33', // section size
144
+ 'email' => '',
145
+ 'type' => 'phlox',
146
+ 'cf7_shortcode' => '',
147
+
148
+ 'extra_classes' => '',
149
+ 'custom_el_id' => '',
150
+ 'base_class' => 'aux-widget-contact-form' // base class name for container
151
+ );
152
+
153
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
154
+ extract( $result['parsed_atts'] );
155
+
156
+
157
+ if( empty( $wcf7 ) && isset( $_POST['formSubmitted'] ) ) {
158
+
159
+ if(trim($_POST['cName']) === '' ) {
160
+ $nameError = __('Please enter your name.', 'auxin-elements' );
161
+ $hasError = true;
162
+ } else {
163
+ $name = trim($_POST['cName']);
164
+ }
165
+
166
+ if( trim($_POST['cEmail']) === '' ) {
167
+ $emailError = __('Please enter your email address.', 'auxin-elements' );
168
+ $hasError = true;
169
+ } else if (!preg_match("/^[[:alnum:]][a-z0-9_.-]*@[a-z0-9.-]+\.[a-z]{2,4}$/i", trim($_POST['cEmail']))) {
170
+ $emailError = __('You entered an invalid email address.', 'auxin-elements' );
171
+ $hasError = true;
172
+ } else {
173
+ $cEmail = trim($_POST['cEmail']);
174
+ }
175
+
176
+
177
+ $url = trim($_POST['cURL']);
178
+
179
+
180
+ if(trim($_POST['cComment']) === '' ) {
181
+ $commentError = __('Please enter a message.', 'auxin-elements' );
182
+ $hasError = true;
183
+ } else {
184
+ if(function_exists('stripslashes')) {
185
+ $comment = stripslashes(trim($_POST['cComment']));
186
+ } else {
187
+ $comment = trim($_POST['cComment']);
188
+ }
189
+ }
190
+
191
+ if(!isset($hasError)) {
192
+ $emailTo = $email;
193
+ if (!isset($emailTo) || empty($emailTo) ){
194
+ $emailTo = get_option('admin_email');
195
+ }
196
+ $subject = 'From '.$name.' ['.$cEmail.'] ';
197
+ $body = "Name: $name \n\nEmail: $cEmail \n\nWebsite: $url \n\nMessage: $comment";
198
+ $headers = 'From: '.$name.' <'.$emailTo.'>' . "\r\n" . 'Reply-To: ' . $email;
199
+
200
+ wp_mail($emailTo, $subject, $body, $headers);
201
+ $emailSent = true;
202
+ }
203
+ }
204
+
205
+ ob_start();
206
+
207
+ // widget header ------------------------------
208
+ echo $result['widget_header'];
209
+ echo $result['widget_title'];
210
+ ?>
211
+ <div class="aux-col-wrapper aux-no-gutter">
212
+ <!-- @TODO - The output for element here -->
213
+
214
+ <?php if( $type == "phlox" ){ ?>
215
+
216
+ <?php if(isset($hasError) ) { ?>
217
+ <p style="color:#B2950E" >
218
+ <span id="info"><?php _e("sorry, some problems occured with your form submission:", 'auxin-elements' ); ?>
219
+ <?php
220
+ if(isset($nameError )) echo '<br/>- '.$nameError;
221
+ if(isset($emailError)) echo '<br/>- '.$emailError;
222
+ if(isset($commentError)) echo '<br/>- '.$commentError;
223
+ ?>
224
+ </span>
225
+ </p>
226
+ <?php } ?>
227
+
228
+ <form action="<?php the_permalink(); ?>" id="contactForm" class="aux-contact-form" method="post" >
229
+ <input type="text" name="cName" id="cName" placeholder="Name" required >
230
+ <input type="email" name="cEmail" id="cEmail" placeholder="E-Mail" required >
231
+ <input type="text" name="cURL" id="cURL" placeholder="Website" >
232
+ <textarea name="cComment" id="cComment" placeholder="Message" required></textarea>
233
+ <input type="submit" id="submit" class="submit" value="<?php esc_attr_e('Submit', 'auxin-elements' ); ?>" >
234
+
235
+ <?php if(isset($emailSent) && $emailSent == true) { ?>
236
+ <p style="color:#598527;"><i class="icon-ok" style="margin:5px;"></i><span id="info"><?php _e("Thanks for your Message. Your message sent successfully.", 'auxin-elements' ); ?></span></p>
237
+ <?php } ?>
238
+
239
+ <input type="hidden" name="formSubmitted" id="formSubmitted" value="true" />
240
+ </form>
241
+
242
+ <?php } else {
243
+ echo do_shortcode($cf7_shortcode);
244
+ } ?>
245
+
246
+
247
+ </div><!-- aux-col-wrapper -->
248
+ <?php
249
+ // widget footer ------------------------------
250
+ echo $result['widget_footer'];
251
+
252
+ return ob_get_clean();
253
+ }
254
+
includes/elements/divider.php ADDED
@@ -0,0 +1,231 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Divider element
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+
13
+ function auxin_get_divider_master_array( $master_array ) {
14
+
15
+ $master_array['aux_divider'] = array(
16
+ 'name' => __('[Phlox] Divider', 'auxin-elements' ),
17
+ 'auxin_output_callback' => 'auxin_widget_divider_callback',
18
+ 'base' => 'aux_divider',
19
+ 'description' => __('Horizontal seperator', 'auxin-elements'),
20
+ 'class' => 'aux-widget-divider',
21
+ 'show_settings_on_create' => true,
22
+ 'weight' => 1,
23
+ 'is_widget' => true,
24
+ 'is_shortcode' => true,
25
+ 'is_so' => true,
26
+ 'is_vc' => false,
27
+ 'category' => THEME_NAME,
28
+ 'group' => '',
29
+ 'admin_enqueue_js' => '',
30
+ 'admin_enqueue_css' => '',
31
+ 'front_enqueue_js' => '',
32
+ 'front_enqueue_css' => '',
33
+ 'icon' => 'auxin-element auxin-divider',
34
+ 'custom_markup' => '',
35
+ 'js_view' => '',
36
+ 'html_template' => '',
37
+ 'deprecated' => '',
38
+ 'content_element' => '',
39
+ 'as_parent' => '',
40
+ 'as_child' => '',
41
+ 'params' => array(
42
+ array(
43
+ 'param_name' => 'style',
44
+ 'type' => 'aux_visual_select',
45
+ 'std' => "solid",
46
+ 'holder' => 'dropdown',
47
+ 'class' => 'style',
48
+ 'heading' => __('Divider Style','auxin-elements'),
49
+ 'description' => '',
50
+ 'admin_label' => true,
51
+ 'dependency' => '',
52
+ 'weight' => '',
53
+ 'group' => '' ,
54
+ 'edit_field_class' => '',
55
+ 'choices' => array(
56
+ 'white-space' => array(
57
+ 'label' => __('White Space', 'auxin-elements'),
58
+ 'image' => AUX_URL . 'images/visual-select/divider-white-space.svg'
59
+ ),
60
+ 'solid' => array(
61
+ 'label' => __('Solid', 'auxin-elements'),
62
+ 'image' => AUX_URL . 'images/visual-select/divider-solid.svg'
63
+ ),
64
+ 'dashed' => array(
65
+ 'label' => __('Dashed', 'auxin-elements'),
66
+ 'image' => AUX_URL . 'images/visual-select/divider-dashed.svg'
67
+ ),
68
+ 'circle-symbol' => array(
69
+ 'label' => __('Circle', 'auxin-elements'),
70
+ 'image' => AUX_URL . 'images/visual-select/divider-circle.svg'
71
+ ),
72
+ 'diamond-symbol' => array(
73
+ 'label' => __('Diamond', 'auxin-elements'),
74
+ 'image' => AUX_URL . 'images/visual-select/divider-diamond.svg'
75
+ )
76
+ )
77
+ ),
78
+ array(
79
+ 'param_name' => 'width',
80
+ 'type' => 'dropdown',
81
+ 'value' => array(
82
+ 'large' => __('Large', 'auxin-elements'),
83
+ 'medium' => __('Medium', 'auxin-elements'),
84
+ 'small' => __('Small', 'auxin-elements')
85
+ ),
86
+ 'std' => 'medium',
87
+ 'def_value' => 'medium',
88
+ 'holder' => 'textfield',
89
+ 'class' => 'width',
90
+ 'heading' => __('Width','auxin-elements'),
91
+ 'description' => __('Specifies the size of divider.', 'auxin-elements'),
92
+ 'admin_label' => true,
93
+ 'dependency' => array(
94
+ 'element' => 'style',
95
+ 'value' => array('solid', 'dashed', 'circle-symbol', 'diamond-symbol')
96
+ ),
97
+ 'weight' => '',
98
+ 'group' => '' ,
99
+ 'edit_field_class' => ''
100
+ ),
101
+ array(
102
+ 'param_name' => 'margin_top',
103
+ 'type' => 'textfield',
104
+ 'value' => '',
105
+ 'def_value' => '',
106
+ 'holder' => 'textfield',
107
+ 'class' => 'margin_top',
108
+ 'heading' => __('Margin top (px)','auxin-elements'),
109
+ 'description' => __('Adds space above the divider in pixels.', 'auxin-elements'),
110
+ 'admin_label' => false,
111
+ 'dependency' => '',
112
+ 'weight' => '',
113
+ 'group' => '' ,
114
+ 'edit_field_class' => ''
115
+ ),
116
+ array(
117
+ 'param_name' => 'margin_bottom',
118
+ 'type' => 'textfield',
119
+ 'value' => '',
120
+ 'def_value' => '',
121
+ 'holder' => 'textfield',
122
+ 'class' => 'margin_bottom',
123
+ 'heading' => __('Margin bottom (px)','auxin-elements'),
124
+ 'description' => __('Adds space below the devider in pixels.', 'auxin-elements'),
125
+ 'admin_label' => true,
126
+ 'dependency' => '',
127
+ 'weight' => '',
128
+ 'group' => '' ,
129
+ 'edit_field_class' => ''
130
+ ),
131
+ array(
132
+ 'param_name' => 'extra_classes',
133
+ 'type' => 'textfield',
134
+ 'value' => '',
135
+ 'def_value' => '',
136
+ 'holder' => 'textfield',
137
+ 'class' => 'extra_classes',
138
+ 'heading' => __('Extra class name','auxin-elements'),
139
+ 'description' => __('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file. you can add multiple CSS class by separating them with space.', 'auxin-elements'),
140
+ 'admin_label' => true,
141
+ 'dependency' => '',
142
+ 'weight' => '',
143
+ 'group' => '' ,
144
+ 'edit_field_class' => ''
145
+ )
146
+ )
147
+ );
148
+
149
+ return $master_array;
150
+ }
151
+
152
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_divider_master_array', 10, 1 );
153
+
154
+
155
+
156
+ // This is the widget call back in fact the front end out put of this widget comes from this function
157
+ function auxin_widget_divider_callback( $atts, $shortcode_content = null ){
158
+
159
+ $default_atts = array(
160
+ 'title' => '',
161
+ 'size' => '',
162
+ 'style' => 'solid',
163
+ 'width' => 'large',
164
+ 'extra_classes' => '',
165
+ 'base_class' => '',
166
+ 'margin_bottom' => '',
167
+ 'margin_top' => '',
168
+
169
+ 'extra_classes' => '',
170
+ 'custom_el_id' => '',
171
+ 'base_class' => 'aux-widget-divider'
172
+ );
173
+
174
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
175
+ extract( $result['parsed_atts'] );
176
+
177
+ $class_names = "";
178
+ $inline_styles = "";
179
+
180
+ switch ($style) {
181
+ case 'solid':
182
+ $class_names = "aux-divider-center";
183
+ break;
184
+ case 'dashed':
185
+ $class_names = "aux-divider-dashed";
186
+ break;
187
+ case 'circle-symbol':
188
+ $class_names = "aux-divider-symbolic-circle";
189
+ break;
190
+ case 'diamond-symbol':
191
+ $class_names = "aux-divider-symbolic-square";
192
+ break;
193
+ case 'white-space':
194
+ $class_names = "aux-divider-space";
195
+ break;
196
+ }
197
+
198
+ switch ($width) {
199
+ case 'large':
200
+ $class_names .= "";
201
+ break;
202
+ case 'medium':
203
+ $class_names .= " aux-divider-medium";
204
+
205
+ break;
206
+ case 'small':
207
+ $class_names .= " aux-divider-small";
208
+ break;
209
+ }
210
+
211
+ if( ! empty( $extra_classes ) ) {
212
+ $class_names .= " $extra_classes";
213
+ }
214
+
215
+ if( ! empty( $margin_top ) ) {
216
+ $margin_top = (int)$margin_top;
217
+ $inline_styles .= "margin-top: $margin_top" . "px;";
218
+ }
219
+
220
+ if( ! empty( $margin_bottom ) ) {
221
+ $margin_bottom = (int)$margin_bottom;
222
+ $inline_styles .= "margin-bottom:$margin_bottom" . "px;";
223
+ }
224
+
225
+ if( ! empty( $inline_styles ) ) {
226
+ $inline_styles = ' style="' . $inline_styles . '" ';
227
+ }
228
+
229
+ return '<hr class="'. $class_names . '"' . $inline_styles . ' >';
230
+ }
231
+
includes/elements/dropcap.php ADDED
@@ -0,0 +1,212 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Dropcap element
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+ function auxin_get_dropcap_master_array( $master_array ) {
13
+
14
+ $master_array['aux_dropcap'] = array(
15
+ 'name' => __("[Phlox] Dropcap", 'auxin-elements' ),
16
+ 'auxin_output_callback' => 'auxin_widget_dropcap_callback',
17
+ 'base' => 'aux_dropcap',
18
+ 'description' => __('Big styled character at the beginning of paragraph', 'auxin-elements' ),
19
+ 'class' => 'aux-widget-dropcap',
20
+ 'show_settings_on_create' => true,
21
+ 'weight' => 1,
22
+ 'is_widget' => false,
23
+ 'is_shortcode' => true,
24
+ 'is_so' => true,
25
+ 'is_vc' => true,
26
+ 'category' => THEME_NAME,
27
+ 'group' => '',
28
+ 'admin_enqueue_js' => '',
29
+ 'admin_enqueue_css' => '',
30
+ 'front_enqueue_js' => '',
31
+ 'front_enqueue_css' => '',
32
+ 'icon' => 'auxin-element auxin-dropcap',
33
+ 'custom_markup' => '',
34
+ 'js_view' => '',
35
+ 'html_template' => '',
36
+ 'deprecated' => '',
37
+ 'content_element' => '',
38
+ 'as_parent' => '',
39
+ 'as_child' => '',
40
+ 'params' => array(
41
+ array(
42
+ 'param_name' => 'style',
43
+ 'type' => 'aux_visual_select',
44
+ 'std' => 'classic',
45
+ 'holder' => 'dropdown',
46
+ 'class' => 'style',
47
+ 'heading' => __('Dropcap Style','auxin-elements' ),
48
+ 'description' => '',
49
+ 'admin_label' => true,
50
+ 'dependency' => '',
51
+ 'weight' => '',
52
+ 'group' => '' ,
53
+ 'edit_field_class' => '',
54
+ 'choices' => array(
55
+ 'classic' => array(
56
+ 'label' => __('Classic', 'auxin-elements' ),
57
+ 'image' => AUX_URL . 'images/visual-select/dropcap-classic.svg'
58
+ ),
59
+ 'square' => array(
60
+ 'label' => __('Square', 'auxin-elements' ),
61
+ 'image' => AUX_URL . 'images/visual-select/dropcap-square.svg'
62
+ ),
63
+ 'square-outline' => array(
64
+ 'label' => __('Outline Square', 'auxin-elements' ),
65
+ 'image' => AUX_URL . 'images/visual-select/dropcap-square-outline.svg'
66
+ ),
67
+ 'square-round' => array(
68
+ 'label' => __('Round Square', 'auxin-elements' ),
69
+ 'image' => AUX_URL . 'images/visual-select/dropcap-square-round.svg'
70
+ ),
71
+ 'circle' => array(
72
+ 'label' => __('Circle', 'auxin-elements' ),
73
+ 'image' => AUX_URL . 'images/visual-select/dropcap-circle.svg'
74
+ ),
75
+ 'circle-outline' => array(
76
+ 'label' => __('Outline Circle', 'auxin-elements' ),
77
+ 'image' => AUX_URL . 'images/visual-select/dropcap-circle-outline.svg'
78
+ )
79
+ )
80
+ ),
81
+ array(
82
+ 'param_name' => 'content',
83
+ 'type' => 'textarea_html',
84
+ 'value' => '',
85
+ 'def_value' => '',
86
+ 'holder' => 'div',
87
+ 'class' => 'content',
88
+ 'heading' => __('Content','auxin-elements' ),
89
+ 'description' => __('Enter the text to show as dropcap text.', 'auxin-elements' ),
90
+ 'admin_label' => true,
91
+ 'dependency' => '',
92
+ 'weight' => '',
93
+ 'group' => '' ,
94
+ 'edit_field_class' => ''
95
+ ),
96
+ array(
97
+ 'param_name' => 'extra_classes',
98
+ 'type' => 'textfield',
99
+ 'def_value' => '',
100
+ 'value' => '',
101
+ 'holder' => 'textfield',
102
+ 'class' => 'extra_classes',
103
+ 'heading' => __('Extra class name','auxin-elements' ),
104
+ 'description' => __('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'auxin-elements' ),
105
+ 'admin_label' => true,
106
+ 'dependency' => '',
107
+ 'weight' => '',
108
+ 'group' => '' ,
109
+ 'edit_field_class' => ''
110
+ )
111
+
112
+ )
113
+ );
114
+
115
+ return $master_array;
116
+ }
117
+
118
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_dropcap_master_array', 10, 1 );
119
+
120
+ /**
121
+ * The front-end output of this element is returned by the following function
122
+ *
123
+ * @param array $atts The array containing the parsed values from shortcode, it should be same as defined params above.
124
+ * @param string $shortcode_content The shorcode content
125
+ * @return string The output of element markup
126
+ */
127
+ function auxin_widget_dropcap_callback( $atts, $shortcode_content = null ) {
128
+
129
+ // Defining default attributes
130
+ $default_atts = array(
131
+ 'title' => '', // header title
132
+ 'style' => 'classic',
133
+ 'content' => '', // custom css class names for this element
134
+
135
+ 'extra_classes' => '',
136
+ 'custom_el_id' => '',
137
+ 'base_class' => 'aux-widget-dropcap'
138
+ );
139
+
140
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
141
+ extract( $result['parsed_atts'] );
142
+
143
+ ob_start();
144
+
145
+ // widget header ------------------------------
146
+ echo $result['widget_header'];
147
+ echo $result['widget_title'];
148
+
149
+ // The output for element here
150
+ $class_names = "";
151
+
152
+ switch ($style) {
153
+ case 'classic':
154
+ $class_names = "dropcap";
155
+ break;
156
+ case 'square':
157
+ $class_names = "dropcap square";
158
+
159
+ break;
160
+ case 'square-outline':
161
+ $class_names = "dropcap square outline";
162
+
163
+ break;
164
+ case 'square-round':
165
+ $class_names = "dropcap square round";
166
+
167
+ break;
168
+ case 'square-round-outline':
169
+ $class_names = "dropcap square round outline";
170
+
171
+ break;
172
+ case 'circle':
173
+ $class_names = "dropcap circle";
174
+
175
+ break;
176
+ case 'circle-outline':
177
+ $class_names = "dropcap circle outline";
178
+
179
+ break;
180
+ }
181
+
182
+ $first_letter = substr( $content, 0, 1); // get the first letter
183
+
184
+ if ( $first_letter === "<") {
185
+ $tag = auxin_get_string_between($content, '<', '>');
186
+ $content = auxin_str_replace_first( "<" .$tag. ">" ,"" , $content );
187
+ $content = auxin_str_replace_first( "</".$tag. ">" ,"" , $content );
188
+ }
189
+
190
+ $first_letter = substr( $content, 0, 1); // get the first letter
191
+ $rest_of_text = substr( $content, 1); // get the rest of thext
192
+
193
+ echo '<p class="' . $extra_classes . '">' .
194
+ '<span class="' . $class_names . '">' .
195
+ $first_letter . '</span>' . $rest_of_text .
196
+ '</p>';
197
+
198
+ // widget footer ------------------------------
199
+ echo $result['widget_footer'];
200
+
201
+ return ob_get_clean();
202
+ }
203
+
204
+
205
+ if( ! function_exists( 'auxin_str_replace_first' ) ) {
206
+
207
+ function auxin_str_replace_first($from, $to, $subject) {
208
+ $from = '/'.preg_quote($from, '/').'/';
209
+ return preg_replace($from, $to, $subject, 1);
210
+ }
211
+ }
212
+
includes/elements/gallery.php ADDED
@@ -0,0 +1,569 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Filterable gallery with lightbox
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+ function auxin_get_gallery_master_array( $master_array ) {
13
+
14
+ $master_array['aux_gallery'] = array(
15
+ 'name' => __('[Phlox] Gallery', 'auxin-elements'),
16
+ 'auxin_output_callback' => 'auxin_widget_gallery_callback',
17
+ 'base' => 'aux_gallery',
18
+ 'description' => __('Filterable and grid gallery with lightbox', 'auxin-elements'),
19
+ 'class' => 'aux-widget-gallery',
20
+ 'show_settings_on_create' => true,
21
+ 'weight' => 1,
22
+ 'is_widget' => false,
23
+ 'is_shortcode' => true,
24
+ 'is_so' => true,
25
+ 'is_vc' => true,
26
+ 'category' => THEME_NAME,
27
+ 'group' => '',
28
+ 'admin_enqueue_js' => '',
29
+ 'admin_enqueue_css' => '',
30
+ 'front_enqueue_js' => '',
31
+ 'front_enqueue_css' => '',
32
+ 'icon' => 'auxin-element auxin-gallery',
33
+ 'custom_markup' => '',
34
+ 'js_view' => '',
35
+ 'html_template' => '',
36
+ 'deprecated' => '',
37
+ 'content_element' => '',
38
+ 'as_parent' => '',
39
+ 'as_child' => '',
40
+ 'params' => array(
41
+ // array(
42
+ // 'param_name' => 'title',
43
+ // 'type' => 'textfield',
44
+ // 'value' => '',
45
+ // 'def_value' => '',
46
+ // 'holder' => 'textfield',
47
+ // 'class' => 'id',
48
+ // 'heading' => __('Gallery title','auxin-elements'),
49
+ // 'description' => '',
50
+ // 'admin_label' => true,
51
+ // 'dependency' => '',
52
+ // 'weight' => '',
53
+ // 'group' => '' ,
54
+ // 'edit_field_class' => ''
55
+ // ),
56
+ array(
57
+ 'param_name' => 'include',
58
+ 'type' => 'attach_images',
59
+ 'value' => '',
60
+ 'def_value' => '',
61
+ 'holder' => 'attach_images',
62
+ 'class' => 'include',
63
+ 'heading' => __('Images','auxin-elements'),
64
+ 'description' => '',
65
+ 'admin_label' => true,
66
+ 'dependency' => '',
67
+ 'weight' => '',
68
+ 'group' => '' ,
69
+ 'edit_field_class' => ''
70
+ ),
71
+ array(
72
+ 'param_name' => 'columns',
73
+ 'type' => 'dropdown',
74
+ 'value' => array(
75
+ '1' => __('1 Column' , 'auxin-elements'),
76
+ '2' => __('2 Columns', 'auxin-elements'),
77
+ '3' => __('3 Columns', 'auxin-elements'),
78
+ '4' => __('4 Columns', 'auxin-elements'),
79
+ '5' => __('5 Columns', 'auxin-elements'),
80
+ '6' => __('6 Columns', 'auxin-elements')
81
+ ),
82
+ 'def_value' => '2',
83
+ 'holder' => 'dropdown',
84
+ 'class' => 'columns',
85
+ 'heading' => __('Column number','auxin-elements'),
86
+ 'description' => '',
87
+ 'admin_label' => true,
88
+ 'dependency' => '',
89
+ 'weight' => '',
90
+ 'group' => '' ,
91
+ 'edit_field_class' => ''
92
+ ),
93
+ array(
94
+ 'param_name' => 'wp_order',
95
+ 'type' => 'aux_switch',
96
+ 'value' => '0',
97
+ 'class' => '',
98
+ 'heading' => __('Order images by query','auxin-elements'),
99
+ 'description' => '',
100
+ 'admin_label' => true,
101
+ 'dependency' => '',
102
+ 'weight' => '',
103
+ 'group' => '' ,
104
+ 'edit_field_class' => ''
105
+ ),
106
+ array(
107
+ 'param_name' => 'order',
108
+ 'type' => 'dropdown',
109
+ 'def_value' => 'ASC',
110
+ 'value' => array(
111
+ 'ASC' => __('ASC' , 'auxin-elements'),
112
+ 'DESC' => __('DESC', 'auxin-elements')
113
+ ),
114
+ 'holder' => 'dropdown',
115
+ 'class' => 'order',
116
+ 'heading' => __('Order','auxin-elements'),
117
+ 'description' => __('Order images ascending or descending','auxin-elements'),
118
+ 'admin_label' => true,
119
+ 'dependency' => array(
120
+ 'element' => 'wp_order',
121
+ 'value' => '1'
122
+ ),
123
+ 'weight' => '',
124
+ 'group' => '' ,
125
+ 'edit_field_class' => ''
126
+ ),
127
+ array(
128
+ 'param_name' => 'orderby',
129
+ 'type' => 'dropdown',
130
+ 'def_value' => 'menu_order ID',
131
+ 'value' => array(
132
+ 'menu_order ID' => __('Menu Order' , 'auxin-elements'),
133
+ 'date' => __('Date' , 'auxin-elements'),
134
+ 'ID' => __('ID' , 'auxin-elements'),
135
+ 'none' => __('None' , 'auxin-elements')
136
+ ),
137
+ 'dependency' => array(
138
+ 'element' => 'wp_order',
139
+ 'value' => '1'
140
+ ),
141
+ 'holder' => 'dropdown',
142
+ 'class' => 'orderby',
143
+ 'heading' => __('Order images by','auxin-elements'),
144
+ 'description' => '',
145
+ 'admin_label' => true,
146
+ 'weight' => '',
147
+ 'group' => '' ,
148
+ 'edit_field_class' => ''
149
+ ),
150
+ array(
151
+ 'param_name' => 'layout',
152
+ 'type' => 'dropdown',
153
+ 'def_value' => 'grid',
154
+ 'value' => array(
155
+ 'grid' => __('Grid', 'auxin-elements'),
156
+ 'masonry' => __('Masonry', 'auxin-elements')//,
157
+ //'justify-rows' => __('Justify rows', 'auxin-elements')
158
+ ),
159
+ 'holder' => 'dropdown',
160
+ 'class' => 'layout',
161
+ 'heading' => __('Gallery layout','auxin-elements'),
162
+ 'description' => '',
163
+ 'admin_label' => true,
164
+ 'dependency' => '',
165
+ 'weight' => '',
166
+ 'group' => '' ,
167
+ 'edit_field_class' => ''
168
+ ),
169
+ array(
170
+ 'param_name' => 'link',
171
+ 'type' => 'dropdown',
172
+ 'def_value' => 'lightbox',
173
+ 'value' => array(
174
+ 'lightbox' => __('Lightbox', 'auxin-elements'),
175
+ 'none' => __('None' , 'auxin-elements'),
176
+ '' => __('Attachment Page' , 'auxin-elements'),
177
+ 'file' => __('File' , 'auxin-elements')
178
+ ),
179
+ 'holder' => 'dropdown',
180
+ 'class' => 'link',
181
+ 'heading' => __('Link images to','auxin-elements'),
182
+ 'description' => '',
183
+ 'admin_label' => true,
184
+ 'dependency' => '',
185
+ 'weight' => '',
186
+ 'group' => '' ,
187
+ 'edit_field_class' => ''
188
+ ),
189
+ array(
190
+ 'param_name' => 'size',
191
+ 'type' => 'dropdown',
192
+ 'def_value' => 'medium',
193
+ 'value' => array(
194
+ 'full' => __('Original' , 'auxin-elements'),
195
+ 'large' => __('Large' , 'auxin-elements'),
196
+ 'medium' => __('Medium' , 'auxin-elements'),
197
+ 'thumbnail' => __('Thumbnail' , 'auxin-elements')
198
+ ),
199
+ 'holder' => 'dropdown',
200
+ 'class' => 'size',
201
+ 'heading' => __('Image size','auxin-elements'),
202
+ 'description' => '',
203
+ 'admin_label' => true,
204
+ 'dependency' => '',
205
+ 'weight' => '',
206
+ 'group' => '' ,
207
+ 'edit_field_class' => ''
208
+ ),
209
+ array(
210
+ 'param_name' => 'pagination',
211
+ 'type' => 'aux_switch',
212
+ 'value' => '0',
213
+ 'class' => '',
214
+ 'heading' => __('Enable pagination','auxin-elements'),
215
+ 'description' => '',
216
+ 'admin_label' => true,
217
+ 'dependency' => '',
218
+ 'weight' => '',
219
+ 'group' => '' ,
220
+ 'edit_field_class' => ''
221
+ ),
222
+ array(
223
+ 'param_name' => 'perpage',
224
+ 'type' => 'textfield',
225
+ 'value' => '24',
226
+ 'def_value' => '',
227
+ 'holder' => 'textfield',
228
+ 'class' => 'id',
229
+ 'heading' => __('Images per page','auxin-elements'),
230
+ 'description' => '',
231
+ 'admin_label' => true,
232
+ 'dependency' => array(
233
+ 'element' => 'pagination',
234
+ 'value' => '1'
235
+ ),
236
+ 'weight' => '',
237
+ 'group' => '' ,
238
+ 'edit_field_class' => ''
239
+ ),
240
+ array(
241
+ 'param_name' => 'extra_classes',
242
+ 'type' => 'textfield',
243
+ 'value' => '',
244
+ 'def_value' => '',
245
+ 'holder' => 'textfield',
246
+ 'class' => 'extra_classes',
247
+ 'heading' => __('Extra CSS class','auxin-elements'),
248
+ 'description' => __('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'auxin-elements'),
249
+ 'admin_label' => true,
250
+ 'dependency' => '',
251
+ 'weight' => '',
252
+ 'group' => '' ,
253
+ 'edit_field_class' => ''
254
+ )
255
+
256
+ )
257
+ );
258
+
259
+ return $master_array;
260
+ }
261
+
262
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_gallery_master_array', 10, 1 );
263
+
264
+
265
+
266
+
267
+
268
+
269
+ // This is the widget call back in fact the front end out put of this widget comes from this function
270
+ function auxin_widget_gallery_callback( $attr, $shortcode_content = null ){
271
+
272
+ global $axi_img_size;
273
+ $post = get_post();
274
+
275
+ static $instance = 0;
276
+ $instance++;
277
+
278
+ if ( ! empty( $attr['ids'] ) ) {
279
+ // 'ids' is explicitly ordered, unless you specify otherwise.
280
+ if ( empty( $attr['orderby'] ) ) {
281
+ $attr['orderby'] = 'post__in';
282
+ }
283
+ $attr['include'] = $attr['ids'];
284
+ }
285
+
286
+ // Allow plugins/themes to override the default gallery template.
287
+ $output = apply_filters( 'post_gallery', '', $attr, $instance );
288
+ if ( $output != '' ) {
289
+ return $output;
290
+ }
291
+
292
+ // We're trusting author input, so let's at least make sure it looks like a valid orderby statement
293
+ if ( isset( $attr['orderby'] ) ) {
294
+ $attr['orderby'] = sanitize_sql_orderby( $attr['orderby'] );
295
+ if ( ! $attr['orderby'] )
296
+ unset( $attr['orderby'] );
297
+ }
298
+
299
+ $html5 = true;
300
+ // Defining default attributes
301
+ $default_atts = array(
302
+ 'wp_order' => '0',
303
+ 'order' => 'ASC',
304
+ 'orderby' => 'menu_order ID',
305
+ 'id' => $post ? $post->ID : 0,
306
+ 'itemtag' => $html5 ? 'figure' : 'dl',
307
+ 'icontag' => $html5 ? 'div' : 'dt',
308
+ 'captiontag' => $html5 ? 'figcaption' : 'dd',
309
+ 'columns' => 4,
310
+ 'size' => 'medium',
311
+ 'hardcrop' => "yes",
312
+ 'layout' => 'grid', // grid, masonry, justify-rows, packery
313
+ 'include' => '',
314
+ 'exclude' => '',
315
+ 'link' => 'lightbox', // none, file, empty(attachment), lightbox
316
+ 'perpage' => 24,
317
+ 'pagination' => '0',
318
+ 'lazyload' => '0',
319
+ 'gutter' => '1',
320
+
321
+ 'title' => '', // header title
322
+ 'extra_classes' => '', // custom css class names for this element
323
+ 'custom_el_id' => '', // custom id attribute for this element
324
+ 'base_class' => 'aux-widget-gallery' // base class name for container
325
+ );
326
+
327
+ $result = auxin_get_widget_scafold( $attr, $default_atts );
328
+ $atts = $result['parsed_atts'];
329
+
330
+ // ------------------------------------------
331
+
332
+ $id = intval( $atts['id'] );
333
+
334
+
335
+ if ( !$atts['wp_order'] && empty( $atts['ids'] ) ) {
336
+ $atts['order'] = 'ASC';
337
+ $atts['orderby'] = 'post__in';
338
+ }
339
+
340
+ if ( ! empty( $atts['include'] ) ) {
341
+ $_attachments = get_posts(
342
+ array(
343
+ 'include' => $atts['include'],
344
+ 'post_status' => 'inherit',
345
+ 'post_type' => 'attachment',
346
+ 'post_mime_type' => 'image',
347
+ 'order' => $atts['order'],
348
+ 'orderby' => $atts['orderby']
349
+ )
350
+ );
351
+
352
+ $attachments = array();
353
+ foreach ( $_attachments as $key => $val ) {
354
+ $attachments[$val->ID] = $_attachments[$key];
355
+ }
356
+
357
+ } elseif ( ! empty( $atts['exclude'] ) ) {
358
+
359
+ $attachments = get_children( array(
360
+ 'post_parent' => $id,
361
+ 'exclude' => $atts['exclude'],
362
+ 'post_status' => 'inherit',
363
+ 'post_type' => 'attachment',
364
+ 'post_mime_type' => 'image',
365
+ 'order' => $atts['order'],
366
+ 'orderby' => $atts['orderby']
367
+ ));
368
+
369
+ } else {
370
+
371
+ $attachments = get_children( array(
372
+ 'post_parent' => $ids,
373
+ 'post_status' => 'inherit',
374
+ 'post_type' => 'attachment',
375
+ 'post_mime_type' => 'image',
376
+ 'order' => $atts['order'],
377
+ 'orderby' => $atts['orderby']
378
+ ));
379
+ }
380
+
381
+ if ( empty( $attachments ) ) {
382
+ return '';
383
+ }
384
+
385
+ if ( is_feed() ) {
386
+ $output = "\n";
387
+ foreach ( $attachments as $att_id => $attachment ) {
388
+ $output .= wp_get_attachment_link( $att_id, $atts['size'], true ) . "\n";
389
+ }
390
+ return $output;
391
+ }
392
+
393
+ $itemtag = tag_escape( $atts['itemtag'] );
394
+ $captiontag = tag_escape( $atts['captiontag'] );
395
+ $icontag = tag_escape( $atts['icontag'] );
396
+ $valid_tags = wp_kses_allowed_html( 'post' );
397
+ if ( ! isset( $valid_tags[ $itemtag ] ) ) {
398
+ $itemtag = 'dl';
399
+ }
400
+ if ( ! isset( $valid_tags[ $captiontag ] ) ) {
401
+ $captiontag = 'dd';
402
+ }
403
+ if ( ! isset( $valid_tags[ $icontag ] ) ) {
404
+ $icontag = 'dt';
405
+ }
406
+
407
+ $columns = intval( $atts['columns'] );
408
+ $itemwidth = $columns > 0 ? floor(100/$columns) : 100;
409
+ $float = is_rtl() ? 'right' : 'left';
410
+
411
+ $selector = "gallery-{$instance}";
412
+
413
+ $gallery_style = '';
414
+
415
+ /**
416
+ * Filter whether to print default gallery styles.
417
+ *
418
+ * @since 3.1.0
419
+ *
420
+ * @param bool $print Whether to print default gallery styles.
421
+ * Defaults to false if the theme supports HTML5 galleries.
422
+ * Otherwise, defaults to true.
423
+ */
424
+ if ( apply_filters( 'use_default_gallery_style', ! $html5 ) ) {
425
+ $gallery_style = "
426
+ <style type='text/css'>
427
+ #{$selector} {
428
+ margin: auto;
429
+ }
430
+ #{$selector} .gallery-item {
431
+ float: {$float};
432
+ margin-top: 10px;
433
+ text-align: center;
434
+ width: {$itemwidth}%;
435
+ }
436
+ #{$selector} img {
437
+ border: 2px solid #cfcfcf;
438
+ }
439
+ #{$selector} .gallery-caption {
440
+ margin-left: 0;
441
+ }
442
+ /* see gallery_shortcode() in wp-includes/media.php */
443
+ </style>\n\t\t";
444
+ }
445
+
446
+
447
+ $img_sizes = array (
448
+ 'large' => 1024,
449
+ 'medium' => 768,
450
+ 'thumbnail' => 300
451
+ );
452
+
453
+ $grid_wrapper_class = '';
454
+ $grid_col_class = '';
455
+
456
+ $layoutAttr = $atts['layout'];
457
+
458
+ $grid_wrapper_class = 'aux-col'. $columns;// . ' aux-no-gutter';
459
+ $grid_col_class = 'aux-col';
460
+
461
+ if ( empty( $atts['layout'] ) || 'grid' == $atts['layout'] ){
462
+ $layoutAttr = 'masonry';
463
+ } else if ( 'justify-rows' == $atts['layout'] ) {
464
+ $layoutAttr = 'justifyRows';
465
+ }
466
+
467
+ $size_class = sanitize_html_class( $atts['size'] );
468
+ $gallery_div = "<div id='$selector' class='gallery aux-gallery galleryid-{$id} gallery-columns-{$columns} gallery-size-{$size_class} aux-lightbox-frame'>";
469
+
470
+ $gallery_div .= "<div class='aux-gallery-container $grid_wrapper_class aux-layout-{$atts['layout']}' data-pagination='{$atts['pagination']}' data-lazyload='{$atts['lazyload']}' data-perpage='{$atts['perpage']}' data-layout='$layoutAttr' >";
471
+
472
+ /**
473
+ * Filter the default gallery shortcode CSS styles.
474
+ *
475
+ * @param string $gallery_style Default CSS styles and opening HTML div container
476
+ * for the gallery shortcode output.
477
+ */
478
+ $output = apply_filters( 'gallery_style', $gallery_style . $gallery_div );
479
+
480
+ $i = 0;
481
+ $index = 0;
482
+
483
+ foreach ( $attachments as $id => $attachment ) {
484
+ $item = "";
485
+ $attr = ( trim( $attachment->post_excerpt ) ) ? array( 'aria-describedby' => "$selector-$id" ) : '';
486
+
487
+ $url = get_attachment_link( $id );
488
+ $original_src = auxin_get_attachment_url( $id, 'full' );
489
+
490
+ if ( empty( $atts['link'] ) ) {
491
+ $atts['link'] = 'attachment';
492
+ }
493
+
494
+ if ( 'file' === $atts['link'] || 'lightbox' === $atts['link'] ) {
495
+ $url = $original_src;
496
+ }
497
+
498
+ if ( empty( $atts['size'] ) || $atts['size'] === 'full' ) {
499
+ $image_src = $original_src;
500
+ } else {
501
+ $image_src = auxin_get_the_resized_attachment_src( $id, $img_sizes[ $atts['size'] ] , $img_sizes[ $atts['size'] ] , $atts['layout'] === 'grid' , 100, $attr, true );
502
+ }
503
+
504
+ $image_meta = wp_get_attachment_metadata( $id );
505
+
506
+ $orientation = '';
507
+ if ( isset( $image_meta['height'], $image_meta['width'] ) ) {
508
+ $orientation = ( $image_meta['height'] > $image_meta['width'] ) ? 'portrait' : 'landscape';
509
+ }
510
+ // get image size
511
+ $image_width = ( 'full' !== $atts['size'] && isset( $image_meta['sizes'][ $atts['size'] ]['width'] ) ) ? $image_meta['sizes'][ $atts['size'] ]['width' ] : $image_meta['width' ];
512
+ $image_height = ( 'full' !== $atts['size'] && isset( $image_meta['sizes'][ $atts['size'] ]['height'] ) ) ? $image_meta['sizes'][ $atts['size'] ]['height'] : $image_meta['height'];
513
+ $image_alt = trim(strip_tags( get_post_meta( $id, '_wp_attachment_image_alt', true ) ));
514
+
515
+ if ( empty( $image_alt ) )
516
+ $image_alt = trim( strip_tags( $attachment->post_excerpt ) ); // If not, Use the Caption
517
+ if ( empty( $image_alt ) )
518
+ $image_alt = trim( strip_tags( $attachment->post_title ) ); // Finally, use the title
519
+
520
+ $loading_class = $atts['lazyload'] ? '' : 'aux-loading';
521
+
522
+ $item_inner = "
523
+ <{$icontag} class='aux-image-holder {$orientation}'>
524
+ <img src='$image_src'
525
+ data-original-src-width='{$image_meta['width']}'
526
+ data-original-src-height='{$image_meta['height']}'
527
+ data-original-src='$original_src'
528
+ alt='$image_alt'
529
+ width='$image_width'
530
+ height='$image_height'
531
+ >
532
+ </{$icontag}>";
533
+
534
+ if ( $captiontag && trim($attachment->post_excerpt) ) {
535
+ $item_inner .= "
536
+ <{$captiontag} class='wp-caption-text gallery-caption' id='$selector-$id'>
537
+ " . wptexturize($attachment->post_excerpt) . "
538
+ </{$captiontag}>";
539
+ }
540
+
541
+ if ( 'lightbox' === $atts['link'] ) {
542
+ $item_inner = "<a href='$url' class='aux-lightbox-btn'><span class='aux-plus'></span> <span class='aux-plus-bg'></span>$item_inner</a>";
543
+ } elseif ( 'none' != $atts['link'] ) {
544
+ $item_inner = "<a href='$url'>$item_inner</a>";
545
+ }
546
+
547
+ if ( $atts['pagination'] && ++$index > $atts['perpage'] ) {
548
+ $item .= "<{$itemtag} class='gallery-item aux-iso-hidden $loading_class {$grid_col_class}' data-width='{$image_width}' data-height='{$image_height}'>$item_inner</{$itemtag}>";
549
+ } else {
550
+ $item .= "<{$itemtag} class='gallery-item {$grid_col_class} $loading_class' data-width='{$image_width}' data-height='{$image_height}'>$item_inner</{$itemtag}>";
551
+ }
552
+
553
+
554
+ if ( ! $html5 && $columns > 0 && ++$i % $columns == 0 ) {
555
+ $item .= '<br style="clear: both" />';
556
+ }
557
+
558
+ $output .= $item;
559
+ }
560
+
561
+ if ( ! $html5 && $columns > 0 && $i % $columns !== 0 ) {
562
+ $output .= "
563
+ <br style='clear: both' />";
564
+ }
565
+
566
+ $output .= "</div>\n</div>\n";
567
+
568
+ return $output;
569
+ }
includes/elements/gmap.php ADDED
@@ -0,0 +1,308 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Google Map element
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+ function auxin_get_gmap_master_array( $master_array ) {
13
+
14
+ $master_array['aux_gmaps'] = array(
15
+ 'name' => __('[Phlox] Map ', 'auxin-elements' ),
16
+ 'auxin_output_callback' => 'auxin_widget_gmaps_callback',
17
+ 'base' => 'aux_gmaps',
18
+ 'description' => __('Google map block', 'auxin-elements' ),
19
+ 'class' => 'aux-widget-gmaps',
20
+ 'show_settings_on_create' => true,
21
+ 'weight' => 1,
22
+ 'category' => THEME_NAME,
23
+ 'group' => '',
24
+ 'admin_enqueue_js' => '',
25
+ 'admin_enqueue_css' => '',
26
+ 'front_enqueue_js' => '',
27
+ 'front_enqueue_css' => '',
28
+ 'icon' => 'auxin-element auxin-google-maps',
29
+ 'custom_markup' => '',
30
+ 'js_view' => '',
31
+ 'html_template' => '',
32
+ 'deprecated' => '',
33
+ 'content_element' => '',
34
+ 'as_parent' => '',
35
+ 'as_child' => '',
36
+ 'params' => array(
37
+ array(
38
+ 'param_name' => 'title',
39
+ 'type' => 'textfield',
40
+ 'value' => '',
41
+ 'holder' => 'textfield',
42
+ 'class' => 'title',
43
+ 'heading' => __('Title','auxin-elements' ),
44
+ 'description' => '',
45
+ 'admin_label' => true,
46
+ 'dependency' => '',
47
+ 'weight' => '',
48
+ 'group' => '' ,
49
+ 'edit_field_class' => ''
50
+ ),
51
+ array(
52
+ 'param_name' => 'height',
53
+ 'type' => 'textfield',
54
+ 'value' => '700',
55
+ 'def_value' => '700',
56
+ 'holder' => 'textfield',
57
+ 'class' => 'height',
58
+ 'heading' => __('Height','auxin-elements' ),
59
+ 'description' => '',
60
+ 'admin_label' => true,
61
+ 'dependency' => '',
62
+ 'weight' => '',
63
+ 'group' => '' ,
64
+ 'edit_field_class' => ''
65
+ ),
66
+ array(
67
+ 'param_name' => 'latitude',
68
+ 'type' => 'textfield',
69
+ 'value' => '52',
70
+ 'def_value' => '52',
71
+ 'holder' => 'textfield',
72
+ 'class' => 'latitude',
73
+ 'heading' => __('Latitude','auxin-elements' ),
74
+ 'description' => __('Latitude location over the map.','auxin-elements' ),
75
+ 'admin_label' => true,
76
+ 'dependency' => '',
77
+ 'weight' => '',
78
+ 'group' => '' ,
79
+ 'edit_field_class' => ''
80
+ ),
81
+ array(
82
+ 'param_name' => 'longitude',
83
+ 'type' => 'textfield',
84
+ 'value' => '14',
85
+ 'def_value' => '14',
86
+ 'holder' => 'textfield',
87
+ 'class' => 'longitude',
88
+ 'heading' => __('Longitude','auxin-elements' ),
89
+ 'description' => __('Longitude location over the map.','auxin-elements' ),
90
+ 'admin_label' => true,
91
+ 'dependency' => '',
92
+ 'weight' => '',
93
+ 'group' => '' ,
94
+ 'edit_field_class' => ''
95
+ ),
96
+ array(
97
+ 'param_name' => 'type',
98
+ 'type' => 'dropdown',
99
+ 'def_value' => 'ROADMAP',
100
+ 'value' => array( 'ROADMAP' => __('ROADMAP', 'auxin-elements' ), 'SATELLITE' => __('SATELLITE', 'auxin-elements' ) ),
101
+ 'holder' => 'dropdown',
102
+ 'class' => 'type',
103
+ 'heading' => __('Map Type','auxin-elements' ),
104
+ 'description' => '',
105
+ 'admin_label' => true,
106
+ 'dependency' => '',
107
+ 'weight' => '',
108
+ 'group' => '' ,
109
+ 'edit_field_class' => ''
110
+ ),
111
+ array(
112
+ 'param_name' => 'style',
113
+ 'type' => 'textarea_html',
114
+ 'def_value' => '',
115
+ 'value' => '',
116
+ 'holder' => 'div',
117
+ 'class' => 'style',
118
+ 'heading' => __('Map Style','auxin-elements' ),
119
+ 'description' => __('This feild allow you to customize the presentation of the standard Google base maps. You can find many preset styles in ', 'auxin-elements' ) .
120
+ '<a href="https://snazzymaps.com/" target="_blank">' . __('this website.', 'auxin-elements' ) . '</a>' ,
121
+ 'admin_label' => false,
122
+ 'dependency' => array(
123
+ 'element' => 'type',
124
+ 'value' => 'ROADMAP'
125
+ )
126
+ ),
127
+ array(
128
+ 'param_name' => 'marker_info',
129
+ 'type' => 'textfield',
130
+ 'value' => '',
131
+ 'def_value' => '',
132
+ 'holder' => 'textfield',
133
+ 'class' => 'marker_info',
134
+ 'heading' => __('Marker Info','auxin-elements' ),
135
+ 'description' => __('Marker popup text, leave it empty if you don\'t need it.', 'auxin-elements' ),
136
+ 'admin_label' => true,
137
+ 'dependency' => '',
138
+ 'weight' => '',
139
+ 'group' => '' ,
140
+ 'edit_field_class' => ''
141
+ ),
142
+ array(
143
+ 'param_name' => 'show_mapcontrols',
144
+ 'type' => 'aux_switch',
145
+ 'def_value' => '',
146
+ 'value' => '1',
147
+ 'holder' => 'dropdown',
148
+ 'class' => 'show_mapcontrols',
149
+ 'heading' => __('Navigation control','auxin-elements' ),
150
+ 'description' => __('Show navigation control on map.','auxin-elements' ),
151
+ 'admin_label' => true,
152
+ 'dependency' => '',
153
+ 'weight' => '',
154
+ 'group' => '' ,
155
+ 'edit_field_class' => ''
156
+ ),
157
+ array(
158
+ 'param_name' => 'zoom',
159
+ 'type' => 'textfield',
160
+ 'value' => '4',
161
+ 'def_value' => '4',
162
+ 'holder' => 'textfield',
163
+ 'class' => 'zoom',
164
+ 'heading' => __('Zoom','auxin-elements' ),
165
+ 'description' => '',
166
+ 'admin_label' => true,
167
+ 'dependency' => '',
168
+ 'weight' => '',
169
+ 'group' => '' ,
170
+ 'edit_field_class' => ''
171
+ ),
172
+ array(
173
+ 'param_name' => 'zoom_wheel',
174
+ 'type' => 'aux_switch',
175
+ 'def_value' => '',
176
+ 'value' => '0',
177
+ 'holder' => 'dropdown',
178
+ 'class' => 'zoom_wheel',
179
+ 'heading' => __('Zoom with mouse wheel','auxin-elements' ),
180
+ 'description' => '',
181
+ 'admin_label' => true,
182
+ 'dependency' => '',
183
+ 'weight' => '',
184
+ 'group' => '' ,
185
+ 'edit_field_class' => ''
186
+ ),
187
+ array(
188
+ 'param_name' => 'extra_classes',
189
+ 'type' => 'textfield',
190
+ 'value' => '',
191
+ 'def_value' => '',
192
+ 'holder' => 'textfield',
193
+ 'class' => 'extra_classes',
194
+ 'heading' => __('Extra class name','auxin-elements' ),
195
+ 'description' => __('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'auxin-elements' ),
196
+ 'admin_label' => true,
197
+ 'dependency' => '',
198
+ 'weight' => '',
199
+ 'group' => '' ,
200
+ 'edit_field_class' => ''
201
+ )
202
+
203
+ )
204
+ );
205
+
206
+
207
+ return $master_array;
208
+ }
209
+
210
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_gmap_master_array', 10, 1 );
211
+
212
+
213
+ /**
214
+ * The front-end output of this element is returned by the following function
215
+ *
216
+ * @param array $atts The array containing the parsed values from shortcode, it should be same as defined params above.
217
+ * @param string $shortcode_content The shorcode content
218
+ * @return string The output of element markup
219
+ */
220
+ function auxin_widget_gmaps_callback( $atts, $shortcode_content = null ){
221
+
222
+
223
+ // Defining default attributes
224
+ $default_atts = array(
225
+ 'title' => '', // header title
226
+ 'type' => 'ROADMAP',
227
+ 'style' => '',
228
+ 'height' => 700,
229
+ 'latitude' => 40.7,
230
+ 'longitude' => -74,
231
+ 'marker_info' => '', // popup conetent
232
+ 'show_mapcontrols' => 1,
233
+ 'zoom' => 10,
234
+ 'zoom_wheel' => 0,
235
+ 'extra_classes' => '', // custom css class names for this element
236
+ 'custom_el_id' => '', // custom id attribute for this element
237
+ 'base_class' => 'aux-widget-gmaps' // base class name for container
238
+ );
239
+
240
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
241
+ extract( $result['parsed_atts'] );
242
+
243
+ // widget header ------------------------------
244
+ echo $result['widget_header'];
245
+ echo $result['widget_title'];
246
+
247
+
248
+ // enqueue google map scripts
249
+ wp_enqueue_script ('gmaps');
250
+
251
+ $mapid = uniqid("axi_map");
252
+
253
+ if ( empty( $style ) ) {
254
+ $style = auxin_get_gmap_style();
255
+ }
256
+
257
+ ob_start();
258
+ ?>
259
+
260
+
261
+ <div class="aux-col-wrapper aux-no-gutter">
262
+ <div id="<?php echo $mapid; ?>" class="aux_map_wrapper <?php echo $extra_classes; ?>" style="height:<?php echo $height; ?>px" ></div>
263
+
264
+ <script>
265
+
266
+ jQuery( function($) {
267
+ var map = new GMaps({
268
+ el: "#<?php echo $mapid; ?>",
269
+ lat: <?php echo $latitude; ?>,
270
+ lng: <?php echo $longitude; ?>,
271
+ zoom: <?php echo $zoom; ?>,
272
+ scrollwheel: <?php echo $zoom_wheel; ?>,
273
+ <?php if($type == "SATELLITE"){ ?>
274
+ mapTypeId: google.maps.MapTypeId.SATELLITE,
275
+ <?php } else { ?> mapTypeId: google.maps.MapTypeId.ROADMAP,
276
+ <?php }
277
+ if ( $show_mapcontrols == false ) { ?>
278
+ disableDefaultUI: true,
279
+ <?php }?>
280
+ panControl : true
281
+ });
282
+
283
+ <?php if($type == "ROADMAP"){ ?>
284
+ map.addStyle({
285
+ styledMapName:"Auxin custom style map",
286
+ styles: <?php echo $style; ?>,
287
+ mapTypeId: "aux_map_style"
288
+ });
289
+
290
+ map.setStyle("aux_map_style");
291
+ <?php } ?>
292
+ map.addMarker({
293
+ <?php if ( !empty( $marker_info ) ) { ?>
294
+ infoWindow: { content: "<?php echo $marker_info; ?>" },
295
+ <?php }?>
296
+ lat: <?php echo $latitude; ?>,
297
+ lng: <?php echo $longitude; ?>
298
+ });
299
+ });
300
+
301
+ </script>
302
+
303
+ </div><!-- aux-col-wrapper -->
304
+
305
+ <?php
306
+ echo $result['widget_footer'];
307
+ return ob_get_clean();
308
+ }
includes/elements/highlight.php ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Hightlight text
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+ function auxin_get_highlight_master_array( $master_array ) {
13
+
14
+ $master_array['aux_highlight'] = array(
15
+ 'name' => __("[Phlox] Highlight", 'auxin-elements' ),
16
+ 'auxin_output_callback' => 'auxin_widget_highlight_callback',
17
+ 'base' => 'aux_highlight',
18
+ 'description' => __('Highlighted Text', 'auxin-elements' ),
19
+ 'class' => 'auxin-widget-highlight',
20
+ 'show_settings_on_create' => true,
21
+ 'weight' => 1,
22
+ 'is_widget' => false,
23
+ 'is_shortcode' => true,
24
+ 'is_so' => false,
25
+ 'is_vc' => false,
26
+ 'category' => THEME_NAME,
27
+ 'group' => '',
28
+ 'admin_enqueue_js' => '',
29
+ 'admin_enqueue_css' => '',
30
+ 'front_enqueue_js' => '',
31
+ 'front_enqueue_css' => '',
32
+ 'icon' => '',
33
+ 'custom_markup' => '',
34
+ 'js_view' => '',
35
+ 'html_template' => '',
36
+ 'deprecated' => '',
37
+ 'content_element' => '',
38
+ 'as_parent' => '',
39
+ 'as_child' => '',
40
+ 'params' => array(
41
+ array(
42
+ 'param_name' => 'style',
43
+ 'type' => 'aux_visual_select',
44
+ 'std' => "aux-highlight-red",
45
+ 'holder' => 'dropdown',
46
+ 'class' => 'style',
47
+ 'heading' => __('Divider Style','auxin-elements' ),
48
+ 'description' => __('The style of divider','auxin-elements' ),
49
+ 'admin_label' => true,
50
+ 'dependency' => '',
51
+ 'weight' => '',
52
+ 'group' => '' ,
53
+ 'edit_field_class' => '',
54
+ 'choices' => array(
55
+ 'aux-highlight-red' => array(
56
+ 'label' => __('Red', 'auxin-elements' ),
57
+ 'css_class' => 'axiAdminIcon-none',
58
+ 'image' => ''
59
+ ),
60
+ 'aux-highlight-blue' => array(
61
+ 'label' => __('Blue', 'auxin-elements' ),
62
+ 'css_class' => 'axiAdminIcon-repeat-y',
63
+ 'image' => ''
64
+ ),
65
+ 'aux-highlight-yellow' => array(
66
+ 'label' => __('Yellow', 'auxin-elements' ),
67
+ 'css_class' => 'axiAdminIcon-repeat-x',
68
+ 'image' => ''
69
+ ),
70
+ 'aux-highlight-green' => array(
71
+ 'label' => __('Green', 'auxin-elements' ),
72
+ 'css_class' => 'axiAdminIcon-repeat-y',
73
+ 'image' => ''
74
+ )
75
+ )
76
+ ),
77
+ array(
78
+ 'param_name' => 'content',
79
+ 'type' => 'textarea_html',
80
+ 'value' => '',
81
+ 'def_value' => '',
82
+ 'holder' => 'div',
83
+ 'class' => 'content',
84
+ 'heading' => __('Content','auxin-elements' ),
85
+ 'description' => __('Enter the text to be highlighted.', 'auxin-elements' ),
86
+ 'admin_label' => true,
87
+ 'dependency' => '',
88
+ 'weight' => '',
89
+ 'group' => '' ,
90
+ 'edit_field_class' => ''
91
+ ),
92
+
93
+ array(
94
+ 'param_name' => 'extra_classes',
95
+ 'type' => 'textfield',
96
+ 'value' => '',
97
+ 'def_value' => '',
98
+ 'holder' => 'textfield',
99
+ 'class' => 'extra_classes',
100
+ 'heading' => __('Extra class name','auxin-elements' ),
101
+ 'description' => __('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'auxin-elements' ),
102
+ 'admin_label' => true,
103
+ 'dependency' => '',
104
+ 'weight' => '',
105
+ 'group' => '' ,
106
+ 'edit_field_class' => ''
107
+ )
108
+ )
109
+ );
110
+
111
+ return $master_array;
112
+ }
113
+
114
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_highlight_master_array', 10, 1 );
115
+
116
+
117
+
118
+ /**
119
+ * The front-end output of this element is returned by the following function
120
+ *
121
+ * @param array $atts The array containing the parsed values from shortcode, it should be same as defined params above.
122
+ * @param string $shortcode_content The shorcode content
123
+ * @return string The output of element markup
124
+ */
125
+ function auxin_widget_highlight_callback( $atts, $shortcode_content = null ){
126
+
127
+ // Defining default attributes
128
+ $default_atts = array(
129
+ 'title' => '', // header title
130
+ 'content' => '', // header title
131
+ 'style' => 'aux-highlight-red',
132
+
133
+ 'extra_classes' => '', // custom css class names for this element
134
+ 'custom_el_id' => '', // custom id attribute for this element
135
+ 'base_class' => 'auxin-widget-highlight' // base class name for container
136
+ );
137
+
138
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
139
+ extract( $result['parsed_atts'] );
140
+
141
+ ob_start();
142
+
143
+ if( ! empty( $extra_classes ) ) {
144
+ $style .= " $extra_classes";
145
+ }
146
+
147
+ echo '<span class="aux-highlight ' . $style . '">' . $content . '</span>';
148
+
149
+ return ob_get_clean();
150
+ }
includes/elements/image.php ADDED
@@ -0,0 +1,333 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Image element
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+ function auxin_get_image_master_array( $master_array ) {
13
+
14
+ $master_array['aux_image'] = array(
15
+ 'name' => __("[Phlox] Image", 'auxin-elements' ),
16
+ 'auxin_output_callback' => 'auxin_widget_image_callback',
17
+ 'base' => 'aux_image',
18
+ 'description' => __('Image with lightbox option', 'auxin-elements' ),
19
+ 'class' => 'aux-widget-image',
20
+ 'show_settings_on_create' => true,
21
+ 'weight' => 1,
22
+ 'is_widget' => true,
23
+ 'is_shortcode' => true,
24
+ 'is_so' => true,
25
+ 'is_vc' => false,
26
+ 'category' => THEME_NAME,
27
+ 'group' => '',
28
+ 'admin_enqueue_js' => '',
29
+ 'admin_enqueue_css' => '',
30
+ 'front_enqueue_js' => '',
31
+ 'front_enqueue_css' => '',
32
+ 'icon' => 'auxin-element auxin-image',
33
+ 'custom_markup' => '',
34
+ 'js_view' => '',
35
+ 'html_template' => '',
36
+ 'deprecated' => '',
37
+ 'content_element' => '',
38
+ 'as_parent' => '',
39
+ 'as_child' => '',
40
+ 'params' => array(
41
+ array(
42
+ 'param_name' => 'title',
43
+ 'type' => 'textfield',
44
+ 'value' => '',
45
+ 'def_value' => '',
46
+ 'holder' => 'textfield',
47
+ 'class' => 'id',
48
+ 'heading' => __('Title','auxin-elements' ),
49
+ 'description' => '',
50
+ 'admin_label' => true,
51
+ 'dependency' => '',
52
+ 'weight' => '',
53
+ 'group' => '' ,
54
+ 'edit_field_class' => ''
55
+ ),
56
+ array(
57
+ 'param_name' => 'attach_id',
58
+ 'type' => 'attach_image',
59
+ 'value' => '',
60
+ 'def_value' => '',
61
+ 'holder' => 'textfield',
62
+ 'class' => 'attach_id',
63
+ 'heading' => __('Image','auxin-elements' ),
64
+ 'description' => '',
65
+ 'admin_label' => true,
66
+ 'dependency' => '',
67
+ 'weight' => '',
68
+ 'group' => '' ,
69
+ 'edit_field_class' => ''
70
+ ),
71
+ array(
72
+ 'param_name' => 'attach_id_hover',
73
+ 'type' => 'attach_image',
74
+ 'value' => '',
75
+ 'def_value' => '',
76
+ 'holder' => 'textfield',
77
+ 'class' => 'attach_id_hover',
78
+ 'heading' => __('Image Hover','auxin-elements' ),
79
+ 'description' => '',
80
+ 'admin_label' => true,
81
+ 'dependency' => '',
82
+ 'weight' => '',
83
+ 'group' => '' ,
84
+ 'edit_field_class' => ''
85
+ ),
86
+
87
+ array(
88
+ 'param_name' => 'width',
89
+ 'type' => 'textfield',
90
+ 'value' => '',
91
+ 'def_value' => '',
92
+ 'holder' => 'textfield',
93
+ 'class' => 'width',
94
+ 'heading' => __('Width','auxin-elements' ),
95
+ 'description' => '',
96
+ 'admin_label' => true,
97
+ 'dependency' => '',
98
+ 'weight' => '',
99
+ 'group' => '' ,
100
+ 'edit_field_class' => ''
101
+ ),
102
+ array(
103
+ 'param_name' => 'height',
104
+ 'type' => 'textfield',
105
+ 'value' => '',
106
+ 'def_value' => '',
107
+ 'holder' => 'textfield',
108
+ 'class' => 'height',
109
+ 'heading' => __('Height','auxin-elements' ),
110
+ 'description' => '',
111
+ 'admin_label' => true,
112
+ 'dependency' => '',
113
+ 'weight' => '',
114
+ 'group' => '' ,
115
+ 'edit_field_class' => ''
116
+ ),
117
+ array(
118
+ 'param_name' => 'align',
119
+ 'type' => 'dropdown',
120
+ 'def_value' => 'left',
121
+ 'value' => array(
122
+ 'alignleft' => __('Left' , 'auxin-elements' ),
123
+ 'alignright' => __('Right' , 'auxin-elements' ),
124
+ 'alignnone' => __('None' , 'auxin-elements' )
125
+ ),
126
+ 'holder' => 'dropdown',
127
+ 'heading' => __('Alignment','auxin-elements' ),
128
+ 'description' => __('Image alignment in content.', 'auxin-elements' ),
129
+ 'admin_label' => true,
130
+ 'dependency' => '',
131
+ 'weight' => '',
132
+ 'group' => '' ,
133
+ 'edit_field_class' => ''
134
+ ),
135
+ array(
136
+ 'param_name' => 'icon',
137
+ 'type' => 'dropdown',
138
+ 'def_value' => 'plus',
139
+ 'value' => array(
140
+ '' => __('None', 'auxin-elements' ),
141
+ 'plus' => __('Plus', 'auxin-elements' )
142
+
143
+ ),
144
+ 'holder' => 'dropdown',
145
+ 'class' => 'icon',
146
+ 'heading' => __('Iconic Button','auxin-elements' ),
147
+ 'description' => '',
148
+ 'admin_label' => true,
149
+ 'dependency' => '',
150
+ 'weight' => '',
151
+ 'group' => '' ,
152
+ 'edit_field_class' => ''
153
+ ),
154
+ array(
155
+ 'param_name' => 'lightbox',
156
+ 'type' => 'aux_switch',
157
+ 'value' => '0',
158
+ 'holder' => 'dropdown',
159
+ 'class' => 'lightbox',
160
+ 'heading' => __('Open large image in lightbox','auxin-elements' ),
161
+ 'description' => '',
162
+ 'admin_label' => true,
163
+ 'dependency' => '',
164
+ 'weight' => '',
165
+ 'group' => '' ,
166
+ 'edit_field_class' => ''
167
+ ),
168
+
169
+ array(
170
+ 'param_name' => 'link',
171
+ 'type' => 'textfield',
172
+ 'value' => '',
173
+ 'def_value' => '',
174
+ 'holder' => 'textfield',
175
+ 'class' => 'link',
176
+ 'heading' => __('Link URL','auxin-elements' ),
177
+ 'description' => '',
178
+ 'admin_label' => true,
179
+ 'dependency' => array(
180
+ 'element' => 'lightbox',
181
+ 'value' => array('0', 'false')
182
+ ),
183
+ 'weight' => '',
184
+ 'group' => '' ,
185
+ 'edit_field_class' => ''
186
+ ),
187
+ array(
188
+ 'param_name' => 'target',
189
+ 'type' => 'dropdown',
190
+ 'def_value' => 'curve',
191
+ 'value' => array(
192
+ '_self' => __('Self' , 'auxin-elements' ) ,
193
+ '_blank' => __('Blank' , 'auxin-elements' )
194
+ ),
195
+ 'holder' => 'dropdown',
196
+ 'class' => 'target',
197
+ 'heading' => __('Target','auxin-elements' ),
198
+ 'description' => __('Open in new page or this page.','auxin-elements' ),
199
+ 'admin_label' => true,
200
+ 'dependency' => array(
201
+ 'element' => 'lightbox',
202
+ 'value' => array('0', 'false')
203
+ ),
204
+ 'weight' => '',
205
+ 'group' => '' ,
206
+ 'edit_field_class' => ''
207
+ ),
208
+ array(
209
+ 'param_name' => 'extra_classes',
210
+ 'type' => 'textfield',
211
+ 'value' => '',
212
+ 'def_value' => '',
213
+ 'holder' => 'textfield',
214
+ 'class' => 'extra_classes',
215
+ 'heading' => __('Extra class name','auxin-elements' ),
216
+ 'description' => __('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'auxin-elements' ),
217
+ 'admin_label' => true,
218
+ 'dependency' => '',
219
+ 'weight' => '',
220
+ 'group' => '' ,
221
+ 'edit_field_class' => ''
222
+ )
223
+
224
+ )
225
+ );
226
+
227
+ return $master_array;
228
+ }
229
+
230
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_image_master_array', 10, 1 );
231
+
232
+ // This is the widget call back in fact the front end out put of this widget comes from this function
233
+ function auxin_widget_image_callback( $atts, $shortcode_content = null ){
234
+
235
+ // Defining default attributes
236
+ $default_atts = array(
237
+ 'title' => '', // header title
238
+
239
+ 'attach_id' => '', // attachment id for main image
240
+ 'attach_id_hover' => '', // attachment id for hover image
241
+ 'link' => '', // link on image
242
+ 'target' => '_self', // link target
243
+ 'alt' => '', // alternative text
244
+ 'width' => '', // final width of image
245
+ 'height' => '', // final height of image
246
+ 'align' => 'alignleft',
247
+ 'icon' => 'plus', // icon type. plus, zoom, none
248
+ 'lightbox' => 'no', // open in lightbox or not
249
+
250
+ 'extra_classes' => '', // custom css class names for this element
251
+ 'custom_el_id' => '', // custom id attribute for this element
252
+ 'base_class' => 'aux-widget-image' // base class name for container
253
+ );
254
+
255
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
256
+ extract( $result['parsed_atts'] );
257
+
258
+ $image_primary = '';
259
+ $image_primary_full = '';
260
+ $image_secondary = '';
261
+
262
+ global $aux_content_width;
263
+
264
+ $width = ! empty( $width ) && is_numeric( $width ) ? $width : $aux_content_width;
265
+ $height = ! empty( $height) && is_numeric( $height) ? $height: $aux_content_width * 0.75;
266
+
267
+ if( ! empty( $attach_id ) && is_numeric( $attach_id ) ) {
268
+ $image_primary = auxin_get_the_resized_attachment( $attach_id, $width, $height, true );
269
+ $image_primary_full_src = auxin_get_the_resized_attachment_src( $attach_id, 3000, 3000 * 0.75 );
270
+ }
271
+
272
+ if( ! empty( $attach_id_hover ) && is_numeric( $attach_id_hover ) ) {
273
+ $image_secondary = auxin_get_the_resized_attachment( $attach_id_hover, $width, $height, true );
274
+ }
275
+
276
+ $anchor_link = auxin_is_true( $lightbox ) ? $image_primary_full_src : esc_attr( $link );
277
+ $anchor_class = auxin_is_true( $lightbox ) ? 'aux-lightbox-btn' : '';
278
+ $target = ($target == 'target="_self"')? : 'target="_blank"';
279
+
280
+ // hover effect
281
+ $hover_class = '';
282
+ if ( !empty($anchor_link) ) {
283
+ $hover_class = 'aux-active-hover-effect';
284
+ }
285
+
286
+ // add alignment class on main element
287
+ $result['widget_header'] = str_replace( $base_class, $base_class.' aux-'.$align, $result['widget_header'] );
288
+
289
+ ob_start();
290
+
291
+ // widget header ------------------------------
292
+ echo $result['widget_header'];
293
+ echo $result['widget_title'];
294
+
295
+ // widget output -----------------------
296
+ ?>
297
+ <div class="aux-media-hint-frame">
298
+ <div class="aux-media-frame aux-media-image aux-lightbox-frame <?php echo $hover_class; ?>" >
299
+
300
+ <?php if( !empty($anchor_link) ) { ?>
301
+ <a class="<?php echo $anchor_class; ?>" href="<?php echo $anchor_link; ?>" <?php echo $target; ?> >
302
+ <?php } ?>
303
+
304
+ <?php if( 'plus' == $icon ) { ?>
305
+ <span class="aux-plus"></span>
306
+ <span class="aux-plus-bg"></span>
307
+ <?php } ?>
308
+
309
+ <?php if ( !empty( $image_secondary ) ) { ?>
310
+ <div class="aux-image-holder aux-image-has-secondary">
311
+ <?php echo $image_primary; ?>
312
+ <?php echo $image_secondary; ?>
313
+ </div>
314
+ <?php } else { ?>
315
+ <div class="aux-image-holder">
316
+ <?php echo $image_primary; ?>
317
+ </div>
318
+ <?php } ?>
319
+
320
+ <?php if( !empty($anchor_link) ) { ?>
321
+ </a>
322
+ <?php } ?>
323
+
324
+ </div>
325
+ </div>
326
+
327
+ <?php
328
+
329
+ // widget footer ------------------------------
330
+ echo $result['widget_footer'];
331
+
332
+ return ob_get_clean();
333
+ }
includes/elements/instagram-feed.php ADDED
@@ -0,0 +1,393 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Instagram feed
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+ function auxin_get_instagram_master_array( $master_array ) {
13
+
14
+ $master_array['aux_instagram_feed'] = array( // shortcode info here
15
+ 'name' => __("[Phlox] instagram feed", 'auxin-elements' ),
16
+ 'auxin_output_callback' => 'auxin_widget_instagram_feed_callback',
17
+ 'base' => 'aux_instagram_feed',
18
+ 'description' => __('It adds an instagram feed element.', 'auxin-elements' ),
19
+ 'class' => 'aux-widget-instagram',
20
+ 'show_settings_on_create' => true,
21
+ 'weight' => 1,
22
+ 'is_widget' => true,
23
+ 'is_shortcode' => false,
24
+ 'is_so' => true,
25
+ 'is_vc' => true,
26
+ 'category' => THEME_NAME,
27
+ 'group' => '',
28
+ 'admin_enqueue_js' => '',
29
+ 'admin_enqueue_css' => '',
30
+ 'front_enqueue_js' => '',
31
+ 'front_enqueue_css' => '',
32
+ 'icon' => 'auxin-element auxin-image',
33
+ 'custom_markup' => '',
34
+ 'js_view' => '',
35
+ 'html_template' => '',
36
+ 'deprecated' => '',
37
+ 'content_element' => '',
38
+ 'as_parent' => '',
39
+ 'as_child' => '',
40
+ 'params' => array(
41
+ array(
42
+ 'param_name' => 'title',
43
+ 'type' => 'textfield',
44
+ 'value' => '',
45
+ 'holder' => 'textfield',
46
+ 'class' => 'title',
47
+ 'heading' => __('Title','auxin-elements' ),
48
+ 'description' => __('A title for instagram element', 'auxin-elements' ),
49
+ 'admin_label' => true,
50
+ 'dependency' => '',
51
+ 'weight' => '',
52
+ 'group' => '' ,
53
+ 'edit_field_class' => ''
54
+ ),
55
+ array(
56
+ 'param_name' => 'id',
57
+ 'type' => 'textfield',
58
+ 'value' => '',
59
+ 'def_value' => '',
60
+ 'holder' => 'textfield',
61
+ 'class' => 'user_id',
62
+ 'heading' => __('Instagram User ID','auxin-elements' ),
63
+ 'description' => sprintf(
64
+ __('Instagram User ID. Separate multiple IDs by commas. You can find the User ID with %sthis tool%s.', 'auxin-elements' ),
65
+ '<a href="https://smashballoon.com/instagram-feed/find-instagram-user-id/" target="_blank">',
66
+ '</a>'
67
+ ),
68
+ 'admin_label' => true,
69
+ 'dependency' => '',
70
+ 'weight' => '',
71
+ 'group' => '' ,
72
+ 'edit_field_class' => ''
73
+ ),
74
+ array(
75
+ 'param_name' => 'num',
76
+ 'type' => 'textfield',
77
+ 'value' => '',
78
+ 'def_value' => '',
79
+ 'holder' => 'textfield',
80
+ 'class' => 'num',
81
+ 'heading' => __('Number of photo','auxin-elements' ),
82
+ 'description' => __('Number of photos to display initially. Maximum is 33.','auxin-elements' ),
83
+ 'admin_label' => true,
84
+ 'dependency' => '',
85
+ 'weight' => '',
86
+ 'group' => '' ,
87
+ 'edit_field_class' => ''
88
+ ),
89
+ array(
90
+ 'param_name' => 'imageres',
91
+ 'type' => 'dropdown',
92
+ 'def_value' => 'medium',
93
+ 'value' => array(
94
+ 'auto' => __('Auto', 'auxin-elements' ),
95
+ 'thumb' => __('Thumb', 'auxin-elements' ),
96
+ 'medium' => __('Medium', 'auxin-elements' ),
97
+ 'full' => __('Full', 'auxin-elements' )
98
+ ),
99
+ 'holder' => 'dropdown',
100
+ 'class' => 'border',
101
+ 'heading' => __('Resolution/size of the photos. ','auxin-elements' ),
102
+ 'description' => '',
103
+ 'admin_label' => true,
104
+ 'dependency' => '',
105
+ 'weight' => '',
106
+ 'group' => '' ,
107
+ 'edit_field_class' => ''
108
+ ),
109
+ array(
110
+ 'param_name' => 'cols',
111
+ 'type' => 'textfield',
112
+ 'value' => '',
113
+ 'def_value' => '',
114
+ 'holder' => 'textfield',
115
+ 'class' => 'columns',
116
+ 'heading' => __('Columns','auxin-elements' ),
117
+ 'description' => __('Number of columns in the feed. 1 - 10.','auxin-elements' ),
118
+ 'admin_label' => true,
119
+ 'dependency' => '',
120
+ 'weight' => '',
121
+ 'group' => '' ,
122
+ 'edit_field_class' => ''
123
+ ),
124
+ array(
125
+ 'param_name' => 'imagepadding',
126
+ 'type' => 'textfield',
127
+ 'value' => '0',
128
+ 'def_value' => '0',
129
+ 'holder' => 'textfield',
130
+ 'class' => 'height',
131
+ 'heading' => __('Spacing around the photos','auxin-elements' ),
132
+ 'description' => '',
133
+ 'admin_label' => true,
134
+ 'dependency' => '',
135
+ 'weight' => '',
136
+ 'group' => '' ,
137
+ 'edit_field_class' => ''
138
+ ),
139
+ array(
140
+ 'param_name' => 'imagepaddingunit',
141
+ 'type' => 'dropdown',
142
+ 'def_value' => 'px',
143
+ 'value' => array(
144
+ '%' => __('Percentage (%)', 'auxin-elements' ),
145
+ 'px' => __('Pixels (px)', 'auxin-elements' ),
146
+ ),
147
+ 'holder' => 'dropdown',
148
+ 'class' => 'border',
149
+ 'heading' => __('Unit of the spacing.','auxin-elements' ),
150
+ 'description' => '',
151
+ 'admin_label' => true,
152
+ 'dependency' => '',
153
+ 'weight' => '',
154
+ 'group' => '' ,
155
+ 'edit_field_class' => ''
156
+ ),
157
+ // array(
158
+ // 'param_name' => 'width',
159
+ // 'type' => 'textfield',
160
+ // 'value' => '100',
161
+ // 'def_value' => '100',
162
+ // 'holder' => 'textfield',
163
+ // 'class' => 'width',
164
+ // 'heading' => __('width','auxin-elements' ),
165
+ // 'description' => '',
166
+ // 'admin_label' => true,
167
+ // 'dependency' => '',
168
+ // 'weight' => '',
169
+ // 'group' => '' ,
170
+ // 'edit_field_class' => ''
171
+ // ),
172
+ // array(
173
+ // 'param_name' => 'widthunit',
174
+ // 'type' => 'dropdown',
175
+ // 'def_value' => '%',
176
+ // 'value' => array(
177
+ // '%' => __('Percentage (%)', 'auxin-elements' ),
178
+ // 'px' => __('Pixels (px)', 'auxin-elements' ),
179
+ // ),
180
+ // 'holder' => 'dropdown',
181
+ // 'class' => 'border',
182
+ // 'heading' => __(' The unit of the width.','auxin-elements' ),
183
+ // 'description' => '',
184
+ // 'admin_label' => true,
185
+ // 'dependency' => '',
186
+ // 'weight' => '',
187
+ // 'group' => '' ,
188
+ // 'edit_field_class' => ''
189
+ // ),
190
+ array(
191
+ 'param_name' => 'height',
192
+ 'type' => 'textfield',
193
+ 'value' => '',
194
+ 'def_value' => '',
195
+ 'holder' => 'textfield',
196
+ 'class' => 'height',
197
+ 'heading' => __('Height','auxin-elements' ),
198
+ 'description' => __('The height of the feed','auxin-elements' ),
199
+ 'admin_label' => true,
200
+ 'dependency' => '',
201
+ 'weight' => '',
202
+ 'group' => '' ,
203
+ 'edit_field_class' => ''
204
+ ),
205
+ array(
206
+ 'param_name' => 'heightunit',
207
+ 'type' => 'dropdown',
208
+ 'def_value' => 'px',
209
+ 'value' => array(
210
+ '%' => __('Percentage (%)', 'auxin-elements' ),
211
+ 'px' => __('Pixels (px)', 'auxin-elements' ),
212
+ ),
213
+ 'holder' => 'dropdown',
214
+ 'class' => 'border',
215
+ 'heading' => __('Unit of the height.','auxin-elements' ),
216
+ 'description' => '',
217
+ 'admin_label' => true,
218
+ 'dependency' => '',
219
+ 'weight' => '',
220
+ 'group' => '' ,
221
+ 'edit_field_class' => ''
222
+ ),
223
+ array(
224
+ 'param_name' => 'background',
225
+ 'type' => 'color',
226
+ 'value' => '',
227
+ 'def_value' => '',
228
+ 'holder' => 'textfield',
229
+ 'class' => 'background-color',
230
+ 'heading' => __('Background color','auxin-elements' ),
231
+ 'description' => '',
232
+ 'admin_label' => true,
233
+ 'dependency' => '',
234
+ 'weight' => '',
235
+ 'group' => '' ,
236
+ 'edit_field_class' => ''
237
+ ),
238
+ array(
239
+ 'param_name' => 'showheader',
240
+ 'type' => 'aux_switch',
241
+ 'def_value' => '',
242
+ 'value' => '0',
243
+ 'holder' => 'dropdown',
244
+ 'class' => 'showheader',
245
+ 'heading' => __('Show Header','auxin-elements' ),
246
+ 'description' => __('Whether to show the feed header.', 'auxin-elements' ),
247
+ 'admin_label' => true,
248
+ 'dependency' => '',
249
+ 'weight' => '',
250
+ 'group' => '' ,
251
+ 'edit_field_class' => ''
252
+ ),
253
+ array(
254
+ 'param_name' => 'showfollow',
255
+ 'type' => 'aux_switch',
256
+ 'def_value' => '',
257
+ 'value' => '0',
258
+ 'holder' => 'dropdown',
259
+ 'class' => 'showfollow',
260
+ 'heading' => __('Show follow button','auxin-elements' ),
261
+ 'description' => __('Whether to show the Follow on Instagram button.', 'auxin-elements' ),
262
+ 'admin_label' => true,
263
+ 'dependency' => '',
264
+ 'weight' => '',
265
+ 'group' => '' ,
266
+ 'edit_field_class' => ''
267
+ ),
268
+ array(
269
+ 'param_name' => 'showbutton',
270
+ 'type' => 'aux_switch',
271
+ 'def_value' => '',
272
+ 'value' => '0',
273
+ 'holder' => 'dropdown',
274
+ 'class' => 'showbutton',
275
+ 'heading' => __('Show Load More button','auxin-elements' ),
276
+ 'description' => __(' Whether to show the Load More button.', 'auxin-elements' ),
277
+ 'admin_label' => true,
278
+ 'dependency' => '',
279
+ 'weight' => '',
280
+ 'group' => '' ,
281
+ 'edit_field_class' => ''
282
+ ),
283
+ array(
284
+ 'param_name' => 'extra_classes',
285
+ 'type' => 'textfield',
286
+ 'value' => '',
287
+ 'def_value' => '',
288
+ 'holder' => 'textfield',
289
+ 'class' => 'extra_classes',
290
+ 'heading' => __('Extra class name','auxin-elements' ),
291
+ 'description' => __('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'auxin-elements' ),
292
+ 'admin_label' => true,
293
+ 'dependency' => '',
294
+ 'weight' => '',
295
+ 'group' => '' ,
296
+ 'edit_field_class' => ''
297
+ )
298
+ )
299
+ );
300
+
301
+ return $master_array;
302
+ }
303
+
304
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_instagram_master_array', 10, 1 );
305
+
306
+ // This is the widget call back in fact the front end out put of this widget comes from this function
307
+ function auxin_widget_instagram_feed_callback( $atts, $shortcode_content = null ) {
308
+
309
+ $default_atts = array(
310
+ 'title' => '',
311
+ 'id' => '',
312
+ 'width' => '100',
313
+ 'widthunit' => '%',
314
+ 'height' => '',
315
+ 'heightunit' => 'px',
316
+ 'background' => '',
317
+ 'imagepadding' => '0',
318
+ 'imagepaddingunit' => 'px',
319
+ 'cols' => '',
320
+ 'num' => '',
321
+ 'showheader' => '0',
322
+ 'imageres' => 'medium',
323
+ 'showfollow' => '0',
324
+ 'showbutton' => '0',
325
+
326
+ 'extra_classes' => '', // custom css class names for this element
327
+ 'custom_el_id' => '', // custom id attribute for this element
328
+ 'base_class' => 'aux-widget-instagram' // base class name for container
329
+ );
330
+
331
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
332
+ extract( $result['parsed_atts'] );
333
+
334
+ ob_start();
335
+
336
+ // widget header ------------------------------
337
+ echo $result['widget_header'];
338
+ echo $result['widget_title'];
339
+
340
+
341
+ // widget custom output -----------------------
342
+ if( ! empty( $id ) ) {
343
+ $id =" id=$id";
344
+ }
345
+
346
+ // if( ! empty( $width ) ) {
347
+ // $width =" width=$width";
348
+ // }
349
+
350
+ if( ! empty( $height ) ) {
351
+ $height =" height=$height";
352
+ }
353
+
354
+ if( ! empty( $background ) ) {
355
+ $background =" background=\"$background\"";
356
+ }
357
+
358
+ if( ! empty( $cols ) ) {
359
+ $cols =" cols=$cols";
360
+ }
361
+
362
+ if( ! empty( $num ) ) {
363
+ $num =" num=$num";
364
+ }
365
+
366
+ if( ! empty( $extra_classes ) ) {
367
+ $extra_classes =" class=\"$extra_classes\"";
368
+ }
369
+
370
+ $instagram_feed_shortcode = "[instagram-feed width=100 widthunit=\"%\"".
371
+ $id.
372
+ " showbutton=$showbutton".
373
+ " showfollow=$showfollow".
374
+ " showheader=$showheader".
375
+ " imageres=\"$imageres\"".
376
+ // $width.
377
+ //" widthunit=\"$widthunit\"".
378
+ $height.
379
+ " heightunit=\"$heightunit\"".
380
+ " imagepaddingunit=\"$imagepaddingunit\"".
381
+ " imagepadding=$imagepadding".
382
+ $background.
383
+ $cols.
384
+ $num.
385
+ $extra_classes.
386
+ "]";
387
+
388
+ echo do_shortcode( $instagram_feed_shortcode );
389
+ // widget footer ------------------------------
390
+ echo $result['widget_footer'];
391
+
392
+ return ob_get_clean();
393
+ }
includes/elements/latest-items.php ADDED
@@ -0,0 +1,502 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * This is a sample of how to create a new element on widgets and visual composer element
4
+ * Auxin callout widget you can set all the options of this widget here like widget definitation,
5
+ * its element on siteorigin page builder, visual composer and under appearance/ widgets
6
+ */
7
+ // const THEME_NAME = "PHLOX";
8
+ // TODO: item should change to portfolio
9
+ function get_auxin_latest_items_vc( $master_array ) {
10
+
11
+ $auxin_latest_items_vc = array( // shortcode info here
12
+ 'name' => __("Auxin latest_items", 'auxin-elements' ), // [str] name of your shortcode for human reading inside element list
13
+ 'auxin_output_callback' => 'auxin_widget_latest_items', // [str] NAme of widget function callback which define below this array
14
+ 'base' => 'auxin_latest_items', // [str] shortcode tag. For [my_shortcode] shortcode base is my_shortcode
15
+ 'description' => __('This is will add latest_items element', 'auxin-elements'), // [str] short description of your element, it will be visible in "Add element" window
16
+ 'class' => 'auxin-latest_items', // [str] CSS class which will be added to the shortcode's content element in the page edit screen in Visual Composer backend edit mode. adds 3 classes like testt_o testt_v and testt
17
+ 'show_settings_on_create' => true, // [Boolean] set it to false if content element's settings page shouldn't open automatically after adding it to the stage
18
+ 'weight' => 1, // [Int] content elements with greater weight will be rendered first in "Content Elements" grid, higher appear upper
19
+ 'category' => THEME_NAME, // [str] category which best suites to describe functionality of this shortcode.
20
+ 'group' => '', // [str] TODO: no idea Group your params in groups, they will be divided in tabs in the edit element window
21
+ 'admin_enqueue_js' => '', // [str/arr] this js will be loaded in the js_composer edit mode
22
+ 'admin_enqueue_css' => '', // [str/arr] absolute url to css file
23
+ 'front_enqueue_js' => '', // [str/arr] to load custom js file in the frontend editing mode
24
+ 'front_enqueue_css' => '', // [str/arr] to load custom css file in the frontend editing mode
25
+ 'icon' => '', // URL or CSS class with icon image
26
+ 'custom_markup' => '', // [str] custom html markup for representing shortcode in visual composer editor. This will replace visual composer element where shows the param and its value
27
+ 'js_view' => '', // TODO: no idea Set custom backbone.js view controller for this content element there is a sample wich sets it to
28
+ 'html_template' => '', // it uses to oerride the output of shortcode. Path to shortcode template. This is useful if you want to reassign path of existing content elements lets say override the seprator defined by visual composer.
29
+ 'deprecated' => '', // enter version number of visual composer from which content element will be deprecated
30
+ 'content_element' => '', // If set to false, content element will be hidden from "Add element" window. It is handy to use this param in pair with 'deprecated' param
31
+ 'as_parent' => '', // use only|except attributes to limit child shortcodes (separate multiple values with comma)
32
+ 'as_child' => '', // use only|except attributes to limit parent (separate multiple values with comma)
33
+ 'params' => array(
34
+ array( // array of parameter
35
+ 'param_name' => 'col', // [str] must be the same as your parameter name
36
+ 'type' => 'textfield', // [str] attribute type
37
+ 'value' => '33', // [str/arr] default attribute's value
38
+ 'def_value' => '33', // [str/arr] default attribute's value
39
+ 'holder' => 'textfield', // [str] HTML tag name where Visual Composer will store attribute value in Visual Composer edit mode
40
+ 'class' => 'col', // [str] class name that will be added to the "holder" HTML tag. Useful if you want to target some CSS rules to specific items in the backend edit interface
41
+ 'heading' => __('col','auxin-elements'), // [str] human friendly title of your param. Will be visible in shortcode's edit screen
42
+ 'description' => __('If you choose Callout a big box appears around the content','auxin-elements'),
43
+ 'admin_label' => true, // [bool] show value of param in Visual Composer editor
44
+ 'dependency' => '', // [arr] define param visibility depending on other field value
45
+ 'weight' => '', // [int] params with greater weight will be rendered first
46
+ 'group' => '' , // [str] use it to divide your params within groups (tabs)
47
+ 'edit_field_class' => '' // [str] set param container width in content element edit window. According to Bootstrap logic eg. col-md-4. (Available from Visual Composer 4.0)
48
+ ),
49
+ array( // array of parameter
50
+ 'param_name' => 'mode', // [str] must be the same as your parameter name
51
+ 'type' => 'dropdown', // [str] attribute type
52
+ 'def_value' => 'no', // [str/arr] default attribute's value
53
+ 'value' => array( 'none' => __('none', 'auxin-elements'), 'caption-over' => __('caption-over', 'auxin-elements') ),
54
+ 'holder' => 'dropdown', // [str] HTML tag name where Visual Composer will store attribute value in Visual Composer edit mode
55
+ 'class' => 'mode', // [str] class name that will be added to the "holder" HTML tag. Useful if you want to target some CSS rules to specific items in the backend edit interface
56
+ 'heading' => __('mode type','auxin-elements'), // [str] human friendly title of your param. Will be visible in shortcode's edit screen
57
+ 'description' => __('The round is used got button','auxin-elements'),
58
+ 'admin_label' => true, // [bool] show value of param in Visual Composer editor
59
+ 'dependency' => '', // [arr] define param visibility depending on other field value
60
+ 'weight' => '', // [int] params with greater weight will be rendered first
61
+ 'group' => '' , // [str] use it to divide your params within groups (tabs)
62
+ 'edit_field_class' => '' // [str] set param container width in content element edit window. According to Bootstrap logic eg. col-md-4. (Available from Visual Composer 4.0)
63
+ ),
64
+ array( // array of parameter
65
+ 'param_name' => 'grid', // [str] must be the same as your parameter name
66
+ 'type' => 'textfield', // [str] attribute type
67
+ 'value' => '', // [str/arr] default attribute's value
68
+ 'def_value' => '', // [str/arr] default attribute's value
69
+ 'holder' => 'textfield', // [str] HTML tag name where Visual Composer will store attribute value in Visual Composer edit mode
70
+ 'class' => 'grid', // [str] class name that will be added to the "holder" HTML tag. Useful if you want to target some CSS rules to specific items in the backend edit interface
71
+ 'heading' => __('grid','auxin-elements'), // [str] human friendly title of your param. Will be visible in shortcode's edit screen
72
+ 'description' => __('attachment grid', 'auxin-elements'),
73
+ 'admin_label' => true, // [bool] show value of param in Visual Composer editor
74
+ 'dependency' => '', // [arr] define param visibility depending on other field value
75
+ 'weight' => '', // [int] params with greater weight will be rendered first
76
+ 'group' => '' , // [str] use it to divide your params within groups (tabs)
77
+ 'edit_field_class' => '' // [str] set param container width in content element edit window. According to Bootstrap logic eg. col-md-4. (Available from Visual Composer 4.0)
78
+ ),
79
+ array( // array of parameter
80
+ 'param_name' => 'num', // [str] must be the same as your parameter name
81
+ 'type' => 'textfield', // [str] attribute type
82
+ 'value' => '', // [str/arr] default attribute's value
83
+ 'def_value' => '', // [str/arr] default attribute's value
84
+ 'holder' => 'textfield', // [str] HTML tag name where Visual Composer will store attribute value in Visual Composer edit mode
85
+ 'class' => 'num', // [str] class name that will be added to the "holder" HTML tag. Useful if you want to target some CSS rules to specific items in the backend edit interface
86
+ 'heading' => __('num','auxin-elements'), // [str] human friendly title of your param. Will be visible in shortcode's edit screen
87
+ 'description' => __('attachment num', 'auxin-elements'),
88
+ 'admin_label' => true, // [bool] show value of param in Visual Composer editor
89
+ 'dependency' => '', // [arr] define param visibility depending on other field value
90
+ 'weight' => '', // [int] params with greater weight will be rendered first
91
+ 'group' => '' , // [str] use it to divide your params within groups (tabs)
92
+ 'edit_field_class' => '' // [str] set param container width in content element edit window. According to Bootstrap logic eg. col-md-4. (Available from Visual Composer 4.0)
93
+ ),
94
+ array( // array of parameter
95
+ 'param_name' => 'nav', // [str] must be the same as your parameter name
96
+ 'type' => 'dropdown', // [str] attribute type
97
+ 'def_value' => 'pagination', // [str/arr] default attribute's value
98
+ 'value' => array( 'pagination' => __('pagination', 'auxin-elements'), 'regular' => __('regular', 'auxin-elements') ),
99
+ 'holder' => 'dropdown', // [str] HTML tag name where Visual Composer will store attribute value in Visual Composer edit mode
100
+ 'class' => 'nav', // [str] class name that will be added to the "holder" HTML tag. Useful if you want to target some CSS rules to specific items in the backend edit interface
101
+ 'heading' => __('nav type','auxin-elements'), // [str] human friendly title of your param. Will be visible in shortcode's edit screen
102
+ 'description' => __('The round is used got button','auxin-elements'),
103
+ 'admin_label' => true, // [bool] show value of param in Visual Composer editor
104
+ 'dependency' => '', // [arr] define param visibility depending on other field value
105
+ 'weight' => '', // [int] params with greater weight will be rendered first
106
+ 'group' => '' , // [str] use it to divide your params within groups (tabs)
107
+ 'edit_field_class' => '' // [str] set param container width in content element edit window. According to Bootstrap logic eg. col-md-4. (Available from Visual Composer 4.0)
108
+ ),
109
+ array( // array of parameter
110
+ 'param_name' => 'title', // [str] must be the same as your parameter name
111
+ 'type' => 'textfield', // [str] attribute type
112
+ 'value' => '', // [str/arr] default attribute's value
113
+ 'def_value' => '', // [str/arr] default attribute's value
114
+ 'holder' => 'textfield', // [str] HTML tag name where Visual Composer will store attribute value in Visual Composer edit mode
115
+ 'class' => 'title', // [str] class name that will be added to the "holder" HTML tag. Useful if you want to target some CSS rules to specific items in the backend edit interface
116
+ 'heading' => __('title','auxin-elements'), // [str] human friendly title of your param. Will be visible in shortcode's edit screen
117
+ 'description' => __('attachment link', 'auxin-elements'),
118
+ 'admin_label' => true, // [bool] show value of param in Visual Composer editor
119
+ 'dependency' => '', // [arr] define param visibility depending on other field value
120
+ 'weight' => '', // [int] params with greater weight will be rendered first
121
+ 'group' => '' , // [str] use it to divide your params within groups (tabs)
122
+ 'edit_field_class' => '' // [str] set param container width in content element edit window. According to Bootstrap logic eg. col-md-4. (Available from Visual Composer 4.0)
123
+ ),
124
+ array( // array of parameter
125
+ 'param_name' => 'posttype', // [str] must be the same as your parameter name
126
+ 'type' => 'dropdown', // [str] attribute type
127
+ 'def_value' => 'pagination', // [str/arr] default attribute's value
128
+ 'value' => array( 'post' => __('post', 'auxin-elements'), 'regular' => __('regular', 'auxin-elements') ),
129
+ 'holder' => 'dropdown', // [str] HTML tag name where Visual Composer will store attribute value in Visual Composer edit mode
130
+ 'class' => 'posttype', // [str] class name that will be added to the "holder" HTML tag. Useful if you want to target some CSS rules to specific items in the backend edit interface
131
+ 'heading' => __('posttype type','auxin-elements'), // [str] human friendly title of your param. Will be visible in shortcode's edit screen
132
+ 'description' => __('The round is used got button','auxin-elements'),
133
+ 'admin_label' => true, // [bool] show value of param in Visual Composer editor
134
+ 'dependency' => '', // [arr] define param visibility depending on other field value
135
+ 'weight' => '', // [int] params with greater weight will be rendered first
136
+ 'group' => '' , // [str] use it to divide your params within groups (tabs)
137
+ 'edit_field_class' => '' // [str] set param container width in content element edit window. According to Bootstrap logic eg. col-md-4. (Available from Visual Composer 4.0)
138
+ ),
139
+ array( // array of parameter
140
+ 'param_name' => 'cat_id', // [str] must be the same as your parameter name
141
+ 'type' => 'textfield', // [str] attribute type
142
+ 'value' => '', // [str/arr] default attribute's value
143
+ 'def_value' => '', // [str/arr] default attribute's value
144
+ 'holder' => 'textfield', // [str] HTML tag name where Visual Composer will store attribute value in Visual Composer edit mode
145
+ 'class' => 'cat_id', // [str] class name that will be added to the "holder" HTML tag. Useful if you want to target some CSS rules to specific items in the backend edit interface
146
+ 'heading' => __('cat_id','auxin-elements'), // [str] human friendly title of your param. Will be visible in shortcode's edit screen
147
+ 'description' => __('attachment alt', 'auxin-elements'),
148
+ 'admin_label' => true, // [bool] show value of param in Visual Composer editor
149
+ 'dependency' => '', // [arr] define param visibility depending on other field value
150
+ 'weight' => '', // [int] params with greater weight will be rendered first
151
+ 'group' => '' , // [str] use it to divide your params within groups (tabs)
152
+ 'edit_field_class' => '' // [str] set param container width in content element edit window. According to Bootstrap logic eg. col-md-4. (Available from Visual Composer 4.0)
153
+ ),
154
+ array( // array of parameter
155
+ 'param_name' => 'taxonomy', // [str] must be the same as your parameter name
156
+ 'type' => 'textfield', // [str] attribute type
157
+ 'value' => 'category', // [str/arr] default attribute's value
158
+ 'def_value' => 'category', // [str/arr] default attribute's value
159
+ 'holder' => 'textfield', // [str] HTML tag name where Visual Composer will store attribute value in Visual Composer edit mode
160
+ 'class' => 'taxonomy', // [str] class name that will be added to the "holder" HTML tag. Useful if you want to target some CSS rules to specific items in the backend edit interface
161
+ 'heading' => __('width','auxin-elements'), // [str] human friendly title of your param. Will be visible in shortcode's edit screen
162
+ 'description' => __('attachment width', 'auxin-elements'),
163
+ 'admin_label' => true, // [bool] show value of param in Visual Composer editor
164
+ 'dependency' => '', // [arr] define param visibility depending on other field value
165
+ 'weight' => '', // [int] params with greater weight will be rendered first
166
+ 'group' => '' , // [str] use it to divide your params within groups (tabs)
167
+ 'edit_field_class' => '' // [str] set param container width in content element edit window. According to Bootstrap logic eg. col-md-4. (Available from Visual Composer 4.0)
168
+ ),
169
+ array( // array of parameter
170
+ 'param_name' => 'view_excerpt', // [str] must be the same as your parameter name
171
+ 'type' => 'dropdown', // [str] attribute type
172
+ 'def_value' => 'no', // [str/arr] default attribute's value
173
+ 'value' => array( 'yes' => __('Yes', 'auxin-elements'), 'no' => __('No', 'auxin-elements') ),
174
+ 'holder' => 'dropdown', // [str] HTML tag name where Visual Composer will store attribute value in Visual Composer edit mode
175
+ 'class' => 'view_excerpt', // [str] class name that will be added to the "holder" HTML tag. Useful if you want to target some CSS rules to specific items in the backend edit interface
176
+ 'heading' => __('view_excerpt ?','auxin-elements'), // [str] human friendly title of your param. Will be visible in shortcode's edit screen
177
+ 'description' => __('The round is used got button','auxin-elements'),
178
+ 'admin_label' => true, // [bool] show value of param in Visual Composer editor
179
+ 'dependency' => '', // [arr] define param visibility depending on other field value
180
+ 'weight' => '', // [int] params with greater weight will be rendered first
181
+ 'group' => '' , // [str] use it to divide your params within groups (tabs)
182
+ 'edit_field_class' => '' // [str] set param container width in content element edit window. According to Bootstrap logic eg. col-md-4. (Available from Visual Composer 4.0)
183
+ ),
184
+ array( // array of parameter
185
+ 'param_name' => 'view_title', // [str] must be the same as your parameter name
186
+ 'type' => 'dropdown', // [str] attribute type
187
+ 'def_value' => 'no', // [str/arr] default attribute's value
188
+ 'value' => array( 'yes' => __('Yes', 'auxin-elements'), 'no' => __('No', 'auxin-elements') ),
189
+ 'holder' => 'dropdown', // [str] HTML tag name where Visual Composer will store attribute value in Visual Composer edit mode
190
+ 'class' => 'view_title', // [str] class name that will be added to the "holder" HTML tag. Useful if you want to target some CSS rules to specific items in the backend edit interface
191
+ 'heading' => __('view_title ?','auxin-elements'), // [str] human friendly title of your param. Will be visible in shortcode's edit screen
192
+ 'description' => __('The round is used got button','auxin-elements'),
193
+ 'admin_label' => true, // [bool] show value of param in Visual Composer editor
194
+ 'dependency' => '', // [arr] define param visibility depending on other field value
195
+ 'weight' => '', // [int] params with greater weight will be rendered first
196
+ 'group' => '' , // [str] use it to divide your params within groups (tabs)
197
+ 'edit_field_class' => '' // [str] set param container width in content element edit window. According to Bootstrap logic eg. col-md-4. (Available from Visual Composer 4.0)
198
+ ),
199
+ array( // array of parameter
200
+ 'param_name' => 'excerpt_len', // [str] must be the same as your parameter name
201
+ 'type' => 'textfield', // [str] attribute type
202
+ 'value' => '100', // [str/arr] default attribute's value
203
+ 'def_value' => '100', // [str/arr] default attribute's value
204
+ 'holder' => 'textfield', // [str] HTML tag name where Visual Composer will store attribute value in Visual Composer edit mode
205
+ 'class' => 'excerpt_len', // [str] class name that will be added to the "holder" HTML tag. Useful if you want to target some CSS rules to specific items in the backend edit interface
206
+ 'heading' => __('excerpt_len','auxin-elements'), // [str] human friendly title of your param. Will be visible in shortcode's edit screen
207
+ 'description' => __('attachment width', 'auxin-elements'),
208
+ 'admin_label' => true, // [bool] show value of param in Visual Composer editor
209
+ 'dependency' => '', // [arr] define param visibility depending on other field value
210
+ 'weight' => '', // [int] params with greater weight will be rendered first
211
+ 'group' => '' , // [str] use it to divide your params within groups (tabs)
212
+ 'edit_field_class' => '' // [str] set param container width in content element edit window. According to Bootstrap logic eg. col-md-4. (Available from Visual Composer 4.0)
213
+ ),
214
+ array( // array of parameter
215
+ 'param_name' => 'section_index', // [str] must be the same as your parameter name
216
+ 'type' => 'textfield', // [str] attribute type
217
+ 'value' => 'category', // [str/arr] default attribute's value
218
+ 'def_value' => 'category', // [str/arr] default attribute's value
219
+ 'holder' => 'textfield', // [str] HTML tag name where Visual Composer will store attribute value in Visual Composer edit mode
220
+ 'class' => 'section_index', // [str] class name that will be added to the "holder" HTML tag. Useful if you want to target some CSS rules to specific items in the backend edit interface
221
+ 'heading' => __('section_index','auxin-elements'), // [str] human friendly title of your param. Will be visible in shortcode's edit screen
222
+ 'description' => __('attachment section_index', 'auxin-elements'),
223
+ 'admin_label' => true, // [bool] show value of param in Visual Composer editor
224
+ 'dependency' => '', // [arr] define param visibility depending on other field value
225
+ 'weight' => '', // [int] params with greater weight will be rendered first
226
+ 'group' => '' , // [str] use it to divide your params within groups (tabs)
227
+ 'edit_field_class' => '' // [str] set param container width in content element edit window. According to Bootstrap logic eg. col-md-4. (Available from Visual Composer 4.0)
228
+ ),
229
+ array( // array of parameter
230
+ 'param_name' => 'paged', // [str] must be the same as your parameter name
231
+ 'type' => 'textfield', // [str] attribute type
232
+ 'value' => 'category', // [str/arr] default attribute's value
233
+ 'def_value' => 'category', // [str/arr] default attribute's value
234
+ 'holder' => 'textfield', // [str] HTML tag name where Visual Composer will store attribute value in Visual Composer edit mode
235
+ 'class' => 'paged', // [str] class name that will be added to the "holder" HTML tag. Useful if you want to target some CSS rules to specific items in the backend edit interface
236
+ 'heading' => __('paged','auxin-elements'), // [str] human friendly title of your param. Will be visible in shortcode's edit screen
237
+ 'description' => __('attachment paged', 'auxin-elements'),
238
+ 'admin_label' => true, // [bool] show value of param in Visual Composer editor
239
+ 'dependency' => '', // [arr] define param visibility depending on other field value
240
+ 'weight' => '', // [int] params with greater weight will be rendered first
241
+ 'group' => '' , // [str] use it to divide your params within groups (tabs)
242
+ 'edit_field_class' => '' // [str] set param container width in content element edit window. According to Bootstrap logic eg. col-md-4. (Available from Visual Composer 4.0)
243
+ ),
244
+ array( // array of parameter
245
+ 'param_name' => 'extra_classes', // [str] must be the same as your parameter name
246
+ 'type' => 'textfield', // [str] attribute type
247
+ 'value' => '', // [str/arr] default attribute's value
248
+ 'def_value' => '', // [str/arr] default attribute's value
249
+ 'holder' => 'textfield', // [str] HTML tag name where Visual Composer will store attribute value in Visual Composer edit mode
250
+ 'class' => 'extra_classes', // [str] class name that will be added to the "holder" HTML tag. Useful if you want to target some CSS rules to specific items in the backend edit interface
251
+ 'heading' => __('Extra class name','auxin-elements'), // [str] human friendly title of your param. Will be visible in shortcode's edit screen
252
+ 'description' => __('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'auxin-elements'),
253
+ 'admin_label' => true, // [bool] show value of param in Visual Composer editor
254
+ 'dependency' => '', // [arr] define param visibility depending on other field value
255
+ 'weight' => '', // [int] params with greater weight will be rendered first
256
+ 'group' => '' , // [str] use it to divide your params within groups (tabs)
257
+ 'edit_field_class' => '' // [str] set param container width in content element edit window. According to Bootstrap logic eg. col-md-4. (Available from Visual Composer 4.0)
258
+ )
259
+
260
+ // , // another array for another param
261
+ )
262
+ );
263
+
264
+ // push this node in master_array
265
+ $master_array[] = $auxin_latest_items_vc;
266
+
267
+ return $master_array;
268
+ }
269
+
270
+ add_filter( 'auxin_master_array_shortcodes', 'get_auxin_latest_items_vc', 10, 1 );
271
+
272
+
273
+ // This is the widget call back in fact the front end out put of this widget comes from this function
274
+ function auxin_widget_latest_items( $atts, $shortcode_content = null ){
275
+
276
+
277
+ // @TODO
278
+ // Defining default attributes
279
+ $default_atts = array(
280
+ 'title' => '', // header title
281
+ 'size' => 100, // section size
282
+ 'col' => '33', // one .. six-column
283
+ 'mode' => 'none', // caption-over, none
284
+ 'grid' => '', // custome grid
285
+ 'num' => -1, // fetch num
286
+ 'nav' => 'pagination', // pagination , filterable
287
+ 'title' => '', // widget header title
288
+ 'posttype' => 'post', // posttype
289
+ 'cat_id' => '',
290
+ 'taxonomy' => 'category',
291
+ 'view_excerpt' => 'yes',
292
+ 'view_title' => 'yes',
293
+ 'excerpt_len' => '100',
294
+ 'section_index'=> '',
295
+ 'paged' => '1',
296
+ 'col' => 3,
297
+ 'extra_classes' => '', // custom css class names for this element
298
+ 'custom_el_id' => '', // custom id attribute for this element
299
+ );
300
+
301
+ // Widget Info -----------------------------
302
+
303
+ // Widget general info
304
+ $before_widget = $after_widget = '';
305
+ $before_title = $after_title = '';
306
+
307
+ // If widget info is passed, extract them in above variables
308
+ if( isset( $atts['widget_info'] ) ){
309
+ extract( $atts['widget_info'] );
310
+ }
311
+ $widget_title = isset( $atts['widget_title'] ) ? $atts['widget_title'] : '';
312
+
313
+ // CSS class names for section -------------
314
+
315
+ // The default CSS classes for widget container
316
+ // Note that 'widget-container' should be in all element
317
+ $default_atts['_css_classes'] = array( 'widget-container' );
318
+
319
+ // Parse shortcode attributes
320
+ $parsed_atts = shortcode_atts( $default_atts, $atts, __FUNCTION__ );
321
+
322
+ // Extract array nodes in variables
323
+ extract( $parsed_atts );
324
+
325
+ // Defining extra class names --------------
326
+
327
+ // Add extra class names to class list here - widget-{element_name}
328
+ $_css_classes[] = 'widget-pages'; // @TODO define widget-{element_name}
329
+
330
+ // Covering classes in list to class attribute for main section
331
+ $section_class_attr = auxin_make_html_class_attribute( $_css_classes, $extra_classes );
332
+
333
+ $content = wpb_js_remove_wpautop($shortcode_content, true); // fix unclosed/unwanted paragraph tags in $content
334
+ // TODO: axi should change to aux
335
+ global $axi_img_size;
336
+
337
+ // Defining query base on needs ------------
338
+
339
+ // create an id for this section
340
+ $uid = "axi_pbei".$section_index;
341
+ if(empty($section_index)) $uid = uniqid("axi_pbei");
342
+
343
+ // validate number fetched items
344
+ $num = ((int)$num > 0)?$num:-1;
345
+ // set column number to 3 if its empty
346
+ $col = empty($col)?"1/3":$col;
347
+
348
+ // get number of grid column ---------------------------------
349
+ // actual col size
350
+ // get number of grid column
351
+ $wrapper_size = empty($size)?100:$size;
352
+ $col_actual = ($wrapper_size / 100) * (int)$col;
353
+ $col_num = floor(100 / $col_actual);
354
+ $col_num = $col_num > 5?5:$col_num; // max column num is 5
355
+ // get thumbnsil size name
356
+ $image_size_name = "i".$col_num;
357
+
358
+
359
+
360
+ // get all taxonomy items for filtering purpose ---------------
361
+ $tax_args = array('taxonomy' => $taxonomy, 'terms' => $cat_id );
362
+
363
+ if(empty($cat_id) || $cat_id == "all" ) $tax_args = "";
364
+
365
+ // get all taxonomy items for filtering purpose ---------------
366
+ $tax_args = array('taxonomy' => $taxonomy, 'terms' => $cat_id );
367
+
368
+ if(empty($cat_id) || $cat_id == "all" ) $tax_args = "";
369
+
370
+ // Create wp_query to get pages
371
+ $query_args = array(
372
+ 'post_type' => $posttype,
373
+ 'orderby' => "menu_order date",
374
+ 'post_status'=> 'publish',
375
+ 'posts_per_page' => $num,
376
+ 'paged' => $paged,
377
+ 'tax_query' => array($tax_args)
378
+ );
379
+
380
+ $query_res = null;
381
+ $query_res = new WP_Query( $query_args );
382
+
383
+ ob_start();
384
+ ?>
385
+ <?php echo $before_widget; ?>
386
+
387
+ <section id="<?php echo $custom_el_id; ?>" <?php echo $section_class_attr; ?>>
388
+
389
+ <?php
390
+ if( ! empty( $before_title ) ){
391
+ echo $before_title . $widget_title . $after_title;
392
+ } elseif( ! empty( $title ) ){
393
+ echo get_widget_title( $title );
394
+ }
395
+ ?>
396
+
397
+ <div class="widget-inner">
398
+
399
+ <div class="aux-col-wrapper <?php echo "aux-$col"; ?>"> // faghat vase seton
400
+
401
+ <?php if( $query_res->have_posts() ): while ( $query_res->have_posts() ) : $query_res->the_post(); ?>
402
+
403
+ <article class="aux-col">
404
+ <!-- @TODO - The output for each element here -->
405
+ <?php // reset current item image size name
406
+ $thumb_size = $image_size_name;
407
+
408
+ // is current item highlighted?
409
+ $is_highlight = get_post_meta($th_query->post->ID, 'is_highlighted', true);
410
+
411
+ // this is the css class name that indicates the thumbnail size in browser
412
+ $classSize = "";
413
+ if($is_highlight == "yes" && $mode == "caption-over"){
414
+ $classSize = "height2";
415
+ $thumb_size .= "_2"; // if the item is marked as highlited, make it 2x bigger in height
416
+ }else{
417
+ $classSize = "height1";
418
+ $thumb_size .= "_1";
419
+ }
420
+
421
+ // get suite thumb size
422
+ $dimentions = $axi_img_size[$thumb_size];
423
+
424
+ // retinafy thumbnail
425
+ $dimentions[0] = 1.8 * $dimentions[0];
426
+ $dimentions[1] = 1.8 * $dimentions[1];
427
+ ?>
428
+
429
+ <?php // get the current item tag for filtering content
430
+ $tax_name = 'portfolio-tag';
431
+ $tax_terms = wp_get_post_terms($th_query->post->ID, $tax_name);
432
+ // stores all current item tag slugs az class attrs
433
+ $tax_slugs = "";
434
+
435
+ if($tax_terms){
436
+ foreach($tax_terms as $term)
437
+ $tax_slugs .= " ".$term->slug;
438
+ }
439
+ ?>
440
+
441
+ <article class="col" data-filter="<?php echo $tax_slugs; ?>" >
442
+ <figure>
443
+ <div class="imgHolder <?php echo $classSize; ?>">
444
+ <a href="<?php the_permalink(); ?>">
445
+ <?php
446
+ auxin_the_post_thumbnail($th_query->post->ID, $dimentions[0], $dimentions[1], true, 70);
447
+ ?>
448
+ <?php if ($mode == "caption-over"): ?>
449
+
450
+ <em>
451
+ <?php if($view_title == 'yes'){ ?>
452
+ <h4><?php the_title(); ?></h4>
453
+ <?php } ?>
454
+
455
+ <?php
456
+ $cat_terms = wp_get_post_terms(get_the_ID(), 'project-type');
457
+ if(!empty($cat_terms)){
458
+ echo '<i>';
459
+ $cnt = 0;
460
+ foreach($cat_terms as $term){
461
+ echo $cnt == 0?'':' / ';
462
+ echo $term->name;
463
+ $cnt++;
464
+ }
465
+ echo '</i>';
466
+ }
467
+ ?>
468
+ </em>
469
+
470
+ <?php endif; ?>
471
+ </a>
472
+ </div>
473
+ <?php if ($mode != "caption-over") { ?>
474
+
475
+ <figcaption>
476
+ <h4 class="fig-title">
477
+ <?php if($view_title == 'yes'){ ?>
478
+ <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
479
+ <?php } ?>
480
+ </h4>
481
+ <?php if($view_excerpt == "yes") auxin_the_trimmed_string(get_the_excerpt(),$excerpt_len); ?>
482
+ </figcaption>
483
+
484
+ <?php } ?>
485
+ </figure>
486
+ </article>
487
+ </article>
488
+ <?php
489
+ endwhile; endif;
490
+ wp_reset_query();
491
+ ?>
492
+
493
+ </div><!-- aux-col-wrapper -->
494
+ </div><!-- widget-inner -->
495
+ </section><!-- widget-container -->
496
+
497
+ <?php echo $after_widget; ?>
498
+
499
+ <?php
500
+ return ob_get_clean();
501
+ }
502
+
includes/elements/latest-posts-slider.php ADDED
@@ -0,0 +1,541 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Latest Post slider element
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+ function auxin_get_post_slider_master_array( $master_array ) {
13
+
14
+ $master_array['aux_latest_posts_slider'] = array(
15
+ 'name' => __('[Phlox] Latest Posts Slider ', 'auxin-elements' ),
16
+ 'auxin_output_callback' => 'auxin_latest_posts_slider_callback',
17
+ 'base' => 'aux_latest_posts_slider',
18
+ 'description' => __('Slider for latest posts', 'auxin-elements' ),
19
+ 'class' => 'aux-widget-post-slider',
20
+ 'show_settings_on_create' => true,
21
+ 'weight' => 1,
22
+ 'is_widget' => true,
23
+ 'is_shortcode' => true,
24
+ 'is_so' => true,
25
+ 'is_vc' => true,
26
+ 'category' => THEME_NAME,
27
+ 'group' => '',
28
+ 'admin_enqueue_js' => '',
29
+ 'admin_enqueue_css' => '',
30
+ 'front_enqueue_js' => '',
31
+ 'front_enqueue_css' => '',
32
+ 'icon' => 'auxin-element auxin-post-slider',
33
+ 'custom_markup' => '',
34
+ 'js_view' => '',
35
+ 'html_template' => '',
36
+ 'deprecated' => '',
37
+ 'content_element' => '',
38
+ 'as_parent' => '',
39
+ 'as_child' => '',
40
+ 'params' => array(
41
+ array(
42
+ 'param_name' => 'title',
43
+ 'type' => 'textfield',
44
+ 'value' => '',
45
+ 'holder' => 'textfield',
46
+ 'class' => 'title',
47
+ 'heading' => __('Title','auxin-elements' ),
48
+ 'description' => __('A title for this element', 'auxin-elements' ),
49
+ 'admin_label' => true,
50
+ 'dependency' => '',
51
+ 'weight' => '',
52
+ 'group' => '' ,
53
+ 'edit_field_class' => ''
54
+ ),
55
+ array(
56
+ 'param_name' => 'post_type',
57
+ 'type' => 'dropdown',
58
+ 'def_value' => 'post',
59
+ 'value' => array(
60
+ 'post' => __('Posts', 'auxin-elements' ),
61
+ 'page' => __('Pages', 'auxin-elements' ),
62
+ ),
63
+ 'holder' => 'dropdown',
64
+ 'class' => 'border',
65
+ 'heading' => __('Create slides from','auxin-elements' ),
66
+ 'description' => '',
67
+ 'admin_label' => true,
68
+ 'dependency' => '',
69
+ 'weight' => '',
70
+ 'group' => '' ,
71
+ 'edit_field_class' => ''
72
+ ),
73
+ array(
74
+ 'param_name' => 'slides_num',
75
+ 'type' => 'textfield',
76
+ 'value' => '10',
77
+ 'holder' => 'textfield',
78
+ 'class' => '',
79
+ 'heading' => __('Slides number','auxin-elements' ),
80
+ 'description' => __('Specifies maximum number of slides in slider', 'auxin-elements' ),
81
+ 'admin_label' => true,
82
+ 'dependency' => '',
83
+ 'weight' => '',
84
+ 'group' => '' ,
85
+ 'edit_field_class' => ''
86
+ ),
87
+ array(
88
+ 'param_name' => 'exclude',
89
+ 'type' => 'textfield',
90
+ 'value' => '',
91
+ 'holder' => 'textfield',
92
+ 'class' => '',
93
+ 'heading' => __('Exclude posts','auxin-elements' ),
94
+ 'description' => __('Post IDs separated by comma (eg. 53,34,87,25)', 'auxin-elements' ),
95
+ 'admin_label' => true,
96
+ 'dependency' => '',
97
+ 'weight' => '',
98
+ 'group' => '' ,
99
+ 'edit_field_class' => ''
100
+ ),
101
+ array(
102
+ 'param_name' => 'include',
103
+ 'type' => 'textfield',
104
+ 'value' => '',
105
+ 'holder' => 'textfield',
106
+ 'class' => '',
107
+ 'heading' => __('Include posts','auxin-elements' ),
108
+ 'description' => __('Post IDs separated by comma (eg. 53,34,87,25)', 'auxin-elements' ),
109
+ 'admin_label' => true,
110
+ 'dependency' => '',
111
+ 'weight' => '',
112
+ 'group' => '' ,
113
+ 'edit_field_class' => ''
114
+ ),
115
+ array(
116
+ 'param_name' => 'offset',
117
+ 'type' => 'textfield',
118
+ 'value' => '',
119
+ 'holder' => 'textfield',
120
+ 'class' => '',
121
+ 'heading' => __('Start offset','auxin-elements' ),
122
+ 'description' => __('Number of post to displace or pass over', 'auxin-elements' ),
123
+ 'admin_label' => true,
124
+ 'dependency' => '',
125
+ 'weight' => '',
126
+ 'group' => '' ,
127
+ 'edit_field_class' => ''
128
+ ),
129
+ array(
130
+ 'param_name' => 'order_by',
131
+ 'type' => 'dropdown',
132
+ 'def_value' => 'date',
133
+ 'value' => array(
134
+ 'date' => __('Date', 'auxin-elements' ),
135
+ 'menu_order date' => __('Menu Order', 'auxin-elements' ),
136
+ 'title' => __('Title', 'auxin-elements' ),
137
+ 'ID' => __('ID', 'auxin-elements' ),
138
+ 'rand' => __('Random', 'auxin-elements' ),
139
+ 'comment_count' => __('Comments', 'auxin-elements' ),
140
+ 'modified' => __('Date Modified', 'auxin-elements' ),
141
+ 'author' => __('Author', 'auxin-elements' ),
142
+ ),
143
+ 'holder' => 'dropdown',
144
+ 'class' => 'border',
145
+ 'heading' => __('Order by','auxin-elements' ),
146
+ 'description' => '',
147
+ 'admin_label' => true,
148
+ 'dependency' => '',
149
+ 'weight' => '',
150
+ 'group' => '' ,
151
+ 'edit_field_class' => ''
152
+ ),
153
+ array(
154
+ 'param_name' => 'order_dir',
155
+ 'type' => 'dropdown',
156
+ 'def_value' => 'DESC',
157
+ 'value' => array(
158
+ 'DESC' => __('Descending', 'auxin-elements' ),
159
+ 'ASC' => __('Ascending', 'auxin-elements' ),
160
+ ),
161
+ 'holder' => 'dropdown',
162
+ 'class' => 'border',
163
+ 'heading' => __('Order direction','auxin-elements' ),
164
+ 'description' => '',
165
+ 'admin_label' => true,
166
+ 'dependency' => '',
167
+ 'weight' => '',
168
+ 'group' => '' ,
169
+ 'edit_field_class' => ''
170
+ ),
171
+ array(
172
+ 'param_name' => 'skin',
173
+ 'type' => 'dropdown',
174
+ 'def_value' => 'aux-light-skin',
175
+ 'value' => array(
176
+ 'aux-light-skin' => __('Light and boxed', 'auxin-elements' ),
177
+ 'aux-dark-skin' => __('Dark and boxed', 'auxin-elements' ),
178
+ 'aux-full-light-skin' => __('Light overlay', 'auxin-elements' ),
179
+ 'aux-full-dark-skin' => __('Dark overlay', 'auxin-elements' ),
180
+ ),
181
+ 'holder' => 'dropdown',
182
+ 'class' => 'border',
183
+ 'heading' => __('Slider skin','auxin-elements' ),
184
+ 'description' => '',
185
+ 'admin_label' => true,
186
+ 'dependency' => '',
187
+ 'weight' => '',
188
+ 'group' => '' ,
189
+ 'edit_field_class' => ''
190
+ ),
191
+ array(
192
+ 'param_name' => 'add_title',
193
+ 'type' => 'aux_switch',
194
+ 'value' => '1',
195
+ 'class' => '',
196
+ 'heading' => __('Insert post title','auxin-elements' ),
197
+ 'description' => '',
198
+ 'admin_label' => true,
199
+ 'dependency' => '',
200
+ 'weight' => '',
201
+ 'group' => '' ,
202
+ 'edit_field_class' => ''
203
+ ),
204
+ array(
205
+ 'param_name' => 'add_meta',
206
+ 'type' => 'aux_switch',
207
+ 'value' => '1',
208
+ 'class' => '',
209
+ 'heading' => __('Insert post meta','auxin-elements' ),
210
+ 'description' => '',
211
+ 'dependency' => array(
212
+ 'element' => 'add_title',
213
+ 'value' => '1'
214
+ ),
215
+ 'admin_label' => true,
216
+ 'weight' => '',
217
+ 'group' => '' ,
218
+ 'edit_field_class' => ''
219
+ ),
220
+
221
+ array(
222
+ 'param_name' => 'image_from',
223
+ 'type' => 'dropdown',
224
+ 'def_value' => 'auto',
225
+ 'value' => array(
226
+ 'auto' => __('Auto select', 'auxin-elements' ),
227
+ 'featured' => __('Featured image', 'auxin-elements' ),
228
+ 'first' => __('First image in post', 'auxin-elements' ),
229
+ 'custom' => __('Custom image', 'auxin-elements' ),
230
+ ),
231
+ 'holder' => 'dropdown',
232
+ 'class' => 'border',
233
+ 'heading' => __('Grab the image from','auxin-elements' ),
234
+ 'description' => '',
235
+ 'admin_label' => true,
236
+ 'dependency' => '',
237
+ 'weight' => '',
238
+ 'group' => '' ,
239
+ 'edit_field_class' => ''
240
+ ),
241
+ array(
242
+ 'param_name' => 'custom_image',
243
+ 'type' => 'attach_image',
244
+ 'value' => '',
245
+ 'class' => '',
246
+ 'heading' => __('Background image','auxin-elements' ),
247
+ 'description' => '',
248
+ 'admin_label' => true,
249
+ 'dependency' => array(
250
+ 'element' => 'image_from',
251
+ 'value' => 'custom'
252
+ ),
253
+ 'weight' => '',
254
+ 'group' => '' ,
255
+ 'edit_field_class' => ''
256
+ ),
257
+ array(
258
+ 'param_name' => 'exclude_without_image',
259
+ 'type' => 'aux_switch',
260
+ 'value' => '1',
261
+ 'class' => '',
262
+ 'heading' => __('Exclude posts without image','auxin-elements' ),
263
+ 'description' => '',
264
+ 'admin_label' => true,
265
+ 'dependency' => '',
266
+ 'weight' => '',
267
+ 'group' => '' ,
268
+ 'edit_field_class' => ''
269
+ ),
270
+
271
+
272
+ array(
273
+ 'param_name' => 'width',
274
+ 'type' => 'textfield',
275
+ 'value' => '960',
276
+ 'holder' => 'textfield',
277
+ 'class' => '',
278
+ 'heading' => __('Slider image width','auxin-elements' ),
279
+ 'admin_label' => true,
280
+ 'dependency' => '',
281
+ 'weight' => '',
282
+ 'group' => '' ,
283
+ 'edit_field_class' => ''
284
+ ),
285
+ array(
286
+ 'param_name' => 'height',
287
+ 'type' => 'textfield',
288
+ 'value' => '560',
289
+ 'holder' => 'textfield',
290
+ 'class' => '',
291
+ 'heading' => __('Slider image height','auxin-elements' ),
292
+ 'admin_label' => true,
293
+ 'dependency' => '',
294
+ 'weight' => '',
295
+ 'group' => '' ,
296
+ 'edit_field_class' => ''
297
+ ),
298
+ array(
299
+ 'param_name' => 'arrows',
300
+ 'type' => 'aux_switch',
301
+ 'value' => '0',
302
+ 'class' => '',
303
+ 'heading' => __('Arrow navigation','auxin-elements' ),
304
+ 'description' => '',
305
+ 'admin_label' => true,
306
+ 'dependency' => '',
307
+ 'weight' => '',
308
+ 'group' => '' ,
309
+ 'edit_field_class' => ''
310
+ ),
311
+ array(
312
+ 'param_name' => 'space',
313
+ 'type' => 'textfield',
314
+ 'value' => '5',
315
+ 'holder' => 'textfield',
316
+ 'class' => '',
317
+ 'heading' => __('Space between slides','auxin-elements' ),
318
+ 'admin_label' => true,
319
+ 'dependency' => '',
320
+ 'weight' => '',
321
+ 'group' => '' ,
322
+ 'edit_field_class' => ''
323
+ ),
324
+ array(
325
+ 'param_name' => 'loop',
326
+ 'type' => 'aux_switch',
327
+ 'value' => '0',
328
+ 'class' => '',
329
+ 'heading' => __('Looped navigation','auxin-elements' ),
330
+ 'description' => '',
331
+ 'admin_label' => true,
332
+ 'dependency' => '',
333
+ 'weight' => '',
334
+ 'group' => '' ,
335
+ 'edit_field_class' => ''
336
+ ),
337
+ array(
338
+ 'param_name' => 'slideshow',
339
+ 'type' => 'aux_switch',
340
+ 'value' => '0',
341
+ 'class' => '',
342
+ 'heading' => __('Slideshow','auxin-elements' ),
343
+ 'description' => '',
344
+ 'admin_label' => true,
345
+ 'dependency' => '',
346
+ 'weight' => '',
347
+ 'group' => '' ,
348
+ 'edit_field_class' => ''
349
+ ),
350
+ array(
351
+ 'param_name' => 'slideshow_delay',
352
+ 'type' => 'textfield',
353
+ 'value' => '2',
354
+ 'holder' => 'textfield',
355
+ 'class' => '',
356
+ 'heading' => __('Slideshow delay in seconds','auxin-elements' ),
357
+ 'admin_label' => true,
358
+ 'dependency' => array(
359
+ 'element' => 'slideshow',
360
+ 'value' => '1'
361
+ ),
362
+ 'weight' => '',
363
+ 'group' => '' ,
364
+ 'edit_field_class' => ''
365
+ ),
366
+ )
367
+ );
368
+
369
+ return $master_array;
370
+ }
371
+
372
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_post_slider_master_array', 10, 1 );
373
+
374
+ /**
375
+ * Dynamic element with result in columns
376
+ * The front-end output of this element is returned by the following function
377
+ *
378
+ * @param array $atts The array containing the parsed values from shortcode
379
+ * containing widget info too
380
+ * @param string $shortcode_content The shorcode content
381
+ * @return string The output of element markup
382
+ */
383
+ function auxin_latest_posts_slider_callback( $atts, $shortcode_content = null ){
384
+
385
+ // Defining default attributes
386
+ $default_atts = array(
387
+ 'title' => '',
388
+ 'limit_num' => '10',
389
+ 'order_by' => 'date',
390
+ 'order_dir' => 'DESC',
391
+ 'post_type' => 'post',
392
+ 'add_title' => '1',
393
+ 'add_meta' => '1',
394
+ 'image_from' => 'auto',
395
+ 'offset' => '',
396
+ 'include' => '',
397
+ 'exclude_without_image' => '1',
398
+ 'exclude' => '',
399
+ 'custom_image' => '',
400
+ 'skin' => 'aux-light-skin',
401
+ 'width' => '960',
402
+ 'height' => '560',
403
+ 'loop' => '1',
404
+ 'space' => '5',
405
+ 'slideshow' => '0',
406
+ 'slideshow_delay' => '2',
407
+ 'arrows' => '0',
408
+
409
+
410
+ 'extra_classes' => '', // custom css class names for this element
411
+ 'custom_el_id' => '', // custom id attribute for this element
412
+ 'base_class' => 'aux-widget-post-slider' // base class name for container
413
+ );
414
+
415
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
416
+ extract( $result['parsed_atts'] );
417
+
418
+ // query --------------------------------------
419
+
420
+ // Create wp_query to get pages
421
+ $query_args = array(
422
+ 'post_type' => $post_type,
423
+ 'orderby' => $order_by,
424
+ 'order' => $order_dir,
425
+ 'offset' => $offset,
426
+ 'post__not_in' => array_filter( explode( ',', $exclude ) ),
427
+ 'post__in' => array_filter( explode( ',', $include ) ),
428
+ 'post_status' => 'publish',
429
+ 'image_size' => 'full',
430
+ 'posts_per_page' => ( $exclude_without_image ? -1 : $limit_num ),
431
+ 'ignore_sticky_posts' => 1
432
+ );
433
+
434
+
435
+ $post_counter = 0;
436
+
437
+ $query_res = null;
438
+ $query_res = new WP_Query( $query_args );
439
+
440
+ // skip building slider if no post results found
441
+ if( ! $query_res->have_posts() ){
442
+ return '';
443
+ }
444
+
445
+ ob_start();
446
+
447
+ // widget header ------------------------------
448
+ echo $result['widget_header'];
449
+ echo $result['widget_title'];
450
+
451
+ echo '<div class="master-carousel-slider aux-latest-posts-slider aux-no-js '.$skin.'" data-empty-height="'.$height.'" data-navigation="peritem" data-space="'.$space.'" data-auto-height="true" data-delay="'.$slideshow_delay.'" data-loop="'.$loop.'" data-autoplay="'.$slideshow.'">';
452
+
453
+ // widget custom output -----------------------
454
+
455
+
456
+ if( $query_res->have_posts() ): while ( $query_res->have_posts() ) : $query_res->the_post();
457
+
458
+ // break the loop if it is reached to the limit
459
+ if ( $exclude_without_image && $post_counter == $limit_num ) {
460
+ break;
461
+ } else {
462
+ $post_counter ++;
463
+ }
464
+
465
+ $slide_image = '';
466
+
467
+ // get image
468
+ if ( 'custom' == $image_from && !empty( $custom_image ) ) {
469
+ $custom_image = aq_resize( $custom_image, $width, $height, true, 100, true, true );
470
+ $slide_image = '<img alt="" src="$custom_image">';
471
+ } else {
472
+ $slide_image = auxin_get_auto_post_thumbnail( $query_res->post->ID, $image_from, $width, $height, true, 100, true );
473
+ }
474
+
475
+ //skip if post doesn't have image
476
+ if ( $exclude_without_image && empty( $slide_image ) ) {
477
+ $post_counter --;
478
+ continue;
479
+ }
480
+ ?>
481
+ <div class="aux-mc-item" >
482
+ <div class="aux-slide-media">
483
+ <div class="aux-media-frame aux-media-image">
484
+ <?php echo $slide_image; ?>
485
+ </div>
486
+ </div>
487
+ <?php if( $add_title ) { ?>
488
+ <section class="aux-info-container">
489
+ <div class="aux-slide-title">
490
+ <h3><a href="<?php the_permalink(); ?>"><?php echo auxin_get_trimmed_string( get_the_title(), 70, '...'); ?></a></h3>
491
+ </div>
492
+ <div class="aux-slide-info">
493
+ <?php if ( $add_meta ) { ?>
494
+ <time datetime="<?php the_time('Y-m-d')?>" title="<?php the_time('Y-m-d')?>" ><?php the_time('F j, Y'); ?></time>
495
+ <span class="entry-tax">
496
+ <?php // the_category(' '); we can use this template tag, but customizable way is needed! ?>
497
+ <?php $tax_name = 'category';
498
+ if( $cat_terms = wp_get_post_terms( $query_res->post->ID, $tax_name ) ){
499
+ foreach( $cat_terms as $term ){
500
+ echo '<a href="'. get_term_link( $term->slug, $tax_name ) .'" title="'.__("View all posts in ", 'auxin-elements' ). $term->name .'" rel="category" >'. $term->name .'</a>';
501
+ }
502
+ }
503
+ ?>
504
+ </span>
505
+ <?php } ?>
506
+ </div>
507
+ </section>
508
+ <?php } ?>
509
+ </div>
510
+
511
+ <?php endwhile;
512
+
513
+ // skip building slider if no slide is generated
514
+ if( ! $post_counter ){
515
+ ob_get_clean();
516
+ return '';
517
+ }
518
+
519
+ if ( $arrows ) { ?>
520
+ <div class="aux-next-arrow aux-arrow-nav aux-white aux-round aux-hover-slide">
521
+ <span class="aux-overlay"></span>
522
+ <span class="aux-svg-arrow aux-medium-right"></span>
523
+ <span class="aux-hover-arrow aux-svg-arrow aux-medium-right"></span>
524
+ </div>
525
+ <div class="aux-prev-arrow aux-arrow-nav aux-white aux-round aux-hover-slide">
526
+ <span class="aux-overlay"></span>
527
+ <span class="aux-svg-arrow aux-medium-left"></span>
528
+ <span class="aux-hover-arrow aux-svg-arrow aux-medium-left"></span>
529
+ </div>
530
+ <?php
531
+ }
532
+ endif;
533
+ wp_reset_query();
534
+
535
+ // widget footer ------------------------------
536
+ echo '</div><!-- aux-col-wrapper -->';
537
+
538
+ echo $result['widget_footer'];
539
+
540
+ return ob_get_clean();
541
+ }
includes/elements/quote.php ADDED
@@ -0,0 +1,303 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Quote element
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+ function auxin_get_quote_master_array( $master_array ) {
13
+
14
+ $master_array['aux_quote'] = array(
15
+ 'name' => __("[Phlox] Quote", 'auxin-elements' ),
16
+ 'auxin_output_callback' => 'auxin_widget_quote_callback',
17
+ 'base' => 'aux_quote',
18
+ 'description' => __('Blockquote and introduction paragraph', 'auxin-elements' ),
19
+ 'class' => 'aux-widget-quote',
20
+ 'show_settings_on_create' => true,
21
+ 'weight' => 1,
22
+ 'category' => THEME_NAME,
23
+ 'is_so' => true,
24
+ 'is_widget' => true,
25
+ 'is_shortcode' => true,
26
+ 'group' => '',
27
+ 'admin_enqueue_js' => '',
28
+ 'admin_enqueue_css' => '',
29
+ 'front_enqueue_js' => '',
30
+ 'front_enqueue_css' => '',
31
+ 'icon' => 'auxin-element auxin-quote',
32
+ 'custom_markup' => '',
33
+ 'js_view' => '',
34
+ 'html_template' => '',
35
+ 'deprecated' => '',
36
+ 'content_element' => '',
37
+ 'as_parent' => '',
38
+ 'as_child' => '',
39
+ 'params' => array(
40
+ array(
41
+ 'param_name' => 'title',
42
+ 'type' => 'textfield',
43
+ 'value' => '',
44
+ 'holder' => 'textfield',
45
+ 'class' => 'title',
46
+ 'heading' => __('Title','auxin-elements' ),
47
+ 'description' => __('Quote title, leave it empty if you don`t need title.', 'auxin-elements' ),
48
+ 'admin_label' => true,
49
+ 'dependency' => '',
50
+ 'weight' => '',
51
+ 'group' => '' ,
52
+ 'edit_field_class' => ''
53
+ ),
54
+ array(
55
+ 'param_name' => 'content',
56
+ 'type' => 'textarea_html',
57
+ 'value' => '',
58
+ 'def_value' => '',
59
+ 'holder' => 'div',
60
+ 'class' => 'content',
61
+ 'heading' => __('Quote text','auxin-elements' ),
62
+ 'description' => '',
63
+ 'admin_label' => true,
64
+ 'dependency' => '',
65
+ 'weight' => '',
66
+ 'group' => '' ,
67
+ 'edit_field_class' => ''
68
+ ),
69
+ array(
70
+ 'param_name' => 'type',
71
+ 'type' => 'aux_visual_select',
72
+ 'def_value' => 'blockquote-normal',
73
+ 'choices' => array(
74
+ 'quote-normal' => array(
75
+ 'label' => __('Quote Normal', 'auxin-elements'),
76
+ 'image' => AUX_URL . 'images/visual-select/blockquote-normal-1.svg'
77
+ ),
78
+ 'blockquote-normal' => array(
79
+ 'label' => __('Blockquote Normal', 'auxin-elements'),
80
+ 'image' => AUX_URL . 'images/visual-select/blockquote-normal.svg'
81
+ ),
82
+ 'blockquote-bordered' => array(
83
+ 'label' => __('Blockquote Bordered', 'auxin-elements'),
84
+ 'image' => AUX_URL . 'images/visual-select/blockquote-bordered.svg'
85
+ ),
86
+ 'intro-normal' => array(
87
+ 'label' => __('Intro', 'auxin-elements'),
88
+ 'image' => AUX_URL . 'images/visual-select/quote-intro-normal.svg'
89
+ ),
90
+ 'intro-hero' => array(
91
+ 'label' => __('Intro Hero', 'auxin-elements'),
92
+ 'image' => AUX_URL . 'images/visual-select/quote-intro-hero.svg'
93
+ ),
94
+ 'intro-splitter' => array(
95
+ 'label' => __('Intro with Splitter', 'auxin-elements'),
96
+ 'image' => AUX_URL . 'images/visual-select/quote-intro-splitter.svg'
97
+ ),
98
+ 'pullquote-normal' => array(
99
+ 'label' => __('Pullquote Normal', 'auxin-elements'),
100
+ 'image' => AUX_URL . 'images/visual-select/pullquote-normal.svg'
101
+ ),
102
+ 'pullquote-colorized' => array(
103
+ 'label' => __('Pullquote Colorized', 'auxin-elements'),
104
+ 'image' => AUX_URL . 'images/visual-select/pullquote-colorized.svg'
105
+ )
106
+ ),
107
+ 'holder' => 'dropdown',
108
+ 'class' => 'type',
109
+ 'heading' => __('Blockqoute Style','auxin-elements' ),
110
+ 'description' => '',
111
+ 'admin_label' => true,
112
+ 'dependency' => '',
113
+ 'weight' => '',
114
+ 'group' => '' ,
115
+ 'edit_field_class' => ''
116
+ ),
117
+ array(
118
+ 'param_name' => 'text_align',
119
+ 'type' => 'dropdown',
120
+ 'def_value' => 'none',
121
+ 'value' => array(
122
+ 'none' => __('Default', 'auxin-elements' ),
123
+ 'left' => __('Left' , 'auxin-elements' ),
124
+ 'right' => __('Right' , 'auxin-elements' ),
125
+ 'center' => __('Center' , 'auxin-elements' )
126
+ ),
127
+ 'holder' => 'dropdown',
128
+ 'class' => 'type',
129
+ 'heading' => __('Text align','auxin-elements' ),
130
+ 'description' => '',
131
+ 'admin_label' => true,
132
+ 'dependency' => '',
133
+ 'weight' => '',
134
+ 'group' => '' ,
135
+ 'edit_field_class' => ''
136
+ ),
137
+ // array(
138
+ // 'param_name' => 'float',
139
+ // 'type' => 'dropdown',
140
+ // 'def_value' => 'none',
141
+ // 'value' => array(
142
+ // 'none' => __('Default', 'auxin-elements' ),
143
+ // 'left' =>__('Left' , 'auxin-elements' ),
144
+ // 'right' => __('Right' , 'auxin-elements' )
145
+ // ),
146
+ // 'holder' => 'dropdown',
147
+ // 'class' => 'type',
148
+ // 'heading' => __('Block alignment','auxin-elements' ),
149
+ // 'description' => '',
150
+ // 'admin_label' => true,
151
+ // 'dependency' => '',
152
+ // 'weight' => '',
153
+ // 'group' => '' ,
154
+ // 'edit_field_class' => ''
155
+ // ),
156
+ array(
157
+ 'param_name' => 'quote_symbol',
158
+ 'type' => 'aux_switch',
159
+ 'def_value' => '',
160
+ 'value' => '1',
161
+ 'holder' => 'dropdown',
162
+ 'class' => 'showheader',
163
+ 'heading' => __('Insert quote symbol', 'auxin-elements'),
164
+ 'description' => '',
165
+ 'admin_label' => true,
166
+ 'dependency' => '',
167
+ 'weight' => '',
168
+ 'group' => '' ,
169
+ 'edit_field_class' => ''
170
+ ),
171
+
172
+ array(
173
+ 'param_name' => 'extra_classes',
174
+ 'type' => 'textfield',
175
+ 'value' => '',
176
+ 'def_value' => '',
177
+ 'holder' => 'textfield',
178
+ 'class' => 'extra_classes',
179
+ 'heading' => __('Extra class name','auxin-elements' ),
180
+ 'description' => __('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'auxin-elements' ),
181
+ 'admin_label' => true,
182
+ 'dependency' => '',
183
+ 'weight' => '',
184
+ 'group' => '' ,
185
+ 'edit_field_class' => ''
186
+ )
187
+ )
188
+ );
189
+
190
+ return $master_array;
191
+ }
192
+
193
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_quote_master_array', 10, 1 );
194
+
195
+ function auxin_widget_quote_callback( $atts, $shortcode_content = null ){
196
+
197
+ /**
198
+ * type:
199
+ * intro-hero
200
+ * intro-normal
201
+ * intro-splitter
202
+ *
203
+ * pullquote-normal
204
+ * pullquote-colorized
205
+ *
206
+ * quote-normal
207
+ * quote-big
208
+ *
209
+ * blockquote-normal
210
+ * blockquote-bordered
211
+ *
212
+ * text-align:
213
+ * center
214
+ * right
215
+ * left
216
+ *
217
+ * float:
218
+ * none
219
+ * left
220
+ * right
221
+ */
222
+
223
+ // Defining default attributes
224
+ $default_atts = array(
225
+ 'title' => '', // header title
226
+ 'content' => '',
227
+
228
+ 'indent' => '', // custom values: yes, no
229
+ 'type' => 'blockquote-normal',
230
+ 'text_align' => '',
231
+ 'float' => '',
232
+ 'quote_symbol' => '1',
233
+
234
+ 'extra_classes' => '', // custom css class names for this element
235
+ 'custom_el_id' => '', // custom id attribute for this element
236
+ 'base_class' => 'aux-widget-quote' // base class name for container
237
+ );
238
+
239
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
240
+ extract( $result['parsed_atts'] );
241
+
242
+ ob_start();
243
+
244
+ // widget header ------------------------------
245
+ echo $result['widget_header'];
246
+ echo $result['widget_title'];
247
+
248
+ // widget custom output -----------------------
249
+
250
+ $classes_list = array( 'aux-elem-quote' );
251
+
252
+ $classes_list[] = 'aux-' . $type;
253
+
254
+ if( ! empty( $text_align ) && 'none'!== $text_align ){
255
+ $classes_list[] = 'aux-text-align-' . $text_align;
256
+ }
257
+
258
+ if( ! empty( $float ) ){
259
+ $classes_list[] = 'aux-float-' . $float;
260
+ }
261
+
262
+ if( $quote_symbol ){
263
+ $classes_list[] = 'aux-quote-letter';
264
+ }
265
+
266
+ if( !empty($extra_classes) ){
267
+ $classes_list[] = $extra_classes;
268
+ }
269
+
270
+
271
+ $classes = implode( ' ', $classes_list );
272
+ $shortcode_content = auxin_do_cleanup_shortcode( $shortcode_content );
273
+ $shortcode_content = empty( $shortcode_content ) ? auxin_do_cleanup_shortcode( $content ) : $shortcode_content;
274
+
275
+ switch ( $type ) {
276
+ case 'intro-hero':
277
+ case 'intro-normal':
278
+ case 'intro-splitter':
279
+ echo sprintf( '<p class="%s">%s</p>', $classes, $shortcode_content );
280
+ break;
281
+
282
+ case 'pullquote-normal':
283
+ case 'pullquote-colorized':
284
+ echo sprintf( '<blockquote class="%s"><p>%s</p></blockquote>', $classes, $shortcode_content );
285
+ break;
286
+
287
+ case 'quote-normal':
288
+ case 'quote-big':
289
+ echo sprintf( '<blockquote class="%s"><p>%s</p></blockquote>', $classes, $shortcode_content );
290
+ break;
291
+
292
+ case 'blockquote-normal':
293
+ case 'blockquote-bordered':
294
+ default:
295
+ echo sprintf( '<blockquote class="%s"><p>%s</p></blockquote>', $classes, $shortcode_content );
296
+ break;
297
+ }
298
+
299
+ // widget footer ------------------------------
300
+ echo $result['widget_footer'];
301
+
302
+ return ob_get_clean();
303
+ }
includes/elements/recent-posts-widget.php ADDED
@@ -0,0 +1,341 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Code highlighter element
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+
13
+ function auxin_get_recent_post_widget_master_array( $master_array ) {
14
+
15
+ $categories = get_terms( 'category', 'orderby=count&hide_empty=0' );
16
+ $categories_list = array( '' => __('All Categories', 'auxin-elements' ) );
17
+ foreach ( $categories as $key => $value ) {
18
+ $categories_list[$value->term_id] = $value->name;
19
+ }
20
+
21
+ // $tags = get_terms( 'post_tag', 'orderby=count&hide_empty=0' );
22
+ // $tags_list;
23
+ // foreach ($tags as $key => $value) {
24
+ // $tags_list["$value->term_id"] = $value->name;
25
+ // }
26
+
27
+
28
+ $master_array['aux_recent_post_widget'] = array(
29
+ 'name' => __('[Phlox] Recent Posts Widget', 'auxin-elements' ),
30
+ 'auxin_output_callback' => 'auxin_widget_recent_post_widget_callback',
31
+ 'base' => 'aux_recent_post_widget',
32
+ 'description' => __('Shows recent posts with thumbnail.', 'auxin-elements' ),
33
+ 'class' => 'aux-widget-recent-post-widget',
34
+ 'show_settings_on_create' => true,
35
+ 'weight' => 1,
36
+ 'is_widget' => true,
37
+ 'is_shortcode' => false,
38
+ 'is_so' => false,
39
+ 'is_vc' => false,
40
+ 'category' => THEME_NAME,
41
+ 'group' => '',
42
+ 'admin_enqueue_js' => '',
43
+ 'admin_enqueue_css' => '',
44
+ 'front_enqueue_js' => '',
45
+ 'front_enqueue_css' => '',
46
+ 'icon' => 'auxin-element auxin-code',
47
+ 'custom_markup' => '',
48
+ 'js_view' => '',
49
+ 'html_template' => '',
50
+ 'deprecated' => '',
51
+ 'content_element' => '',
52
+ 'as_parent' => '',
53
+ 'as_child' => '',
54
+ 'params' => array(
55
+ array(
56
+ 'param_name' => 'title',
57
+ 'type' => 'textfield',
58
+ 'std' => '',
59
+ 'value' => '',
60
+ 'holder' => 'textfield',
61
+ 'class' => 'title',
62
+ 'heading' => __('Title','auxin-elements' ),
63
+ 'description' => '',
64
+ 'admin_label' => true,
65
+ 'dependency' => '',
66
+ 'weight' => '',
67
+ 'group' => '' ,
68
+ 'edit_field_class' => ''
69
+ ),
70
+ array(
71
+ 'param_name' => 'num',
72
+ 'type' => 'dropdown',
73
+ 'def_value' => '4',
74
+ 'holder' => 'dropdown',
75
+ 'class' => 'num',
76
+ 'heading' => __('Number of posts to show', 'auxin-elements'),
77
+ 'description' => '',
78
+ 'value' => array(
79
+ '1' => '1' , '2' => '2' , '3' => '3' ,
80
+ '4' => '4' , '5' => '5' , '6' => '6',
81
+ '7' => '7' , '8' => '8' , '9' => '9' ,
82
+ '10' => '10','11' => '11' ,'12' => '12'
83
+ ),
84
+ 'admin_label' => true,
85
+ 'dependency' => '',
86
+ 'weight' => '',
87
+ 'group' => '' ,
88
+ 'edit_field_class' => ''
89
+ ),
90
+ array(
91
+ 'param_name' => 'show_media',
92
+ 'type' => 'aux_switch',
93
+ 'def_value' => '',
94
+ 'value' => '1',
95
+ 'holder' => 'dropdown',
96
+ 'class' => 'show_media',
97
+ 'heading' => __('Display Image', 'auxin-elements' ),
98
+ 'description' => __('Enable it to display images as well.','auxin-elements' ),
99
+ 'admin_label' => true,
100
+ 'dependency' => '',
101
+ 'weight' => '',
102
+ 'group' => '' ,
103
+ 'edit_field_class' => ''
104
+ ),
105
+ array(
106
+ 'param_name' => 'show_excerpt',
107
+ 'type' => 'aux_switch',
108
+ 'def_value' => '',
109
+ 'value' => '1',
110
+ 'holder' => 'dropdown',
111
+ 'class' => 'show_excerpt',
112
+ 'heading' => __('Display Excerpt','auxin-elements' ),
113
+ 'description' => __('Enable it to display post summary instead of full content.','auxin-elements' ),
114
+ 'admin_label' => 1,
115
+ 'dependency' => '',
116
+ 'weight' => '',
117
+ 'group' => '' ,
118
+ 'edit_field_class' => ''
119
+ ),
120
+ array(
121
+ 'param_name' => 'show_date',
122
+ 'type' => 'aux_switch',
123
+ 'def_value' => '',
124
+ 'value' => '1',
125
+ 'holder' => 'dropdown',
126
+ 'class' => 'show_date',
127
+ 'heading' => __('Display post date','auxin-elements' ),
128
+ 'admin_label' => 1,
129
+ 'dependency' => '',
130
+ 'weight' => '',
131
+ 'group' => '' ,
132
+ 'edit_field_class' => ''
133
+ ),
134
+ array(
135
+ 'param_name' => 'excerpt_len',
136
+ 'type' => 'textfield',
137
+ 'value' => '60',
138
+ 'holder' => 'textfield',
139
+ 'class' => 'excerpt_len',
140
+ 'heading' => __('Excerpt Length','auxin-elements' ),
141
+ 'description' => __('Specify summary content in character','auxin-elements' ),
142
+ 'admin_label' => 1,
143
+ 'dependency' => '',
144
+ 'weight' => '',
145
+ 'group' => '' ,
146
+ 'edit_field_class' => ''
147
+ ),
148
+ array(
149
+ 'param_name' => 'order_by',
150
+ 'type' => 'dropdown',
151
+ 'def_value' => 'date',
152
+ 'holder' => 'dropdown',
153
+ 'class' => 'order_by',
154
+ 'heading' => __('Order By', 'auxin-elements'),
155
+ 'description' => '',
156
+ 'value' => array (
157
+ 'date' => __('Date', 'auxin-elements'),
158
+ 'menu_order date' => __('Menu Order', 'auxin-elements'),
159
+ 'title' => __('Title', 'auxin-elements'),
160
+ 'ID' => __('ID', 'auxin-elements'),
161
+ 'rand' => __('Random', 'auxin-elements'),
162
+ 'comment_count' => __('Comments', 'auxin-elements'),
163
+ 'modified' => __('Date Modified', 'auxin-elements'),
164
+ 'author' => __('Author', 'auxin-elements'),
165
+ ),
166
+ 'admin_label' => true,
167
+ 'dependency' => '',
168
+ 'weight' => '',
169
+ 'group' => '' ,
170
+ 'edit_field_class' => ''
171
+ ),
172
+ array(
173
+ 'param_name' => 'order',
174
+ 'type' => 'dropdown',
175
+ 'def_value' => 'DESC',
176
+ 'holder' => 'dropdown',
177
+ 'class' => 'order',
178
+ 'heading' => __('Order', 'auxin-elements'),
179
+ 'description' => '',
180
+ 'value' =>array (
181
+ 'DESC' => __('Descending', 'auxin-elements'),
182
+ 'ASC' => __('Ascending', 'auxin-elements'),
183
+ ),
184
+ 'admin_label' => true,
185
+ 'dependency' => '',
186
+ 'weight' => '',
187
+ 'group' => '' ,
188
+ 'edit_field_class' => ''
189
+ ),
190
+ array(
191
+ 'param_name' => 'cat',
192
+ 'type' => 'dropdown',
193
+ 'def_value' => 'default',
194
+ 'holder' => 'dropdown',
195
+ 'class' => 'cat',
196
+ 'heading' => __('Categories', 'auxin-elements'),
197
+ 'description' => __('specify a categories that you want.', 'auxin-elements' ),
198
+ 'value' => $categories_list,
199
+ 'admin_label' => true,
200
+ 'dependency' => '',
201
+ 'weight' => '',
202
+ 'group' => '' ,
203
+ 'edit_field_class' => ''
204
+ ),
205
+ // array(
206
+ // 'param_name' => 'tag',
207
+ // 'type' => 'dropdown',
208
+ // 'def_value' => '',
209
+ // 'holder' => 'dropdown',
210
+ // 'class' => 'tag',
211
+ // 'heading' => __('Tags', 'auxin-elements'),
212
+ // 'description' => __('specify a tags that you want.', 'auxin-elements' ),
213
+ // 'value' => $tags_list,
214
+ // 'admin_label' => true,
215
+ // 'dependency' => '',
216
+ // 'weight' => '',
217
+ // 'group' => '' ,
218
+ // 'edit_field_class' => ''
219
+ // ),
220
+ array(
221
+ 'param_name' => 'extra_classes',
222
+ 'type' => 'textfield',
223
+ 'value' => '',
224
+ 'def_value' => '',
225
+ 'holder' => 'textfield',
226
+ 'class' => 'extra_classes',
227
+ 'heading' => __('Extra class name','auxin-elements' ),
228
+ 'description' => __('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'auxin-elements' ),
229
+ 'admin_label' => true,
230
+ 'dependency' => '',
231
+ 'weight' => '',
232
+ 'group' => '',
233
+ 'edit_field_class' => ''
234
+ )
235
+ )
236
+ );
237
+
238
+ return $master_array;
239
+ }
240
+
241
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_recent_post_widget_master_array', 10, 1 );
242
+
243
+
244
+
245
+
246
+ /**
247
+ * Element without loop and column
248
+ * The front-end output of this element is returned by the following function
249
+ *
250
+ * @param array $atts The array containing the parsed values from shortcode, it should be same as defined params above.
251
+ * @param string $shortcode_content The shorcode content
252
+ * @return string The output of element markup
253
+ */
254
+ function auxin_widget_recent_post_widget_callback( $atts, $shortcode_content = null ){
255
+
256
+ // Defining default attributes
257
+ $default_atts = array(
258
+ 'title' => '', // header title
259
+ 'num' => '4',
260
+ 'show_media' => 1,
261
+ 'show_excerpt' => 1,
262
+ 'show_date' => 1,
263
+ 'excerpt_len' => '60',
264
+ 'order' => 'desc',
265
+ 'order_by' => 'date',
266
+ 'cat' => '',
267
+ 'tag' => '',
268
+ 'extra_classes' => '',
269
+ 'custom_el_id' => '',
270
+ 'base_class' => 'aux-widget-recent-post-widget'
271
+ );
272
+
273
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
274
+ extract( $result['parsed_atts'] );
275
+
276
+ ob_start();
277
+
278
+
279
+
280
+ // create wp_query to get latest items -----------
281
+ $args = array(
282
+ 'post_type' => 'post',
283
+ 'orderby' => $order_by,
284
+ 'order' => $order,
285
+ 'post_status' => 'publish',
286
+ 'posts_per_page' => $num,
287
+ 'cat' => $cat,
288
+ // 'tag_id' => $tag,
289
+ 'ignore_sticky_posts' => 1
290
+ );
291
+
292
+ $th_query = null;
293
+ $th_query = new WP_Query( $args );
294
+
295
+ $show_format = 'false'; // @TODO
296
+
297
+ // widget header ------------------------------
298
+ echo $result['widget_header'];
299
+ echo $result['widget_title'];
300
+
301
+ if( $th_query->have_posts() ): while ($th_query->have_posts()) : $th_query->the_post(); ?>
302
+
303
+ <article class="media-land">
304
+ <?php if( $show_media == true && $entry_media = auxin_get_the_post_thumbnail( null, 160, 160, true ) ) { ?>
305
+ <?php //if( $entry_media = auxin_get_the_post_thumbnail( null, 160, 160, true ) ) { ?>
306
+ <div class="entry-media">
307
+ <div class="aux-media-frame aux-media-image">
308
+ <a href="<?php the_permalink(); ?>">
309
+ <?php echo $entry_media; ?>
310
+ </a>
311
+ </div>
312
+ </div>
313
+ <?php } if( $show_format ) { ?>
314
+ <div class="entry-format">
315
+ <a href="<?php the_permalink(); ?>" class="post-format format-<?php echo get_post_format(); ?>"></a>
316
+ </div>
317
+ <?php } ?>
318
+ <div>
319
+ <header class="entry-header">
320
+ <h4 class="entry-title"><a href="<?php the_permalink(); ?>"><?php echo auxin_get_trimmed_string( get_the_title(), 40, '...'); ?></a></h4>
321
+ </header>
322
+
323
+ <div class="entry-content">
324
+ <?php if($show_date != false ) { ?>
325
+ <time datetime="<?php the_time('Y-m-d')?>" title="<?php the_time('Y-m-d')?>" ><?php the_time('F j, Y'); ?></time>
326
+ <?php } if( $show_excerpt != false ) { ?>
327
+ <p><?php auxin_the_trim_excerpt( null, (int) $excerpt_len, null, true ); ?></p>
328
+ <?php } ?>
329
+ </div>
330
+ </div>
331
+ </article>
332
+
333
+
334
+ <?php endwhile; endif;
335
+ wp_reset_query();
336
+
337
+ // widget footer ------------------------------
338
+ echo $result['widget_footer'];
339
+
340
+ return ob_get_clean();
341
+ }
includes/elements/recent-posts.php ADDED
@@ -0,0 +1,708 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Code highlighter element
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+
13
+ function auxin_get_recent_posts_master_array( $master_array ) {
14
+
15
+ $categories = get_terms( 'category', 'orderby=count&hide_empty=0' );
16
+ $categories_list = array( '' => __('All Categories', 'auxin-elements' ) ) ;
17
+ foreach ( $categories as $key => $value ) {
18
+ $categories_list[$value->term_id] = $value->name;
19
+ }
20
+
21
+ // $tags = get_terms( 'post_tag', 'orderby=count&hide_empty=0' );
22
+ // $tags_list;
23
+ // foreach ($tags as $key => $value) {
24
+ // $tags_list["$value->term_id"] = $value->name;
25
+ // }
26
+
27
+
28
+ $master_array['aux_recent_posts'] = array(
29
+ 'name' => __('[Phlox] Recent Posts', 'auxin-elements' ),
30
+ 'auxin_output_callback' => 'auxin_widget_recent_posts_callback',
31
+ 'base' => 'aux_recent_posts',
32
+ 'description' => __('It adds recent posts in grid or carousel mode.', 'auxin-elements' ),
33
+ 'class' => 'aux-widget-recent-posts',
34
+ 'show_settings_on_create' => true,
35
+ 'weight' => 1,
36
+ 'is_widget' => false,
37
+ 'is_shortcode' => true,
38
+ 'is_so' => true,
39
+ 'is_vc' => true,
40
+ 'category' => THEME_NAME,
41
+ 'group' => '',
42
+ 'admin_enqueue_js' => '',
43
+ 'admin_enqueue_css' => '',
44
+ 'front_enqueue_js' => '',
45
+ 'front_enqueue_css' => '',
46
+ 'icon' => 'auxin-element auxin-code',
47
+ 'custom_markup' => '',
48
+ 'js_view' => '',
49
+ 'html_template' => '',
50
+ 'deprecated' => '',
51
+ 'content_element' => '',
52
+ 'as_parent' => '',
53
+ 'as_child' => '',
54
+ 'params' => array(
55
+ array(
56
+ 'param_name' => 'title',
57
+ 'type' => 'textfield',
58
+ 'std' => '',
59
+ 'value' => '',
60
+ 'holder' => 'textfield',
61
+ 'class' => 'title',
62
+ 'heading' => __('Title','auxin-elements' ),
63
+ 'description' => '',
64
+ 'admin_label' => true,
65
+ 'dependency' => '',
66
+ 'weight' => '',
67
+ 'group' => '' ,
68
+ 'edit_field_class' => ''
69
+ ),
70
+ // array(
71
+ // 'param_name' => 'post_type',
72
+ // 'type' => 'dropdown',
73
+ // 'def_value' => 'post',
74
+ // 'value' => array(
75
+ // 'post' => __('Posts', 'auxin-elements' ),
76
+ // 'page' => __('Pages', 'auxin-elements' ),
77
+ // ),
78
+ // 'holder' => 'dropdown',
79
+ // 'class' => 'border',
80
+ // 'heading' => __('Create items from','auxin-elements' ),
81
+ // 'description' => '',
82
+ // 'admin_label' => true,
83
+ // 'dependency' => '',
84
+ // 'weight' => '',
85
+ // 'group' => '' ,
86
+ // 'edit_field_class' => ''
87
+ // ),
88
+
89
+ array(
90
+ 'param_name' => 'cat',
91
+ 'type' => 'dropdown',
92
+ 'def_value' => '',
93
+ 'holder' => 'dropdown',
94
+ 'class' => 'cat',
95
+ 'heading' => __('Categories', 'auxin-elements'),
96
+ 'description' => __('Specifies a category that you want to show posts from it.', 'auxin-elements' ),
97
+ 'value' => $categories_list,
98
+ 'admin_label' => true,
99
+ 'dependency' => '',
100
+ 'weight' => '',
101
+ 'group' => '' ,
102
+ 'edit_field_class' => ''
103
+ ),
104
+
105
+ array(
106
+ 'param_name' => 'num',
107
+ 'type' => 'textfield',
108
+ 'def_value' => '8',
109
+ 'holder' => 'textfield',
110
+ 'class' => 'num',
111
+ 'heading' => __('Number of posts to show', 'auxin-elements'),
112
+ 'description' => '',
113
+ 'admin_label' => true,
114
+ 'dependency' => '',
115
+ 'weight' => '',
116
+ 'group' => '' ,
117
+ 'edit_field_class' => ''
118
+ ),
119
+
120
+ array(
121
+ 'param_name' => 'exclude_without_media',
122
+ 'type' => 'aux_switch',
123
+ 'value' => '0',
124
+ 'class' => '',
125
+ 'heading' => __('Exclude posts without media','auxin-elements' ),
126
+ 'description' => '',
127
+ 'admin_label' => true,
128
+ 'dependency' => '',
129
+ 'weight' => '',
130
+ 'group' => '' ,
131
+ 'edit_field_class' => ''
132
+ ),
133
+
134
+ array(
135
+ 'param_name' => 'exclude_custom_post_formats',
136
+ 'type' => 'aux_switch',
137
+ 'value' => '0',
138
+ 'class' => '',
139
+ 'heading' => __('Exclude custom post formats','auxin-elements' ),
140
+ 'description' => '',
141
+ 'admin_label' => true,
142
+ 'dependency' => '',
143
+ 'weight' => '',
144
+ 'group' => '' ,
145
+ 'edit_field_class' => ''
146
+ ),
147
+
148
+ array(
149
+ 'param_name' => 'exclude_qoute_link',
150
+ 'type' => 'aux_switch',
151
+ 'value' => '0',
152
+ 'class' => '',
153
+ 'heading' => __('Exclude qoute and link post formats','auxin-elements' ),
154
+ 'description' => '',
155
+ 'admin_label' => true,
156
+ 'dependency' => array(
157
+ 'element' => 'exclude_custom_post_formats',
158
+ 'value' => '0'
159
+ ),
160
+ 'weight' => '',
161
+ 'group' => '' ,
162
+ 'edit_field_class' => ''
163
+ ),
164
+
165
+ array(
166
+ 'param_name' => 'exclude',
167
+ 'type' => 'textfield',
168
+ 'value' => '',
169
+ 'holder' => 'textfield',
170
+ 'class' => '',
171
+ 'heading' => __('Exclude posts','auxin-elements' ),
172
+ 'description' => __('Post IDs separated by comma (eg. 53,34,87,25)', 'auxin-elements' ),
173
+ 'admin_label' => true,
174
+ 'dependency' => '',
175
+ 'weight' => '',
176
+ 'group' => '' ,
177
+ 'edit_field_class' => ''
178
+ ),
179
+ array(
180
+ 'param_name' => 'include',
181
+ 'type' => 'textfield',
182
+ 'value' => '',
183
+ 'holder' => 'textfield',
184
+ 'class' => '',
185
+ 'heading' => __('Include posts','auxin-elements' ),
186
+ 'description' => __('Post IDs separated by comma (eg. 53,34,87,25)', 'auxin-elements' ),
187
+ 'admin_label' => true,
188
+ 'dependency' => '',
189
+ 'weight' => '',
190
+ 'group' => '' ,
191
+ 'edit_field_class' => ''
192
+ ),
193
+ array(
194
+ 'param_name' => 'order_by',
195
+ 'type' => 'dropdown',
196
+ 'def_value' => 'date',
197
+ 'holder' => 'dropdown',
198
+ 'class' => 'order_by',
199
+ 'heading' => __('Order By', 'auxin-elements'),
200
+ 'description' => '',
201
+ 'value' => array (
202
+ 'date' => __('Date', 'auxin-elements'),
203
+ 'menu_order date' => __('Menu Order', 'auxin-elements'),
204
+ 'title' => __('Title', 'auxin-elements'),
205
+ 'ID' => __('ID', 'auxin-elements'),
206
+ 'rand' => __('Random', 'auxin-elements'),
207
+ 'comment_count' => __('Comments', 'auxin-elements'),
208
+ 'modified' => __('Date Modified', 'auxin-elements'),
209
+ 'author' => __('Author', 'auxin-elements'),
210
+ ),
211
+ 'admin_label' => true,
212
+ 'dependency' => '',
213
+ 'weight' => '',
214
+ 'group' => '' ,
215
+ 'edit_field_class' => ''
216
+ ),
217
+ array(
218
+ 'param_name' => 'order',
219
+ 'type' => 'dropdown',
220
+ 'def_value' => 'DESC',
221
+ 'holder' => 'dropdown',
222
+ 'class' => 'order',
223
+ 'heading' => __('Order', 'auxin-elements'),
224
+ 'description' => '',
225
+ 'value' =>array (
226
+ 'DESC' => __('Descending', 'auxin-elements'),
227
+ 'ASC' => __('Ascending', 'auxin-elements'),
228
+ ),
229
+ 'admin_label' => true,
230
+ 'dependency' => '',
231
+ 'weight' => '',
232
+ 'group' => '' ,
233
+ 'edit_field_class' => ''
234
+ ),
235
+
236
+ array(
237
+ 'param_name' => 'offset',
238
+ 'type' => 'textfield',
239
+ 'value' => '',
240
+ 'holder' => 'textfield',
241
+ 'class' => '',
242
+ 'heading' => __('Start offset','auxin-elements' ),
243
+ 'description' => __('Number of post to displace or pass over', 'auxin-elements' ),
244
+ 'admin_label' => true,
245
+ 'dependency' => '',
246
+ 'weight' => '',
247
+ 'group' => '' ,
248
+ 'edit_field_class' => ''
249
+ ),
250
+
251
+ array(
252
+ 'param_name' => 'show_media',
253
+ 'type' => 'aux_switch',
254
+ 'def_value' => '',
255
+ 'value' => '1',
256
+ 'holder' => 'dropdown',
257
+ 'class' => 'show_media',
258
+ 'heading' => __('Display post media (image, video, etc)', 'auxin-elements' ),
259
+ 'admin_label' => true,
260
+ 'dependency' => '',
261
+ 'weight' => '',
262
+ 'group' => '' ,
263
+ 'edit_field_class' => ''
264
+ ),
265
+
266
+ array(
267
+ 'param_name' => 'show_title',
268
+ 'type' => 'aux_switch',
269
+ 'value' => '1',
270
+ 'class' => '',
271
+ 'heading' => __('Insert post title','auxin-elements' ),
272
+ 'description' => '',
273
+ 'admin_label' => true,
274
+ 'dependency' => '',
275
+ 'weight' => '',
276
+ 'group' => '' ,
277
+ 'edit_field_class' => ''
278
+ ),
279
+
280
+ array(
281
+ 'param_name' => 'show_info',
282
+ 'type' => 'aux_switch',
283
+ 'value' => '1',
284
+ 'class' => '',
285
+ 'heading' => __('Insert post meta','auxin-elements' ),
286
+ 'description' => '',
287
+ 'admin_label' => true,
288
+ 'weight' => '',
289
+ 'group' => '' ,
290
+ 'edit_field_class' => ''
291
+ ),
292
+
293
+ array(
294
+ 'param_name' => 'show_excerpt',
295
+ 'type' => 'aux_switch',
296
+ 'def_value' => '',
297
+ 'value' => '1',
298
+ 'holder' => 'dropdown',
299
+ 'class' => 'show_excerpt',
300
+ 'heading' => __('Display Excerpt','auxin-elements' ),
301
+ 'description' => __('Enable it to display post summary instead of full content.','auxin-elements' ),
302
+ 'admin_label' => 1,
303
+ 'dependency' => '',
304
+ 'weight' => '',
305
+ 'group' => '' ,
306
+ 'edit_field_class' => ''
307
+ ),
308
+
309
+ array(
310
+ 'param_name' => 'excerpt_len',
311
+ 'type' => 'textfield',
312
+ 'value' => '160',
313
+ 'holder' => 'textfield',
314
+ 'class' => 'excerpt_len',
315
+ 'heading' => __('Excerpt Length','auxin-elements' ),
316
+ 'description' => __('Specify summary content in character','auxin-elements' ),
317
+ 'admin_label' => 1,
318
+ 'dependency' => array(
319
+ 'element' => 'show_excerpt',
320
+ 'value' => '1'
321
+ ),
322
+ 'weight' => '',
323
+ 'group' => '' ,
324
+ 'edit_field_class' => ''
325
+ ),
326
+
327
+
328
+ array(
329
+ 'param_name' => 'show_readmore',
330
+ 'type' => 'aux_switch',
331
+ 'value' => '1',
332
+ 'class' => '',
333
+ 'heading' => __('Insert read more button','auxin-elements' ),
334
+ 'description' => '',
335
+ 'admin_label' => true,
336
+ 'weight' => '',
337
+ 'group' => '' ,
338
+ 'edit_field_class' => ''
339
+ ),
340
+
341
+ array(
342
+ 'param_name' => 'show_author_footer',
343
+ 'type' => 'aux_switch',
344
+ 'value' => '1',
345
+ 'class' => '',
346
+ 'heading' => __('Insert author name in bottom side','auxin-elements' ),
347
+ 'description' => '',
348
+ 'dependency' => array(
349
+ 'element' => 'show_readmore',
350
+ 'value' => '0'
351
+ ),
352
+ 'admin_label' => false,
353
+ 'weight' => '',
354
+ 'group' => '' ,
355
+ 'edit_field_class' => ''
356
+ ),
357
+
358
+ array(
359
+ 'param_name' => 'desktop_cnum',
360
+ 'type' => 'dropdown',
361
+ 'def_value' => '4',
362
+ 'holder' => 'dropdown',
363
+ 'class' => 'num',
364
+ 'heading' => __('Number of columns', 'auxin-elements'),
365
+ 'description' => '',
366
+ 'value' => array(
367
+ '1' => '1' , '2' => '2' , '3' => '3' ,
368
+ '4' => '4' , '5' => '5' , '6' => '6'
369
+ ),
370
+ 'admin_label' => true,
371
+ 'dependency' => '',
372
+ 'weight' => '',
373
+ 'group' => '' ,
374
+ 'edit_field_class' => ''
375
+ ),
376
+
377
+ array(
378
+ 'param_name' => 'tablet_cnum',
379
+ 'type' => 'dropdown',
380
+ 'def_value' => 'inherit',
381
+ 'holder' => 'dropdown',
382
+ 'class' => 'num',
383
+ 'heading' => __('Number of columns in tablet size', 'auxin-elements'),
384
+ 'description' => '',
385
+ 'value' => array(
386
+ 'inherit' => 'Inherited from larger',
387
+ '1' => '1' , '2' => '2' , '3' => '3' ,
388
+ '4' => '4'
389
+ ),
390
+ 'admin_label' => true,
391
+ 'dependency' => '',
392
+ 'weight' => '',
393
+ 'group' => '' ,
394
+ 'edit_field_class' => ''
395
+ ),
396
+
397
+ array(
398
+ 'param_name' => 'phone_cnum',
399
+ 'type' => 'dropdown',
400
+ 'def_value' => 'inherit',
401
+ 'holder' => 'dropdown',
402
+ 'class' => 'num',
403
+ 'heading' => __('Number of columns in phone size', 'auxin-elements'),
404
+ 'description' => '',
405
+ 'value' => array(
406
+ 'inherit' => 'Inherited from larger',
407
+ '1' => '1' , '2' => '2'
408
+ ),
409
+ 'admin_label' => true,
410
+ 'dependency' => '',
411
+ 'weight' => '',
412
+ 'group' => '' ,
413
+ 'edit_field_class' => ''
414
+ ),
415
+
416
+ // array(
417
+ // 'param_name' => 'preview_mode',
418
+ // 'type' => 'dropdown',
419
+ // 'def_value' => 'grid',
420
+ // 'holder' => 'dropdown',
421
+ // 'class' => 'num',
422
+ // 'heading' => __('Display items in', 'auxin-elements'),
423
+ // 'description' => '',
424
+ // 'value' => array(
425
+ // 'grid' => 'Grid',
426
+ // 'carousel' => 'Carousel'
427
+ // ),
428
+ // 'admin_label' => true,
429
+ // 'dependency' => '',
430
+ // 'weight' => '',
431
+ // 'group' => '' ,
432
+ // 'edit_field_class' => ''
433
+ // ),
434
+
435
+ // // Carousel Options
436
+ // array(
437
+ // 'param_name' => 'carousel_space',
438
+ // 'type' => 'textfield',
439
+ // 'value' => '30',
440
+ // 'holder' => 'textfield',
441
+ // 'class' => 'excerpt_len',
442
+ // 'heading' => __('Column space','auxin-elements' ),
443
+ // 'description' => __('Specifies space between carousel columns in pixels', 'auxin-elements' ),
444
+ // 'admin_label' => 1,
445
+ // 'dependency' => array(
446
+ // 'element' => 'preview_mode',
447
+ // 'value' => 'carousel'
448
+ // ),
449
+ // 'weight' => '',
450
+ // 'group' => '' ,
451
+ // 'edit_field_class' => ''
452
+ // ),
453
+
454
+ // array(
455
+ // 'param_name' => 'carousel_navigation',
456
+ // 'type' => 'dropdown',
457
+ // 'def_value' => 'peritem',
458
+ // 'holder' => 'dropdown',
459
+ // 'class' => 'num',
460
+ // 'heading' => __('Number of columns in phone size', 'auxin-elements'),
461
+ // 'description' => '',
462
+ // 'value' => array(
463
+ // 'peritem' => __('Move per column', 'auxin-elements'),
464
+ // 'perpage' => __('Move per page', 'auxin-elements'),
465
+ // 'scroll' => __('Smooth scroll', 'auxin-elements'),
466
+ // ),
467
+ // 'admin_label' => true,
468
+ // 'dependency' => array(
469
+ // 'element' => 'preview_mode',
470
+ // 'value' => 'carousel'
471
+ // ),
472
+ // 'weight' => '',
473
+ // 'group' => '' ,
474
+ // 'edit_field_class' => ''
475
+ // ),
476
+
477
+ // array(
478
+ // 'param_name' => 'carousel_loop',
479
+ // 'type' => 'aux_switch',
480
+ // 'value' => '1',
481
+ // 'class' => '',
482
+ // 'heading' => __('Loop navigation','auxin-elements' ),
483
+ // 'description' => '',
484
+ // 'dependency' => array(
485
+ // 'element' => 'preview_mode',
486
+ // 'value' => 'carousel'
487
+ // ),
488
+ // 'weight' => '',
489
+ // 'group' => '' ,
490
+ // 'edit_field_class' => ''
491
+ // ),
492
+
493
+ // array(
494
+ // 'param_name' => 'carousel_autoplay',
495
+ // 'type' => 'aux_switch',
496
+ // 'value' => '0',
497
+ // 'class' => '',
498
+ // 'heading' => __('Autoplay carousel','auxin-elements' ),
499
+ // 'description' => '',
500
+ // 'admin_label' => true,
501
+ // 'dependency' => array(
502
+ // 'element' => 'preview_mode',
503
+ // 'value' => 'carousel'
504
+ // ),
505
+ // 'weight' => '',
506
+ // 'group' => '' ,
507
+ // 'edit_field_class' => ''
508
+ // ),
509
+
510
+ // array(
511
+ // 'param_name' => 'carousel_autoplay_delay',
512
+ // 'type' => 'textfield',
513
+ // 'value' => '2',
514
+ // 'holder' => 'textfield',
515
+ // 'class' => 'excerpt_len',
516
+ // 'heading' => __('Autoplay delay','auxin-elements' ),
517
+ // 'description' => __('Specifies the delay between auto-forwarding in seconds', 'auxin-elements' ),
518
+ // 'admin_label' => 1,
519
+ // 'dependency' => array(
520
+ // array(
521
+ // 'element' => 'preview_mode',
522
+ // 'value' => 'carousel'
523
+ // ),
524
+ // array(
525
+ // 'element' => 'carousel_autoplay',
526
+ // 'value' => 1
527
+ // )
528
+ // ),
529
+ // 'weight' => '',
530
+ // 'group' => '' ,
531
+ // 'edit_field_class' => ''
532
+ // ),
533
+
534
+
535
+ array(
536
+ 'param_name' => 'extra_classes',
537
+ 'type' => 'textfield',
538
+ 'value' => '',
539
+ 'def_value' => '',
540
+ 'holder' => 'textfield',
541
+ 'class' => 'extra_classes',
542
+ 'heading' => __('Extra class name','auxin-elements' ),
543
+ 'description' => __('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'auxin-elements' ),
544
+ 'admin_label' => true,
545
+ 'dependency' => '',
546
+ 'weight' => '',
547
+ 'group' => '',
548
+ 'edit_field_class' => ''
549
+ )
550
+ )
551
+ );
552
+
553
+ return $master_array;
554
+ }
555
+
556
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_recent_posts_master_array', 10, 1 );
557
+
558
+
559
+
560
+
561
+ /**
562
+ * Element without loop and column
563
+ * The front-end output of this element is returned by the following function
564
+ *
565
+ * @param array $atts The array containing the parsed values from shortcode, it should be same as defined params above.
566
+ * @param string $shortcode_content The shorcode content
567
+ * @return string The output of element markup
568
+ */
569
+ function auxin_widget_recent_posts_callback( $atts, $shortcode_content = null ){
570
+
571
+ global $aux_content_width;
572
+
573
+ // Defining default attributes
574
+ $default_atts = array(
575
+ 'title' => '', // header title
576
+ 'cat' => '',
577
+ 'num' => '4',
578
+ 'exclude' => '',
579
+ 'include' => '',
580
+ 'include' => '',
581
+ 'offset' => '',
582
+ 'order_by' => 'date',
583
+ 'order' => 'desc',
584
+ 'exclude_without_media' => 0,
585
+ 'exclude_custom_post_formats' => 0,
586
+ 'exclude_qoute_link' => 0,
587
+ 'show_media' => true,
588
+ 'show_excerpt' => true,
589
+ 'excerpt_len' => '160',
590
+ 'show_title' => true,
591
+ 'show_info' => true,
592
+ 'show_readmore' => true,
593
+ 'show_author_footer' => false,
594
+ 'desktop_cnum' => 4,
595
+ 'tablet_cnum' => 'inherit',
596
+ 'phone_cnum' => 'inherit',
597
+ 'preview_mode' => 'grid',
598
+ 'tag' => '',
599
+ 'extra_classes' => '',
600
+ 'custom_el_id' => '',
601
+ 'carousel_space' => '30',
602
+ 'carousel_autoplay' => false,
603
+ 'carousel_autoplay_delay' => '2',
604
+ 'carousel_navigation' => 'peritem',
605
+ 'carousel_loop' => 1,
606
+ 'base_class' => 'aux-widget-recent-posts'
607
+ );
608
+
609
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
610
+ extract( $result['parsed_atts'] );
611
+
612
+ ob_start();
613
+
614
+ // create wp_query to get latest items -----------
615
+ $args = array(
616
+ 'post_type' => 'post',
617
+ 'orderby' => $order_by,
618
+ 'order' => $order,
619
+ 'offset' => $offset,
620
+ 'cat' => $cat,
621
+ 'post__not_in' => array_filter( explode( ',', $exclude ) ),
622
+ 'post__in' => array_filter( explode( ',', $include ) ),
623
+ 'post_status' => 'publish',
624
+ 'posts_per_page' => -1,
625
+ 'ignore_sticky_posts' => 1
626
+ );
627
+
628
+ $th_query = new WP_Query( $args );
629
+
630
+
631
+ // widget header ------------------------------
632
+ echo $result['widget_header'];
633
+ echo $result['widget_title'];
634
+
635
+
636
+ $phone_break_point = 767;
637
+ $tablet_break_point = 992;
638
+
639
+ $show_comments = true; // shows comments icon
640
+ $post_counter = 0;
641
+ $column_class = '';
642
+ $item_class = 'aux-col';
643
+ $carousel_attrs = '';
644
+
645
+ if ( 'grid' == $preview_mode ) {
646
+ // generate columns class
647
+ $column_class = 'aux-match-height aux-row aux-de-col' . $desktop_cnum . ( 'inherit' != $tablet_cnum ? ' aux-tb-col'.$tablet_cnum : '' ) . ( 'inherit' != $phone_cnum ? ' aux-mb-col'.$phone_cnum : '' );
648
+ } elseif ( 'carousel' == $preview_mode ) {
649
+ $column_class = 'master-carousel';
650
+ $item_class = 'aux-mc-item';
651
+ // genereate the master carousel attributes
652
+ $carousel_attrs = 'data-columns="' . $desktop_cnum . '"';
653
+ $carousel_attrs .= ' data-autoplay="' . $carousel_autoplay . '"';
654
+ $carousel_attrs .= ' data-delay="' . $carousel_autoplay_delay . '"';
655
+ $carousel_attrs .= ' data-navigation="' . $carousel_navigation . '"';
656
+ $carousel_attrs .= ' data-space="' . $carousel_space. '"';
657
+ $carousel_attrs .= ' data-loop="' . $carousel_loop. '"';
658
+
659
+ if ( 'inherit' != $tablet_cnum || 'inherit' != $phone_cnum ) {
660
+ $carousel_attrs .= ' data-responsive="'. ( 'inherit' != $tablet_cnum ? $tablet_break_point . ':' . $tablet_cnum . ',' : '' ).
661
+ ( 'inherit' != $phone_cnum ? $phone_break_point . ':' . $phone_cnum : '' ) . '"';
662
+ }
663
+
664
+ }
665
+
666
+ if( $th_query->have_posts() ){
667
+ ?><div class="<?php echo $column_class ?>" <?php echo $carousel_attrs ?>> <?php
668
+ while ( $th_query->have_posts() ) {
669
+
670
+ // break the loop if it is reached to the limit
671
+ if ( $post_counter < $num ) {
672
+ $post_counter ++;
673
+ } else {
674
+ break;
675
+ }
676
+
677
+ $th_query->the_post();
678
+ $post = $th_query->post;
679
+ $post_vars = auxin_get_post_format_media( $post , 'archive', $phone_break_point, true );
680
+ extract( $post_vars );
681
+
682
+ $the_format = get_post_format($post);
683
+
684
+ if (
685
+ ( $exclude_custom_post_formats && !empty( $the_format ) ) ||
686
+ ( $exclude_qoute_link && ( 'link' == $the_format || 'quote' == $the_format ) ) ||
687
+ ( $exclude_without_media && !$has_attach )
688
+ ) {
689
+ $post_counter --;
690
+ continue;
691
+ }
692
+
693
+ ?>
694
+ <div class="<?php echo $item_class ?>">
695
+ <?php include( locate_template( 'templates/theme-parts/entry/post-column.php' ) ); ?>
696
+ </div>
697
+ <?php
698
+ }
699
+ ?> </div> <?php
700
+ }
701
+
702
+ wp_reset_query();
703
+
704
+ // widget footer ------------------------------
705
+ echo $result['widget_footer'];
706
+
707
+ return ob_get_clean();
708
+ }
includes/elements/sample-element.php ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Sample Element element
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+
13
+ function auxin_get_sample_master_array( $master_array ) {
14
+
15
+ $master_array['aux_sample'] = array( // the key should be same as 'base' param
16
+
17
+ 'name' => __('Auxin Callout ', 'auxin-elements'), // [str] name of your shortcode for human reading inside element list
18
+ 'auxin_output_callback' => 'auxin_widget_sample_callback', // [str] Name of widget function callback which will be defined after this array
19
+ 'base' => 'aux_sample', // [str] shortcode tag. For [my_shortcode] shortcode base is my_shortcode
20
+ 'description' => __('The element description', 'auxin-elements'), // [str] short description of your element, it will be visible in "Add element" window
21
+ 'class' => 'aux-widget-sample', // [str] CSS class which will be added to the shortcode's content element in the page edit screen in Visual Composer backend edit mode.
22
+ 'show_settings_on_create' => true, // [Boolean] set it to false if content element's settings page shouldn't open automatically after adding it to the stage
23
+ 'weight' => 1, // [Int] content elements with greater weight will be rendered first in "Content Elements" grid, higher appear upper
24
+ 'is_widget' => true, // whether to add widget not not
25
+ 'is_shortcode' => true, // whether to add shortcode not not
26
+ 'is_so' => true, // whether to add the element to siteorigin page builder or not
27
+ 'is_vc' => true, // whether to add the element to visual composer or not
28
+ 'category' => THEME_NAME, // [str] category which best suites to describe functionality of this shortcode.
29
+ 'group' => '', // [str] TODO: no idea Group your params in groups, they will be divided in tabs in the edit element window
30
+ 'admin_enqueue_js' => '', // [str/arr] this js will be loaded in the js_composer edit mode
31
+ 'admin_enqueue_css' => '', // [str/arr] absolute url to css file
32
+ 'front_enqueue_js' => '', // [str/arr] to load custom js file in the frontend editing mode
33
+ 'front_enqueue_css' => '', // [str/arr] to load custom css file in the frontend editing mode
34
+ 'icon' => '', // URL or CSS class with icon image
35
+ 'custom_markup' => '', // [str] custom html markup for representing shortcode in visual composer editor. This will replace visual composer element where shows the param and its value
36
+ 'js_view' => '', // TODO: no idea Set custom backbone.js view controller for this content element there is a sample which sets it to
37
+ 'html_template' => '', // it uses to override the output of shortcode. Path to shortcode template. This is useful if you want to reassign path of existing content elements lets say override the seprator defined by visual composer.
38
+ 'deprecated' => '', // Enter version number of visual composer from which content element will be deprecated
39
+ 'content_element' => '', // If set to false, content element will be hidden from "Add element" window. It is handy to use this param in pair with 'deprecated' param
40
+ 'as_parent' => '', // use only|except attributes to limit child shortcodes (separate multiple values with comma)
41
+ 'as_child' => '', // use only|except attributes to limit parent (separate multiple values with comma)
42
+ 'params' => array( // array of all parameter
43
+ array( // array of a parameter
44
+ 'param_name' => 'title', // [str] must be the same as your parameter name
45
+ 'type' => 'textfield', // [str] attribute type
46
+ 'value' => 'Sample Title', // [str/arr] default attribute's value
47
+ 'holder' => 'textfield', // [str] HTML tag name where Visual Composer will store attribute value in Visual Composer edit mode
48
+ 'class' => 'title', // [str] class name that will be added to the "holder" HTML tag. Useful if you want to target some CSS rules to specific items in the backend edit interface it also uses for widget param name it is better to be same as param name if you do not know what you are doing
49
+ 'heading' => __('Title', 'auxin-elements'), // [str] human friendly title of your param. Will be visible in shortcode's edit screen
50
+ 'description' => __('Description for this element', 'auxin-elements'),
51
+ 'admin_label' => true, // [bool] show value of param in Visual Composer editor
52
+ 'dependency' => '', // [arr] define param visibility depending on other field value
53
+ 'weight' => '', // [int] params with greater weight will be rendered first
54
+ 'group' => '' , // [str] use it to divide your params within groups (tabs)
55
+ 'edit_field_class' => '' // [str] set param container width in content element edit window. According to Bootstrap logic eg. col-md-4. (Available from Visual Composer 4.0)
56
+ ),
57
+ array( // array of parameter
58
+ 'param_name' => 'title2', // [str] must be the same as your parameter name
59
+ 'type' => 'textfield', // [str] attribute type
60
+ 'value' => 'Yes', // [str/arr] default attribute's value
61
+ 'holder' => 'textfield', // [str] HTML tag name where Visual Composer will store attribute value in Visual Composer edit mode
62
+ 'class' => 'title2', // [str] class name that will be added to the "holder" HTML tag. Useful if you want to target some CSS rules to specific items in the backend edit interface it also uses for widget param name it is better to be same as param name if you do not know what you are doing
63
+ 'heading' => __('Title', 'auxin-elements'), // [str] human friendly title of your param. Will be visible in shortcode's edit screen
64
+ 'description' => __('If you choose Callout a big box appears around the content', 'auxin-elements'),
65
+ 'admin_label' => true, // [bool] show value of param in Visual Composer editor
66
+ 'dependency' => '', // [arr] define param visibility depending on other field value
67
+ 'weight' => '', // [int] params with greater weight will be rendered first
68
+ 'group' => '' , // [str] use it to divide your params within groups (tabs)
69
+ 'edit_field_class' => '' // [str] set param container width in content element edit window. According to Bootstrap logic eg. col-md-4. (Available from Visual Composer 4.0)
70
+ )
71
+ ),
72
+ 'shortcode_atts' => array(
73
+ 'size' => 100, // section size
74
+ 'caption' => '',
75
+ 'type' => 'callout', // callout, stunning
76
+ 'bgcolor' => 'default', // #ffcc00
77
+ 'btn_label' => '',
78
+ 'btn_link' => '',
79
+ 'title' => 'Sample Title', // section title
80
+ 'target' => 'self', // button link target
81
+ )
82
+ );
83
+
84
+ return $master_array;
85
+ }
86
+
87
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_sample_master_array', 10, 1 );
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+ /**
97
+ * Sample element markup for front-end
98
+ * In other words, the front-end output of this element is returned by the following function
99
+ *
100
+ * This is a sample element markup for an element.
101
+ * This function will be called via Master array mapper, so we need to tell
102
+ * the mapper about this function
103
+ */
104
+
105
+
106
+ /**
107
+ * Dynamic element with result in columns
108
+ * The front-end output of this element is returned by the following function
109
+ *
110
+ * @param array $atts The array containing the parsed values from shortcode
111
+ * containing widget info too
112
+ * @param string $shortcode_content The shorcode content
113
+ * @return string The output of element markup
114
+ */
115
+ function auxin_widget_sample_callback( $atts, $shortcode_content = null ){
116
+
117
+ // Defining default attributes
118
+ $default_atts = array(
119
+ 'title' => '', // header title
120
+
121
+ 'extra_classes' => '', // custom css class names for this element
122
+ 'custom_el_id' => '', // custom id attribute for this element
123
+ 'base_class' => 'aux-widget-sample' // base class name for container
124
+ );
125
+
126
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
127
+ extract( $result['parsed_atts'] );
128
+
129
+ // query --------------------------------------
130
+
131
+ // Create wp_query to get pages
132
+ $query_args = array(
133
+ 'post_type' => 'page',
134
+ 'orderby' => "menu_order date",
135
+ 'order' => "DESC",
136
+ 'post_status' => 'publish',
137
+ 'posts_per_page' => -1,
138
+ 'ignore_sticky_posts' => 1
139
+ );
140
+
141
+ $query_res = null;
142
+ $query_res = new WP_Query( $query_args );
143
+
144
+ ob_start();
145
+
146
+ // widget header ------------------------------
147
+ echo $result['widget_header'];
148
+ echo $result['widget_title'];
149
+
150
+ echo '<div class="aux-col-wrapper aux-col3">';
151
+
152
+ // widget custom output -----------------------
153
+
154
+
155
+ if( $query_res->have_posts() ): while ( $query_res->have_posts() ) : $query_res->the_post();
156
+ ?>
157
+
158
+ <article class="aux-col">
159
+ <!-- @TODO - The output for each element here -->
160
+ </article>
161
+
162
+ <?php
163
+ endwhile; endif;
164
+ wp_reset_query();
165
+
166
+
167
+ // widget footer ------------------------------
168
+ echo '</div><!-- aux-col-wrapper -->';
169
+ echo $result['widget_footer'];
170
+
171
+ return ob_get_clean();
172
+ }
173
+
174
+
175
+
176
+
177
+
178
+ /**
179
+ * Element without loop and column
180
+ * The front-end output of this element is returned by the following function
181
+ *
182
+ * @param array $atts The array containing the parsed values from shortcode
183
+ * containing widget info too
184
+ * @param string $shortcode_content The shorcode content
185
+ * @return string The output of element markup
186
+ */
187
+ function auxin_widget_sample_callback2( $atts, $shortcode_content = null ){
188
+
189
+ // Defining default attributes
190
+ $default_atts = array(
191
+ 'title' => '', // header title
192
+
193
+ 'extra_classes' => '', // custom css class names for this element
194
+ 'custom_el_id' => '', // custom id attribute for this element
195
+ 'base_class' => 'aux-widget-sample' // base class name for container
196
+ );
197
+
198
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
199
+ extract( $result['parsed_atts'] );
200
+
201
+ ob_start();
202
+
203
+ // widget header ------------------------------
204
+ echo $result['widget_header'];
205
+ echo $result['widget_title'];
206
+
207
+ // widget custom output -----------------------
208
+
209
+
210
+
211
+ // widget footer ------------------------------
212
+ echo $result['widget_footer'];
213
+
214
+ return ob_get_clean();
215
+ }
includes/elements/search.php ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Search element
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+ function auxin_get_search_master_array( $master_array ) {
13
+ $master_array['aux_search'] = array(
14
+ 'name' => __("[Phlox] Search", 'auxin-elements' ),
15
+ 'auxin_output_callback' => 'auxin_widget_search_field_callcack',
16
+ 'base' => 'aux_search',
17
+ 'description' => __('Fancy search field', 'auxin-elements'),
18
+ 'class' => 'aux-widget-search',
19
+ 'show_settings_on_create' => true,
20
+ 'weight' => 1,
21
+ 'is_widget' => true,
22
+ 'is_shortcode' => true,
23
+ 'is_so' => true,
24
+ 'is_vc' => true,
25
+ 'category' => THEME_NAME,
26
+ 'group' => '',
27
+ 'admin_enqueue_js' => '',
28
+ 'admin_enqueue_css' => '',
29
+ 'front_enqueue_js' => '',
30
+ 'front_enqueue_css' => '',
31
+ 'icon' => 'auxin-element auxin-search',
32
+ 'custom_markup' => '',
33
+ 'js_view' => '',
34
+ 'html_template' => '',
35
+ 'deprecated' => '',
36
+ 'content_element' => '',
37
+ 'as_parent' => '',
38
+ 'as_child' => '',
39
+ 'params' => array(
40
+ array(
41
+ 'param_name' => 'title',
42
+ 'type' => 'textfield',
43
+ 'value' => '',
44
+ 'def_value' => '',
45
+ 'holder' => 'textfield',
46
+ 'class' => 'title',
47
+ 'heading' => __('Title','auxin-elements'),
48
+ 'description' => '',
49
+ 'admin_label' => true,
50
+ 'dependency' => '',
51
+ 'weight' => '',
52
+ 'group' => '' ,
53
+ 'edit_field_class' => ''
54
+ ),
55
+ array(
56
+ 'param_name' => 'extra_classes',
57
+ 'type' => 'textfield',
58
+ 'value' => '',
59
+ 'def_value' => '',
60
+ 'holder' => 'textfield',
61
+ 'class' => 'extra_classes',
62
+ 'heading' => __('Extra class name','auxin-elements'),
63
+ 'description' => __('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'auxin-elements'),
64
+ 'admin_label' => true,
65
+ 'dependency' => '',
66
+ 'weight' => '',
67
+ 'group' => '' ,
68
+ 'edit_field_class' => ''
69
+ )
70
+ )
71
+ );
72
+
73
+ return $master_array;
74
+ }
75
+
76
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_search_master_array', 10, 1 );
77
+
78
+ /**
79
+ * The front-end output of this element is returned by the following function
80
+ *
81
+ * @param array $atts The array containing the parsed values from shortcode, it should be same as defined params above.
82
+ * @param string $shortcode_content The shorcode content
83
+ * @return string The output of element markup
84
+ */
85
+ function auxin_widget_search_field_callcack( $atts, $shortcode_content = null ){
86
+
87
+ // Defining default attributes
88
+ $default_atts = array(
89
+ 'title' => '', // header title
90
+
91
+ 'extra_classes' => '', // custom css class names for this element
92
+ 'custom_el_id' => '', // custom id attribute for this element
93
+ 'base_class' => 'aux-widget-search' // base class name for container
94
+ );
95
+
96
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
97
+ extract( $result['parsed_atts'] );
98
+
99
+ ob_start();
100
+ // widget header ------------------------------
101
+ echo $result['widget_header'];
102
+ echo $result['widget_title'];
103
+
104
+ // The output for element here
105
+ echo auxin_get_search_box(array(
106
+ 'has_toggle_icon' => false,
107
+ 'has_field' => true,
108
+ 'has_submit' => false,
109
+ 'has_form' => true,
110
+ 'has_submit_icon' => true, // this option added for changing submit type
111
+ 'css_class' => $extra_classes,
112
+ 'toggle_icon_class' => ''
113
+ ));
114
+
115
+ // widget footer ------------------------------
116
+ echo $result['widget_footer'];
117
+
118
+ return ob_get_clean();
119
+ }
includes/elements/socials-list.php ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Social List
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+ function auxin_get_social_master_array( $master_array ) {
13
+
14
+ $master_array['aux_socials_list'] = array(
15
+ 'name' => __("[Phlox] Socials", 'auxin-elements' ),
16
+ 'auxin_output_callback' => 'auxin_widget_socials_list_callback',
17
+ 'base' => 'aux_socials_list',
18
+ 'description' => __('It shows the website socials icons which you can configure it by the customizer.', 'auxin-elements'),
19
+ 'class' => 'aux-widget-socials',
20
+ 'show_settings_on_create' => true,
21
+ 'weight' => 1,
22
+ 'is_widget' => true,
23
+ 'is_shortcode' => true,
24
+ 'is_so' => true,
25
+ 'is_vc' => false,
26
+ 'category' => THEME_NAME,
27
+ 'group' => '',
28
+ 'admin_enqueue_js' => '',
29
+ 'admin_enqueue_css' => '',
30
+ 'front_enqueue_js' => '',
31
+ 'front_enqueue_css' => '',
32
+ 'icon' => 'auxin-element auxin-socials',
33
+ 'custom_markup' => '',
34
+ 'js_view' => '',
35
+ 'html_template' => '',
36
+ 'deprecated' => '',
37
+ 'content_element' => '',
38
+ 'as_parent' => '',
39
+ 'as_child' => '',
40
+ 'params' => array(
41
+ array(
42
+ 'param_name' => 'title',
43
+ 'type' => 'textfield',
44
+ 'value' => '',
45
+ 'def_value' => '',
46
+ 'holder' => 'textfield',
47
+ 'class' => 'id',
48
+ 'heading' => __('Title','auxin-elements'),
49
+ 'description' => '',
50
+ 'admin_label' => true,
51
+ 'dependency' => '',
52
+ 'weight' => '',
53
+ 'group' => '' ,
54
+ 'edit_field_class' => ''
55
+ ),
56
+ array(
57
+ 'param_name' => 'size',
58
+ 'type' => 'dropdown',
59
+ 'def_value' => 'medium',
60
+ 'value' => array(
61
+ 'small' => __('Small' , 'auxin-elements'),
62
+ 'medium' => __('Medium' , 'auxin-elements'),
63
+ 'large' => __('Large' , 'auxin-elements'),
64
+ 'extra-large' => __('Extra large' , 'auxin-elements')
65
+ ),
66
+ 'holder' => 'dropdown',
67
+ 'class' => 'size',
68
+ 'heading' => __('Size of social icons','auxin-elements'),
69
+ 'description' => '',
70
+ 'admin_label' => true,
71
+ 'dependency' => '',
72
+ 'weight' => '',
73
+ 'group' => '' ,
74
+ 'edit_field_class' => ''
75
+ ),
76
+ array(
77
+ 'param_name' => 'direction',
78
+ 'type' => 'dropdown',
79
+ 'def_value' => 'horizontal',
80
+ 'value' => array(
81
+ 'horizontal' => __('Horizontal' , 'auxin-elements'),
82
+ 'vertical' => __('Vertical' , 'auxin-elements')
83
+ ),
84
+ 'holder' => 'dropdown',
85
+ 'class' => 'direction',
86
+ 'heading' => __('Directon of socials list','auxin-elements'),
87
+ 'description' => '',
88
+ 'admin_label' => true,
89
+ 'dependency' => '',
90
+ 'weight' => '',
91
+ 'group' => '' ,
92
+ 'edit_field_class' => ''
93
+ ),
94
+
95
+ )
96
+ );
97
+
98
+ return $master_array;
99
+ }
100
+
101
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_social_master_array', 10, 1 );
102
+
103
+
104
+ // This is the widget call back in fact the front end out put of this widget comes from this function
105
+ function auxin_widget_socials_list_callback( $atts, $shortcode_content = null ){
106
+
107
+ // Defining default attributes
108
+ $default_atts = array(
109
+ 'title' => '',
110
+ 'direction' => 'horizontal',
111
+ 'size' => 'medium',
112
+
113
+ 'extra_classes' => '',
114
+ 'custom_el_id' => '',
115
+ 'base_class' => 'aux-widget-socials'
116
+ );
117
+
118
+
119
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
120
+ extract( $result['parsed_atts'] );
121
+
122
+ ob_start();
123
+
124
+ // widget header ------------------------------
125
+ echo $result['widget_header'];
126
+ echo $result['widget_title'];
127
+
128
+ // widget output -----------------------
129
+ echo auxin_the_socials(array(
130
+ 'direction' => $direction,
131
+ 'size' => $size
132
+ ));
133
+
134
+ // widget footer ------------------------------
135
+ echo $result['widget_footer'];
136
+
137
+ return ob_get_clean();
138
+ }
includes/elements/tabs.php ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Tabs element
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+ function auxin_get_tabs_master_array( $master_array ) {
13
+
14
+ $master_array['aux_tabs'] = array( // shortcode info here
15
+ 'name' => __('[Phlox] Tabs', 'auxin-elements'),
16
+ 'auxin_output_callback' => 'auxin_widget_tabs_callback',
17
+ 'base' => 'aux_tabs',
18
+ 'description' => __('It adds tabs element.', 'auxin-elements'),
19
+ 'class' => 'aux-widget-tabs',
20
+ 'show_settings_on_create' => true,
21
+ 'weight' => 1,
22
+ 'category' => THEME_NAME,
23
+ 'group' => '',
24
+ 'admin_enqueue_js' => '',
25
+ 'admin_enqueue_css' => '',
26
+ 'front_enqueue_js' => '',
27
+ 'front_enqueue_css' => '',
28
+ 'icon' => 'auxin-element auxin-tab',
29
+ 'custom_markup' => '',
30
+ 'js_view' => '',
31
+ 'html_template' => '',
32
+ 'deprecated' => '',
33
+ 'content_element' => '',
34
+ 'as_parent' => '',
35
+ 'as_child' => '',
36
+ 'params' => array(
37
+ array(
38
+ 'param_name' => 'title',
39
+ 'type' => 'textfield',
40
+ 'value' => '',
41
+ 'holder' => 'textfield',
42
+ 'class' => 'title',
43
+ 'heading' => __('Title','auxin-elements'),
44
+ 'description' => __('Tabs title, leave it empty if you don`t need title.', 'auxin-elements'),
45
+ 'admin_label' => true,
46
+ 'dependency' => '',
47
+ 'weight' => '',
48
+ 'group' => '' ,
49
+ 'edit_field_class' => ''
50
+ ),
51
+ array(
52
+ 'param_name' => 'content',
53
+ 'type' => 'textarea_html',
54
+ 'value' => '',
55
+ 'def_value' => '',
56
+ 'holder' => 'div',
57
+ 'class' => 'content',
58
+ 'heading' => __('Content','auxin-elements'),
59
+ 'description' => __('Please use below sample for each tab item.<br>[tab_section label="Tab label here" ]Tab content here [/tab_section]', 'auxin-elements'),
60
+ 'admin_label' => true,
61
+ 'dependency' => '',
62
+ 'weight' => '',
63
+ 'group' => '' ,
64
+ 'edit_field_class' => ''
65
+ ),
66
+ array(
67
+ 'param_name' => 'extra_classes',
68
+ 'type' => 'textfield',
69
+ 'value' => '',
70
+ 'def_value' => '',
71
+ 'holder' => 'textfield',
72
+ 'class' => 'extra_classes',
73
+ 'heading' => __('Extra class name','auxin-elements'),
74
+ 'description' => __('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'auxin-elements'),
75
+ 'admin_label' => true,
76
+ 'dependency' => '',
77
+ 'weight' => '',
78
+ 'group' => '' ,
79
+ 'edit_field_class' => ''
80
+ )
81
+ )
82
+ );
83
+
84
+
85
+ return $master_array;
86
+ }
87
+
88
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_tabs_master_array', 10, 1 );
89
+
90
+ /**
91
+ * Sample element markup for front-end
92
+ * In other words, the front-end output of this element is returned by the following function
93
+ *
94
+ *
95
+ * @param array $atts The array containing the parsed values from shortcode,it should be same as defined params above.
96
+ * @param string $shortcode_content The shorcode content
97
+ * @return string The output of element markup
98
+ */
99
+ function auxin_widget_tabs_callback( $atts, $shortcode_content = null ){
100
+
101
+ // Defining default attributes
102
+ $default_atts = array(
103
+ 'title' => '', // header title
104
+ 'content' => '', // header title
105
+
106
+ 'extra_classes' => '', // custom css class names for this element
107
+ 'custom_el_id' => '', // custom id attribute for this element
108
+ 'base_class' => 'aux-widget-tabs' // base class name for container
109
+ );
110
+
111
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
112
+ extract( $result['parsed_atts'] );
113
+
114
+
115
+ ob_start();
116
+
117
+ // widget header ------------------------------
118
+ echo $result['widget_header'];
119
+ echo $result['widget_title'];
120
+
121
+ // widget custom output -----------------------
122
+ $content_array = explode("[/tab_section]", $content);
123
+ $output = '<section class="widget-tabs widget-container bordered">';
124
+ $output .= '<div class="widget-inner ' . $extra_classes . '"> ';
125
+ $tabs = '<ul class="tabs">';
126
+ $tabs_content = '<ul class="tabs-content">';
127
+ foreach ($content_array as $key => $value) {
128
+ if( $key !== count( $content_array )-1 ) {
129
+ $section_title = auxin_get_string_between( $value, 'label="', '" ');
130
+ $tabs .= '<li><a href="">' . $section_title . '</a></li>';
131
+ $pos = strpos($value, "]");
132
+ $section_content = substr( $value, $pos+1);
133
+ $tabs_content .= '<li><div class="entry-editor"><p>' . $section_content . '</p></div></li>';
134
+ }
135
+ }
136
+ $tabs .= '</ul>';
137
+ $tabs_content .= '</ul>';
138
+ $output = $output . $tabs . $tabs_content . '</div>' . '</section>';
139
+
140
+ echo $output;
141
+
142
+ // widget footer ------------------------------
143
+ echo $result['widget_footer'];
144
+
145
+ return ob_get_clean();
146
+ }
includes/elements/text.php ADDED
@@ -0,0 +1,272 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Text element
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+ function auxin_get_text_master_array( $master_array ) {
13
+
14
+ $master_array['aux_text'] = array(
15
+ 'name' => __('[Phlox] Text', 'auxin-elements'),
16
+ 'auxin_output_callback' => 'auxin_widget_column_callback',
17
+ 'base' => 'aux_text',
18
+ 'description' => __('Simple text block.', 'auxin-elements'),
19
+ 'class' => 'aux-widget-text',
20
+ 'show_settings_on_create' => true,
21
+ 'weight' => 1,
22
+ 'is_widget' => false,
23
+ 'is_shortcode' => true,
24
+ 'is_so' => true,
25
+ 'is_vc' => true,
26
+ 'category' => THEME_NAME,
27
+ 'group' => '',
28
+ 'admin_enqueue_js' => '',
29
+ 'admin_enqueue_css' => '',
30
+ 'front_enqueue_js' => '',
31
+ 'front_enqueue_css' => '',
32
+ 'icon' => 'auxin-element auxin-text',
33
+ 'custom_markup' => '',
34
+ 'js_view' => '',
35
+ 'html_template' => '',
36
+ 'deprecated' => '',
37
+ 'content_element' => false,
38
+ 'as_parent' => '',
39
+ 'as_child' => '',
40
+ 'params' => array(
41
+ array(
42
+ 'param_name' => 'title',
43
+ 'type' => 'textfield',
44
+ 'value' => '',
45
+ 'def_value' => '',
46
+ 'holder' => 'textfield',
47
+ 'class' => 'title',
48
+ 'heading' => __('Title','auxin-elements'),
49
+ 'description' => '',
50
+ 'admin_label' => true,
51
+ 'dependency' => '',
52
+ 'weight' => '',
53
+ 'group' => '' ,
54
+ 'edit_field_class' => ''
55
+ ),
56
+ array(
57
+ 'param_name' => 'title_link',
58
+ 'type' => 'textfield',
59
+ 'value' => '',
60
+ 'def_value' => '',
61
+ 'holder' => 'textfield',
62
+ 'class' => 'title_link',
63
+ 'heading' => __('Title Link','auxin-elements'),
64
+ 'description' => '',
65
+ 'admin_label' => true,
66
+ 'dependency' => '',
67
+ 'weight' => '',
68
+ 'group' => '' ,
69
+ 'edit_field_class' => ''
70
+ ),
71
+ array(
72
+ 'param_name' => 'text_align',
73
+ 'type' => 'aux_visual_select',
74
+ 'def_value' => 'top',
75
+ 'choices' => array(
76
+ '' => array(
77
+ 'label' => __('Theme Default', 'auxin-elements'),
78
+ 'css_class' => 'axiAdminIcon-default',
79
+ ),
80
+ 'left' => array(
81
+ 'label' => __('Left', 'auxin-elements'),
82
+ 'css_class' => 'axiAdminIcon-text-align-left',
83
+ ),
84
+ 'center' => array(
85
+ 'label' => __('Center', 'auxin-elements'),
86
+ 'css_class' => 'axiAdminIcon-text-align-center'
87
+ ),
88
+ 'right' => array(
89
+ 'label' => __('Center', 'auxin-elements'),
90
+ 'css_class' => 'axiAdminIcon-text-align-right'
91
+ )
92
+ ),
93
+ 'holder' => 'dropdown',
94
+ 'class' => 'text_align',
95
+ 'heading' => __('Text Align','auxin-elements'),
96
+ 'description' => '',
97
+ 'admin_label' => true,
98
+ 'dependency' => '',
99
+ 'weight' => '',
100
+ 'group' => '' ,
101
+ 'edit_field_class' => ''
102
+ ),
103
+ array(
104
+ 'param_name' => 'icon',
105
+ 'type' => 'iconpicker',
106
+ 'value' => '',
107
+ 'def_value' => '',
108
+ 'holder' => 'textfield',
109
+ 'class' => 'iconpicker',
110
+ 'heading' => __('Icon','auxin-elements'),
111
+ 'description' => __('Please choose an icon from avaialable icons.', 'auxin-elements'),
112
+ 'admin_label' => true,
113
+ 'dependency' => '',
114
+ 'weight' => '',
115
+ 'group' => '' ,
116
+ 'edit_field_class' => ''
117
+ ),
118
+ array(
119
+ 'param_name' => 'icon_color',
120
+ 'type' => 'colorpicker',
121
+ 'def_value' => '#888',
122
+ 'value' => '#888',
123
+ 'holder' => '',
124
+ 'class' => 'icon_color',
125
+ 'heading' => __('Icon Color','auxin-elements'),
126
+ 'description' => __('Choose a color for icon.','auxin-elements'),
127
+ 'admin_label' => true,
128
+ 'dependency' => '',
129
+ 'weight' => '',
130
+ 'group' => '' ,
131
+ 'edit_field_class' => ''
132
+ ),
133
+ array(
134
+ 'param_name' => 'image',
135
+ 'type' => 'attach_image',
136
+ 'def_value' => '',
137
+ 'value' => '',
138
+ 'holder' => '',
139
+ 'class' => 'image',
140
+ 'heading' => __('Image','auxin-elements'),
141
+ 'description' => '',
142
+ 'admin_label' => true,
143
+ 'dependency' => '',
144
+ 'weight' => '',
145
+ 'group' => '' ,
146
+ 'edit_field_class' => ''
147
+ ),
148
+ array(
149
+ 'param_name' => 'image_position',
150
+ 'type' => 'aux_visual_select',
151
+ 'def_value' => 'top',
152
+ 'choices' => array(
153
+ 'top' => array(
154
+ 'label' => __('White Space', 'auxin-elements'),
155
+ 'image' => AUX_URL . 'images/visual-select/column-icon-top.svg'
156
+ ),
157
+ 'left' => array(
158
+ 'label' => __('Solid', 'auxin-elements'),
159
+ 'image' => AUX_URL . 'images/visual-select/column-icon-left.svg'
160
+ ),
161
+ 'right' => array(
162
+ 'label' => __('Dashed', 'auxin-elements'),
163
+ 'image' => AUX_URL . 'images/visual-select/column-icon-right.svg'
164
+ )
165
+ ),
166
+ 'holder' => 'dropdown',
167
+ 'class' => 'image_position',
168
+ 'heading' => __('Image or icon position','auxin-elements'),
169
+ 'description' => '',
170
+ 'admin_label' => true,
171
+ 'dependency' => '',
172
+ 'weight' => '',
173
+ 'group' => '' ,
174
+ 'edit_field_class' => ''
175
+ ),
176
+ array(
177
+ 'param_name' => 'content',
178
+ 'type' => 'textarea_html',
179
+ 'value' => '',
180
+ 'def_value' => '',
181
+ 'holder' => 'div',
182
+ 'class' => 'content',
183
+ 'heading' => __('Content','auxin-elements'),
184
+ 'description' => '',
185
+ 'admin_label' => true,
186
+ 'dependency' => '',
187
+ 'weight' => '',
188
+ 'group' => '' ,
189
+ 'edit_field_class' => ''
190
+ ),
191
+ array(
192
+ 'param_name' => 'extra_classes',
193
+ 'type' => 'textfield',
194
+ 'value' => '',
195
+ 'def_value' => '',
196
+ 'holder' => 'textfield',
197
+ 'class' => 'extra_classes',
198
+ 'heading' => __('Extra class name','auxin-elements'),
199
+ 'description' => __('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'auxin-elements'),
200
+ 'admin_label' => true,
201
+ 'dependency' => '',
202
+ 'weight' => '',
203
+ 'group' => '' ,
204
+ 'edit_field_class' => ''
205
+ )
206
+ )
207
+ );
208
+
209
+ return $master_array;
210
+ }
211
+
212
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_text_master_array', 10, 1 );
213
+
214
+ // This is the widget call back in fact the front end out put of this widget comes from this function
215
+ function auxin_widget_column_callback( $atts, $shortcode_content = null ){
216
+
217
+ // Defining default attributes
218
+ $default_atts = array(
219
+ 'title' => '', // section title
220
+ 'title_link' => '', // the link on title
221
+ 'content' => '', // the link on title
222
+ 'text_align' => '',
223
+ 'icon' => '', // icon on column side
224
+ 'icon_color' => '#888',
225
+ 'image' => '', // image on column side
226
+ 'image_position' => 'top', // top,left,right
227
+
228
+ 'extra_classes' => '', // custom css class names for this element
229
+ 'custom_el_id' => '', // custom id attribute for this element
230
+ 'base_class' => 'aux-widget-text' // base class name for container
231
+ );
232
+
233
+ $result = auxin_get_widget_scafold( $atts, $default_atts );
234
+ extract( $result['parsed_atts'] );
235
+
236
+ $icon = $icon == 'none' ? '' : $icon;
237
+ $icon_color = empty( $icon_color ) ? '' : 'style="color:'.$icon_color.' !important;"';
238
+ $text_align = empty( $text_align ) ? '' : ' aux-text-align-' . $text_align;
239
+ $content = empty( $content ) ? $shortcode_content : $content;
240
+
241
+ if( ! empty( $image ) && is_numeric( $image ) ) {
242
+ $image = auxin_get_the_resized_attachment( $image );
243
+ }
244
+
245
+ ob_start();
246
+
247
+ // widget header ------------------------------
248
+ echo $result['widget_header'];
249
+ ?>
250
+ <div class="aux-shape-<?php echo esc_attr( $image_position ) . $text_align . ' ' . $extra_classes; ?>">
251
+ <?php if( ! empty( $icon ) && empty( $image ) ) { ?>
252
+ <span class="aux-col-icon <?php echo $icon; ?>" <?php echo $icon_color; ?> > </span>
253
+ <?php } elseif( !empty( $image ) ) {
254
+ echo $image;
255
+ } if( ! empty( $title ) && empty( $title_link ) ) { ?>
256
+ <h4 class="col-title"><?php echo $title; ?></h4>
257
+ <?php } elseif( ! empty( $title ) && ! empty( $title_link ) ) { ?>
258
+ <h4 class="col-title"><a href="<?php echo $title_link; ?>"><?php echo $title; ?></a></h4>
259
+ <?php } if( ! empty( $content ) ) { ?>
260
+ <div class="entry-content">
261
+ <?php $encoding_flag = defined('ENT_HTML401') ? ENT_HTML401 : ENT_QUOTES; ?>
262
+ <p><?php echo do_shortcode( html_entity_decode( $content, $encoding_flag, 'UTF-8') ); ?></p>
263
+ </div>
264
+ <?php } ?>
265
+ </div>
266
+
267
+ <?php
268
+ // widget footer ------------------------------
269
+ echo $result['widget_footer'];
270
+
271
+ return ob_get_clean();
272
+ }
includes/elements/video.php ADDED
@@ -0,0 +1,277 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Video player element
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+ function auxin_get_video_master_array( $master_array ) {
13
+
14
+ $master_array['aux_video'] = array(
15
+ 'name' => __('[Phlox] Video', 'auxin-elements'),
16
+ 'auxin_output_callback' => 'auxin_widget_video_callback',
17
+ 'base' => 'aux_video',
18
+ 'description' => __('It adds a video player element.', 'auxin-elements'),
19
+ 'class' => 'aux-widget-video',
20
+ 'show_settings_on_create' => true,
21
+ 'weight' => 1,
22
+ 'category' => THEME_NAME,
23
+ 'group' => '',
24
+ 'admin_enqueue_js' => '',
25
+ 'admin_enqueue_css' => '',
26
+ 'front_enqueue_js' => '',
27
+ 'front_enqueue_css' => '',
28
+ 'icon' => 'auxin-element auxin-video',
29
+ 'custom_markup' => '',
30
+ 'js_view' => '',
31
+ 'html_template' => '',
32
+ 'deprecated' => '',
33
+ 'content_element' => '',
34
+ 'as_parent' => '',
35
+ 'as_child' => '',
36
+ 'params' => array(
37
+ array(
38
+ 'param_name' => 'title',
39
+ 'type' => 'textfield',
40
+ 'value' => '',
41
+ 'def_value' => '',
42
+ 'holder' => 'textfield',
43
+ 'class' => 'title',
44
+ 'heading' => __('Title','auxin-elements'),
45
+ 'description' => __('The video title.', 'auxin-elements'),
46
+ 'admin_label' => true,
47
+ 'dependency' => '',
48
+ 'weight' => '',
49
+ 'group' => '' ,
50
+ 'edit_field_class' => ''
51
+ ),
52
+ array(
53
+ 'param_name' => 'autoplay',
54
+ 'type' => 'aux_switch',
55
+ 'def_value' => '0',
56
+ 'value' => '0',
57
+ 'class' => 'autoplay',
58
+ 'heading' => __('Autoplay? ','auxin-elements'),
59
+ 'description' => __('Whether to start the video automatically or not','auxin-elements'),
60
+ 'admin_label' => true,
61
+ 'dependency' => '',
62
+ 'weight' => '',
63
+ 'group' => '' ,
64
+ 'edit_field_class' => ''
65
+ ),
66
+ array(
67
+ 'param_name' => 'loop',
68
+ 'type' => 'aux_switch',
69
+ 'def_value' => '0',
70
+ 'value' => '0',
71
+ 'class' => 'loop',
72
+ 'heading' => __('Repeat video','auxin-elements'),
73
+ 'description' => __('Repeat video again when it ends.','auxin-elements'),
74
+ 'admin_label' => true,
75
+ 'dependency' => '',
76
+ 'weight' => '',
77
+ 'group' => '' ,
78
+ 'edit_field_class' => ''
79
+ ),
80
+ array(
81
+ 'param_name' => 'width',
82
+ 'type' => 'textfield',
83
+ 'value' => '',
84
+ 'def_value' => '',
85
+ 'holder' => 'textfield',
86
+ 'class' => '',
87
+ 'heading' => __('Width','auxin-elements'),
88
+ 'description' => __('The width of video in pixel','auxin-elements'),
89
+ 'admin_label' => true,
90
+ 'dependency' => '',
91
+ 'weight' => '',
92
+ 'group' => '' ,
93
+ 'edit_field_class' => ''
94
+ ),
95
+ array(
96
+ 'param_name' => 'height',
97
+ 'type' => 'textfield',
98
+ 'value' => '',
99
+ 'def_value' => '',
100
+ 'holder' => 'textfield',
101
+ 'class' => '',
102
+ 'heading' => __('Height','auxin-elements'),
103
+ 'description' => __('The height of video in pixel','auxin-elements'),
104
+ 'admin_label' => true,
105
+ 'dependency' => '',
106
+ 'weight' => '',
107
+ 'group' => '' ,
108
+ 'edit_field_class' => ''
109
+ ),
110
+ array(
111
+ 'param_name' => 'src',
112
+ 'type' => 'aux_select_video',
113
+ 'value' => '',
114
+ 'def_value' => '',
115
+ 'holder' => 'aux_select_video',
116
+ 'class' => '',
117
+ 'heading' => __('Video file','auxin-elements'),
118
+ 'description' => __('Please upload the video file','auxin-elements'),
119
+ 'admin_label' => true,
120
+ 'dependency' => '',
121
+ 'weight' => '',
122
+ 'group' => '' ,
123
+ 'edit_field_class' => ''
124
+ ),
125
+ array(
126
+ 'param_name' => 'url',
127
+ 'type' => 'textfield',
128
+ 'value' => '',
129
+ 'def_value' => '',
130
+ 'holder' => 'textfield',
131
+ 'class' => '',
132
+ 'heading' => __('Video Link','auxin-elements'),
133
+ 'description' => __('The youtube, vimeo or any video embed link','auxin-elements'),
134
+ 'admin_label' => true,
135
+ 'dependency' => '',
136
+ 'weight' => '',
137
+ 'group' => '' ,
138
+ 'edit_field_class' => ''
139
+ ),
140
+ array(
141
+ 'param_name' => 'poster',
142
+ 'type' => 'textfield',
143
+ 'value' => '',
144
+ 'def_value' => '',
145
+ 'holder' => 'textfield',
146
+ 'class' => '',
147
+ 'heading' => __('Video poster','auxin-elements'),
148
+ 'description' => __('An image that represents the video content','auxin-elements'),
149
+ 'admin_label' => true,
150
+ 'dependency' => '',
151
+ 'weight' => '',
152
+ 'group' => '' ,
153
+ 'edit_field_class' => ''
154
+ ),
155
+ array(
156
+ 'param_name' => 'skin',
157
+ 'type' => 'aux_visual_select',
158
+ 'def_value' => 'dark',
159
+ 'choices' => array(
160
+ 'dark' => array(
161
+ 'label' => __('Dark', 'auxin-elements'),
162
+ 'image' => AUX_URL . 'images/visual-select/audio-player-dark.svg'
163
+ ),
164
+ 'light' => array(
165
+ 'label' => __('Light', 'auxin-elements'),
166
+ 'image' => AUX_URL . 'images/visual-select/audio-player-light.svg'
167
+ )
168
+ ),
169
+ 'holder' => 'dropdown',
170
+ 'class' => 'skin',
171
+ 'heading' => __('Player skin ','auxin-elements'),
172
+ 'description' => __('Specifies skin for the player','auxin-elements'),
173
+ 'admin_label' => true,
174
+ 'dependency' => '',
175
+ 'weight' => '',
176
+ 'group' => '' ,
177
+ 'edit_field_class' => ''
178
+ ),
179
+ array(
180
+ 'param_name' => 'extra_classes',
181
+ 'type' => 'textfield',
182
+ 'value' => '',
183
+ 'def_value' => '',
184
+ 'holder' => 'textfield',
185
+ 'class' => 'extra_classes',
186
+ 'heading' => __('Extra class name','auxin-elements'),
187
+ 'description' => __('If you wish to style particular content element differently, then use this field to add a class name and then refer to it in your css file.', 'auxin-elements'),
188
+ 'admin_label' => true,
189
+ 'dependency' => '',
190
+ 'weight' => '',
191
+ 'group' => '' ,
192
+ 'edit_field_class' => ''
193
+ )
194
+
195
+ )
196
+ );
197
+
198
+ return $master_array;
199
+ }
200
+
201
+ add_filter( 'auxin_master_array_shortcodes', 'auxin_get_video_master_array', 10, 1 );
202
+
203
+
204
+
205
+
206
+ function auxin_widget_video_callback( $atts, $shortcode_content = null ){
207
+
208
+ // Defining default attributes
209
+ $default_atts = array(
210
+ 'title' => '', // header title
211
+
212
+ 'autoplay' => '', // play video automatically
213
+ 'loop' => '', // loop video
214
+ 'preload' => 'metadata',
215
+ 'width' => '1200', // default video size
216
+ 'height' => '675', // default video height
217
+ 'url' => '', // embed video link
218
+ 'src' => '', // quick set for mp4 file
219
+ 'poster' => '',
220
+ 'skin' => '', // dark or light
221
+
222
+ 'extra_classes' => '', // custom css class names for this element
223
+ 'custom_el_id' => '', // custom id attribute for this element
224
+ 'base_class' => 'aux-widget-video' // base class name for container
225
+ );
226
+
227
+ $result = auxin_get_widget_scafold( $atts, $default_atts, $shortcode_content );
228
+ extract( $result['parsed_atts'] );
229
+
230
+ ob_start();
231
+
232
+ // widget header ------------------------------
233
+ echo $result['widget_header'];
234
+ echo $result['widget_title'];
235
+
236
+ if( empty( $skin ) ){
237
+ $skin = 'light';
238
+ }
239
+
240
+ $class = 'wp-video-shortcode aux-player-' . esc_attr( $skin );
241
+
242
+ // convert attachment id to url
243
+ if( is_numeric( $src ) ){
244
+ $src = wp_get_attachment_url( $src );
245
+ }
246
+
247
+ // convert attachment id to url
248
+ if( is_numeric( $poster ) ){
249
+ $poster = wp_get_attachment_url( $poster );
250
+ }
251
+
252
+ if( $provider = auxin_extract_embed_provider_name( $src ) ){
253
+ $class .= ' aux-provider-'. $provider;
254
+ }
255
+
256
+ if( ! empty( $src ) ){
257
+
258
+ echo do_shortcode(
259
+ sprintf(
260
+ '[video src="%s" loop="%s" autoplay="%s" preload="%s" class="%s" width="%s" height="%s" poster="%s" ]',
261
+ $src, $loop, $autoplay, $preload, $class, $width, $height, $poster
262
+ )
263
+ );
264
+
265
+ } else if( ! empty( $url ) ){
266
+
267
+ echo wp_oembed_get( $url, array(
268
+ 'width' => $width,
269
+ 'height' => $height
270
+ ));
271
+ }
272
+
273
+ // widget footer ------------------------------
274
+ echo $result['widget_footer'];
275
+
276
+ return ob_get_clean();
277
+ }
includes/general-functions.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ *
4
+ *
5
+ * @package auxin-elements
6
+ * @license LICENSE.txt
7
+ * @author
8
+ * @link https://bitbucket.org/averta/
9
+ * @copyright (c) 2010-2016
10
+ */
11
+
12
+ /**
13
+ * Whether a plugin is active or not
14
+ *
15
+ * @param string $plugin_basename plugin directory name and mail file address
16
+ * @return bool True if plugin is active and FALSE otherwise
17
+ */
18
+ if( ! function_exists( 'auxin_is_plugin_active' ) ){
19
+ function auxin_is_plugin_active( $plugin_basename ){
20
+ include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
21
+ return is_plugin_active( $plugin_basename );
22
+ }
23
+ }
24
+
includes/general-hooks.php ADDED
@@ -0,0 +1,929 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Before Single Products Summary Div
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+
13
+
14
+
15
+ /**
16
+ * Adds a mian css class indicator to body tag
17
+ *
18
+ * @param array $classes List of body css classes
19
+ * @return array The modified list of body css classes
20
+ */
21
+ function auxels_body_class( $classes ) {
22
+ $classes[] = '_auxels';
23
+
24
+ return $classes;
25
+ }
26
+ add_filter( 'body_class', 'auxels_body_class' );
27
+
28
+
29
+
30
+ /**
31
+ * Add meta custom field types for vc
32
+ *
33
+ * @return void
34
+ */
35
+ function auxin_add_vc_field_types(){
36
+
37
+ if ( defined( 'WPB_VC_VERSION' ) ) {
38
+
39
+ vc_add_shortcode_param( 'aux_visual_select', 'auxin_aux_visual_select_settings_field', ADMIN_JS_URL . 'scripts.js' );
40
+ function auxin_aux_visual_select_settings_field( $settings, $value ) {
41
+
42
+ $output = '<select class="meta-select visual-select-wrapper" >';
43
+ foreach ( $settings['choices'] as $id => $option_info ) {
44
+ $active_attr = ( $id == $settings['std'] ) ? 'selected' : '';
45
+ $data_class = isset( $option_info['css_class'] ) && ! empty( $option_info['css_class'] ) ? 'data-class="'. $option_info['css_class'].'"' : '';
46
+ $data_symbol = empty( $data_class ) && isset( $option_info['image'] ) && ! empty( $option_info['image'] ) ? 'data-symbol="'. $option_info['image'].'"' : '';
47
+ $output .= sprintf( '<option value="%s" %s %s %s>%s</option>', $id, $active_attr, $data_symbol, $data_class, $option_info['label'] );
48
+
49
+ }
50
+ $output .= '</select>';
51
+
52
+ return $output; // This is html markup that will be outputted in content elements edit form
53
+ }
54
+
55
+ vc_add_shortcode_param( 'aux_switch', 'auxin_aux_switch_settings_field', ADMIN_JS_URL . 'scripts.js' );
56
+ function auxin_aux_switch_settings_field( $settings, $value ) {
57
+
58
+ $checkedd = $settings['value'] ? 'checked="checked"' : '';
59
+ return '<div class="av3_container aux_switch">'
60
+ .'<input name="' . esc_attr( $settings['param_name'] ) . '" class="wpb_vc_param_value wpb-textinput tt"'
61
+ . ' ' . ' type="checkbox" value="' . $settings['value'] . '" ' . esc_attr( $checkedd ) . ' >' .
62
+ '</div>'; // This is html markup that will be outputted in content elements edit form
63
+ }
64
+
65
+ // TODO: We should decide about the fields for this type because normally they should generate automaticly
66
+ vc_add_shortcode_param( 'aux_multiple_selector', 'aux_multiple_selector_settings_field', ADMIN_JS_URL . 'plugins.js' );
67
+
68
+ function aux_multiple_selector_settings_field( $settings, $value ) {
69
+ return
70
+ '<label >Multiple selector </label>' .
71
+ '<div class="section-row-right" >' .
72
+ '<select name="" id="" class="aux-orig-select2 aux-admin-select2 aux-select2-single" data-value="" style="width:150px" multiple="multiple" >' .
73
+ '<option value="1" >value 1 </option>' .
74
+ '<option value="2" >value 2</option>' .
75
+ '</select>' .
76
+ '<p >Description if needed</p>' .
77
+ '</div>' ;
78
+ }
79
+
80
+ }
81
+
82
+ /**
83
+ * Enqueue all my widget's admin scripts
84
+ */
85
+ function auxin_widgets_enqueue_scripts(){
86
+ wp_enqueue_script('auxin_widget');
87
+
88
+ }
89
+ add_action( 'admin_print_scripts-widgets.php', 'auxin_widgets_enqueue_scripts' );
90
+
91
+ // Add this to enqueue your scripts on Page Builder too
92
+ add_action('siteorigin_panel_enqueue_admin_scripts', 'auxin_widgets_enqueue_scripts');
93
+
94
+ /**
95
+ * This part is for adding Auxin font icon to Visual composer icon
96
+ * this is just temporary and need to move and write in a better manner when it is compelete
97
+ * TODO: just for now to see it is working
98
+ */
99
+
100
+ // Add Auxin icons to Visual Composer icons
101
+ $settings = array(
102
+ 'name' => __( 'Auxin Icons', 'auxin-elements' ),
103
+ 'category' => THEME_NAME,
104
+ 'params' => array(
105
+ array(
106
+ 'type' => 'dropdown',
107
+ 'heading' => __( 'Icon library', 'auxin-elements' ),
108
+ 'value' => array(
109
+ __( 'Font Awesome', 'auxin-elements' ) => 'fontawesome',
110
+ __( 'Open Iconic', 'auxin-elements' ) => 'openiconic',
111
+ __( 'Typicons', 'auxin-elements' ) => 'typicons',
112
+ __( 'Entypo', 'auxin-elements' ) => 'entypo',
113
+ __( 'Linecons', 'auxin-elements' ) => 'linecons',
114
+ __( 'Auxin', 'auxin-elements' ) => 'auxin'
115
+ ),
116
+ 'admin_label' => true,
117
+ 'param_name' => 'type',
118
+ 'description' => __( 'Select icon library.', 'auxin-elements' )
119
+ ),
120
+ array(
121
+ 'type' => 'iconpicker',
122
+ 'heading' => __( 'Icon', 'auxin-elements' ),
123
+ 'param_name' => 'icon_auxin',
124
+ 'value' => 'auxin-icon-basket-1', // default value to backend editor admin_label
125
+ 'settings' => array(
126
+ 'emptyIcon' => false,
127
+ // default true, display an "EMPTY" icon?
128
+ 'type' => 'auxin',
129
+ 'iconsPerPage' => 4000
130
+ // default 100, how many icons per/page to display, we use (big number) to display all icons in single page
131
+ ),
132
+ 'dependency' => array(
133
+ 'element' => 'type',
134
+ 'value' => 'auxin'
135
+ ),
136
+ 'description' => __( 'Select icon from library.', 'auxin-elements' )
137
+ ),
138
+ array(
139
+ 'type' => 'iconpicker',
140
+ 'heading' => __( 'Icon', 'auxin-elements' ),
141
+ 'param_name' => 'icon_fontawesome',
142
+ 'value' => 'fa fa-adjust', // default value to backend editor admin_label
143
+ 'settings' => array(
144
+ 'emptyIcon' => false,
145
+ // default true, display an "EMPTY" icon?
146
+ 'iconsPerPage' => 4000
147
+ // default 100, how many icons per/page to display, we use (big number) to display all icons in single page
148
+ ),
149
+ 'dependency' => array(
150
+ 'element' => 'type',
151
+ 'value' => 'fontawesome'
152
+ ),
153
+ 'description' => __( 'Select icon from library.', 'auxin-elements' )
154
+ ),
155
+ array(
156
+ 'type' => 'iconpicker',
157
+ 'heading' => __( 'Icon', 'auxin-elements' ),
158
+ 'param_name' => 'icon_openiconic',
159
+ 'value' => 'vc-oi vc-oi-dial', // default value to backend editor admin_label
160
+ 'settings' => array(
161
+ 'emptyIcon' => false, // default true, display an "EMPTY" icon?
162
+ 'type' => 'openiconic',
163
+ 'iconsPerPage' => 4000 // default 100, how many icons per/page to display
164
+ ),
165
+ 'dependency' => array(
166
+ 'element' => 'type',
167
+ 'value' => 'openiconic'
168
+ ),
169
+ 'description' => __( 'Select icon from library.', 'auxin-elements' )
170
+ ),
171
+ array(
172
+ 'type' => 'iconpicker',
173
+ 'heading' => __( 'Icon', 'auxin-elements' ),
174
+ 'param_name' => 'icon_typicons',
175
+ 'value' => 'typcn typcn-adjust-brightness', // default value to backend editor admin_label
176
+ 'settings' => array(
177
+ 'emptyIcon' => false, // default true, display an "EMPTY" icon?
178
+ 'type' => 'typicons',
179
+ 'iconsPerPage' => 4000 // default 100, how many icons per/page to display
180
+ ),
181
+ 'dependency' => array(
182
+ 'element' => 'type',
183
+ 'value' => 'typicons'
184
+ ),
185
+ 'description' => __( 'Select icon from library.', 'auxin-elements' )
186
+ ),
187
+ array(
188
+ 'type' => 'iconpicker',
189
+ 'heading' => __( 'Icon', 'auxin-elements' ),
190
+ 'param_name' => 'icon_entypo',
191
+ 'value' => 'entypo-icon entypo-icon-note', // default value to backend editor admin_label
192
+ 'settings' => array(
193
+ 'emptyIcon' => false, // default true, display an "EMPTY" icon?
194
+ 'type' => 'entypo',
195
+ 'iconsPerPage' => 4000 // default 100, how many icons per/page to display
196
+ ),
197
+ 'dependency' => array(
198
+ 'element' => 'type',
199
+ 'value' => 'entypo'
200
+ ),
201
+ ),
202
+ array(
203
+ 'type' => 'iconpicker',
204
+ 'heading' => __( 'Icon', 'auxin-elements' ),
205
+ 'param_name' => 'icon_linecons',
206
+ 'value' => 'vc_li vc_li-heart', // default value to backend editor admin_label
207
+ 'settings' => array(
208
+ 'emptyIcon' => false, // default true, display an "EMPTY" icon?
209
+ 'type' => 'linecons',
210
+ 'iconsPerPage' => 4000 // default 100, how many icons per/page to display
211
+ ),
212
+ 'dependency' => array(
213
+ 'element' => 'type',
214
+ 'value' => 'linecons'
215
+ ),
216
+ 'description' => __( 'Select icon from library.', 'auxin-elements' ),
217
+ ),
218
+
219
+ array(
220
+ 'type' => 'colorpicker',
221
+ 'heading' => __( 'Custom color', 'auxin-elements' ),
222
+ 'param_name' => 'custom_color',
223
+ 'description' => __( 'Select custom icon color.', 'auxin-elements' ),
224
+ 'dependency' => array(
225
+ 'element' => 'color',
226
+ 'value' => 'custom'
227
+ ),
228
+ ),
229
+ array(
230
+ 'type' => 'dropdown',
231
+ 'heading' => __( 'Background shape', 'auxin-elements' ),
232
+ 'param_name' => 'background_style',
233
+ 'value' => array(
234
+ __( 'None', 'auxin-elements' ) => '',
235
+ __( 'Circle', 'auxin-elements' ) => 'rounded',
236
+ __( 'Square', 'auxin-elements' ) => 'boxed',
237
+ __( 'Rounded', 'auxin-elements' ) => 'rounded-less',
238
+ __( 'Outline Circle', 'auxin-elements' ) => 'rounded-outline',
239
+ __( 'Outline Square', 'auxin-elements' ) => 'boxed-outline',
240
+ __( 'Outline Rounded', 'auxin-elements' ) => 'rounded-less-outline'
241
+ ),
242
+ 'description' => __( 'Select background shape and style for icon.', 'auxin-elements' )
243
+ ),
244
+
245
+ array(
246
+ 'type' => 'colorpicker',
247
+ 'heading' => __( 'Custom background color', 'auxin-elements' ),
248
+ 'param_name' => 'custom_background_color',
249
+ 'description' => __( 'Select custom icon background color.', 'auxin-elements' ),
250
+ 'dependency' => array(
251
+ 'element' => 'background_color',
252
+ 'value' => 'custom'
253
+ ),
254
+ ),
255
+
256
+ array(
257
+ 'type' => 'dropdown',
258
+ 'heading' => __( 'Icon alignment', 'auxin-elements' ),
259
+ 'param_name' => 'align',
260
+ 'value' => array(
261
+ __( 'Left', 'auxin-elements' ) => 'left',
262
+ __( 'Right', 'auxin-elements' ) => 'right',
263
+ __( 'Center', 'auxin-elements' ) => 'center'
264
+ ),
265
+ 'description' => __( 'Select icon alignment.', 'auxin-elements' ),
266
+ ),
267
+
268
+ ),
269
+
270
+ );
271
+
272
+ if ( defined( 'WPB_VC_VERSION' ) ) {
273
+
274
+ vc_map_update('vc_icon', $settings );
275
+
276
+ // TODO: This is a sample we need to create an array for all the icons and also enque its css file
277
+ add_filter( 'vc_iconpicker-type-auxin', 'vc_iconpicker_type_auxin' );
278
+ function vc_iconpicker_type_auxin( $icons ) {
279
+ $auxin_icons = array(
280
+ "Test" => array(
281
+ array( 'auxin-icon auxin-icon-2-arrows' => __( 'Arrow', 'auxin-elements' ) ),
282
+ array( 'auxin-icon auxin-icon-basket-1' => __( 'Arrow', 'auxin-elements' ) ),
283
+ array( 'auxin-icon auxin-icon-back-pack' => __( 'Back', 'auxin-elements' ) )
284
+ )
285
+ );
286
+
287
+ return array_merge( $icons, $auxin_icons );
288
+ }
289
+
290
+ add_action( 'vc_backend_editor_enqueue_js_css', 'auxin_vc_iconpicker_editor_jscss' );
291
+ // @see Vc_Frontend_Editor::enqueueAdmin (wp-content/plugins/js_composer/include/classes/editors/class-vc-frontend-editor.php),
292
+ // used to enqueue needed js/css files when frontend editor is rendering
293
+ add_action( 'vc_frontend_editor_enqueue_js_css', 'auxin_vc_iconpicker_editor_jscss' );
294
+ function auxin_vc_iconpicker_editor_jscss () {
295
+ wp_enqueue_style( 'auxin_font' );
296
+ }
297
+
298
+ // @see Vc_Base::frontCss, used to append actions when frontCss(frontend editor/and real view mode) method called
299
+ // This action registers all styles(fonts) to be enqueue later
300
+ add_action( 'vc_base_register_front_css', 'auxin_vc_iconpicker_base_register_css' );
301
+
302
+ // @see Vc_Base::registerAdminCss, used to append action when registerAdminCss(backend editor) method called
303
+ // This action registers all styles(fonts) to be enqueue later
304
+ add_action( 'vc_base_register_admin_css', 'auxin_vc_iconpicker_base_register_css' );
305
+ function auxin_vc_iconpicker_base_register_css () {
306
+ wp_register_style( 'auxin_font', vc_asset_url( 'css/lib/auxin-font/auxin-font.css' ), false, WPB_VC_VERSION, 'screen' );
307
+ }
308
+
309
+
310
+ }
311
+
312
+ }
313
+ add_action( 'auxin_admin_loaded', 'auxin_add_vc_field_types' );
314
+
315
+
316
+ /**
317
+ * load custom shortcodes, templates and element in visual composer start
318
+ *
319
+ * @return void
320
+ */
321
+ function auxin_on_vc_plugin_loaded(){
322
+ global $vc_manager;
323
+ if( ! is_null( $vc_manager ) ) {
324
+ $auxin_shortcodes_template_dir = AUXELS_PUB_DIR . '/templates/vcomposer';
325
+ $vc_manager->setCustomUserShortcodesTemplateDir( $auxin_shortcodes_template_dir );
326
+ }
327
+ }
328
+ add_action( 'plugins_loaded', 'auxin_on_vc_plugin_loaded' );
329
+
330
+
331
+
332
+ function auxin_add_theme_options_in_plugin( $fields_sections_list ){
333
+
334
+ // Sub section - Custom JS ------------------------------------
335
+
336
+ $fields_sections_list['sections'][] = array(
337
+ 'id' => 'general-setting-section-custom-js',
338
+ 'parent' => 'general-setting-section', // section parent's id
339
+ 'title' => __( 'Custom JS Code', 'auxin-elements'),
340
+ 'description' => __( 'Your Custom Javascript', 'auxin-elements')
341
+ );
342
+
343
+ $fields_sections_list['fields'][] = array(
344
+ 'title' => __('Custom Javascript', 'auxin-elements'),
345
+ 'description' => sprintf( __('You can add your custom javascript code here.%s No need to use %s tag', 'auxin-elements'), '<br />' , '<code>&lt;script&gt;</code>' )."<br />".
346
+ __('In order to save your custom javascript code, you are expected to execute the code prior to saving.', 'auxin-elements'),
347
+ 'id' => 'auxin_user_custom_js',
348
+ 'section' => 'general-setting-section-custom-js',
349
+ 'dependency' => array(),
350
+ 'default' => '',
351
+ 'transport' => 'postMessage',
352
+ 'button_labels' => array( 'label' => __('Execute', 'auxin-elements') ),
353
+ 'mode' => 'javascript',
354
+ 'type' => 'code'
355
+ );
356
+
357
+
358
+ // Sub section - SEO ----------------------------------
359
+
360
+ $fields_sections_list['sections'][] = array(
361
+ 'id' => 'general-setting-section-seo',
362
+ 'parent' => 'general-setting-section', // section parent's id
363
+ 'title' => __( 'Tracking & SEO', 'auxin-elements'),
364
+ 'description' => __( 'Tracking & SEO', 'auxin-elements')
365
+ );
366
+
367
+
368
+ $fields_sections_list['fields'][] = array(
369
+ 'title' => __('Enable built in SEO?', 'auxin-elements'),
370
+ 'description' => __('If you want to use SEO plugins like "WordPress SEO by Yoast" or "All in One SEO Pack" you can disable built-in SEO for maximum compatibility by checking this option',
371
+ 'auxin-elements'),
372
+ 'id' => 'enable_theme_seo',
373
+ 'section' => 'general-setting-section-seo',
374
+ 'dependency' => array(),
375
+ 'default' => '1',
376
+ 'type' => 'switch'
377
+ );
378
+
379
+ $fields_sections_list['fields'][] = array(
380
+ 'title' => __('Google analytics code', 'auxin-elements'),
381
+ 'description' => __('You can add your Google analytics code here. Do NOT use <code>&lt;script&gt;</code> tag', 'auxin-elements'),
382
+ 'id' => 'auxin_user_google_analytics',
383
+ 'section' => 'general-setting-section-seo',
384
+ 'dependency' => array(),
385
+ 'default' => '',
386
+ 'transport' => 'postMessage',
387
+ 'mode' => 'javascript',
388
+ 'button_labels' => array( 'label' => false ),
389
+ 'type' => 'code'
390
+ );
391
+
392
+ $fields_sections_list['fields'][] = array(
393
+ 'title' => __('Google marketing code', 'auxin-elements'),
394
+ 'description' => __('You can add your Google marketing code here. Do NOT use <code>&lt;script&gt;</code> tag', 'auxin-elements'),
395
+ 'id' => 'auxin_user_google_marketing',
396
+ 'section' => 'general-setting-section-seo',
397
+ 'dependency' => array(),
398
+ 'default' => '',
399
+ 'transport' => 'postMessage',
400
+ 'mode' => 'javascript',
401
+ 'button_labels' => array( 'label' => false ),
402
+ 'type' => 'code'
403
+ );
404
+
405
+
406
+
407
+
408
+
409
+
410
+ // Sub section - Login page customizer -------------------------------
411
+
412
+ $fields_sections_list['sections'][] = array(
413
+ 'id' => 'tools-setting-section-login',
414
+ 'parent' => 'tools-setting-section', // section parent's id
415
+ 'title' => __( 'Login Page', 'auxin-elements'),
416
+ 'description' => __( 'Preview login page', 'auxin-elements') . ' '. sprintf(
417
+ '<a href="%s" class="section-title-icon axicon-link-ext" target="_self" title="%s" ></a>',
418
+ '?url='.wp_login_url(), __('Preview login page', 'auxin-elements')
419
+ )
420
+ );
421
+
422
+
423
+
424
+ $fields_sections_list['fields'][] = array(
425
+ 'title' => __('Login Skin', 'auxin-elements'),
426
+ 'description' => __('Specifies a skin for login page of your website.', 'auxin-elements'),
427
+ 'id' => 'auxin_login_skin',
428
+ 'section' => 'tools-setting-section-login',
429
+ 'dependency' => array(),
430
+ 'choices' => array(
431
+ 'default' => array(
432
+ 'label' => __('Default', 'auxin-elements'),
433
+ 'image' => AUX_URL . 'images/visual-select/login-skin-default.svg'
434
+ ),
435
+ 'clean-white' => array(
436
+ 'label' => __('Clean white', 'auxin-elements'),
437
+ 'image' => AUX_URL . 'images/visual-select/login-skin-light.svg'
438
+ ),
439
+ 'simple-white' => array(
440
+ 'label' => __('Simple white', 'auxin-elements'),
441
+ 'image' => AUX_URL . 'images/visual-select/login-skin-simple-light.svg'
442
+ ),
443
+ 'simple-gray' => array(
444
+ 'label' => __('Simple gray', 'auxin-elements'),
445
+ 'image' => AUX_URL . 'images/visual-select/login-skin-simple-gray.svg'
446
+ )
447
+ ),
448
+ 'transport' => 'refresh',
449
+ 'default' => 'default',
450
+ 'type' => 'radio-image'
451
+ );
452
+
453
+ $fields_sections_list['fields'][] = array(
454
+ 'title' => __('Login message', 'auxin-elements'),
455
+ 'description' => __('If you enter a text, it displays above of login form.', 'auxin-elements'),
456
+ 'id' => 'auxin_login_message',
457
+ 'section' => 'tools-setting-section-login',
458
+ 'dependency' => array(),
459
+ 'transport' => 'refresh',
460
+ 'type' => 'textarea',
461
+ 'default' => ''
462
+ );
463
+
464
+ //--------------------------------
465
+
466
+ $fields_sections_list['fields'][] = array(
467
+ 'title' => __('Login Page Logo', 'auxin-elements'),
468
+ 'description' => __('Specifies a logo to display on login page.(the width of logo image could be up to 320px)', 'auxin-elements'),
469
+ 'id' => 'auxin_login_logo_image',
470
+ 'section' => 'tools-setting-section-login',
471
+ 'dependency' => array(),
472
+ 'transport' => 'refresh',
473
+ 'default' => '',
474
+ 'type' => 'image'
475
+ );
476
+
477
+
478
+ $fields_sections_list['fields'][] = array(
479
+ 'title' => __('Logo Width', 'auxin-elements'),
480
+ 'description' => __('Specifies the width of logo image in pixel.', 'auxin-elements'),
481
+ 'id' => 'auxin_login_logo_width',
482
+ 'section' => 'tools-setting-section-login',
483
+ 'dependency' => array(),
484
+ 'transport' => 'refresh',
485
+ 'default' => '84',
486
+ 'type' => 'text'
487
+ );
488
+
489
+
490
+ $fields_sections_list['fields'][] = array(
491
+ 'title' => __('Logo Height', 'auxin-elements'),
492
+ 'description' => __('Specifies the height of logo image in pixel.', 'auxin-elements'),
493
+ 'id' => 'auxin_login_logo_height',
494
+ 'section' => 'tools-setting-section-login',
495
+ 'dependency' => array(),
496
+ 'transport' => 'refresh',
497
+ 'default' => '84',
498
+ 'type' => 'text'
499
+ );
500
+
501
+ //--------------------------------
502
+
503
+ $fields_sections_list['fields'][] = array(
504
+ 'title' => __('Enable Background?', 'auxin-elements'),
505
+ 'description' => __('Enable it to display custom background on login page.', 'auxin-elements'),
506
+ 'id' => 'auxin_login_bg_show',
507
+ 'section' => 'tools-setting-section-login',
508
+ 'type' => 'switch',
509
+ 'transport' => 'refresh',
510
+ 'wrapper_class' => 'collapse-head',
511
+ 'default' => '0'
512
+ );
513
+
514
+
515
+ $fields_sections_list['fields'][] = array(
516
+ 'title' => __( 'Background Color', 'auxin-elements'),
517
+ 'id' => 'auxin_login_bg_color',
518
+ 'description' => __( 'Specifies the color of website background', 'auxin-elements'),
519
+ 'section' => 'tools-setting-section-login',
520
+ 'type' => 'color',
521
+ 'dependency' => array(
522
+ array(
523
+ 'id' => 'auxin_login_bg_show',
524
+ 'value' => array( '1' )
525
+ )
526
+ ),
527
+ 'transport' => 'refresh',
528
+ 'default' => ''
529
+ );
530
+
531
+ $fields_sections_list['fields'][] = array(
532
+ 'title' => __('Background Image', 'auxin-elements'),
533
+ 'id' => 'auxin_login_bg_image',
534
+ 'description' => __('You can upload custom image for site background', 'auxin-elements').'<br/>'.__('Note: if you set custom image, default image backgrounds will be ignored', 'auxin-elements'),
535
+ 'section' => 'tools-setting-section-login',
536
+ 'type' => 'image',
537
+ 'dependency' => array(
538
+ array(
539
+ 'id' => 'auxin_login_bg_show',
540
+ 'value' => array( '1' )
541
+ )
542
+ ),
543
+ 'transport' => 'refresh',
544
+ 'default' => ''
545
+ );
546
+
547
+ $fields_sections_list['fields'][] = array(
548
+ 'title' => __('Background Size', 'auxin-elements'),
549
+ 'description' => __('Specifies the background size.', 'auxin-elements'),
550
+ 'id' => 'auxin_login_bg_size',
551
+ 'section' => 'tools-setting-section-login',
552
+ 'type' => 'radio-image',
553
+ 'choices' => array(
554
+ 'auto' => array(
555
+ 'label' => __('Auto', 'auxin-elements'),
556
+ 'css_class' => 'axiAdminIcon-bg-size-1',
557
+ ),
558
+ 'contain' => array(
559
+ 'label' => __('Contain', 'auxin-elements'),
560
+ 'css_class' => 'axiAdminIcon-bg-size-2'
561
+ ),
562
+ 'cover' => array(
563
+ 'label' => __('Cover', 'auxin-elements'),
564
+ 'css_class' => 'axiAdminIcon-bg-size-3'
565
+ )
566
+ ),
567
+ 'dependency' => array(
568
+ array(
569
+ 'id' => 'auxin_login_bg_show',
570
+ 'value' => array( '1' )
571
+ )
572
+ ),
573
+ 'transport' => 'refresh',
574
+ 'default' => 'auto'
575
+ );
576
+
577
+ $fields_sections_list['fields'][] = array(
578
+ 'title' => __('Background Pattern', 'auxin-elements'),
579
+ 'description' => __('Here you can select one of these patterns as site image background.', 'auxin-elements'),
580
+ 'id' => 'auxin_login_bg_pattern',
581
+ 'section' => 'tools-setting-section-login',
582
+ 'choices' => auxin_get_background_patterns( array( 'none' => array( 'label' =>__('None', 'auxin-elements'), 'image' => AUX_URL . 'images/visual-select/none-pattern.svg' ) ), 'before' ),
583
+ 'type' => 'radio-image',
584
+ 'dependency' => array(
585
+ array(
586
+ 'id' => 'auxin_login_bg_show',
587
+ 'value' => array( '1' )
588
+ )
589
+ ),
590
+ 'transport' => 'refresh',
591
+ 'default' => ''
592
+ );
593
+
594
+ $fields_sections_list['fields'][] = array(
595
+ 'title' => __( 'Background Repeat', 'auxin-elements'),
596
+ 'description' => __( 'Specifies how background image repeats.', 'auxin-elements'),
597
+ 'id' => 'auxin_login_bg_repeat',
598
+ 'section' => 'tools-setting-section-login',
599
+ 'choices' => array(
600
+ 'no-repeat' => array(
601
+ 'label' => __('No repeat', 'auxin-elements'),
602
+ 'css_class' => 'axiAdminIcon-none',
603
+ ),
604
+ 'repeat' => array(
605
+ 'label' => __('Repeat horizontally and vertically', 'auxin-elements'),
606
+ 'css_class' => 'axiAdminIcon-repeat-xy',
607
+ ),
608
+ 'repeat-x' => array(
609
+ 'label' => __('Repeat horizontally', 'auxin-elements'),
610
+ 'css_class' => 'axiAdminIcon-repeat-x',
611
+ ),
612
+ 'repeat-y' => array(
613
+ 'label' => __('Repeat vertically', 'auxin-elements'),
614
+ 'css_class' => 'axiAdminIcon-repeat-y',
615
+ )
616
+ ),
617
+ 'type' => 'radio-image',
618
+ 'dependency' => array(
619
+ array(
620
+ 'id' => 'auxin_login_bg_show',
621
+ 'value' => array( '1' )
622
+ )
623
+ ),
624
+ 'transport' => 'refresh',
625
+ 'default' => 'no-repeat'
626
+ );
627
+
628
+ $fields_sections_list['fields'][] = array(
629
+ 'title' => __( 'Background Position', 'auxin-elements'),
630
+ 'description' => __('Specifies background image alignment.', 'auxin-elements'),
631
+ 'id' => 'auxin_login_bg_position',
632
+ 'section' => 'tools-setting-section-login',
633
+ 'choices' => array(
634
+ 'left top' => array(
635
+ 'label' => __('Left top', 'auxin-elements'),
636
+ 'css_class' => 'axiAdminIcon-top-left'
637
+ ),
638
+ 'center top' => array(
639
+ 'label' => __('Center top', 'auxin-elements'),
640
+ 'css_class' => 'axiAdminIcon-top-center'
641
+ ),
642
+ 'right top' => array(
643
+ 'label' => __('Right top', 'auxin-elements'),
644
+ 'css_class' => 'axiAdminIcon-top-right'
645
+ ),
646
+
647
+ 'left center' => array(
648
+ 'label' => __('Left center', 'auxin-elements'),
649
+ 'css_class' => 'axiAdminIcon-center-left'
650
+ ),
651
+ 'center center' => array(
652
+ 'label' => __('Center center', 'auxin-elements'),
653
+ 'css_class' => 'axiAdminIcon-center-center'
654
+ ),
655
+ 'right center' => array(
656
+ 'label' => __('Right center', 'auxin-elements'),
657
+ 'css_class' => 'axiAdminIcon-center-right'
658
+ ),
659
+
660
+ 'left bottom' => array(
661
+ 'label' => __('Left bottom', 'auxin-elements'),
662
+ 'css_class' => 'axiAdminIcon-bottom-left'
663
+ ),
664
+ 'center bottom' => array(
665
+ 'label' => __('Center bottom', 'auxin-elements'),
666
+ 'css_class' => 'axiAdminIcon-bottom-center'
667
+ ),
668
+ 'right bottom' => array(
669
+ 'label' => __('Right bottom', 'auxin-elements'),
670
+ 'css_class' => 'axiAdminIcon-bottom-right'
671
+ )
672
+ ),
673
+ 'type' => 'radio-image',
674
+ 'dependency' => array(
675
+ array(
676
+ 'id' => 'auxin_login_bg_show',
677
+ 'value' => array( '1' )
678
+ )
679
+ ),
680
+ 'transport' => 'refresh',
681
+ 'default' => 'left top'
682
+ );
683
+
684
+ $fields_sections_list['fields'][] = array(
685
+ 'title' => __('Background Attachment', 'auxin-elements'),
686
+ 'description' => __('Specifies whether the background is fixed or scrollable as user scrolls the document.', 'auxin-elements'),
687
+ 'id' => 'auxin_login_bg_attach',
688
+ 'section' => 'tools-setting-section-login',
689
+ 'type' => 'radio-image',
690
+ 'choices' => array(
691
+ 'scroll' => array(
692
+ 'label' => __('Scroll', 'auxin-elements'),
693
+ 'css_class' => 'axiAdminIcon-bg-attachment-scroll',
694
+ ),
695
+ 'fixed' => array(
696
+ 'label' => __('Fixed', 'auxin-elements'),
697
+ 'css_class' => 'axiAdminIcon-bg-attachment-fixed',
698
+ )
699
+ ),
700
+ 'dependency' => array(
701
+ array(
702
+ 'id' => 'auxin_login_bg_show',
703
+ 'value' => array( '1' )
704
+ )
705
+ ),
706
+ 'transport' => 'refresh',
707
+ 'default' => 'scroll'
708
+ );
709
+
710
+ //--------------------------------
711
+
712
+ $fields_sections_list['fields'][] = array(
713
+ 'title' => __('Custom CSS class name', 'auxin-elements'),
714
+ 'description' => __('In this field you can define custom CSS class name for login page.
715
+ This class name will be added to body classes in login page and is useful for advance custom styling purposes.', 'auxin-elements'),
716
+ 'id' => 'auxin_login_body_class',
717
+ 'section' => 'tools-setting-section-login',
718
+ 'dependency' => array(),
719
+ 'transport' => 'refresh',
720
+ 'default' => '',
721
+ 'type' => 'text'
722
+ );
723
+
724
+
725
+ return $fields_sections_list;
726
+ }
727
+
728
+ add_filter( 'auxin_defined_option_fields_sections', 'auxin_add_theme_options_in_plugin', 12, 1 );
729
+
730
+
731
+
732
+ /*-----------------------------------------------------------------------------------*/
733
+ /* Injects JavaScript codes from theme options in JS file
734
+ /*-----------------------------------------------------------------------------------*/
735
+
736
+ function auxin_ele_add_theme_options_to_js_file( $js ){
737
+ $js['theme_options_custom'] = auxin_get_option( 'auxin_user_custom_js' );
738
+
739
+ $js['theme_options_google_analytics'] = auxin_get_option( 'auxin_user_google_analytics' );
740
+ $js['theme_options_google_marketing'] = auxin_get_option( 'auxin_user_google_marketing' );
741
+
742
+ // Will be deprecated in version 1.4
743
+ unset( $js['option_panel_custom'] );
744
+ unset( $js['option_panel_google_analytics'] );
745
+ unset( $js['option_panel_google_marketing'] );
746
+
747
+ return $js;
748
+ }
749
+ add_filter( 'auxin_custom_js_file_content', 'auxin_ele_add_theme_options_to_js_file' );
750
+
751
+
752
+ /*-----------------------------------------------------------------------------------*/
753
+ /* Adds the custom CSS class of the login page to body element
754
+ /*-----------------------------------------------------------------------------------*/
755
+
756
+ function auxin_login_body_class( $classes ){
757
+
758
+ if( $custom_class = auxin_get_option('auxin_login_body_class' ) ){
759
+ $classes['auxin_custom'] = $custom_class;
760
+ }
761
+
762
+ if( $custom_skin = auxin_get_option('auxin_login_skin' ) ){
763
+ $classes['auxin_skin'] = esc_attr( 'auxin-login-skin-' . $custom_skin );
764
+ }
765
+
766
+ return $classes;
767
+ }
768
+ add_action( 'auxin_functions_ready', function(){
769
+ add_filter( 'login_body_class', 'auxin_login_body_class' );
770
+ });
771
+
772
+
773
+
774
+ /*-----------------------------------------------------------------------------------*/
775
+ /* Adds proper styles for background and logo on login page
776
+ /*-----------------------------------------------------------------------------------*/
777
+
778
+ function auxin_login_head(){
779
+
780
+ $styles = '';
781
+
782
+ if( $bg_image_id = auxin_get_option( 'auxin_login_logo_image' ) ){
783
+ $bg_image = wp_get_attachment_url( $bg_image_id );
784
+ $styles .= "background-image: url( $bg_image ); ";
785
+
786
+ $bg_width = auxin_get_option( 'auxin_login_logo_width' , '84' );
787
+ $bg_height = auxin_get_option( 'auxin_login_logo_height', '84' );
788
+
789
+ $bg_width = rtrim( $bg_width , 'px' ) . 'px';
790
+ $bg_height = rtrim( $bg_height, 'px' ) . 'px';
791
+
792
+ $styles .= "background-size: $bg_width $bg_height; ";
793
+ $styles .= "width: $bg_width; height: $bg_height; ";
794
+
795
+ echo "<style>#login h1 a { $styles }</style>";
796
+ }
797
+
798
+ if( auxin_get_option( 'auxin_login_bg_show' ) ){
799
+
800
+ // get styles for background image
801
+ $bg_styles = auxin_generate_styles_for_backgroud_fields( 'auxin_login_bg', 'option', array(
802
+ 'color' => 'auxin_login_bg_color',
803
+ 'image' => 'auxin_login_bg_image',
804
+ 'repeat' => 'auxin_login_bg_repeat',
805
+ 'size' => 'auxin_login_bg_size',
806
+ 'position' => 'auxin_login_bg_position',
807
+ 'attachment' => 'auxin_login_bg_attachment',
808
+ 'clip' => 'auxin_login_bg_clip'
809
+ ) );
810
+
811
+ $pattern_style = auxin_generate_styles_for_backgroud_fields( 'auxin_login_bg', 'option', array(
812
+ 'pattern' => 'auxin_login_bg_pattern'
813
+ ) );
814
+
815
+ echo "<style>body.login { $bg_styles } body.login:before { $pattern_style }</style>";
816
+ }
817
+
818
+ }
819
+ add_action( 'auxin_functions_ready', function(){
820
+ add_action( 'login_head', 'auxin_login_head' );
821
+ });
822
+
823
+
824
+ /*-----------------------------------------------------------------------------------*/
825
+ /* Changes the login header url to home url
826
+ /*-----------------------------------------------------------------------------------*/
827
+
828
+ function auxin_login_headerurl( $login_header_url ){
829
+
830
+ if ( ! is_multisite() ) {
831
+ $login_header_url = home_url();
832
+ }
833
+ return $login_header_url;
834
+ }
835
+ add_action( 'auxin_functions_ready', function(){
836
+ add_filter( 'login_headerurl', 'auxin_login_headerurl' );
837
+ });
838
+
839
+ /*-----------------------------------------------------------------------------------*/
840
+ /* Changes the login header url to home url
841
+ /*-----------------------------------------------------------------------------------*/
842
+
843
+ function auxin_login_headertitle( $login_header_title ){
844
+
845
+ if ( ! is_multisite() ) {
846
+ $login_header_title = get_bloginfo( 'name' );
847
+ }
848
+ return $login_header_title;
849
+ }
850
+ add_action( 'auxin_functions_ready', function(){
851
+ add_filter( 'login_headertitle', 'auxin_login_headertitle' );
852
+ });
853
+
854
+ /*-----------------------------------------------------------------------------------*/
855
+ /* Adds custom message above the login form
856
+ /*-----------------------------------------------------------------------------------*/
857
+
858
+ function auxin_login_message( $login_message ){
859
+
860
+ if( $custom_message = auxin_get_option( 'auxin_login_message' ) ){
861
+
862
+ $message_wrapper_start = '<div class="message">';
863
+ $message_wrapper_end = "</div>\n";
864
+
865
+ $custom_message_markup = $message_wrapper_start . $custom_message . $message_wrapper_end;
866
+
867
+ /**
868
+ * Filter instructional messages displayed above the login form.
869
+ *
870
+ * @param string $custom_message Login message.
871
+ */
872
+ $login_message .= apply_filters( 'auxin_login_message', $custom_message_markup, $custom_message, $message_wrapper_start, $message_wrapper_end );
873
+ }
874
+
875
+ return $login_message;
876
+ }
877
+ add_action( 'auxin_functions_ready', function(){
878
+ add_filter( 'login_message', 'auxin_login_message' );
879
+ });
880
+
881
+
882
+ /*-----------------------------------------------------------------------------------*/
883
+ /* Prints the custom js codes of a single page to the source page
884
+ /*-----------------------------------------------------------------------------------*/
885
+
886
+ function auxin_custom_js_for_pages( $js, $post ){
887
+ // The custom JS code for specific page
888
+ if( $post && ! is_404() && is_singular() ) {
889
+ $js .= get_post_meta( $post->ID, 'aux_page_custom_js', true );
890
+ }
891
+
892
+ }
893
+ add_filter( 'auxin_footer_inline_script', 'auxin_custom_js_for_pages', 15, 2 );
894
+
895
+
896
+ /*-----------------------------------------------------------------------------------*/
897
+ /* Print meta tags to preview post while sharing on facebook
898
+ /*-----------------------------------------------------------------------------------*/
899
+
900
+ if( ! defined('WPSEO_VERSION') && ! class_exists('All_in_One_SEO_Pack') ){
901
+
902
+ function auxin_facebook_header_meta (){
903
+
904
+ if( ! defined('AUXIN_VERSION') ){
905
+ return;
906
+ }
907
+
908
+ // return if built-in seo is disabled or "SEO by yoast" is active
909
+ if( ! auxin_get_option( 'enable_theme_seo', 1 ) ) return;
910
+
911
+ global $post;
912
+ if( ! isset( $post ) || ! is_singular() || is_search() || is_404() ) return;
913
+ setup_postdata( $post );
914
+
915
+ $featured_image = auxin_get_the_post_thumbnail_src( $post->ID, 90, 90, true, 90 );
916
+ $post_excerpt = get_the_excerpt();
917
+ ?>
918
+ <meta name="title" content="<?php echo esc_attr( $post->post_title ); ?>" />
919
+ <meta name="description" content="<?php echo esc_attr( $post_excerpt ); ?>" />
920
+ <?php if( $featured_image) { ?>
921
+ <link rel="image_src" href="<?php echo $featured_image; ?>" />
922
+ <?php }
923
+
924
+ }
925
+
926
+ add_action( 'wp_head', 'auxin_facebook_header_meta' );
927
+ }
928
+
929
+ /*-----------------------------------------------------------------------------------*/
includes/general-shortcodes.php ADDED
@@ -0,0 +1,366 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /*-----------------------------------------------------------------------------------*/
4
+ /* Latest from Blog
5
+ /*-----------------------------------------------------------------------------------*/
6
+
7
+ add_shortcode( 'aux_timeline' , 'auxin_shortcode_timeline' );
8
+
9
+ function auxin_shortcode_timeline( $atts, $content = null ) {
10
+
11
+ // extract attrs to vars
12
+ extract( shortcode_atts(
13
+ array(
14
+ 'size' => 100, // section size
15
+ 'title' => '', // widget header title
16
+ 'col' => '33', // one .. six-column
17
+ 'view_more' => 'yes',
18
+ 'more_label' => 'view all',
19
+ 'num' => 5, // fetch num
20
+ 'excerpt_len' => '120',
21
+ 'cat_id' => '', // cat id to display. '' gets all cats
22
+ 'view_thumb' => 'yes', // display thumbnail or not
23
+ 'thumb_mode' => 'left', // 'top': normal thumb on top , 'left': normal thumb on left, 'icon': icon size thumb
24
+ 'date_type' => 'big',
25
+ 'orderby' => '',
26
+ 'order' => '',
27
+ 'layout' => 'center'
28
+ )
29
+ , $atts, 'aux_timeline' )
30
+ );
31
+
32
+ // sanitize sql order and orderby
33
+ $orderby = $orderby ? sanitize_sql_orderby( $orderby ) : 'date';
34
+ $order = $order ? sanitize_sql_order( $order ) : 'DESC';
35
+
36
+ // validate number fetched items
37
+ $num = is_numeric( $num ) ? $num : -1;
38
+
39
+ // get thumbnail diemntion --------------------------------------
40
+ $vimeo_height = 273;
41
+
42
+ // chane thumbnail size to 60x60 if it is mini mode
43
+ if($thumb_mode == "mini") {
44
+ $dimentions[0] = 60;
45
+ $dimentions[1] = 60;
46
+ }else{
47
+ // actual col size
48
+ // get number of grid column
49
+ $wrapper_size = empty($size)?100:$size;
50
+ $col_actual = ($wrapper_size / 100) * (int)$col;
51
+ $col_num = floor(100 / $col_actual);
52
+ $col_num = $col_num > 4?4:$col_num; // max column num is 4
53
+ // get thumbnsil size name
54
+ $image_size_name = "i".$col_num;
55
+
56
+ // get suite thumb size
57
+ $thumb_size = $image_size_name;
58
+ $dimentions = auxin_get_image_size( $thumb_size.'_1' );
59
+
60
+ // the left mode is half size of top mode, so for making image retina
61
+ // bigger size is not needed
62
+ if($thumb_mode == "top"){
63
+ // retinafy thumbnail
64
+ $dimentions[0] = 1.5 * $dimentions[0];
65
+ $dimentions[1] = 1.5 * ($dimentions[1] - 10);
66
+
67
+ }else{ // if the image is on left
68
+ $dimentions[1] -= 10;
69
+ }
70
+
71
+ }
72
+
73
+
74
+ // just view custom taxonomies if tax id is set ----------------
75
+ $tax_args = array('taxonomy' => 'category', 'terms' => $cat_id );
76
+ if(empty($cat_id) || $cat_id == "all" ) $tax_args = "";
77
+
78
+ // create wp_query to get latest items
79
+ $args = array(
80
+ 'post_type' => 'post',
81
+ 'orderby' => $orderby,
82
+ 'order' => $order,
83
+ 'post_status' => 'publish',
84
+ 'posts_per_page' => $num,
85
+ 'ignore_sticky_posts'=> 1,
86
+ 'tax_query' => array($tax_args)
87
+ );
88
+
89
+ $th_query = null;
90
+ $th_query = new WP_Query($args);
91
+
92
+
93
+
94
+ ob_start();
95
+ ?>
96
+
97
+ <section class="widget-blog widget-container widget-timeline" >
98
+
99
+ <?php
100
+
101
+ if( ! empty($title) )
102
+ echo get_widget_title( $title ); ?>
103
+
104
+
105
+ <div class="widget-inner">
106
+ <div class="aux-timeline aux-<?php echo esc_attr( $layout ); ?>" data-layout="<?php echo esc_attr( $layout ); ?>" >
107
+
108
+ <?php if( $th_query->have_posts() ): while ($th_query->have_posts()) : $th_query->the_post(); ?>
109
+
110
+
111
+
112
+
113
+ <?php
114
+ $post_format = get_post_format($th_query->post->ID);
115
+ $has_attach = FALSE;
116
+ $the_attach = "";
117
+ $show_title = true;
118
+
119
+ switch ($post_format) {
120
+ case 'aside':
121
+
122
+ break;
123
+ case 'gallery':
124
+
125
+ // if the mode is not mini size
126
+ if($thumb_mode != "mini") {
127
+ // if post has featured image, use featured image instead of gallery images
128
+ $has_attach = has_post_thumbnail($th_query->post->ID);
129
+ if($has_attach) {
130
+ $the_attach = auxin_get_the_post_thumbnail($th_query->post->ID, $dimentions[0], $dimentions[1], true, 75);
131
+
132
+ $the_media = '<div class="imgHolder">'.
133
+ '<a href="'.auxin_get_the_attachment_url($th_query->post->ID, "full").'" data-rel="prettyPhoto">'.
134
+ $the_attach.
135
+ '</a>'.
136
+ '</div>';
137
+
138
+ // display gallery images as slider if featured image is not set
139
+ } else {
140
+
141
+ $slider = '[flexslider slideshow="no" effect="slide" nav_type="none" easing="easeInOutQuad" ]';
142
+ $has_attach = false;
143
+
144
+ for ($i=1; $i <= 5; $i++) {
145
+ $img_url = get_post_meta($th_query->post->ID, "axi_gallery_image".$i, true);
146
+ if(!empty($img_url) ){
147
+ $has_attach = true;
148
+ $img_url = auxin_get_the_absolute_image_url($img_url);
149
+ $slider .= '[simple_slide src="'.auxin_get_the_resized_image_src($img_url, $dimentions[0], $dimentions[1], true, 75 ).'" ]';
150
+ }
151
+ }
152
+
153
+ $slider .= '[/flexslider]';
154
+ if(!$has_attach) break;
155
+
156
+ $the_media = do_shortcode($slider);
157
+ }
158
+
159
+ break;
160
+
161
+ // if thumb mode is mini, just echo small image intead of slider
162
+ }else {
163
+ $has_attach = has_post_thumbnail($th_query->post->ID);
164
+ // if post has featured image, use featured image instead of gallery image
165
+ if( $has_attach ) {
166
+ $the_attach = auxin_get_the_post_thumbnail_src($th_query->post->ID, $dimentions[0], $dimentions[1], true, 75);
167
+
168
+ // display first gallery image as slider if featured image is not set
169
+ }else {
170
+ $the_attach = get_post_meta($th_query->post->ID, "axi_gallery_image1", true);
171
+ $has_attach = !empty($the_attach);
172
+ if(!$has_attach) break;
173
+ $the_attach = auxin_get_the_absolute_image_url($the_attach);
174
+ }
175
+
176
+ $the_media = '<div class="imgHolder">'.
177
+ '<a href="'.get_permalink().'" >'.
178
+ '<img src="'.$the_attach.'" alt="" />'.
179
+ '</a>'.
180
+ '</div>';
181
+ break;
182
+ }
183
+
184
+ break;
185
+ case 'image':
186
+ $has_attach = has_post_thumbnail();
187
+ if(!$has_attach) break;
188
+ $the_attach = auxin_get_the_post_thumbnail($th_query->post->ID, $dimentions[0], $dimentions[1], true, 75);
189
+
190
+ $the_media = '<div class="imgHolder">'.
191
+ '<a href="'.auxin_get_the_attachment_url($th_query->post->ID, "full").'" data-rel="prettyPhoto">'.
192
+ $the_attach.
193
+ '</a>'.
194
+ '</div>';
195
+ break;
196
+
197
+ case 'link':
198
+ $the_link = get_post_meta($th_query->post->ID, "the_link", true);
199
+ $show_title = TRUE;
200
+ $has_attach = false;
201
+ if(!$has_attach) break;
202
+ break;
203
+
204
+ case 'video':
205
+ $video_link = get_post_meta($th_query->post->ID, "youtube", true);
206
+ $mp4 = get_post_meta($th_query->post->ID, "mp4" , true);
207
+ $ogg = get_post_meta($th_query->post->ID, "ogg" , true);
208
+ $webm = get_post_meta($th_query->post->ID, "webm", true);
209
+ $flv = get_post_meta($th_query->post->ID, "flv" , true);
210
+ $poster = get_post_meta($th_query->post->ID, "poster", true);
211
+ $skin = get_post_meta($th_query->post->ID, "skin" , true);
212
+
213
+ // if it is mini size just display a thumbnail
214
+ if($thumb_mode == "mini") {
215
+ if(has_post_thumbnail()){
216
+ $the_attach = auxin_get_the_post_thumbnail($th_query->post->ID, $dimentions[0], $dimentions[1], true, 75);
217
+ $the_media = '<div class="imgHolder">'.
218
+ '<a href="'.get_permalink().'">'.
219
+ $the_attach.
220
+ '</a>'.
221
+ '</div>';
222
+ }
223
+ break;
224
+ }
225
+
226
+ // if the feature image is set, display feature image instead
227
+ $has_attach = has_post_thumbnail();
228
+ if($has_attach) {
229
+ $the_attach = auxin_get_the_post_thumbnail($th_query->post->ID, $dimentions[0], $dimentions[1], true, 75);
230
+
231
+ $the_media = '<div class="imgHolder">'.
232
+ '<a href="'.get_permalink().'" >'.
233
+ $the_attach.
234
+ '</a>'.
235
+ '</div>';
236
+ break;
237
+ }
238
+
239
+ $has_attach = (!empty($video_link) || !empty($mp4) || !empty($ogg) || !empty($webm) || !empty($flv));
240
+ if(!$has_attach) break;
241
+
242
+ $the_attach = do_shortcode('[video_element fit="yes" height="'.$vimeo_height.'" url="'.$video_link.'" mp4="'.$mp4.'" ogg="'.$ogg.'" webm="'.$webm.'" flv="'.$flv.'" poster="'.$poster.'" skin="'.$skin.'" uid="axi_vid'.$th_query->post->ID.'" size="0" ]');
243
+
244
+ $the_media = $the_attach;
245
+ echo '<style type="text/css"> div.jp-video div.jp-jplayer { min-height: '.(($dimentions[1]/2)-75).'px; }</style>';
246
+ unset($video_link, $mp4,$ogg,$webm,$flv,$poster);
247
+ break;
248
+
249
+ case 'audio':
250
+ $mp3 = get_post_meta($th_query->post->ID, "mp3" , true);
251
+ $oga = get_post_meta($th_query->post->ID, "oga" , true);
252
+ $skin = get_post_meta($th_query->post->ID, "audio_skin" , true);
253
+ $soundcloud = get_post_meta($th_query->post->ID, "soundcloud" , true);
254
+
255
+ if($thumb_mode == "mini") {
256
+ if(has_post_thumbnail()){
257
+ $the_attach = auxin_get_the_post_thumbnail($th_query->post->ID, $dimentions[0], $dimentions[1], true, 75);
258
+ $the_media = '<div class="imgHolder">'.
259
+ '<a href="'.get_permalink().'">'.
260
+ $the_attach.
261
+ '</a>'.
262
+ '</div>';
263
+ }
264
+ break;
265
+ }
266
+
267
+ $has_attach = (!empty($mp3) || !empty($oga) || !empty($soundcloud));
268
+ if(!$has_attach) break;
269
+ if(!empty($mp3) || !empty($oga))
270
+ $the_attach = do_shortcode('[audio mp3="'.$mp3.'" ogg="'.$oga.'" skin="'.$skin.'" uid="axi_au'.$th_query->post->ID.'" size="0" ]');
271
+ else
272
+ $the_attach = do_shortcode($soundcloud);
273
+ $the_media = $the_attach;
274
+ unset($mp3,$oga,$skin, $soundcloud);
275
+ break;
276
+
277
+
278
+ case 'quote':
279
+ $quote = get_the_excerpt();
280
+ $author = get_post_meta($th_query->post->ID, "the_author", true);
281
+ $show_title = false;
282
+ $has_attach = false;
283
+ $quote = auxin_get_trimmed_string($quote,$excerpt_len, " ...");
284
+ $quote .= "<br/>- <cite>".$author."</cite>";
285
+ $the_attach = do_shortcode('[blockquote size="0" indent="no" ]'.$quote.'[/blockquote]');
286
+ unset($quote);
287
+ break;
288
+
289
+ default:
290
+ $has_attach = has_post_thumbnail();
291
+ if(!$has_attach) {
292
+ $the_attach = auxin_get_first_image_from_string(get_the_content());
293
+ $has_attach = !empty($the_attach);
294
+ }else {
295
+ $the_attach = auxin_get_the_post_thumbnail($th_query->post->ID, $dimentions[0], $dimentions[1], true, 75);
296
+ }
297
+
298
+ if(!$has_attach) break;
299
+
300
+ $the_media = '<div class="imgHolder">'.
301
+ '<a href="'.get_permalink().'">'.
302
+ $the_attach.
303
+ '</a>'.
304
+ '</div>';
305
+ break;
306
+ }
307
+
308
+ ?>
309
+
310
+ <article class="aux-block <?php echo "date-type-".$date_type." "; echo ($thumb_mode != "top")? $thumb_mode : "thumb_top" ; ?>">
311
+ <figure>
312
+ <?php if ( $has_attach && ($view_thumb == "yes") ) {
313
+ echo $the_media;
314
+ } ?>
315
+
316
+
317
+ <figcaption>
318
+ <div class="entry-header">
319
+ <h4 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
320
+ <div class="entry-format">
321
+ <a href="<?php the_permalink(); ?>" class="post-format format-<?php echo get_post_format(); ?>"> </a>
322
+ <?php if($date_type == "big") { ?>
323
+ <div class="cell-date">
324
+ <em> </em><em> </em>
325
+ <time datetime="<?php the_time('Y-m-d')?>" title="<?php the_time('Y-m-d')?>" >
326
+ <strong><?php the_time('d')?></strong>
327
+ <span><?php the_time('M')?></span>
328
+ </time>
329
+ </div>
330
+ <?php } ?>
331
+ </div>
332
+ </div>
333
+
334
+ <div class="entry-content">
335
+ <?php if($date_type == "inline" && $post_format != "quote") { ?>
336
+ <time datetime="<?php the_time('Y-m-d')?>" title="<?php the_time('Y-m-d')?>" ><?php the_time('F j, Y'); ?></time>
337
+ <?php } ?>
338
+
339
+ <?php if($post_format == "quote") {
340
+ echo $the_attach;
341
+ } elseif($excerpt_len > 0) { ?>
342
+ <p><?php auxin_the_trimmed_string(get_the_excerpt(),$excerpt_len); ?></p>
343
+ <?php } ?>
344
+ </div>
345
+ </figcaption>
346
+ </figure>
347
+ </article><!-- end-timeline-block -->
348
+
349
+ <?php endwhile; endif;
350
+ wp_reset_query();
351
+ ?>
352
+ </div><!-- end-timeline-wrapper -->
353
+ </div><!-- widget-inner -->
354
+
355
+ <?php if($view_more == "yes" ) {
356
+ $view_all_link = esc_url( auxin_get_option( 'blog_view_all_btn_link', home_url() ) );
357
+ ?>
358
+ <a href="<?php echo $view_all_link; ?>" class="more right" ><?php echo $more_label; ?></a>
359
+ <?php } unset( $view_all_link ); ?>
360
+
361
+ </section><!-- widget-blog -->
362
+
363
+ <?php
364
+ return ob_get_clean();
365
+ }
366
+
includes/index.php ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // load class files
4
+ include_once( 'classes/class-auxin-widget-shortcode-map.php' );
5
+
6
+ // commeon functions
7
+ include_once( 'general-functions.php' );
8
+ include_once( 'general-hooks.php' );
9
+
10
+ // load shortcode files
11
+ include_once( 'general-shortcodes.php' );
12
+
13
+
14
+
15
+ // load elements
16
+ include_once( 'elements/about-widget.php' );
17
+ include_once( 'elements/recent-posts-widget.php' );
18
+ include_once( 'elements/recent-posts.php' );
19
+ include_once( 'elements/accordion.php' );
20
+ include_once( 'elements/attachment-url.php' );
21
+ include_once( 'elements/audio.php' );
22
+ include_once( 'elements/button.php' );
23
+ include_once( 'elements/code.php' );
24
+ include_once( 'elements/contact-form.php' );
25
+ include_once( 'elements/divider.php' );
26
+ include_once( 'elements/dropcap.php' );
27
+ include_once( 'elements/gallery.php' );
28
+ include_once( 'elements/gmap.php' ); // check
29
+ include_once( 'elements/highlight.php' );
30
+ include_once( 'elements/image.php' );
31
+ // check if instagram-feed is activated then it adds its element to page builder and widget
32
+ if( auxin_is_plugin_active( 'instagram-feed/instagram-feed.php' ) ) {
33
+ include_once( 'elements/instagram-feed.php' );
34
+ }
35
+ include_once( 'elements/latest-posts-slider.php' );
36
+ include_once( 'elements/quote.php' );
37
+ include_once( 'elements/search.php' );
38
+ include_once( 'elements/socials-list.php' );
39
+ include_once( 'elements/tabs.php' );
40
+ include_once( 'elements/text.php' );
41
+ include_once( 'elements/video.php' );
42
+ include_once( 'elements/contact-box.php' );
43
+
index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // silence is golden
languages/auxin-elements.pot ADDED
@@ -0,0 +1,5850 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2013 averta.ltd
2
+ msgid ""
3
+ msgstr ""
4
+ "Project-Id-Version: MasterSlider\n"
5
+ "Report-Msgid-Bugs-To: http://wordpress.org/plugins/plugin-name\n"
6
+ "POT-Creation-Date: 2015-05-21 20:55+0330\n"
7
+ "PO-Revision-Date: 2015-05-21 20:55+0330\n"
8
+ "Last-Translator: FULL NAME <email@example.com>\n"
9
+ "Language-Team: LANGUAGE <translations@example.com >\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Generator: Poedit 1.5.7\n"
14
+ "X-Poedit-KeywordsList: __;_e;_n;_x;esc_html_e;esc_html__;esc_attr_e;"
15
+ "esc_attr__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_x:1,2c;_n:1,2;_ex\n"
16
+ "X-Poedit-Basepath: ../\n"
17
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
18
+ "X-Poedit-SourceCharset: UTF-8\n"
19
+ "X-Poedit-SearchPath-0: .\n"
20
+
21
+ #: masterslider.php:34 build/masterslider/masterslider.php:34
22
+ msgid ""
23
+ "You are using two instances of MasterSlider plugin at same time, please "
24
+ "deactive one of them."
25
+ msgstr ""
26
+
27
+ #: admin/class-master-slider-admin.php:235
28
+ #: build/masterslider/admin/class-master-slider-admin.php:235
29
+ msgid "Master Sliders"
30
+ msgstr ""
31
+
32
+ #: admin/class-master-slider-admin.php:236
33
+ #: admin/includes/classes/class-msp-admin-assets.php:73
34
+ #: admin/includes/classes/class-msp-importer.php:54
35
+ #: build/masterslider/admin/class-master-slider-admin.php:236
36
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:73
37
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:54
38
+ #: build/masterslider/includes/lib/vcomposer.php:11
39
+ #: build/masterslider/includes/lib/vcomposer.php:29
40
+ #: includes/lib/vcomposer.php:11 includes/lib/vcomposer.php:29
41
+ msgid "Master Slider"
42
+ msgstr ""
43
+
44
+ #: admin/class-master-slider-admin.php:269
45
+ #: admin/views/setting/class-msp-settings.php:72
46
+ #: admin/views/setting/class-msp-settings.php:73
47
+ #: build/masterslider/admin/class-master-slider-admin.php:269
48
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:72
49
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:73
50
+ msgid "Settings"
51
+ msgstr ""
52
+
53
+ #: admin/class-master-slider-admin.php:270
54
+ #: build/masterslider/admin/class-master-slider-admin.php:270
55
+ msgid "Docs"
56
+ msgstr ""
57
+
58
+ #: admin/includes/msp-hooks.php:35
59
+ #: build/masterslider/admin/includes/msp-hooks.php:35
60
+ msgid "Rate this plugin"
61
+ msgstr ""
62
+
63
+ #: admin/includes/msp-hooks.php:36
64
+ #: build/masterslider/admin/includes/msp-hooks.php:36
65
+ msgid "Premium support"
66
+ msgstr ""
67
+
68
+ #: admin/includes/msp-hooks.php:47
69
+ #: build/masterslider/admin/includes/msp-hooks.php:47
70
+ msgid ""
71
+ "Warning: the [rich editing] capability is disabled for this user which might "
72
+ "lead to some potential issues. Please enable it."
73
+ msgstr ""
74
+
75
+ #: admin/includes/msp-sample-sliders.php:8
76
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:8
77
+ msgid "Slider Types"
78
+ msgstr ""
79
+
80
+ #: admin/includes/msp-sample-sliders.php:13
81
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:13
82
+ msgid "Sample Sliders"
83
+ msgstr ""
84
+
85
+ #: admin/includes/msp-sample-sliders.php:18
86
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:18
87
+ msgid "Dynamic Sliders"
88
+ msgstr ""
89
+
90
+ #: admin/includes/msp-sample-sliders.php:36
91
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:36
92
+ msgid "Custom Slider"
93
+ msgstr ""
94
+
95
+ #: admin/includes/msp-sample-sliders.php:45
96
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:45
97
+ msgid "Post Slider"
98
+ msgstr ""
99
+
100
+ #: admin/includes/msp-sample-sliders.php:55
101
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:55
102
+ msgid "Flickr Slider"
103
+ msgstr ""
104
+
105
+ #: admin/includes/msp-sample-sliders.php:64
106
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:64
107
+ msgid "Facebook Slider"
108
+ msgstr ""
109
+
110
+ #: admin/includes/msp-sample-sliders.php:74
111
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:74
112
+ msgid "WooCommerce Product Slider"
113
+ msgstr ""
114
+
115
+ #: admin/includes/msp-sample-sliders.php:81
116
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:81
117
+ msgid "Please install and activate WooCommerce plugin to enable this feature."
118
+ msgstr ""
119
+
120
+ #: admin/includes/msp-sample-sliders.php:85
121
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:85
122
+ msgid "Instagram Slider"
123
+ msgstr ""
124
+
125
+ #: admin/includes/msp-sample-sliders.php:100
126
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:100
127
+ msgid "Sample Slider 1"
128
+ msgstr ""
129
+
130
+ #: admin/includes/msp-sample-sliders.php:109
131
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:109
132
+ msgid "Sample Slider 2"
133
+ msgstr ""
134
+
135
+ #: admin/includes/msp-sample-sliders.php:118
136
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:118
137
+ msgid "Sample Image Gallery"
138
+ msgstr ""
139
+
140
+ #: admin/includes/msp-sample-sliders.php:127
141
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:127
142
+ msgid "Image Gallery with Stack Effect"
143
+ msgstr ""
144
+
145
+ #: admin/includes/msp-sample-sliders.php:136
146
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:136
147
+ msgid "Sample 3D Flow Carousel"
148
+ msgstr ""
149
+
150
+ #: admin/includes/msp-sample-sliders.php:145
151
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:145
152
+ msgid "Creative Agency"
153
+ msgstr ""
154
+
155
+ #: admin/includes/msp-sample-sliders.php:154
156
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:154
157
+ msgid "Showcase"
158
+ msgstr ""
159
+
160
+ #: admin/includes/msp-sample-sliders.php:163
161
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:163
162
+ msgid "Slider in Display"
163
+ msgstr ""
164
+
165
+ #: admin/includes/msp-sample-sliders.php:172
166
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:172
167
+ msgid "Slider in Laptop"
168
+ msgstr ""
169
+
170
+ #: admin/includes/msp-sample-sliders.php:181
171
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:181
172
+ msgid "Slider With Horizontal Tabs"
173
+ msgstr ""
174
+
175
+ #: admin/includes/msp-sample-sliders.php:190
176
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:190
177
+ msgid "Slider With Vertical Tabs"
178
+ msgstr ""
179
+
180
+ #: admin/includes/msp-sample-sliders.php:199
181
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:199
182
+ msgid "Slider With Vertical Thumbs"
183
+ msgstr ""
184
+
185
+ #: admin/includes/msp-sample-sliders.php:208
186
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:208
187
+ msgid "Staff Carousel 1"
188
+ msgstr ""
189
+
190
+ #: admin/includes/msp-sample-sliders.php:217
191
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:217
192
+ msgid "Staff Carousel 2"
193
+ msgstr ""
194
+
195
+ #: admin/includes/msp-sample-sliders.php:226
196
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:226
197
+ msgid "Staff Carousel 3"
198
+ msgstr ""
199
+
200
+ #: admin/includes/msp-sample-sliders.php:235
201
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:235
202
+ msgid "Staff Carousel 4"
203
+ msgstr ""
204
+
205
+ #: admin/includes/msp-sample-sliders.php:244
206
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:244
207
+ msgid "Staff Carousel 5"
208
+ msgstr ""
209
+
210
+ #: admin/includes/msp-sample-sliders.php:253
211
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:253
212
+ msgid "Staff Carousel 6"
213
+ msgstr ""
214
+
215
+ #: admin/includes/msp-sample-sliders.php:262
216
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:262
217
+ msgid "Video Gallery Sample 1"
218
+ msgstr ""
219
+
220
+ #: admin/includes/msp-sample-sliders.php:271
221
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:271
222
+ msgid "Video Gallery Sample 2"
223
+ msgstr ""
224
+
225
+ #: admin/includes/msp-sample-sliders.php:280
226
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:280
227
+ msgid "Partial View Slider Version 1"
228
+ msgstr ""
229
+
230
+ #: admin/includes/msp-sample-sliders.php:289
231
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:289
232
+ msgid "Partial View Slider Version 2"
233
+ msgstr ""
234
+
235
+ #: admin/includes/msp-sample-sliders.php:298
236
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:298
237
+ msgid "Partial View Slider Version 3"
238
+ msgstr ""
239
+
240
+ #: admin/includes/msp-sample-sliders.php:307
241
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:307
242
+ msgid "Partial View Slider Version 4"
243
+ msgstr ""
244
+
245
+ #: admin/includes/msp-sample-sliders.php:316
246
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:316
247
+ msgid "Sample Showcase Slider"
248
+ msgstr ""
249
+
250
+ #: admin/includes/msp-sample-sliders.php:325
251
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:325
252
+ msgid "Vertical Direction Slider"
253
+ msgstr ""
254
+
255
+ #: admin/includes/msp-sample-sliders.php:334
256
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:334
257
+ msgid "Slider with Horizontal Thumbs"
258
+ msgstr ""
259
+
260
+ #: admin/includes/msp-sample-sliders.php:343
261
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:343
262
+ msgid "Fullscreen with Background Video"
263
+ msgstr ""
264
+
265
+ #: admin/includes/msp-sample-sliders.php:352
266
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:352
267
+ msgid "Fullscreen width Zoom Effect"
268
+ msgstr ""
269
+
270
+ #: admin/includes/msp-sample-sliders.php:361
271
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:361
272
+ msgid "Slider with Parallax Mask"
273
+ msgstr ""
274
+
275
+ #: admin/includes/msp-sample-sliders.php:370
276
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:370
277
+ msgid "Slider in Tablet"
278
+ msgstr ""
279
+
280
+ #: admin/includes/msp-sample-sliders.php:379
281
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:379
282
+ msgid "Slider in Flat Tablet"
283
+ msgstr ""
284
+
285
+ #: admin/includes/msp-sample-sliders.php:388
286
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:388
287
+ msgid "Slider in Landscape Tablet"
288
+ msgstr ""
289
+
290
+ #: admin/includes/msp-sample-sliders.php:397
291
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:397
292
+ msgid "Slider in Flat Landscape Tablet"
293
+ msgstr ""
294
+
295
+ #: admin/includes/msp-sample-sliders.php:406
296
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:406
297
+ msgid "Slider in Smartphone"
298
+ msgstr ""
299
+
300
+ #: admin/includes/msp-sample-sliders.php:415
301
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:415
302
+ msgid "Slider in Flat Smartphone"
303
+ msgstr ""
304
+
305
+ #: admin/includes/msp-sample-sliders.php:424
306
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:424
307
+ msgid "Slider in Landscape Smartphone"
308
+ msgstr ""
309
+
310
+ #: admin/includes/msp-sample-sliders.php:433
311
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:433
312
+ msgid "Slider in Flat Landscape Smartphone"
313
+ msgstr ""
314
+
315
+ #: admin/includes/msp-sample-sliders.php:442
316
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:442
317
+ msgid "Parallax Swipe Effect"
318
+ msgstr ""
319
+
320
+ #: admin/includes/msp-sample-sliders.php:451
321
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:451
322
+ msgid "Parallax Follow Mouse"
323
+ msgstr ""
324
+
325
+ #: admin/includes/msp-sample-sliders.php:465
326
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:465
327
+ msgid "Post Slider Boxed Layout"
328
+ msgstr ""
329
+
330
+ #: admin/includes/msp-sample-sliders.php:474
331
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:474
332
+ msgid "Post Slider With Excerpt"
333
+ msgstr ""
334
+
335
+ #: admin/includes/msp-sample-sliders.php:483
336
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:483
337
+ msgid "Post Slider With Partial View"
338
+ msgstr ""
339
+
340
+ #: admin/includes/msp-sample-sliders.php:492
341
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:492
342
+ msgid "Post Slider With Overlay Content"
343
+ msgstr ""
344
+
345
+ #: admin/includes/msp-sample-sliders.php:501
346
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:501
347
+ msgid "Post Slider With Tabs on Right"
348
+ msgstr ""
349
+
350
+ #: admin/includes/msp-sample-sliders.php:510
351
+ #: build/masterslider/admin/includes/msp-sample-sliders.php:510
352
+ msgid "Post Slider With Thumb in Tabs"
353
+ msgstr ""
354
+
355
+ #: admin/includes/classes/class-axiom-list-table.php:194
356
+ #: admin/views/global/gallery-templates.php:77
357
+ #: build/masterslider/admin/includes/classes/class-axiom-list-table.php:194
358
+ #: build/masterslider/admin/views/global/gallery-templates.php:77
359
+ msgid "No items found."
360
+ msgstr ""
361
+
362
+ #: admin/includes/classes/class-axiom-list-table.php:320
363
+ #: build/masterslider/admin/includes/classes/class-axiom-list-table.php:320
364
+ msgid "Bulk Actions"
365
+ msgstr ""
366
+
367
+ #: admin/includes/classes/class-axiom-list-table.php:330
368
+ #: build/masterslider/admin/includes/classes/class-axiom-list-table.php:330
369
+ msgid "Apply"
370
+ msgstr ""
371
+
372
+ #: admin/includes/classes/class-axiom-list-table.php:414
373
+ #: build/masterslider/admin/includes/classes/class-axiom-list-table.php:414
374
+ msgid "Show all dates"
375
+ msgstr ""
376
+
377
+ #: admin/includes/classes/class-axiom-list-table.php:427
378
+ #: build/masterslider/admin/includes/classes/class-axiom-list-table.php:427
379
+ #, php-format
380
+ msgid "%1$s %2$d"
381
+ msgstr ""
382
+
383
+ #: admin/includes/classes/class-axiom-list-table.php:443
384
+ #: build/masterslider/admin/includes/classes/class-axiom-list-table.php:443
385
+ msgid "List View"
386
+ msgstr ""
387
+
388
+ #: admin/includes/classes/class-axiom-list-table.php:444
389
+ #: build/masterslider/admin/includes/classes/class-axiom-list-table.php:444
390
+ msgid "Excerpt View"
391
+ msgstr ""
392
+
393
+ #: admin/includes/classes/class-axiom-list-table.php:470
394
+ #: build/masterslider/admin/includes/classes/class-axiom-list-table.php:470
395
+ #, php-format
396
+ msgid "%s pending"
397
+ msgstr ""
398
+
399
+ #: admin/includes/classes/class-axiom-list-table.php:538
400
+ #: admin/includes/classes/class-axiom-list-table.php:957
401
+ #: build/masterslider/admin/includes/classes/class-axiom-list-table.php:538
402
+ #: build/masterslider/admin/includes/classes/class-axiom-list-table.php:957
403
+ #, php-format
404
+ msgid "1 item"
405
+ msgid_plural "%s items"
406
+ msgstr[0] ""
407
+ msgstr[1] ""
408
+
409
+ #: admin/includes/classes/class-axiom-list-table.php:556
410
+ #: build/masterslider/admin/includes/classes/class-axiom-list-table.php:556
411
+ msgid "Go to the first page"
412
+ msgstr ""
413
+
414
+ #: admin/includes/classes/class-axiom-list-table.php:563
415
+ #: build/masterslider/admin/includes/classes/class-axiom-list-table.php:563
416
+ msgid "Go to the previous page"
417
+ msgstr ""
418
+
419
+ #: admin/includes/classes/class-axiom-list-table.php:572
420
+ #: build/masterslider/admin/includes/classes/class-axiom-list-table.php:572
421
+ msgid "Current page"
422
+ msgstr ""
423
+
424
+ #: admin/includes/classes/class-axiom-list-table.php:578
425
+ #: build/masterslider/admin/includes/classes/class-axiom-list-table.php:578
426
+ #, php-format
427
+ msgctxt "paging"
428
+ msgid "%1$s of %2$s"
429
+ msgstr ""
430
+
431
+ #: admin/includes/classes/class-axiom-list-table.php:582
432
+ #: build/masterslider/admin/includes/classes/class-axiom-list-table.php:582
433
+ msgid "Go to the next page"
434
+ msgstr ""
435
+
436
+ #: admin/includes/classes/class-axiom-list-table.php:589
437
+ #: build/masterslider/admin/includes/classes/class-axiom-list-table.php:589
438
+ msgid "Go to the last page"
439
+ msgstr ""
440
+
441
+ #: admin/includes/classes/class-axiom-list-table.php:725
442
+ #: build/masterslider/admin/includes/classes/class-axiom-list-table.php:725
443
+ msgid "Select All"
444
+ msgstr ""
445
+
446
+ #: admin/includes/classes/class-axiom-list-table.php:779
447
+ #: build/masterslider/admin/includes/classes/class-axiom-list-table.php:779
448
+ msgid "Search sliders"
449
+ msgstr ""
450
+
451
+ #: admin/includes/classes/class-axiom-plugin-updater.php:82
452
+ #: build/masterslider/admin/includes/classes/class-axiom-plugin-updater.php:82
453
+ msgid "You do not have sufficient permissions to update plugins for this site."
454
+ msgstr ""
455
+
456
+ #: admin/includes/classes/class-axiom-plugin-updater.php:86
457
+ #: build/masterslider/admin/includes/classes/class-axiom-plugin-updater.php:86
458
+ msgid "Update Plugin"
459
+ msgstr ""
460
+
461
+ #: admin/includes/classes/class-axiom-plugin-updater.php:97
462
+ #: build/masterslider/admin/includes/classes/class-axiom-plugin-updater.php:97
463
+ msgid "Go to plugins page"
464
+ msgstr ""
465
+
466
+ #: admin/includes/classes/class-axiom-plugin-updater.php:97
467
+ #: build/masterslider/admin/includes/classes/class-axiom-plugin-updater.php:97
468
+ msgid "Return to Plugins page"
469
+ msgstr ""
470
+
471
+ #: admin/includes/classes/class-axiom-plugin-updater.php:113
472
+ #: build/masterslider/admin/includes/classes/class-axiom-plugin-updater.php:113
473
+ msgid ""
474
+ "Envato username, API key and your item purchase code are required for "
475
+ "downloading updates from Envato marketplace."
476
+ msgstr ""
477
+
478
+ #: admin/includes/classes/class-axiom-plugin-updater.php:129
479
+ #: build/masterslider/admin/includes/classes/class-axiom-plugin-updater.php:129
480
+ msgid "Faild to connect to download API .."
481
+ msgstr ""
482
+
483
+ #: admin/includes/classes/class-axiom-plugin-updater.php:145
484
+ #: build/masterslider/admin/includes/classes/class-axiom-plugin-updater.php:145
485
+ msgid "Error on connecting to download API .."
486
+ msgstr ""
487
+
488
+ #: admin/includes/classes/class-axiom-plugin-updater.php:172
489
+ #: build/masterslider/admin/includes/classes/class-axiom-plugin-updater.php:172
490
+ msgid "Error! Failed to connect filesystem"
491
+ msgstr ""
492
+
493
+ #: admin/includes/classes/class-axiom-plugin-updater.php:203
494
+ #: build/masterslider/admin/includes/classes/class-axiom-plugin-updater.php:203
495
+ msgid "Error on unzipping archive file .."
496
+ msgstr ""
497
+
498
+ #: admin/includes/classes/class-axiom-plugin-updater.php:223
499
+ #: build/masterslider/admin/includes/classes/class-axiom-plugin-updater.php:223
500
+ msgid "Downloading package from envato marketplace ..."
501
+ msgstr ""
502
+
503
+ #: admin/includes/classes/class-axiom-plugin-updater.php:304
504
+ #: build/masterslider/admin/includes/classes/class-axiom-plugin-updater.php:304
505
+ #, php-format
506
+ msgid ""
507
+ "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox"
508
+ "\" title=\"%3$s\">View version %4$s details</a>."
509
+ msgstr ""
510
+
511
+ #: admin/includes/classes/class-axiom-plugin-updater.php:306
512
+ #: build/masterslider/admin/includes/classes/class-axiom-plugin-updater.php:306
513
+ #, php-format
514
+ msgid ""
515
+ "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox"
516
+ "\" title=\"%3$s\">View version %4$s details</a>. <em>Automatic update is not "
517
+ "available for this plugin. Visit %5$ssetting page%6$s to enable that.</em>"
518
+ msgstr ""
519
+
520
+ #: admin/includes/classes/class-axiom-plugin-updater.php:309
521
+ #: build/masterslider/admin/includes/classes/class-axiom-plugin-updater.php:309
522
+ #, php-format
523
+ msgid ""
524
+ "There is a new version of %1$s available. <a href=\"%2$s\" class=\"thickbox"
525
+ "\" title=\"%3$s\">View version %4$s details</a> or <a href=\"%5$s\">update "
526
+ "now</a>."
527
+ msgstr ""
528
+
529
+ #: admin/includes/classes/class-axiom-screen-help.php:71
530
+ #: build/masterslider/admin/includes/classes/class-axiom-screen-help.php:71
531
+ msgid "The help tab id is not valid."
532
+ msgstr ""
533
+
534
+ #: admin/includes/classes/class-msp-admin-ajax.php:43
535
+ #: admin/includes/classes/class-msp-admin-ajax.php:70
536
+ #: admin/includes/classes/class-msp-admin-ajax.php:102
537
+ #: admin/includes/classes/class-msp-admin-ajax.php:199
538
+ #: build/masterslider/admin/includes/classes/class-msp-admin-ajax.php:43
539
+ #: build/masterslider/admin/includes/classes/class-msp-admin-ajax.php:70
540
+ #: build/masterslider/admin/includes/classes/class-msp-admin-ajax.php:102
541
+ #: build/masterslider/admin/includes/classes/class-msp-admin-ajax.php:199
542
+ msgid "Authorization failed!"
543
+ msgstr ""
544
+
545
+ #: admin/includes/classes/class-msp-admin-ajax.php:75
546
+ #: admin/includes/classes/class-msp-shortcode-factory.php:61
547
+ #: build/masterslider/admin/includes/classes/class-msp-admin-ajax.php:75
548
+ #: build/masterslider/admin/includes/classes/class-msp-shortcode-factory.php:61
549
+ msgid "Please install and activate WooCommerce plugin."
550
+ msgstr ""
551
+
552
+ #: admin/includes/classes/class-msp-admin-ajax.php:109
553
+ #: build/masterslider/admin/includes/classes/class-msp-admin-ajax.php:109
554
+ msgid "Sorry, You don't have enough permission to publish slider!"
555
+ msgstr ""
556
+
557
+ #: admin/includes/classes/class-msp-admin-ajax.php:121
558
+ #: build/masterslider/admin/includes/classes/class-msp-admin-ajax.php:121
559
+ msgid "Slider id is not defined."
560
+ msgstr ""
561
+
562
+ #: admin/includes/classes/class-msp-admin-ajax.php:177
563
+ #: build/masterslider/admin/includes/classes/class-msp-admin-ajax.php:177
564
+ msgid "Saved Successfully."
565
+ msgstr ""
566
+
567
+ #: admin/includes/classes/class-msp-admin-ajax.php:179
568
+ #: build/masterslider/admin/includes/classes/class-msp-admin-ajax.php:179
569
+ msgid "No Data Recieved."
570
+ msgstr ""
571
+
572
+ #: admin/includes/classes/class-msp-admin-ajax.php:206
573
+ #: build/masterslider/admin/includes/classes/class-msp-admin-ajax.php:206
574
+ msgid "Sorry, You don't have enough permission to create slider!"
575
+ msgstr ""
576
+
577
+ #: admin/includes/classes/class-msp-admin-ajax.php:226
578
+ #: build/masterslider/admin/includes/classes/class-msp-admin-ajax.php:226
579
+ msgid "Slider Created Successfully."
580
+ msgstr ""
581
+
582
+ #: admin/includes/classes/class-msp-admin-ajax.php:228
583
+ #: build/masterslider/admin/includes/classes/class-msp-admin-ajax.php:228
584
+ msgid "Slider can not be created."
585
+ msgstr ""
586
+
587
+ #: admin/includes/classes/class-msp-admin-ajax.php:255
588
+ #: build/masterslider/admin/includes/classes/class-msp-admin-ajax.php:255
589
+ msgid "Your license activated successfully. Thank you!"
590
+ msgstr ""
591
+
592
+ #: admin/includes/classes/class-msp-admin-ajax.php:265
593
+ #: build/masterslider/admin/includes/classes/class-msp-admin-ajax.php:265
594
+ msgid "The license activation failed. Please try again later."
595
+ msgstr ""
596
+
597
+ #: admin/includes/classes/class-msp-admin-ajax.php:271
598
+ #: build/masterslider/admin/includes/classes/class-msp-admin-ajax.php:271
599
+ msgid "Your license deactivated successfully"
600
+ msgstr ""
601
+
602
+ #: admin/includes/classes/class-msp-admin-assets.php:326
603
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:326
604
+ msgid "On slide change start"
605
+ msgstr ""
606
+
607
+ #: admin/includes/classes/class-msp-admin-assets.php:327
608
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:327
609
+ msgid "On slide change end"
610
+ msgstr ""
611
+
612
+ #: admin/includes/classes/class-msp-admin-assets.php:328
613
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:328
614
+ msgid "On slide timer change"
615
+ msgstr ""
616
+
617
+ #: admin/includes/classes/class-msp-admin-assets.php:329
618
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:329
619
+ msgid "On slider resize"
620
+ msgstr ""
621
+
622
+ #: admin/includes/classes/class-msp-admin-assets.php:330
623
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:330
624
+ msgid "On Youtube/Vimeo video play"
625
+ msgstr ""
626
+
627
+ #: admin/includes/classes/class-msp-admin-assets.php:331
628
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:331
629
+ msgid "On Youtube/Vimeo video close"
630
+ msgstr ""
631
+
632
+ #: admin/includes/classes/class-msp-admin-assets.php:332
633
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:332
634
+ msgid "On swipe start"
635
+ msgstr ""
636
+
637
+ #: admin/includes/classes/class-msp-admin-assets.php:333
638
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:333
639
+ msgid "On swipe move"
640
+ msgstr ""
641
+
642
+ #: admin/includes/classes/class-msp-admin-assets.php:334
643
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:334
644
+ msgid "On swipe end"
645
+ msgstr ""
646
+
647
+ #: admin/includes/classes/class-msp-admin-assets.php:335
648
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:335
649
+ #, php-format
650
+ msgid "Are you sure you want to remove \"%s\" callback?"
651
+ msgstr ""
652
+
653
+ #: admin/includes/classes/class-msp-admin-assets.php:336
654
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:336
655
+ msgid "On slider Init"
656
+ msgstr ""
657
+
658
+ #: admin/includes/classes/class-msp-admin-assets.php:339
659
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:339
660
+ msgid "Arrows"
661
+ msgstr ""
662
+
663
+ #: admin/includes/classes/class-msp-admin-assets.php:340
664
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:340
665
+ msgid "Line Timer"
666
+ msgstr ""
667
+
668
+ #: admin/includes/classes/class-msp-admin-assets.php:341
669
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:341
670
+ msgid "Bullets"
671
+ msgstr ""
672
+
673
+ #: admin/includes/classes/class-msp-admin-assets.php:342
674
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:342
675
+ msgid "Circle Timer"
676
+ msgstr ""
677
+
678
+ #: admin/includes/classes/class-msp-admin-assets.php:343
679
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:343
680
+ msgid "Scrollbar"
681
+ msgstr ""
682
+
683
+ #: admin/includes/classes/class-msp-admin-assets.php:344
684
+ #: admin/views/slider-panel/index.php:719
685
+ #: admin/views/slider-panel/index.php:764
686
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:366
687
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:719
688
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:764
689
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:761
690
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:810
691
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:344
692
+ #: build/masterslider/admin/views/slider-panel/index.php:719
693
+ #: build/masterslider/admin/views/slider-panel/index.php:764
694
+ msgid "Slide Info"
695
+ msgstr ""
696
+
697
+ #: admin/includes/classes/class-msp-admin-assets.php:345
698
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:345
699
+ msgid "Thumblist/Tabs"
700
+ msgstr ""
701
+
702
+ #: admin/includes/classes/class-msp-admin-assets.php:348
703
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:348
704
+ msgid "Please enter name for new preset effect"
705
+ msgstr ""
706
+
707
+ #: admin/includes/classes/class-msp-admin-assets.php:349
708
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:349
709
+ msgid "Custom effect"
710
+ msgstr ""
711
+
712
+ #: admin/includes/classes/class-msp-admin-assets.php:352
713
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:352
714
+ msgid "Text Layer"
715
+ msgstr ""
716
+
717
+ #: admin/includes/classes/class-msp-admin-assets.php:353
718
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:353
719
+ msgid "Image Layer"
720
+ msgstr ""
721
+
722
+ #: admin/includes/classes/class-msp-admin-assets.php:354
723
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:354
724
+ msgid "Video Layer"
725
+ msgstr ""
726
+
727
+ #: admin/includes/classes/class-msp-admin-assets.php:355
728
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:355
729
+ msgid "Hotspot"
730
+ msgstr ""
731
+
732
+ #: admin/includes/classes/class-msp-admin-assets.php:356
733
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:356
734
+ msgid "Button Layer"
735
+ msgstr ""
736
+
737
+ #: admin/includes/classes/class-msp-admin-assets.php:359
738
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:359
739
+ msgid "Please enter name for new preset style"
740
+ msgstr ""
741
+
742
+ #: admin/includes/classes/class-msp-admin-assets.php:360
743
+ #: admin/views/slider-panel/index.php:1325
744
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1325
745
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1389
746
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:360
747
+ #: build/masterslider/admin/views/slider-panel/index.php:1325
748
+ msgid "Custom style"
749
+ msgstr ""
750
+
751
+ #: admin/includes/classes/class-msp-admin-assets.php:363
752
+ #: admin/includes/classes/class-msp-parser.php:93
753
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:363
754
+ #: build/masterslider/admin/includes/classes/class-msp-parser.php:93
755
+ msgid "Untitled Slider"
756
+ msgstr ""
757
+
758
+ #: admin/includes/classes/class-msp-admin-assets.php:366
759
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:366
760
+ msgid "Preset Transitions"
761
+ msgstr ""
762
+
763
+ #: admin/includes/classes/class-msp-admin-assets.php:367
764
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:367
765
+ msgid "Apply transition"
766
+ msgstr ""
767
+
768
+ #: admin/includes/classes/class-msp-admin-assets.php:368
769
+ #: admin/includes/classes/class-msp-admin-assets.php:379
770
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:368
771
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:379
772
+ msgid "Save as preset"
773
+ msgstr ""
774
+
775
+ #: admin/includes/classes/class-msp-admin-assets.php:369
776
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:369
777
+ msgid "Transition Editor"
778
+ msgstr ""
779
+
780
+ #: admin/includes/classes/class-msp-admin-assets.php:372
781
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:372
782
+ msgid "Align to stage :"
783
+ msgstr ""
784
+
785
+ #: admin/includes/classes/class-msp-admin-assets.php:373
786
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:373
787
+ msgid "Snapping :"
788
+ msgstr ""
789
+
790
+ #: admin/includes/classes/class-msp-admin-assets.php:374
791
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:374
792
+ msgid "Zoom :"
793
+ msgstr ""
794
+
795
+ #: admin/includes/classes/class-msp-admin-assets.php:375
796
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:375
797
+ msgid "Layer position origin : "
798
+ msgstr ""
799
+
800
+ #: admin/includes/classes/class-msp-admin-assets.php:378
801
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:378
802
+ msgid "Apply style"
803
+ msgstr ""
804
+
805
+ #: admin/includes/classes/class-msp-admin-assets.php:380
806
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:380
807
+ msgid "Preset Styles"
808
+ msgstr ""
809
+
810
+ #: admin/includes/classes/class-msp-admin-assets.php:381
811
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:381
812
+ #, php-format
813
+ msgid ""
814
+ "By deleting preset style it also will be removed from other sliders in your "
815
+ "website. Are you sure you want to delete \"%s\"?"
816
+ msgstr ""
817
+
818
+ #: admin/includes/classes/class-msp-admin-assets.php:382
819
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:382
820
+ msgid "Style Editor"
821
+ msgstr ""
822
+
823
+ #: admin/includes/classes/class-msp-admin-assets.php:385
824
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:385
825
+ msgid "Master Slider Templates"
826
+ msgstr ""
827
+
828
+ #: admin/includes/classes/class-msp-admin-assets.php:386
829
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:386
830
+ msgid ""
831
+ "Changing template will reset all slider controls and will change some slider "
832
+ "settings. Continue?"
833
+ msgstr ""
834
+
835
+ #: admin/includes/classes/class-msp-admin-assets.php:388
836
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:388
837
+ msgid "Show/Hide all"
838
+ msgstr ""
839
+
840
+ #: admin/includes/classes/class-msp-admin-assets.php:389
841
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:389
842
+ msgid "Solo All"
843
+ msgstr ""
844
+
845
+ #: admin/includes/classes/class-msp-admin-assets.php:390
846
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:390
847
+ msgid "Lock/Unlock all"
848
+ msgstr ""
849
+
850
+ #: admin/includes/classes/class-msp-admin-assets.php:391
851
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:391
852
+ msgid "Exit preview"
853
+ msgstr ""
854
+
855
+ #: admin/includes/classes/class-msp-admin-assets.php:392
856
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:392
857
+ msgid "Preview slide"
858
+ msgstr ""
859
+
860
+ #: admin/includes/classes/class-msp-admin-assets.php:393
861
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:393
862
+ msgid "Show/Hide"
863
+ msgstr ""
864
+
865
+ #: admin/includes/classes/class-msp-admin-assets.php:394
866
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:394
867
+ msgid "Solo"
868
+ msgstr ""
869
+
870
+ #: admin/includes/classes/class-msp-admin-assets.php:395
871
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:395
872
+ msgid "Lock/Unlock"
873
+ msgstr ""
874
+
875
+ #: admin/includes/classes/class-msp-admin-assets.php:396
876
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:396
877
+ msgid "Are you sure you want to remove this layer?"
878
+ msgstr ""
879
+
880
+ #: admin/includes/classes/class-msp-admin-assets.php:397
881
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:397
882
+ msgid "Start delay :"
883
+ msgstr ""
884
+
885
+ #: admin/includes/classes/class-msp-admin-assets.php:398
886
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:398
887
+ msgid "Show duration :"
888
+ msgstr ""
889
+
890
+ #: admin/includes/classes/class-msp-admin-assets.php:399
891
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:399
892
+ msgid "Waiting duration :"
893
+ msgstr ""
894
+
895
+ #: admin/includes/classes/class-msp-admin-assets.php:400
896
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:400
897
+ msgid "Hide duration :"
898
+ msgstr ""
899
+
900
+ #: admin/includes/classes/class-msp-admin-assets.php:401
901
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:401
902
+ msgid "Static layer doesn't support transitions. :"
903
+ msgstr ""
904
+
905
+ #: admin/includes/classes/class-msp-admin-assets.php:404
906
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:404
907
+ msgid "Show/Hide slide"
908
+ msgstr ""
909
+
910
+ #: admin/includes/classes/class-msp-admin-assets.php:405
911
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:405
912
+ msgid "Duplicate slide"
913
+ msgstr ""
914
+
915
+ #: admin/includes/classes/class-msp-admin-assets.php:406
916
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:406
917
+ msgid "Remove slide"
918
+ msgstr ""
919
+
920
+ #: admin/includes/classes/class-msp-admin-assets.php:407
921
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:407
922
+ msgid "Are you sure you want to delete this slide?"
923
+ msgstr ""
924
+
925
+ #: admin/includes/classes/class-msp-admin-assets.php:408
926
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:408
927
+ msgid "Open on the same page"
928
+ msgstr ""
929
+
930
+ #: admin/includes/classes/class-msp-admin-assets.php:409
931
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:409
932
+ msgid "Open on new page"
933
+ msgstr ""
934
+
935
+ #: admin/includes/classes/class-msp-admin-assets.php:410
936
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:410
937
+ msgid "Open in parent frame"
938
+ msgstr ""
939
+
940
+ #: admin/includes/classes/class-msp-admin-assets.php:411
941
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:411
942
+ msgid "Open in main frame"
943
+ msgstr ""
944
+
945
+ #: admin/includes/classes/class-msp-admin-assets.php:412
946
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:412
947
+ msgid "Fill"
948
+ msgstr ""
949
+
950
+ #: admin/includes/classes/class-msp-admin-assets.php:413
951
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:413
952
+ msgid "Fit"
953
+ msgstr ""
954
+
955
+ #: admin/includes/classes/class-msp-admin-assets.php:414
956
+ #: admin/views/slider-panel/index.php:1355
957
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1355
958
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1419
959
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:414
960
+ #: build/masterslider/admin/views/slider-panel/index.php:1355
961
+ msgid "Center"
962
+ msgstr ""
963
+
964
+ #: admin/includes/classes/class-msp-admin-assets.php:415
965
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:415
966
+ msgid "Stretch"
967
+ msgstr ""
968
+
969
+ #: admin/includes/classes/class-msp-admin-assets.php:416
970
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:416
971
+ msgid "Tile"
972
+ msgstr ""
973
+
974
+ #: admin/includes/classes/class-msp-admin-assets.php:417
975
+ #: admin/views/slider-panel/index.php:560
976
+ #: admin/views/slider-panel/index.php:667
977
+ #: admin/views/slider-panel/index.php:1377
978
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:560
979
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:667
980
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1377
981
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:597
982
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:704
983
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1441
984
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:417
985
+ #: build/masterslider/admin/views/slider-panel/index.php:560
986
+ #: build/masterslider/admin/views/slider-panel/index.php:667
987
+ #: build/masterslider/admin/views/slider-panel/index.php:1377
988
+ msgid "None"
989
+ msgstr ""
990
+
991
+ #: admin/includes/classes/class-msp-admin-assets.php:418
992
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:418
993
+ msgid "Align top"
994
+ msgstr ""
995
+
996
+ #: admin/includes/classes/class-msp-admin-assets.php:419
997
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:419
998
+ msgid "Align vertical center"
999
+ msgstr ""
1000
+
1001
+ #: admin/includes/classes/class-msp-admin-assets.php:420
1002
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:420
1003
+ msgid "Align bottom"
1004
+ msgstr ""
1005
+
1006
+ #: admin/includes/classes/class-msp-admin-assets.php:421
1007
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:421
1008
+ msgid "Align left"
1009
+ msgstr ""
1010
+
1011
+ #: admin/includes/classes/class-msp-admin-assets.php:422
1012
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:422
1013
+ msgid "Align horizontal center"
1014
+ msgstr ""
1015
+
1016
+ #: admin/includes/classes/class-msp-admin-assets.php:423
1017
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:423
1018
+ msgid "Align right"
1019
+ msgstr ""
1020
+
1021
+ #: admin/includes/classes/class-msp-admin-assets.php:424
1022
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:424
1023
+ msgid "Goto next slide"
1024
+ msgstr ""
1025
+
1026
+ #: admin/includes/classes/class-msp-admin-assets.php:425
1027
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:425
1028
+ msgid "Goto previous slide"
1029
+ msgstr ""
1030
+
1031
+ #: admin/includes/classes/class-msp-admin-assets.php:426
1032
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:426
1033
+ msgid "Pause timer"
1034
+ msgstr ""
1035
+
1036
+ #: admin/includes/classes/class-msp-admin-assets.php:427
1037
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:427
1038
+ msgid "Resume timer"
1039
+ msgstr ""
1040
+
1041
+ #: admin/includes/classes/class-msp-admin-assets.php:428
1042
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:428
1043
+ msgid "Goto slide"
1044
+ msgstr ""
1045
+
1046
+ #: admin/includes/classes/class-msp-admin-assets.php:429
1047
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:429
1048
+ msgid "Slide number:"
1049
+ msgstr ""
1050
+
1051
+ #: admin/includes/classes/class-msp-admin-assets.php:430
1052
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:430
1053
+ msgid "Scroll to bottom of slider"
1054
+ msgstr ""
1055
+
1056
+ #: admin/includes/classes/class-msp-admin-assets.php:431
1057
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:431
1058
+ msgid "Scroll animation duration :"
1059
+ msgstr ""
1060
+
1061
+ #: admin/includes/classes/class-msp-admin-assets.php:432
1062
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:432
1063
+ msgid "Scroll to an element in page :"
1064
+ msgstr ""
1065
+
1066
+ #: admin/includes/classes/class-msp-admin-assets.php:433
1067
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:433
1068
+ msgid "Target element :"
1069
+ msgstr ""
1070
+
1071
+ #: admin/includes/classes/class-msp-admin-assets.php:436
1072
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:436
1073
+ msgid "Sending data..."
1074
+ msgstr ""
1075
+
1076
+ #: admin/includes/classes/class-msp-admin-assets.php:437
1077
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:437
1078
+ msgid "An Error accorded, please try again."
1079
+ msgstr ""
1080
+
1081
+ #: admin/includes/classes/class-msp-admin-assets.php:438
1082
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:438
1083
+ msgid "Data saved successfully."
1084
+ msgstr ""
1085
+
1086
+ #: admin/includes/classes/class-msp-admin-assets.php:440
1087
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:440
1088
+ msgid "Photo title"
1089
+ msgstr ""
1090
+
1091
+ #: admin/includes/classes/class-msp-admin-assets.php:441
1092
+ #: admin/includes/classes/class-msp-admin-assets.php:446
1093
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:441
1094
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:446
1095
+ msgid "Photo owner name"
1096
+ msgstr ""
1097
+
1098
+ #: admin/includes/classes/class-msp-admin-assets.php:442
1099
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:442
1100
+ msgid "Date taken"
1101
+ msgstr ""
1102
+
1103
+ #: admin/includes/classes/class-msp-admin-assets.php:443
1104
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:443
1105
+ msgid "Photo description"
1106
+ msgstr ""
1107
+
1108
+ #: admin/includes/classes/class-msp-admin-assets.php:445
1109
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:445
1110
+ msgid "Photo name"
1111
+ msgstr ""
1112
+
1113
+ #: admin/includes/classes/class-msp-admin-assets.php:447
1114
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:447
1115
+ msgid "Photo link"
1116
+ msgstr ""
1117
+
1118
+ #: admin/includes/classes/class-msp-admin-assets.php:449
1119
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:449
1120
+ msgid "Update Button Style"
1121
+ msgstr ""
1122
+
1123
+ #: admin/includes/classes/class-msp-admin-assets.php:450
1124
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:450
1125
+ msgid "Save As New Button"
1126
+ msgstr ""
1127
+
1128
+ #: admin/includes/classes/class-msp-admin-assets.php:451
1129
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:451
1130
+ msgid "Are you sure you want to delete this button?"
1131
+ msgstr ""
1132
+
1133
+ #: admin/includes/classes/class-msp-admin-assets.php:452
1134
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:452
1135
+ msgid "Buttons"
1136
+ msgstr ""
1137
+
1138
+ #: admin/includes/classes/class-msp-admin-assets.php:453
1139
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:453
1140
+ msgid "Button Editor"
1141
+ msgstr ""
1142
+
1143
+ #: admin/includes/classes/class-msp-admin-assets.php:454
1144
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:454
1145
+ msgid ""
1146
+ "By updating a button it will be changed in all of your sliders. Are you sure "
1147
+ "you want to update this button?"
1148
+ msgstr ""
1149
+
1150
+ #: admin/includes/classes/class-msp-admin-assets.php:456
1151
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:456
1152
+ msgid ""
1153
+ "Select background image for new slide. (Multiple selection is available)"
1154
+ msgstr ""
1155
+
1156
+ #: admin/includes/classes/class-msp-admin-assets.php:457
1157
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:457
1158
+ msgid "Create Slide(s)"
1159
+ msgstr ""
1160
+
1161
+ #: admin/includes/classes/class-msp-admin-assets.php:470
1162
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:470
1163
+ msgid ""
1164
+ "The changes you made will be lost if you navigate away from this page. To "
1165
+ "exit preview mode click on close (X) button."
1166
+ msgstr ""
1167
+
1168
+ #: admin/includes/classes/class-msp-admin-assets.php:471
1169
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:471
1170
+ msgid "Master Slider Preview"
1171
+ msgstr ""
1172
+
1173
+ #: admin/includes/classes/class-msp-admin-assets.php:472
1174
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:472
1175
+ msgid "Loading Slider .."
1176
+ msgstr ""
1177
+
1178
+ #: admin/includes/classes/class-msp-admin-assets.php:473
1179
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:473
1180
+ msgid "Creating The Slider .."
1181
+ msgstr ""
1182
+
1183
+ #: admin/includes/classes/class-msp-admin-assets.php:474
1184
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:474
1185
+ msgid "Select a Starter"
1186
+ msgstr ""
1187
+
1188
+ #: admin/includes/classes/class-msp-admin-assets.php:475
1189
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:475
1190
+ msgid "No slider is selected to export."
1191
+ msgstr ""
1192
+
1193
+ #: admin/includes/classes/class-msp-admin-assets.php:476
1194
+ #: admin/includes/classes/class-msp-import-custom-sliders.php:121
1195
+ #: admin/views/slider-dashboard/list-sliders.php:123
1196
+ #: build/masterslider/admin/includes/classes/class-msp-admin-assets.php:476
1197
+ #: build/masterslider/admin/includes/classes/class-msp-import-custom-sliders.php:121
1198
+ #: build/masterslider/admin/views/slider-dashboard/list-sliders.php:123
1199
+ msgid "Import"
1200
+ msgstr ""
1201
+
1202
+ #: admin/includes/classes/class-msp-import-custom-sliders.php:59
1203
+ #: admin/includes/classes/class-msp-import-custom-sliders.php:60
1204
+ #: admin/includes/classes/class-msp-import-custom-sliders.php:134
1205
+ #: build/masterslider/admin/includes/classes/class-msp-import-custom-sliders.php:59
1206
+ #: build/masterslider/admin/includes/classes/class-msp-import-custom-sliders.php:60
1207
+ #: build/masterslider/admin/includes/classes/class-msp-import-custom-sliders.php:134
1208
+ msgid "Import Sliders"
1209
+ msgstr ""
1210
+
1211
+ #: admin/includes/classes/class-msp-import-custom-sliders.php:87
1212
+ #: build/masterslider/admin/includes/classes/class-msp-import-custom-sliders.php:87
1213
+ msgid "So slider data found to import!"
1214
+ msgstr ""
1215
+
1216
+ #: admin/includes/classes/class-msp-import-custom-sliders.php:105
1217
+ #: build/masterslider/admin/includes/classes/class-msp-import-custom-sliders.php:105
1218
+ msgid "Slider Items"
1219
+ msgstr ""
1220
+
1221
+ #: admin/includes/classes/class-msp-importer.php:54
1222
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:54
1223
+ msgid "Import sliders and images from a Master Slider export file."
1224
+ msgstr ""
1225
+
1226
+ #: admin/includes/classes/class-msp-importer.php:74
1227
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:74
1228
+ msgid "Importing Master Slider"
1229
+ msgstr ""
1230
+
1231
+ #: admin/includes/classes/class-msp-importer.php:161
1232
+ #: admin/views/slider-dashboard/list-sliders.php:126
1233
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:161
1234
+ #: build/masterslider/admin/views/slider-dashboard/list-sliders.php:126
1235
+ msgid ""
1236
+ "To import sliders select Masterslider Export file that you downloaded before "
1237
+ "then click import button."
1238
+ msgstr ""
1239
+
1240
+ #: admin/includes/classes/class-msp-importer.php:174
1241
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:174
1242
+ #, php-format
1243
+ msgid "Maximum size: %s"
1244
+ msgstr ""
1245
+
1246
+ #: admin/includes/classes/class-msp-importer.php:176
1247
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:176
1248
+ msgid "Upload file and import"
1249
+ msgstr ""
1250
+
1251
+ #: admin/includes/classes/class-msp-importer.php:225
1252
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:225
1253
+ msgid "Import data not found .."
1254
+ msgstr ""
1255
+
1256
+ #: admin/includes/classes/class-msp-importer.php:229
1257
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:229
1258
+ msgid "Starter ID is not valid."
1259
+ msgstr ""
1260
+
1261
+ #: admin/includes/classes/class-msp-importer.php:258
1262
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:258
1263
+ msgid "You do not have enough permission to import sliders"
1264
+ msgstr ""
1265
+
1266
+ #: admin/includes/classes/class-msp-importer.php:306
1267
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:306
1268
+ msgid "Sorry, You don't have enough permission to import/export sliders."
1269
+ msgstr ""
1270
+
1271
+ #: admin/includes/classes/class-msp-importer.php:447
1272
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:447
1273
+ msgid "Import data is not valid."
1274
+ msgstr ""
1275
+
1276
+ #: admin/includes/classes/class-msp-importer.php:490
1277
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:490
1278
+ msgid "Preset styles imported successfully."
1279
+ msgstr ""
1280
+
1281
+ #: admin/includes/classes/class-msp-importer.php:496
1282
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:496
1283
+ msgid "Preset transitions imported successfully."
1284
+ msgstr ""
1285
+
1286
+ #: admin/includes/classes/class-msp-importer.php:507
1287
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:507
1288
+ msgid "All data imported successfully, have fun :)"
1289
+ msgstr ""
1290
+
1291
+ #: admin/includes/classes/class-msp-importer.php:509
1292
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:509
1293
+ msgid "Back to panel .."
1294
+ msgstr ""
1295
+
1296
+ #: admin/includes/classes/class-msp-importer.php:683
1297
+ #: admin/includes/classes/class-msp-importer.php:792
1298
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:683
1299
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:792
1300
+ msgid "Invalid file type"
1301
+ msgstr ""
1302
+
1303
+ #: admin/includes/classes/class-msp-importer.php:730
1304
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:730
1305
+ msgid "Remote server did not respond"
1306
+ msgstr ""
1307
+
1308
+ #: admin/includes/classes/class-msp-importer.php:736
1309
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:736
1310
+ #, php-format
1311
+ msgid "Remote server returned error response %1$d %2$s"
1312
+ msgstr ""
1313
+
1314
+ #: admin/includes/classes/class-msp-importer.php:743
1315
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:743
1316
+ msgid "Remote file is incorrect size"
1317
+ msgstr ""
1318
+
1319
+ #: admin/includes/classes/class-msp-importer.php:748
1320
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:748
1321
+ msgid "Zero size file downloaded"
1322
+ msgstr ""
1323
+
1324
+ #: admin/includes/classes/class-msp-importer.php:754
1325
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:754
1326
+ #, php-format
1327
+ msgid "Remote file is too large, limit is %s"
1328
+ msgstr ""
1329
+
1330
+ #: admin/includes/classes/class-msp-importer.php:787
1331
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:787
1332
+ msgid "Empty filename"
1333
+ msgstr ""
1334
+
1335
+ #: admin/includes/classes/class-msp-importer.php:815
1336
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:815
1337
+ #, php-format
1338
+ msgid ""
1339
+ "Unable to create directory %s. Is its parent directory writable by the "
1340
+ "server?"
1341
+ msgstr ""
1342
+
1343
+ #: admin/includes/classes/class-msp-importer.php:821
1344
+ #: build/masterslider/admin/includes/classes/class-msp-importer.php:821
1345
+ #, php-format
1346
+ msgid "Could not write file %s"
1347
+ msgstr ""
1348
+
1349
+ #: admin/includes/classes/class-msp-list-table.php:33
1350
+ #: admin/views/slider-panel/index.php:539
1351
+ #: admin/views/slider-panel/index.php:642
1352
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:539
1353
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:642
1354
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:576
1355
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:679
1356
+ #: build/masterslider/admin/includes/classes/class-msp-list-table.php:33
1357
+ #: build/masterslider/admin/views/slider-panel/index.php:539
1358
+ #: build/masterslider/admin/views/slider-panel/index.php:642
1359
+ msgid "ID"
1360
+ msgstr ""
1361
+
1362
+ #: admin/includes/classes/class-msp-list-table.php:34
1363
+ #: build/masterslider/admin/includes/classes/class-msp-list-table.php:34
1364
+ msgid "Name"
1365
+ msgstr ""
1366
+
1367
+ #: admin/includes/classes/class-msp-list-table.php:35
1368
+ #: build/masterslider/admin/includes/classes/class-msp-list-table.php:35
1369
+ msgid "Shortcode"
1370
+ msgstr ""
1371
+
1372
+ #: admin/includes/classes/class-msp-list-table.php:36
1373
+ #: admin/views/slider-panel/index.php:42
1374
+ #: admin/views/slider-panel/index.php:689
1375
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:42
1376
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:347
1377
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:42
1378
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:689
1379
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:42
1380
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:728
1381
+ #: build/masterslider/admin/includes/classes/class-msp-list-table.php:36
1382
+ #: build/masterslider/admin/views/slider-panel/index.php:42
1383
+ #: build/masterslider/admin/views/slider-panel/index.php:689
1384
+ msgid "Slides"
1385
+ msgstr ""
1386
+
1387
+ #: admin/includes/classes/class-msp-list-table.php:37
1388
+ #: build/masterslider/admin/includes/classes/class-msp-list-table.php:37
1389
+ msgid "Type"
1390
+ msgstr ""
1391
+
1392
+ #: admin/includes/classes/class-msp-list-table.php:38
1393
+ #: build/masterslider/admin/includes/classes/class-msp-list-table.php:38
1394
+ msgid "Last Modify"
1395
+ msgstr ""
1396
+
1397
+ #: admin/includes/classes/class-msp-list-table.php:39
1398
+ #: build/masterslider/admin/includes/classes/class-msp-list-table.php:39
1399
+ msgid "Date Created"
1400
+ msgstr ""
1401
+
1402
+ #: admin/includes/classes/class-msp-list-table.php:40
1403
+ #: build/masterslider/admin/includes/classes/class-msp-list-table.php:40
1404
+ msgid "Action"
1405
+ msgstr ""
1406
+
1407
+ #: admin/includes/classes/class-msp-list-table.php:77
1408
+ #: build/masterslider/admin/includes/classes/class-msp-list-table.php:77
1409
+ msgid "duplicate"
1410
+ msgstr ""
1411
+
1412
+ #: admin/includes/classes/class-msp-list-table.php:81
1413
+ #: build/masterslider/admin/includes/classes/class-msp-list-table.php:81
1414
+ msgid "Are you sure you want to delete this slider?"
1415
+ msgstr ""
1416
+
1417
+ #: admin/includes/classes/class-msp-list-table.php:82
1418
+ #: build/masterslider/admin/includes/classes/class-msp-list-table.php:82
1419
+ msgid "delete"
1420
+ msgstr ""
1421
+
1422
+ #: admin/includes/classes/class-msp-list-table.php:86
1423
+ #: build/masterslider/admin/includes/classes/class-msp-list-table.php:86
1424
+ msgid "preview"
1425
+ msgstr ""
1426
+
1427
+ #: admin/includes/classes/class-msp-list-table.php:124
1428
+ #: build/masterslider/admin/includes/classes/class-msp-list-table.php:124
1429
+ msgid "Sorry, You don't have enough permission to delete slider."
1430
+ msgstr ""
1431
+
1432
+ #: admin/includes/classes/class-msp-list-table.php:131
1433
+ #: build/masterslider/admin/includes/classes/class-msp-list-table.php:131
1434
+ msgid "Sorry, You don't have enough permission to duplicate slider."
1435
+ msgstr ""
1436
+
1437
+ #: admin/includes/classes/class-msp-list-table.php:137
1438
+ #: build/masterslider/admin/includes/classes/class-msp-list-table.php:137
1439
+ msgid "No slider found."
1440
+ msgstr ""
1441
+
1442
+ #: admin/includes/classes/class-msp-list-table.php:152
1443
+ #: build/masterslider/admin/includes/classes/class-msp-list-table.php:152
1444
+ msgid " ago"
1445
+ msgstr ""
1446
+
1447
+ #: admin/includes/classes/class-msp-pointers.php:169
1448
+ #: build/masterslider/admin/includes/classes/class-msp-pointers.php:169
1449
+ msgid "Do you need any help on Master Slider?"
1450
+ msgstr ""
1451
+
1452
+ #: admin/includes/classes/class-msp-pointers.php:170
1453
+ #: build/masterslider/admin/includes/classes/class-msp-pointers.php:170
1454
+ #, php-format
1455
+ msgid ""
1456
+ "Please open contextual help panel (click the %s button at top right side of "
1457
+ "this page)"
1458
+ msgstr ""
1459
+
1460
+ #: admin/includes/classes/class-msp-pointers.php:170
1461
+ #: build/masterslider/admin/includes/classes/class-msp-pointers.php:170
1462
+ msgid "Help"
1463
+ msgstr ""
1464
+
1465
+ #: admin/includes/classes/class-msp-pointers.php:186
1466
+ #: build/masterslider/admin/includes/classes/class-msp-pointers.php:186
1467
+ msgid "Start with 33 Ready to Use Sample Sliders"
1468
+ msgstr ""
1469
+
1470
+ #: admin/includes/classes/class-msp-pointers.php:187
1471
+ #: build/masterslider/admin/includes/classes/class-msp-pointers.php:187
1472
+ msgid ""
1473
+ "You can create your slider from scratch or use one of 33 ready to use sample "
1474
+ "sliders to start"
1475
+ msgstr ""
1476
+
1477
+ #: admin/includes/classes/class-msp-screen-help.php:33
1478
+ #: build/masterslider/admin/includes/classes/class-msp-screen-help.php:33
1479
+ msgid "Display Sliders on pages"
1480
+ msgstr ""
1481
+
1482
+ #: admin/includes/classes/class-msp-screen-help.php:37
1483
+ #: build/masterslider/admin/includes/classes/class-msp-screen-help.php:37
1484
+ msgid "Master Slider Support"
1485
+ msgstr ""
1486
+
1487
+ #: admin/includes/classes/class-msp-wc-product-slider.php:114
1488
+ #: build/masterslider/admin/includes/classes/class-msp-wc-product-slider.php:114
1489
+ #: build/masterslider/includes/msp-template-tags.php:174
1490
+ #: includes/msp-template-tags.php:174
1491
+ msgid "Regular Price"
1492
+ msgstr ""
1493
+
1494
+ #: admin/includes/classes/class-msp-wc-product-slider.php:117
1495
+ #: build/masterslider/admin/includes/classes/class-msp-wc-product-slider.php:117
1496
+ #: build/masterslider/includes/msp-template-tags.php:180
1497
+ #: includes/msp-template-tags.php:180
1498
+ msgid "Sale Price"
1499
+ msgstr ""
1500
+
1501
+ #: admin/views/index.php:19 build/masterslider/admin/views/index.php:19
1502
+ #, php-format
1503
+ msgid "Thank you for creating with <a href=\"%s\">WordPress</a>."
1504
+ msgstr ""
1505
+
1506
+ #: admin/views/index.php:19 build/masterslider/admin/views/index.php:19
1507
+ msgid "https://wordpress.org/"
1508
+ msgstr ""
1509
+
1510
+ #: admin/views/index.php:20 build/masterslider/admin/views/index.php:20
1511
+ #, php-format
1512
+ msgid " and using Master Slider %s"
1513
+ msgstr ""
1514
+
1515
+ #: admin/views/global/gallery-templates.php:87
1516
+ #: build/masterslider/admin/views/global/gallery-templates.php:87
1517
+ msgid "Master Slider Settings"
1518
+ msgstr ""
1519
+
1520
+ #: admin/views/global/gallery-templates.php:90
1521
+ #: build/masterslider/admin/views/global/gallery-templates.php:90
1522
+ msgid "Display Images as Slider?"
1523
+ msgstr ""
1524
+
1525
+ #: admin/views/global/gallery-templates.php:97
1526
+ #: build/masterslider/admin/views/global/gallery-templates.php:97
1527
+ msgid "Enable AutoPlay?"
1528
+ msgstr ""
1529
+
1530
+ #: admin/views/global/gallery-templates.php:102
1531
+ #: build/masterslider/admin/views/global/gallery-templates.php:102
1532
+ msgid "Enable Continues Sliding?"
1533
+ msgstr ""
1534
+
1535
+ #: admin/views/global/gallery-templates.php:107
1536
+ #: build/masterslider/admin/views/global/gallery-templates.php:107
1537
+ msgid "Display Thumbails?"
1538
+ msgstr ""
1539
+
1540
+ #: admin/views/global/gallery-templates.php:112
1541
+ #: build/masterslider/admin/views/global/gallery-templates.php:112
1542
+ msgid "Thumbnails Alignment"
1543
+ msgstr ""
1544
+
1545
+ #: admin/views/global/gallery-templates.php:114
1546
+ #: admin/views/slider-panel/index.php:1119
1547
+ #: admin/views/slider-panel/index.php:1643
1548
+ #: admin/views/slider-panel/index.php:1674
1549
+ #: admin/views/slider-panel/index.php:1720
1550
+ #: admin/views/slider-panel/index.php:1781
1551
+ #: admin/views/slider-panel/index.php:1821
1552
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:561
1553
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:592
1554
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:638
1555
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:699
1556
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:739
1557
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1119
1558
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1643
1559
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1674
1560
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1720
1561
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1781
1562
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1821
1563
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1183
1564
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1709
1565
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1740
1566
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1786
1567
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1847
1568
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1887
1569
+ #: build/masterslider/admin/views/global/gallery-templates.php:114
1570
+ #: build/masterslider/admin/views/slider-panel/index.php:1119
1571
+ #: build/masterslider/admin/views/slider-panel/index.php:1643
1572
+ #: build/masterslider/admin/views/slider-panel/index.php:1674
1573
+ #: build/masterslider/admin/views/slider-panel/index.php:1720
1574
+ #: build/masterslider/admin/views/slider-panel/index.php:1781
1575
+ #: build/masterslider/admin/views/slider-panel/index.php:1821
1576
+ msgid "Bottom"
1577
+ msgstr ""
1578
+
1579
+ #: admin/views/global/gallery-templates.php:115
1580
+ #: admin/views/slider-panel/index.php:1117
1581
+ #: admin/views/slider-panel/index.php:1642
1582
+ #: admin/views/slider-panel/index.php:1671
1583
+ #: admin/views/slider-panel/index.php:1717
1584
+ #: admin/views/slider-panel/index.php:1778
1585
+ #: admin/views/slider-panel/index.php:1818
1586
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:560
1587
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:589
1588
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:635
1589
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:696
1590
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:736
1591
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1117
1592
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1642
1593
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1671
1594
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1717
1595
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1778
1596
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1818
1597
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1181
1598
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1708
1599
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1737
1600
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1783
1601
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1844
1602
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1884
1603
+ #: build/masterslider/admin/views/global/gallery-templates.php:115
1604
+ #: build/masterslider/admin/views/slider-panel/index.php:1117
1605
+ #: build/masterslider/admin/views/slider-panel/index.php:1642
1606
+ #: build/masterslider/admin/views/slider-panel/index.php:1671
1607
+ #: build/masterslider/admin/views/slider-panel/index.php:1717
1608
+ #: build/masterslider/admin/views/slider-panel/index.php:1778
1609
+ #: build/masterslider/admin/views/slider-panel/index.php:1818
1610
+ msgid "Top"
1611
+ msgstr ""
1612
+
1613
+ #: admin/views/global/gallery-templates.php:116
1614
+ #: admin/views/slider-panel/index.php:1120
1615
+ #: admin/views/slider-panel/index.php:1354
1616
+ #: admin/views/slider-panel/index.php:1673
1617
+ #: admin/views/slider-panel/index.php:1719
1618
+ #: admin/views/slider-panel/index.php:1780
1619
+ #: admin/views/slider-panel/index.php:1820
1620
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:591
1621
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:637
1622
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:698
1623
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:738
1624
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1120
1625
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1354
1626
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1673
1627
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1719
1628
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1780
1629
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1820
1630
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1184
1631
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1418
1632
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1739
1633
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1785
1634
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1846
1635
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1886
1636
+ #: build/masterslider/admin/views/global/gallery-templates.php:116
1637
+ #: build/masterslider/admin/views/slider-panel/index.php:1120
1638
+ #: build/masterslider/admin/views/slider-panel/index.php:1354
1639
+ #: build/masterslider/admin/views/slider-panel/index.php:1673
1640
+ #: build/masterslider/admin/views/slider-panel/index.php:1719
1641
+ #: build/masterslider/admin/views/slider-panel/index.php:1780
1642
+ #: build/masterslider/admin/views/slider-panel/index.php:1820
1643
+ msgid "Left"
1644
+ msgstr ""
1645
+
1646
+ #: admin/views/global/gallery-templates.php:117
1647
+ #: admin/views/slider-panel/index.php:1118
1648
+ #: admin/views/slider-panel/index.php:1356
1649
+ #: admin/views/slider-panel/index.php:1672
1650
+ #: admin/views/slider-panel/index.php:1718
1651
+ #: admin/views/slider-panel/index.php:1779
1652
+ #: admin/views/slider-panel/index.php:1819
1653
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:590
1654
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:636
1655
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:697
1656
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:737
1657
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1118
1658
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1356
1659
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1672
1660
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1718
1661
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1779
1662
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1819
1663
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1182
1664
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1420
1665
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1738
1666
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1784
1667
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1845
1668
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1885
1669
+ #: build/masterslider/admin/views/global/gallery-templates.php:117
1670
+ #: build/masterslider/admin/views/slider-panel/index.php:1118
1671
+ #: build/masterslider/admin/views/slider-panel/index.php:1356
1672
+ #: build/masterslider/admin/views/slider-panel/index.php:1672
1673
+ #: build/masterslider/admin/views/slider-panel/index.php:1718
1674
+ #: build/masterslider/admin/views/slider-panel/index.php:1779
1675
+ #: build/masterslider/admin/views/slider-panel/index.php:1819
1676
+ msgid "Right"
1677
+ msgstr ""
1678
+
1679
+ #: admin/views/global/gallery-templates.php:122
1680
+ #: build/masterslider/admin/views/global/gallery-templates.php:122
1681
+ msgid "Display Image Caption?"
1682
+ msgstr ""
1683
+
1684
+ #: admin/views/global/gallery-templates.php:127
1685
+ #: build/masterslider/admin/views/global/gallery-templates.php:127
1686
+ msgid "Enable Auto Height?"
1687
+ msgstr ""
1688
+
1689
+ #: admin/views/global/gallery-templates.php:132
1690
+ #: admin/views/slider-panel/index.php:291
1691
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:292
1692
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:291
1693
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:327
1694
+ #: build/masterslider/admin/views/global/gallery-templates.php:132
1695
+ #: build/masterslider/admin/views/slider-panel/index.php:291
1696
+ msgid "Slider Skin"
1697
+ msgstr ""
1698
+
1699
+ #: admin/views/global/gallery-templates.php:143
1700
+ #: build/masterslider/admin/views/global/gallery-templates.php:143
1701
+ msgid "Extra css class"
1702
+ msgstr ""
1703
+
1704
+ #: admin/views/setting/class-msp-settings.php:61
1705
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:61
1706
+ msgid "Activate License"
1707
+ msgstr ""
1708
+
1709
+ #: admin/views/setting/class-msp-settings.php:61
1710
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:61
1711
+ msgid "Deactivate License"
1712
+ msgstr ""
1713
+
1714
+ #: admin/views/setting/class-msp-settings.php:62
1715
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:62
1716
+ msgid "Validating .."
1717
+ msgstr ""
1718
+
1719
+ #: admin/views/setting/class-msp-settings.php:85
1720
+ #: admin/views/slider-panel/index.php:80
1721
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:163
1722
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:80
1723
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:90
1724
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:85
1725
+ #: build/masterslider/admin/views/slider-panel/index.php:80
1726
+ msgid "General Settings"
1727
+ msgstr ""
1728
+
1729
+ #: admin/views/setting/class-msp-settings.php:92
1730
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:92
1731
+ msgid "Enable Automatic Update"
1732
+ msgstr ""
1733
+
1734
+ #: admin/views/setting/class-msp-settings.php:93
1735
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:93
1736
+ msgid ""
1737
+ "To enable automatic update for Master Slider, a valid purchase code is "
1738
+ "required."
1739
+ msgstr ""
1740
+
1741
+ #: admin/views/setting/class-msp-settings.php:98
1742
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:98
1743
+ msgid ""
1744
+ "You need to install and activate WooCommerce plugin to use following options."
1745
+ msgstr ""
1746
+
1747
+ #: admin/views/setting/class-msp-settings.php:102
1748
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:102
1749
+ msgid "WooCommerce Setting"
1750
+ msgstr ""
1751
+
1752
+ #: admin/views/setting/class-msp-settings.php:108
1753
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:108
1754
+ msgid "Advanced Setting"
1755
+ msgstr ""
1756
+
1757
+ #: admin/views/setting/class-msp-settings.php:126
1758
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:126
1759
+ msgid "Hide info table"
1760
+ msgstr ""
1761
+
1762
+ #: admin/views/setting/class-msp-settings.php:127
1763
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:127
1764
+ msgid ""
1765
+ "If you want to hide \"Latest video tutorials\" table on master slider admin "
1766
+ "panel check this field."
1767
+ msgstr ""
1768
+
1769
+ #: admin/views/setting/class-msp-settings.php:132
1770
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:132
1771
+ msgid "Enable cache?"
1772
+ msgstr ""
1773
+
1774
+ #: admin/views/setting/class-msp-settings.php:133
1775
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:133
1776
+ msgid "Enable cache to make Masterslider even more faster!"
1777
+ msgstr ""
1778
+
1779
+ #: admin/views/setting/class-msp-settings.php:138
1780
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:138
1781
+ msgid "Cache period time"
1782
+ msgstr ""
1783
+
1784
+ #: admin/views/setting/class-msp-settings.php:139
1785
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:139
1786
+ msgid ""
1787
+ "The cache refresh time in hours. Cache is also cleared when you click on "
1788
+ "\"Save Changes\" in slider panel."
1789
+ msgstr ""
1790
+
1791
+ #: admin/views/setting/class-msp-settings.php:152
1792
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:152
1793
+ msgid "Your Envato Username"
1794
+ msgstr ""
1795
+
1796
+ #: admin/views/setting/class-msp-settings.php:154
1797
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:154
1798
+ msgid "How to find your envato username"
1799
+ msgstr ""
1800
+
1801
+ #: admin/views/setting/class-msp-settings.php:160
1802
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:160
1803
+ msgid "Your Secret API Key"
1804
+ msgstr ""
1805
+
1806
+ #: admin/views/setting/class-msp-settings.php:161
1807
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:161
1808
+ msgid ""
1809
+ "To find your API key, navigate to your envato account, select settings from "
1810
+ "the account dropdown, then navigate to the API Keys tab."
1811
+ msgstr ""
1812
+
1813
+ #: admin/views/setting/class-msp-settings.php:162
1814
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:162
1815
+ msgid "Screenshot"
1816
+ msgstr ""
1817
+
1818
+ #: admin/views/setting/class-msp-settings.php:162
1819
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:162
1820
+ msgid "More info .."
1821
+ msgstr ""
1822
+
1823
+ #: admin/views/setting/class-msp-settings.php:168
1824
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:168
1825
+ msgid "Master Slider Purchase Code"
1826
+ msgstr ""
1827
+
1828
+ #: admin/views/setting/class-msp-settings.php:169
1829
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:169
1830
+ msgid "Please enter purchase code for your Master Slider"
1831
+ msgstr ""
1832
+
1833
+ #: admin/views/setting/class-msp-settings.php:170
1834
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:170
1835
+ msgid "How to find your Item's Purchase Code"
1836
+ msgstr ""
1837
+
1838
+ #: admin/views/setting/class-msp-settings.php:181
1839
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:181
1840
+ msgid "Enable slider in product single page"
1841
+ msgstr ""
1842
+
1843
+ #: admin/views/setting/class-msp-settings.php:182
1844
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:182
1845
+ msgid ""
1846
+ "Replace woocommerce default product slider in product single page with "
1847
+ "Masterslider"
1848
+ msgstr ""
1849
+
1850
+ #: admin/views/setting/class-msp-settings.php:190
1851
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:190
1852
+ msgid "Load assets on all pages?"
1853
+ msgstr ""
1854
+
1855
+ #: admin/views/setting/class-msp-settings.php:191
1856
+ #: build/masterslider/admin/views/setting/class-msp-settings.php:191
1857
+ msgid ""
1858
+ "By default, Master Slider will load corresponding JavaScript files on "
1859
+ "demand. but if you need to load assets on all pages, check this option. "
1860
+ "( For example, if you plan to load Master Slider via Ajax, you need to check "
1861
+ "this option ) "
1862
+ msgstr ""
1863
+
1864
+ #: admin/views/slider-dashboard/list-sliders.php:14
1865
+ #: build/masterslider/admin/views/slider-dashboard/list-sliders.php:14
1866
+ msgid "Create New Slider"
1867
+ msgstr ""
1868
+
1869
+ #: admin/views/slider-dashboard/list-sliders.php:17
1870
+ #: build/masterslider/admin/views/slider-dashboard/list-sliders.php:17
1871
+ msgid "Import & Export"
1872
+ msgstr ""
1873
+
1874
+ #: admin/views/slider-dashboard/list-sliders.php:29
1875
+ #: build/masterslider/admin/views/slider-dashboard/list-sliders.php:29
1876
+ msgid "Latest Video Tutorials"
1877
+ msgstr ""
1878
+
1879
+ #: admin/views/slider-dashboard/list-sliders.php:30
1880
+ #: build/masterslider/admin/views/slider-dashboard/list-sliders.php:30
1881
+ msgid "Updates"
1882
+ msgstr ""
1883
+
1884
+ #: admin/views/slider-dashboard/list-sliders.php:98
1885
+ #: build/masterslider/admin/views/slider-dashboard/list-sliders.php:98
1886
+ msgid "Create"
1887
+ msgstr ""
1888
+
1889
+ #: admin/views/slider-dashboard/list-sliders.php:133
1890
+ #: admin/views/slider-dashboard/list-sliders.php:196
1891
+ #: build/masterslider/admin/views/slider-dashboard/list-sliders.php:133
1892
+ #: build/masterslider/admin/views/slider-dashboard/list-sliders.php:196
1893
+ msgid "Export"
1894
+ msgstr ""
1895
+
1896
+ #: admin/views/slider-dashboard/list-sliders.php:139
1897
+ #: build/masterslider/admin/views/slider-dashboard/list-sliders.php:139
1898
+ msgid "Export Options"
1899
+ msgstr ""
1900
+
1901
+ #: admin/views/slider-dashboard/list-sliders.php:146
1902
+ #: build/masterslider/admin/views/slider-dashboard/list-sliders.php:146
1903
+ msgid "Export Preset Styles?"
1904
+ msgstr ""
1905
+
1906
+ #: admin/views/slider-dashboard/list-sliders.php:148
1907
+ #: build/masterslider/admin/views/slider-dashboard/list-sliders.php:148
1908
+ msgid "Export Preset Transitions?"
1909
+ msgstr ""
1910
+
1911
+ #: admin/views/slider-dashboard/list-sliders.php:199
1912
+ #: build/masterslider/admin/views/slider-dashboard/list-sliders.php:199
1913
+ msgid ""
1914
+ "Downloads an export file that contains your selected sliders to import on "
1915
+ "your new site."
1916
+ msgstr ""
1917
+
1918
+ #: admin/views/slider-dashboard/preview.php:28
1919
+ #: build/masterslider/admin/views/slider-dashboard/preview.php:28
1920
+ msgid "Not found."
1921
+ msgstr ""
1922
+
1923
+ #: admin/views/slider-panel/index.php:20
1924
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:20
1925
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:20
1926
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:20
1927
+ #: build/masterslider/admin/views/slider-panel/index.php:20
1928
+ msgid "Loading data..."
1929
+ msgstr ""
1930
+
1931
+ #: admin/views/slider-panel/index.php:37
1932
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:37
1933
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:37
1934
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:37
1935
+ #: build/masterslider/admin/views/slider-panel/index.php:37
1936
+ msgid "Slider Settings"
1937
+ msgstr ""
1938
+
1939
+ #: admin/views/slider-panel/index.php:38
1940
+ #: admin/views/slider-panel/index.php:344
1941
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:38
1942
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:38
1943
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:344
1944
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:38
1945
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:381
1946
+ #: build/masterslider/admin/views/slider-panel/index.php:38
1947
+ #: build/masterslider/admin/views/slider-panel/index.php:344
1948
+ msgid "Flickr Settings"
1949
+ msgstr ""
1950
+
1951
+ #: admin/views/slider-panel/index.php:39
1952
+ #: admin/views/slider-panel/index.php:412
1953
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:39
1954
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:39
1955
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:412
1956
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:39
1957
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:449
1958
+ #: build/masterslider/admin/views/slider-panel/index.php:39
1959
+ #: build/masterslider/admin/views/slider-panel/index.php:412
1960
+ msgid "Facebook Settings"
1961
+ msgstr ""
1962
+
1963
+ #: admin/views/slider-panel/index.php:40
1964
+ #: admin/views/slider-panel/index.php:472
1965
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:40
1966
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:40
1967
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:472
1968
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:40
1969
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:509
1970
+ #: build/masterslider/admin/views/slider-panel/index.php:40
1971
+ #: build/masterslider/admin/views/slider-panel/index.php:472
1972
+ msgid "Posts Settings"
1973
+ msgstr ""
1974
+
1975
+ #: admin/views/slider-panel/index.php:41
1976
+ #: admin/views/slider-panel/index.php:581
1977
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:41
1978
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:41
1979
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:581
1980
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:41
1981
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:618
1982
+ #: build/masterslider/admin/views/slider-panel/index.php:41
1983
+ #: build/masterslider/admin/views/slider-panel/index.php:581
1984
+ msgid "Product Slider Settings"
1985
+ msgstr ""
1986
+
1987
+ #: admin/views/slider-panel/index.php:43
1988
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:43
1989
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:43
1990
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:43
1991
+ #: build/masterslider/admin/views/slider-panel/index.php:43
1992
+ msgid "Slider Controls"
1993
+ msgstr ""
1994
+
1995
+ #: admin/views/slider-panel/index.php:44
1996
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:44
1997
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:44
1998
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:44
1999
+ #: build/masterslider/admin/views/slider-panel/index.php:44
2000
+ msgid "Slider Callbacks"
2001
+ msgstr ""
2002
+
2003
+ #: admin/views/slider-panel/index.php:50
2004
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:51
2005
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:50
2006
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:53
2007
+ #: build/masterslider/admin/views/slider-panel/index.php:50
2008
+ msgid "Shortcode :"
2009
+ msgstr ""
2010
+
2011
+ #: admin/views/slider-panel/index.php:51
2012
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:52
2013
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:51
2014
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:54
2015
+ #: build/masterslider/admin/views/slider-panel/index.php:51
2016
+ msgid "PHP function :"
2017
+ msgstr ""
2018
+
2019
+ #: admin/views/slider-panel/index.php:55
2020
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:56
2021
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:55
2022
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:58
2023
+ #: build/masterslider/admin/views/slider-panel/index.php:55
2024
+ msgid "Preview"
2025
+ msgstr ""
2026
+
2027
+ #: admin/views/slider-panel/index.php:57
2028
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:58
2029
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:57
2030
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:60
2031
+ #: build/masterslider/admin/views/slider-panel/index.php:57
2032
+ msgid "Saving..."
2033
+ msgstr ""
2034
+
2035
+ #: admin/views/slider-panel/index.php:59
2036
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:60
2037
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:59
2038
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:62
2039
+ #: build/masterslider/admin/views/slider-panel/index.php:59
2040
+ msgid "Save Changes"
2041
+ msgstr ""
2042
+
2043
+ #: admin/views/slider-panel/index.php:63
2044
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:64
2045
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:63
2046
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:66
2047
+ #: build/masterslider/admin/views/slider-panel/index.php:63
2048
+ msgid "Saved"
2049
+ msgstr ""
2050
+
2051
+ #: admin/views/slider-panel/index.php:71
2052
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:71
2053
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:79
2054
+ #: build/masterslider/admin/views/slider-panel/index.php:71
2055
+ msgid "Ooops! It seems Woocommers plugin is not installed."
2056
+ msgstr ""
2057
+
2058
+ #: admin/views/slider-panel/index.php:73
2059
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:73
2060
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:81
2061
+ #: build/masterslider/admin/views/slider-panel/index.php:73
2062
+ msgid "This type of slider requiers the Woocommers plugin. "
2063
+ msgstr ""
2064
+
2065
+ #: admin/views/slider-panel/index.php:74
2066
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:74
2067
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:82
2068
+ #: build/masterslider/admin/views/slider-panel/index.php:74
2069
+ msgid "Please install and activate it first."
2070
+ msgstr ""
2071
+
2072
+ #: admin/views/slider-panel/index.php:84
2073
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:167
2074
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:84
2075
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:94
2076
+ #: build/masterslider/admin/views/slider-panel/index.php:84
2077
+ msgid "Slider name and dimentions"
2078
+ msgstr ""
2079
+
2080
+ #: admin/views/slider-panel/index.php:87
2081
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:170
2082
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:87
2083
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:97
2084
+ #: build/masterslider/admin/views/slider-panel/index.php:87
2085
+ msgid "Slider name :"
2086
+ msgstr ""
2087
+
2088
+ #: admin/views/slider-panel/index.php:90
2089
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:173
2090
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:90
2091
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:100
2092
+ #: build/masterslider/admin/views/slider-panel/index.php:90
2093
+ msgid "Slider width :"
2094
+ msgstr ""
2095
+
2096
+ #: admin/views/slider-panel/index.php:92
2097
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:175
2098
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:92
2099
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:102
2100
+ #: build/masterslider/admin/views/slider-panel/index.php:92
2101
+ msgid "Slider height :"
2102
+ msgstr ""
2103
+
2104
+ #: admin/views/slider-panel/index.php:96
2105
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:179
2106
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:96
2107
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:106
2108
+ #: build/masterslider/admin/views/slider-panel/index.php:96
2109
+ msgid "Automatically crop and resize slider images based on above size."
2110
+ msgstr ""
2111
+
2112
+ #: admin/views/slider-panel/index.php:99
2113
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:182
2114
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:99
2115
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:109
2116
+ #: build/masterslider/admin/views/slider-panel/index.php:99
2117
+ msgid "Slider sizing method"
2118
+ msgstr ""
2119
+
2120
+ #: admin/views/slider-panel/index.php:103
2121
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:186
2122
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:103
2123
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:113
2124
+ #: build/masterslider/admin/views/slider-panel/index.php:103
2125
+ msgid "Boxed layout"
2126
+ msgstr ""
2127
+
2128
+ #: admin/views/slider-panel/index.php:104
2129
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:187
2130
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:104
2131
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:114
2132
+ #: build/masterslider/admin/views/slider-panel/index.php:104
2133
+ msgid "Full-width"
2134
+ msgstr ""
2135
+
2136
+ #: admin/views/slider-panel/index.php:105
2137
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:105
2138
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:116
2139
+ #: build/masterslider/admin/views/slider-panel/index.php:105
2140
+ msgid "Full-screen"
2141
+ msgstr ""
2142
+
2143
+ #: admin/views/slider-panel/index.php:106
2144
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:106
2145
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:117
2146
+ #: build/masterslider/admin/views/slider-panel/index.php:106
2147
+ msgid "Auto size width to fill slider parent element"
2148
+ msgstr ""
2149
+
2150
+ #: admin/views/slider-panel/index.php:107
2151
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:107
2152
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:118
2153
+ #: build/masterslider/admin/views/slider-panel/index.php:107
2154
+ msgid "Auto size width and height to fill slider parent element"
2155
+ msgstr ""
2156
+
2157
+ #: admin/views/slider-panel/index.php:108
2158
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:108
2159
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:119
2160
+ #: build/masterslider/admin/views/slider-panel/index.php:108
2161
+ msgid "Boxed and visible nearby slides"
2162
+ msgstr ""
2163
+
2164
+ #: admin/views/slider-panel/index.php:112
2165
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:191
2166
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:112
2167
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:124
2168
+ #: build/masterslider/admin/views/slider-panel/index.php:112
2169
+ msgid "Auto-height slider"
2170
+ msgstr ""
2171
+
2172
+ #: admin/views/slider-panel/index.php:116
2173
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:116
2174
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:129
2175
+ #: build/masterslider/admin/views/slider-panel/index.php:116
2176
+ msgid "Fullscreen margin :"
2177
+ msgstr ""
2178
+
2179
+ #: admin/views/slider-panel/index.php:121
2180
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:121
2181
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:136
2182
+ #: build/masterslider/admin/views/slider-panel/index.php:121
2183
+ msgid "Auto fill to element :"
2184
+ msgstr ""
2185
+
2186
+ #: admin/views/slider-panel/index.php:126
2187
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:196
2188
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:126
2189
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:142
2190
+ #: build/masterslider/admin/views/slider-panel/index.php:126
2191
+ msgid "Minimum height amount :"
2192
+ msgstr ""
2193
+
2194
+ #: admin/views/slider-panel/index.php:131
2195
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:201
2196
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:131
2197
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:147
2198
+ #: build/masterslider/admin/views/slider-panel/index.php:131
2199
+ msgid "Slider wrapper width :"
2200
+ msgstr ""
2201
+
2202
+ #: admin/views/slider-panel/index.php:143
2203
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:143
2204
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:160
2205
+ #: build/masterslider/admin/views/slider-panel/index.php:143
2206
+ msgid "Slider Template"
2207
+ msgstr ""
2208
+
2209
+ #: admin/views/slider-panel/index.php:145
2210
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:145
2211
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:168
2212
+ #: build/masterslider/admin/views/slider-panel/index.php:145
2213
+ msgid ""
2214
+ "Select slider template here, click on \"Choose template\" for list of all "
2215
+ "templates."
2216
+ msgstr ""
2217
+
2218
+ #: admin/views/slider-panel/index.php:147
2219
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:147
2220
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:170
2221
+ #: build/masterslider/admin/views/slider-panel/index.php:147
2222
+ msgid "Template:"
2223
+ msgstr ""
2224
+
2225
+ #: admin/views/slider-panel/index.php:152
2226
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:152
2227
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:175
2228
+ #: build/masterslider/admin/views/slider-panel/index.php:152
2229
+ msgid "Choose template"
2230
+ msgstr ""
2231
+
2232
+ #: admin/views/slider-panel/index.php:157
2233
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:216
2234
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:157
2235
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:181
2236
+ #: build/masterslider/admin/views/slider-panel/index.php:157
2237
+ msgid "Change slider transition, transition speed and space between slides"
2238
+ msgstr ""
2239
+
2240
+ #: admin/views/slider-panel/index.php:160
2241
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:219
2242
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:160
2243
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:184
2244
+ #: build/masterslider/admin/views/slider-panel/index.php:160
2245
+ msgid "Transition :"
2246
+ msgstr ""
2247
+
2248
+ #: admin/views/slider-panel/index.php:177
2249
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:225
2250
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:177
2251
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:205
2252
+ #: build/masterslider/admin/views/slider-panel/index.php:177
2253
+ msgid "Transition speed :"
2254
+ msgstr ""
2255
+
2256
+ #: admin/views/slider-panel/index.php:180
2257
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:228
2258
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:180
2259
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:208
2260
+ #: build/masterslider/admin/views/slider-panel/index.php:180
2261
+ msgid "Direction :"
2262
+ msgstr ""
2263
+
2264
+ #: admin/views/slider-panel/index.php:182
2265
+ #: admin/views/slider-panel/index.php:1703
2266
+ #: admin/views/slider-panel/index.php:1839
2267
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:230
2268
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:621
2269
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:757
2270
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:182
2271
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1703
2272
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1839
2273
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:210
2274
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1769
2275
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1905
2276
+ #: build/masterslider/admin/views/slider-panel/index.php:182
2277
+ #: build/masterslider/admin/views/slider-panel/index.php:1703
2278
+ #: build/masterslider/admin/views/slider-panel/index.php:1839
2279
+ msgid "Horizontal"
2280
+ msgstr ""
2281
+
2282
+ #: admin/views/slider-panel/index.php:183
2283
+ #: admin/views/slider-panel/index.php:1704
2284
+ #: admin/views/slider-panel/index.php:1840
2285
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:231
2286
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:622
2287
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:758
2288
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:183
2289
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1704
2290
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1840
2291
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:211
2292
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1770
2293
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1906
2294
+ #: build/masterslider/admin/views/slider-panel/index.php:183
2295
+ #: build/masterslider/admin/views/slider-panel/index.php:1704
2296
+ #: build/masterslider/admin/views/slider-panel/index.php:1840
2297
+ msgid "Vertical"
2298
+ msgstr ""
2299
+
2300
+ #: admin/views/slider-panel/index.php:186
2301
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:234
2302
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:186
2303
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:214
2304
+ #: build/masterslider/admin/views/slider-panel/index.php:186
2305
+ msgid "Slide space :"
2306
+ msgstr ""
2307
+
2308
+ #: admin/views/slider-panel/index.php:192
2309
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:240
2310
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:192
2311
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:220
2312
+ #: build/masterslider/admin/views/slider-panel/index.php:192
2313
+ msgid "Navigation"
2314
+ msgstr ""
2315
+
2316
+ #: admin/views/slider-panel/index.php:195
2317
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:243
2318
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:195
2319
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:223
2320
+ #: build/masterslider/admin/views/slider-panel/index.php:195
2321
+ msgid "Slideshow behavior and sorting slides"
2322
+ msgstr ""
2323
+
2324
+ #: admin/views/slider-panel/index.php:197
2325
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:245
2326
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:197
2327
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:225
2328
+ #: build/masterslider/admin/views/slider-panel/index.php:197
2329
+ msgid "Autoplay (Slideshow)"
2330
+ msgstr ""
2331
+
2332
+ #: admin/views/slider-panel/index.php:199
2333
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:247
2334
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:199
2335
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:227
2336
+ #: build/masterslider/admin/views/slider-panel/index.php:199
2337
+ msgid "Loop navigation"
2338
+ msgstr ""
2339
+
2340
+ #: admin/views/slider-panel/index.php:201
2341
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:249
2342
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:201
2343
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:229
2344
+ #: build/masterslider/admin/views/slider-panel/index.php:201
2345
+ msgid "Pause at end slide"
2346
+ msgstr ""
2347
+
2348
+ #: admin/views/slider-panel/index.php:204
2349
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:252
2350
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:204
2351
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:232
2352
+ #: build/masterslider/admin/views/slider-panel/index.php:204
2353
+ msgid "Pause on hover"
2354
+ msgstr ""
2355
+
2356
+ #: admin/views/slider-panel/index.php:206
2357
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:254
2358
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:206
2359
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:234
2360
+ #: build/masterslider/admin/views/slider-panel/index.php:206
2361
+ msgid "Random order"
2362
+ msgstr ""
2363
+
2364
+ #: admin/views/slider-panel/index.php:208
2365
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:208
2366
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:237
2367
+ #: build/masterslider/admin/views/slider-panel/index.php:208
2368
+ msgid "Hide layers before changing slide"
2369
+ msgstr ""
2370
+
2371
+ #: admin/views/slider-panel/index.php:211
2372
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:211
2373
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:242
2374
+ #: build/masterslider/admin/views/slider-panel/index.php:211
2375
+ msgid "Show layers before slide transition complete"
2376
+ msgstr ""
2377
+
2378
+ #: admin/views/slider-panel/index.php:214
2379
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:257
2380
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:214
2381
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:246
2382
+ #: build/masterslider/admin/views/slider-panel/index.php:214
2383
+ msgid "Start with slide :"
2384
+ msgstr ""
2385
+
2386
+ #: admin/views/slider-panel/index.php:216
2387
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:216
2388
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:249
2389
+ #: build/masterslider/admin/views/slider-panel/index.php:216
2390
+ msgid "Slider deep linking options"
2391
+ msgstr ""
2392
+
2393
+ #: admin/views/slider-panel/index.php:218
2394
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:218
2395
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:251
2396
+ #: build/masterslider/admin/views/slider-panel/index.php:218
2397
+ msgid "Enable slider deep linking."
2398
+ msgstr ""
2399
+
2400
+ #: admin/views/slider-panel/index.php:222
2401
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:222
2402
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:255
2403
+ #: build/masterslider/admin/views/slider-panel/index.php:222
2404
+ msgid "Deeplink name :"
2405
+ msgstr ""
2406
+
2407
+ #: admin/views/slider-panel/index.php:224
2408
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:224
2409
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:257
2410
+ #: build/masterslider/admin/views/slider-panel/index.php:224
2411
+ msgid "Type of permalink: "
2412
+ msgstr ""
2413
+
2414
+ #: admin/views/slider-panel/index.php:226
2415
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:226
2416
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:259
2417
+ #: build/masterslider/admin/views/slider-panel/index.php:226
2418
+ msgid "URL path style (/name/index/)"
2419
+ msgstr ""
2420
+
2421
+ #: admin/views/slider-panel/index.php:227
2422
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:227
2423
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:260
2424
+ #: build/masterslider/admin/views/slider-panel/index.php:227
2425
+ msgid "Query string style (&name=index)"
2426
+ msgstr ""
2427
+
2428
+ #: admin/views/slider-panel/index.php:231
2429
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:231
2430
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:264
2431
+ #: build/masterslider/admin/views/slider-panel/index.php:231
2432
+ msgid "Layers parallax mode"
2433
+ msgstr ""
2434
+
2435
+ #: admin/views/slider-panel/index.php:233
2436
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:233
2437
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:266
2438
+ #: build/masterslider/admin/views/slider-panel/index.php:233
2439
+ msgid "Parallax mode : "
2440
+ msgstr ""
2441
+
2442
+ #: admin/views/slider-panel/index.php:235
2443
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:235
2444
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:268
2445
+ #: build/masterslider/admin/views/slider-panel/index.php:235
2446
+ msgid "Move while sliding/swiping"
2447
+ msgstr ""
2448
+
2449
+ #: admin/views/slider-panel/index.php:236
2450
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:236
2451
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:269
2452
+ #: build/masterslider/admin/views/slider-panel/index.php:236
2453
+ msgid "Follow mouse"
2454
+ msgstr ""
2455
+
2456
+ #: admin/views/slider-panel/index.php:237
2457
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:237
2458
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:270
2459
+ #: build/masterslider/admin/views/slider-panel/index.php:237
2460
+ msgid "Follow mouse over X-axis"
2461
+ msgstr ""
2462
+
2463
+ #: admin/views/slider-panel/index.php:238
2464
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:238
2465
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:271
2466
+ #: build/masterslider/admin/views/slider-panel/index.php:238
2467
+ msgid "Follow mouse over Y-axis"
2468
+ msgstr ""
2469
+
2470
+ #: admin/views/slider-panel/index.php:239
2471
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:239
2472
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:272
2473
+ #: build/masterslider/admin/views/slider-panel/index.php:239
2474
+ msgid "Disable"
2475
+ msgstr ""
2476
+
2477
+ #: admin/views/slider-panel/index.php:242
2478
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:242
2479
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:275
2480
+ #: build/masterslider/admin/views/slider-panel/index.php:242
2481
+ msgid "Parallax move and fade layers when slider leaves page by scrolling"
2482
+ msgstr ""
2483
+
2484
+ #: admin/views/slider-panel/index.php:244
2485
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:244
2486
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:277
2487
+ #: build/masterslider/admin/views/slider-panel/index.php:244
2488
+ msgid "Scrolling parallax effect"
2489
+ msgstr ""
2490
+
2491
+ #: admin/views/slider-panel/index.php:248
2492
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:248
2493
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:281
2494
+ #: build/masterslider/admin/views/slider-panel/index.php:248
2495
+ msgid "Layers parallax depth percentage :"
2496
+ msgstr ""
2497
+
2498
+ #: admin/views/slider-panel/index.php:250
2499
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:250
2500
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:283
2501
+ #: build/masterslider/admin/views/slider-panel/index.php:250
2502
+ msgid "Background parallax depth percentage :"
2503
+ msgstr ""
2504
+
2505
+ #: admin/views/slider-panel/index.php:253
2506
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:253
2507
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:286
2508
+ #: build/masterslider/admin/views/slider-panel/index.php:253
2509
+ msgid "Fade layers while scrolling."
2510
+ msgstr ""
2511
+
2512
+ #: admin/views/slider-panel/index.php:256
2513
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:259
2514
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:256
2515
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:290
2516
+ #: build/masterslider/admin/views/slider-panel/index.php:256
2517
+ msgid "Slider navigation methods"
2518
+ msgstr ""
2519
+
2520
+ #: admin/views/slider-panel/index.php:258
2521
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:261
2522
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:258
2523
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:292
2524
+ #: build/masterslider/admin/views/slider-panel/index.php:258
2525
+ msgid "Touch swipe navigation"
2526
+ msgstr ""
2527
+
2528
+ #: admin/views/slider-panel/index.php:260
2529
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:263
2530
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:260
2531
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:294
2532
+ #: build/masterslider/admin/views/slider-panel/index.php:260
2533
+ msgid "Mouse swipe navigation"
2534
+ msgstr ""
2535
+
2536
+ #: admin/views/slider-panel/index.php:262
2537
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:265
2538
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:262
2539
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:296
2540
+ #: build/masterslider/admin/views/slider-panel/index.php:262
2541
+ msgid "Use grab mouse cursor"
2542
+ msgstr ""
2543
+
2544
+ #: admin/views/slider-panel/index.php:265
2545
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:268
2546
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:265
2547
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:299
2548
+ #: build/masterslider/admin/views/slider-panel/index.php:265
2549
+ msgid "Mouse wheel navigation"
2550
+ msgstr ""
2551
+
2552
+ #: admin/views/slider-panel/index.php:267
2553
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:267
2554
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:302
2555
+ #: build/masterslider/admin/views/slider-panel/index.php:267
2556
+ msgid "Keyboard navigation"
2557
+ msgstr ""
2558
+
2559
+ #: admin/views/slider-panel/index.php:270
2560
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:271
2561
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:270
2562
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:306
2563
+ #: build/masterslider/admin/views/slider-panel/index.php:270
2564
+ msgid "Start slider when appears in browser window."
2565
+ msgstr ""
2566
+
2567
+ #: admin/views/slider-panel/index.php:272
2568
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:273
2569
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:272
2570
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:308
2571
+ #: build/masterslider/admin/views/slider-panel/index.php:272
2572
+ msgid "Slide preloading"
2573
+ msgstr ""
2574
+
2575
+ #: admin/views/slider-panel/index.php:275
2576
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:276
2577
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:275
2578
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:311
2579
+ #: build/masterslider/admin/views/slider-panel/index.php:275
2580
+ msgid "Load nearby slides"
2581
+ msgstr ""
2582
+
2583
+ #: admin/views/slider-panel/index.php:276
2584
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:277
2585
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:276
2586
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:312
2587
+ #: build/masterslider/admin/views/slider-panel/index.php:276
2588
+ msgid "Load slides in sequence"
2589
+ msgstr ""
2590
+
2591
+ #: admin/views/slider-panel/index.php:277
2592
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:278
2593
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:277
2594
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:313
2595
+ #: build/masterslider/admin/views/slider-panel/index.php:277
2596
+ msgid "Load all slides before init"
2597
+ msgstr ""
2598
+
2599
+ #: admin/views/slider-panel/index.php:281
2600
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:282
2601
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:281
2602
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:317
2603
+ #: build/masterslider/admin/views/slider-panel/index.php:281
2604
+ msgid "Number of slides :"
2605
+ msgstr ""
2606
+
2607
+ #: admin/views/slider-panel/index.php:288
2608
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:289
2609
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:288
2610
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:324
2611
+ #: build/masterslider/admin/views/slider-panel/index.php:288
2612
+ msgid "Appearance"
2613
+ msgstr ""
2614
+
2615
+ #: admin/views/slider-panel/index.php:293
2616
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:294
2617
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:293
2618
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:329
2619
+ #: build/masterslider/admin/views/slider-panel/index.php:293
2620
+ msgid "Skin :"
2621
+ msgstr ""
2622
+
2623
+ #: admin/views/slider-panel/index.php:300
2624
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:301
2625
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:300
2626
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:336
2627
+ #: build/masterslider/admin/views/slider-panel/index.php:300
2628
+ msgid "Default"
2629
+ msgstr ""
2630
+
2631
+ #: admin/views/slider-panel/index.php:301
2632
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:302
2633
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:301
2634
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:337
2635
+ #: build/masterslider/admin/views/slider-panel/index.php:301
2636
+ msgid "Light 2"
2637
+ msgstr ""
2638
+
2639
+ #: admin/views/slider-panel/index.php:302
2640
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:303
2641
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:302
2642
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:338
2643
+ #: build/masterslider/admin/views/slider-panel/index.php:302
2644
+ msgid "Light 3"
2645
+ msgstr ""
2646
+
2647
+ #: admin/views/slider-panel/index.php:303
2648
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:304
2649
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:303
2650
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:339
2651
+ #: build/masterslider/admin/views/slider-panel/index.php:303
2652
+ msgid "Light 4"
2653
+ msgstr ""
2654
+
2655
+ #: admin/views/slider-panel/index.php:304
2656
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:305
2657
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:304
2658
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:340
2659
+ #: build/masterslider/admin/views/slider-panel/index.php:304
2660
+ msgid "Light 5"
2661
+ msgstr ""
2662
+
2663
+ #: admin/views/slider-panel/index.php:305
2664
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:306
2665
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:305
2666
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:341
2667
+ #: build/masterslider/admin/views/slider-panel/index.php:305
2668
+ msgid "Light 6"
2669
+ msgstr ""
2670
+
2671
+ #: admin/views/slider-panel/index.php:306
2672
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:307
2673
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:306
2674
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:342
2675
+ #: build/masterslider/admin/views/slider-panel/index.php:306
2676
+ msgid "Light 6 Round"
2677
+ msgstr ""
2678
+
2679
+ #: admin/views/slider-panel/index.php:307
2680
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:308
2681
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:307
2682
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:343
2683
+ #: build/masterslider/admin/views/slider-panel/index.php:307
2684
+ msgid "Contrast"
2685
+ msgstr ""
2686
+
2687
+ #: admin/views/slider-panel/index.php:308
2688
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:309
2689
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:308
2690
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:344
2691
+ #: build/masterslider/admin/views/slider-panel/index.php:308
2692
+ msgid "Black 1"
2693
+ msgstr ""
2694
+
2695
+ #: admin/views/slider-panel/index.php:309
2696
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:310
2697
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:309
2698
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:345
2699
+ #: build/masterslider/admin/views/slider-panel/index.php:309
2700
+ msgid "Black 2"
2701
+ msgstr ""
2702
+
2703
+ #: admin/views/slider-panel/index.php:310
2704
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:311
2705
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:310
2706
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:346
2707
+ #: build/masterslider/admin/views/slider-panel/index.php:310
2708
+ msgid "Black 2 Round"
2709
+ msgstr ""
2710
+
2711
+ #: admin/views/slider-panel/index.php:311
2712
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:312
2713
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:311
2714
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:347
2715
+ #: build/masterslider/admin/views/slider-panel/index.php:311
2716
+ msgid "Metro"
2717
+ msgstr ""
2718
+
2719
+ #: admin/views/slider-panel/index.php:316
2720
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:317
2721
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:316
2722
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:352
2723
+ #: build/masterslider/admin/views/slider-panel/index.php:316
2724
+ msgid "Align center slider controls :"
2725
+ msgstr ""
2726
+
2727
+ #: admin/views/slider-panel/index.php:318
2728
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:319
2729
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:318
2730
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:354
2731
+ #: build/masterslider/admin/views/slider-panel/index.php:318
2732
+ msgid "Slider background settings"
2733
+ msgstr ""
2734
+
2735
+ #: admin/views/slider-panel/index.php:320
2736
+ #: admin/views/slider-panel/index.php:565
2737
+ #: admin/views/slider-panel/index.php:672
2738
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:321
2739
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:320
2740
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:565
2741
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:672
2742
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:356
2743
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:602
2744
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:709
2745
+ #: build/masterslider/admin/views/slider-panel/index.php:320
2746
+ #: build/masterslider/admin/views/slider-panel/index.php:565
2747
+ #: build/masterslider/admin/views/slider-panel/index.php:672
2748
+ msgid "Background image :"
2749
+ msgstr ""
2750
+
2751
+ #: admin/views/slider-panel/index.php:322
2752
+ #: admin/views/slider-panel/index.php:740
2753
+ #: admin/views/slider-panel/index.php:883
2754
+ #: admin/views/slider-panel/index.php:1334
2755
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:323
2756
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:467
2757
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:322
2758
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:740
2759
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:883
2760
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1334
2761
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:358
2762
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:782
2763
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:946
2764
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1398
2765
+ #: build/masterslider/admin/views/slider-panel/index.php:322
2766
+ #: build/masterslider/admin/views/slider-panel/index.php:740
2767
+ #: build/masterslider/admin/views/slider-panel/index.php:883
2768
+ #: build/masterslider/admin/views/slider-panel/index.php:1334
2769
+ msgid "Background color :"
2770
+ msgstr ""
2771
+
2772
+ #: admin/views/slider-panel/index.php:324
2773
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:325
2774
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:324
2775
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:360
2776
+ #: build/masterslider/admin/views/slider-panel/index.php:324
2777
+ msgid "Slider custom class name and style"
2778
+ msgstr ""
2779
+
2780
+ #: admin/views/slider-panel/index.php:326
2781
+ #: admin/views/slider-panel/index.php:744
2782
+ #: admin/views/slider-panel/index.php:877
2783
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:327
2784
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:461
2785
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:326
2786
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:744
2787
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:877
2788
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:362
2789
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:786
2790
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:940
2791
+ #: build/masterslider/admin/views/slider-panel/index.php:326
2792
+ #: build/masterslider/admin/views/slider-panel/index.php:744
2793
+ #: build/masterslider/admin/views/slider-panel/index.php:877
2794
+ msgid "Class name :"
2795
+ msgstr ""
2796
+
2797
+ #: admin/views/slider-panel/index.php:329
2798
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:330
2799
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:329
2800
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:365
2801
+ #: build/masterslider/admin/views/slider-panel/index.php:329
2802
+ msgid "Inline style :"
2803
+ msgstr ""
2804
+
2805
+ #: admin/views/slider-panel/index.php:332
2806
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:333
2807
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:332
2808
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:368
2809
+ #: build/masterslider/admin/views/slider-panel/index.php:332
2810
+ msgid "Slider custom styles :"
2811
+ msgstr ""
2812
+
2813
+ #: admin/views/slider-panel/index.php:346
2814
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:346
2815
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:383
2816
+ #: build/masterslider/admin/views/slider-panel/index.php:346
2817
+ msgid "Enter your Flickr API key here"
2818
+ msgstr ""
2819
+
2820
+ #: admin/views/slider-panel/index.php:348
2821
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:348
2822
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:385
2823
+ #: build/masterslider/admin/views/slider-panel/index.php:348
2824
+ msgid "API key :"
2825
+ msgstr ""
2826
+
2827
+ #: admin/views/slider-panel/index.php:351
2828
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:351
2829
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:388
2830
+ #: build/masterslider/admin/views/slider-panel/index.php:351
2831
+ msgid "Don't have API key?"
2832
+ msgstr ""
2833
+
2834
+ #: admin/views/slider-panel/index.php:352
2835
+ #: admin/views/slider-panel/index.php:374
2836
+ #: admin/views/slider-panel/index.php:378
2837
+ #: admin/views/slider-panel/index.php:434
2838
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:352
2839
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:374
2840
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:378
2841
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:434
2842
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:389
2843
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:411
2844
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:415
2845
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:471
2846
+ #: build/masterslider/admin/views/slider-panel/index.php:352
2847
+ #: build/masterslider/admin/views/slider-panel/index.php:374
2848
+ #: build/masterslider/admin/views/slider-panel/index.php:378
2849
+ #: build/masterslider/admin/views/slider-panel/index.php:434
2850
+ msgid "See here for more details."
2851
+ msgstr ""
2852
+
2853
+ #: admin/views/slider-panel/index.php:355
2854
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:355
2855
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:392
2856
+ #: build/masterslider/admin/views/slider-panel/index.php:355
2857
+ msgid "Create slides from user images or photoset images"
2858
+ msgstr ""
2859
+
2860
+ #: admin/views/slider-panel/index.php:357
2861
+ #: admin/views/slider-panel/index.php:416
2862
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:357
2863
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:416
2864
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:394
2865
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:453
2866
+ #: build/masterslider/admin/views/slider-panel/index.php:357
2867
+ #: build/masterslider/admin/views/slider-panel/index.php:416
2868
+ msgid "Create slides from :"
2869
+ msgstr ""
2870
+
2871
+ #: admin/views/slider-panel/index.php:359
2872
+ #: admin/views/slider-panel/index.php:418
2873
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:359
2874
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:418
2875
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:396
2876
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:455
2877
+ #: build/masterslider/admin/views/slider-panel/index.php:359
2878
+ #: build/masterslider/admin/views/slider-panel/index.php:418
2879
+ msgid "User public photos"
2880
+ msgstr ""
2881
+
2882
+ #: admin/views/slider-panel/index.php:360
2883
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:360
2884
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:397
2885
+ #: build/masterslider/admin/views/slider-panel/index.php:360
2886
+ msgid "Photos in a set"
2887
+ msgstr ""
2888
+
2889
+ #: admin/views/slider-panel/index.php:365
2890
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:365
2891
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:402
2892
+ #: build/masterslider/admin/views/slider-panel/index.php:365
2893
+ msgid "Photoset Id :"
2894
+ msgstr ""
2895
+
2896
+ #: admin/views/slider-panel/index.php:367
2897
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:367
2898
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:404
2899
+ #: build/masterslider/admin/views/slider-panel/index.php:367
2900
+ msgid "User Id :"
2901
+ msgstr ""
2902
+
2903
+ #: admin/views/slider-panel/index.php:373
2904
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:373
2905
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:410
2906
+ #: build/masterslider/admin/views/slider-panel/index.php:373
2907
+ msgid "Don't have you photoset id?"
2908
+ msgstr ""
2909
+
2910
+ #: admin/views/slider-panel/index.php:377
2911
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:377
2912
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:414
2913
+ #: build/masterslider/admin/views/slider-panel/index.php:377
2914
+ msgid "Don't have the user id?"
2915
+ msgstr ""
2916
+
2917
+ #: admin/views/slider-panel/index.php:383
2918
+ #: admin/views/slider-panel/index.php:439
2919
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:383
2920
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:439
2921
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:420
2922
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:476
2923
+ #: build/masterslider/admin/views/slider-panel/index.php:383
2924
+ #: build/masterslider/admin/views/slider-panel/index.php:439
2925
+ msgid "Number of photos and size of images and thumbnails"
2926
+ msgstr ""
2927
+
2928
+ #: admin/views/slider-panel/index.php:385
2929
+ #: admin/views/slider-panel/index.php:441
2930
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:385
2931
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:441
2932
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:422
2933
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:478
2934
+ #: build/masterslider/admin/views/slider-panel/index.php:385
2935
+ #: build/masterslider/admin/views/slider-panel/index.php:441
2936
+ msgid "Number of photos :"
2937
+ msgstr ""
2938
+
2939
+ #: admin/views/slider-panel/index.php:388
2940
+ #: admin/views/slider-panel/index.php:444
2941
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:388
2942
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:444
2943
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:425
2944
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:481
2945
+ #: build/masterslider/admin/views/slider-panel/index.php:388
2946
+ #: build/masterslider/admin/views/slider-panel/index.php:444
2947
+ msgid "Images size :"
2948
+ msgstr ""
2949
+
2950
+ #: admin/views/slider-panel/index.php:390
2951
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:390
2952
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:427
2953
+ #: build/masterslider/admin/views/slider-panel/index.php:390
2954
+ msgid "800px on longest side"
2955
+ msgstr ""
2956
+
2957
+ #: admin/views/slider-panel/index.php:391
2958
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:391
2959
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:428
2960
+ #: build/masterslider/admin/views/slider-panel/index.php:391
2961
+ msgid "500px on longest side"
2962
+ msgstr ""
2963
+
2964
+ #: admin/views/slider-panel/index.php:392
2965
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:392
2966
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:429
2967
+ #: build/masterslider/admin/views/slider-panel/index.php:392
2968
+ msgid "640px on longest side"
2969
+ msgstr ""
2970
+
2971
+ #: admin/views/slider-panel/index.php:393
2972
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:393
2973
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:430
2974
+ #: build/masterslider/admin/views/slider-panel/index.php:393
2975
+ msgid "1024px on longest side"
2976
+ msgstr ""
2977
+
2978
+ #: admin/views/slider-panel/index.php:394
2979
+ #: admin/views/slider-panel/index.php:446
2980
+ #: admin/views/slider-panel/index.php:456
2981
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:394
2982
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:446
2983
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:456
2984
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:431
2985
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:483
2986
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:493
2987
+ #: build/masterslider/admin/views/slider-panel/index.php:394
2988
+ #: build/masterslider/admin/views/slider-panel/index.php:446
2989
+ #: build/masterslider/admin/views/slider-panel/index.php:456
2990
+ msgid "Original image"
2991
+ msgstr ""
2992
+
2993
+ #: admin/views/slider-panel/index.php:397
2994
+ #: admin/views/slider-panel/index.php:454
2995
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:397
2996
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:454
2997
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:434
2998
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:491
2999
+ #: build/masterslider/admin/views/slider-panel/index.php:397
3000
+ #: build/masterslider/admin/views/slider-panel/index.php:454
3001
+ msgid "Thumbnails size :"
3002
+ msgstr ""
3003
+
3004
+ #: admin/views/slider-panel/index.php:399
3005
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:399
3006
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:436
3007
+ #: build/masterslider/admin/views/slider-panel/index.php:399
3008
+ msgid "Large square 150x150"
3009
+ msgstr ""
3010
+
3011
+ #: admin/views/slider-panel/index.php:400
3012
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:400
3013
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:437
3014
+ #: build/masterslider/admin/views/slider-panel/index.php:400
3015
+ msgid "Small square 75x75"
3016
+ msgstr ""
3017
+
3018
+ #: admin/views/slider-panel/index.php:401
3019
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:401
3020
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:438
3021
+ #: build/masterslider/admin/views/slider-panel/index.php:401
3022
+ msgid "100px on longest side"
3023
+ msgstr ""
3024
+
3025
+ #: admin/views/slider-panel/index.php:414
3026
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:414
3027
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:451
3028
+ #: build/masterslider/admin/views/slider-panel/index.php:414
3029
+ msgid "Create slides from user images or album images"
3030
+ msgstr ""
3031
+
3032
+ #: admin/views/slider-panel/index.php:419
3033
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:419
3034
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:456
3035
+ #: build/masterslider/admin/views/slider-panel/index.php:419
3036
+ msgid "Photos in a album"
3037
+ msgstr ""
3038
+
3039
+ #: admin/views/slider-panel/index.php:424
3040
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:424
3041
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:461
3042
+ #: build/masterslider/admin/views/slider-panel/index.php:424
3043
+ msgid "Username :"
3044
+ msgstr ""
3045
+
3046
+ #: admin/views/slider-panel/index.php:426
3047
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:426
3048
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:463
3049
+ #: build/masterslider/admin/views/slider-panel/index.php:426
3050
+ msgid "Album id :"
3051
+ msgstr ""
3052
+
3053
+ #: admin/views/slider-panel/index.php:433
3054
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:433
3055
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:470
3056
+ #: build/masterslider/admin/views/slider-panel/index.php:433
3057
+ msgid "Don't have you album id?"
3058
+ msgstr ""
3059
+
3060
+ #: admin/views/slider-panel/index.php:447
3061
+ #: admin/views/slider-panel/index.php:457
3062
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:447
3063
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:457
3064
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:484
3065
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:494
3066
+ #: build/masterslider/admin/views/slider-panel/index.php:447
3067
+ #: build/masterslider/admin/views/slider-panel/index.php:457
3068
+ msgid "960px on longest side"
3069
+ msgstr ""
3070
+
3071
+ #: admin/views/slider-panel/index.php:448
3072
+ #: admin/views/slider-panel/index.php:458
3073
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:448
3074
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:458
3075
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:485
3076
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:495
3077
+ #: build/masterslider/admin/views/slider-panel/index.php:448
3078
+ #: build/masterslider/admin/views/slider-panel/index.php:458
3079
+ msgid "720px on longest side"
3080
+ msgstr ""
3081
+
3082
+ #: admin/views/slider-panel/index.php:449
3083
+ #: admin/views/slider-panel/index.php:459
3084
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:449
3085
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:459
3086
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:486
3087
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:496
3088
+ #: build/masterslider/admin/views/slider-panel/index.php:449
3089
+ #: build/masterslider/admin/views/slider-panel/index.php:459
3090
+ msgid "600px on longest side"
3091
+ msgstr ""
3092
+
3093
+ #: admin/views/slider-panel/index.php:450
3094
+ #: admin/views/slider-panel/index.php:460
3095
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:450
3096
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:460
3097
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:487
3098
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:497
3099
+ #: build/masterslider/admin/views/slider-panel/index.php:450
3100
+ #: build/masterslider/admin/views/slider-panel/index.php:460
3101
+ msgid "480px on longest side"
3102
+ msgstr ""
3103
+
3104
+ #: admin/views/slider-panel/index.php:451
3105
+ #: admin/views/slider-panel/index.php:461
3106
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:451
3107
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:461
3108
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:488
3109
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:498
3110
+ #: build/masterslider/admin/views/slider-panel/index.php:451
3111
+ #: build/masterslider/admin/views/slider-panel/index.php:461
3112
+ msgid "320px on longest side"
3113
+ msgstr ""
3114
+
3115
+ #: admin/views/slider-panel/index.php:474
3116
+ #: admin/views/slider-panel/index.php:584
3117
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:474
3118
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:584
3119
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:511
3120
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:621
3121
+ #: build/masterslider/admin/views/slider-panel/index.php:474
3122
+ #: build/masterslider/admin/views/slider-panel/index.php:584
3123
+ msgid "Create slides from below filter"
3124
+ msgstr ""
3125
+
3126
+ #: admin/views/slider-panel/index.php:476
3127
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:476
3128
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:513
3129
+ #: build/masterslider/admin/views/slider-panel/index.php:476
3130
+ msgid "Post type :"
3131
+ msgstr ""
3132
+
3133
+ #: admin/views/slider-panel/index.php:486
3134
+ #: admin/views/slider-panel/index.php:586
3135
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:486
3136
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:586
3137
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:523
3138
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:623
3139
+ #: build/masterslider/admin/views/slider-panel/index.php:486
3140
+ #: build/masterslider/admin/views/slider-panel/index.php:586
3141
+ msgid "Categories :"
3142
+ msgstr ""
3143
+
3144
+ #: admin/views/slider-panel/index.php:488
3145
+ #: admin/views/slider-panel/index.php:588
3146
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:488
3147
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:588
3148
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:525
3149
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:625
3150
+ #: build/masterslider/admin/views/slider-panel/index.php:488
3151
+ #: build/masterslider/admin/views/slider-panel/index.php:588
3152
+ msgid "All Categories"
3153
+ msgstr ""
3154
+
3155
+ #: admin/views/slider-panel/index.php:496
3156
+ #: admin/views/slider-panel/index.php:594
3157
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:496
3158
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:594
3159
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:533
3160
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:631
3161
+ #: build/masterslider/admin/views/slider-panel/index.php:496
3162
+ #: build/masterslider/admin/views/slider-panel/index.php:594
3163
+ msgid "Tags :"
3164
+ msgstr ""
3165
+
3166
+ #: admin/views/slider-panel/index.php:498
3167
+ #: admin/views/slider-panel/index.php:596
3168
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:498
3169
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:596
3170
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:535
3171
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:633
3172
+ #: build/masterslider/admin/views/slider-panel/index.php:498
3173
+ #: build/masterslider/admin/views/slider-panel/index.php:596
3174
+ msgid "All Tags"
3175
+ msgstr ""
3176
+
3177
+ #: admin/views/slider-panel/index.php:505
3178
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:505
3179
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:542
3180
+ #: build/masterslider/admin/views/slider-panel/index.php:505
3181
+ msgid "Enter the post IDs which you want to exclude or include"
3182
+ msgstr ""
3183
+
3184
+ #: admin/views/slider-panel/index.php:507
3185
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:507
3186
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:544
3187
+ #: build/masterslider/admin/views/slider-panel/index.php:507
3188
+ msgid "Exclude posts :"
3189
+ msgstr ""
3190
+
3191
+ #: admin/views/slider-panel/index.php:508
3192
+ #: admin/views/slider-panel/index.php:512
3193
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:508
3194
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:512
3195
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:545
3196
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:549
3197
+ #: build/masterslider/admin/views/slider-panel/index.php:508
3198
+ #: build/masterslider/admin/views/slider-panel/index.php:512
3199
+ msgid "post IDs separated by comma (eg. 53,34,87,25)"
3200
+ msgstr ""
3201
+
3202
+ #: admin/views/slider-panel/index.php:511
3203
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:511
3204
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:548
3205
+ #: build/masterslider/admin/views/slider-panel/index.php:511
3206
+ msgid "Include posts :"
3207
+ msgstr ""
3208
+
3209
+ #: admin/views/slider-panel/index.php:514
3210
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:514
3211
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:551
3212
+ #: build/masterslider/admin/views/slider-panel/index.php:514
3213
+ msgid "Maximum number of posts to include in slider and length of excerpt"
3214
+ msgstr ""
3215
+
3216
+ #: admin/views/slider-panel/index.php:516
3217
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:516
3218
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:553
3219
+ #: build/masterslider/admin/views/slider-panel/index.php:516
3220
+ msgid "Posts number :"
3221
+ msgstr ""
3222
+
3223
+ #: admin/views/slider-panel/index.php:518
3224
+ #: admin/views/slider-panel/index.php:621
3225
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:518
3226
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:621
3227
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:555
3228
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:658
3229
+ #: build/masterslider/admin/views/slider-panel/index.php:518
3230
+ #: build/masterslider/admin/views/slider-panel/index.php:621
3231
+ msgid "Excerpt length :"
3232
+ msgstr ""
3233
+
3234
+ #: admin/views/slider-panel/index.php:518
3235
+ #: admin/views/slider-panel/index.php:621
3236
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:518
3237
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:621
3238
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:555
3239
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:658
3240
+ #: build/masterslider/admin/views/slider-panel/index.php:518
3241
+ #: build/masterslider/admin/views/slider-panel/index.php:621
3242
+ msgid "character(s)"
3243
+ msgstr ""
3244
+
3245
+ #: admin/views/slider-panel/index.php:521
3246
+ #: admin/views/slider-panel/index.php:624
3247
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:521
3248
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:624
3249
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:558
3250
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:661
3251
+ #: build/masterslider/admin/views/slider-panel/index.php:521
3252
+ #: build/masterslider/admin/views/slider-panel/index.php:624
3253
+ msgid "Number of first results to skip (offset) :"
3254
+ msgstr ""
3255
+
3256
+ #: admin/views/slider-panel/index.php:523
3257
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:523
3258
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:560
3259
+ #: build/masterslider/admin/views/slider-panel/index.php:523
3260
+ msgid "Link slides to post's page"
3261
+ msgstr ""
3262
+
3263
+ #: admin/views/slider-panel/index.php:525
3264
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:525
3265
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:562
3266
+ #: build/masterslider/admin/views/slider-panel/index.php:525
3267
+ msgid "Link slides to post's page : "
3268
+ msgstr ""
3269
+
3270
+ #: admin/views/slider-panel/index.php:529
3271
+ #: admin/views/slider-panel/index.php:632
3272
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:529
3273
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:632
3274
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:566
3275
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:669
3276
+ #: build/masterslider/admin/views/slider-panel/index.php:529
3277
+ #: build/masterslider/admin/views/slider-panel/index.php:632
3278
+ msgid "Slide link target : "
3279
+ msgstr ""
3280
+
3281
+ #: admin/views/slider-panel/index.php:532
3282
+ #: admin/views/slider-panel/index.php:635
3283
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:532
3284
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:635
3285
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:569
3286
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:672
3287
+ #: build/masterslider/admin/views/slider-panel/index.php:532
3288
+ #: build/masterslider/admin/views/slider-panel/index.php:635
3289
+ msgid "Order of slides"
3290
+ msgstr ""
3291
+
3292
+ #: admin/views/slider-panel/index.php:534
3293
+ #: admin/views/slider-panel/index.php:637
3294
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:534
3295
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:637
3296
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:571
3297
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:674
3298
+ #: build/masterslider/admin/views/slider-panel/index.php:534
3299
+ #: build/masterslider/admin/views/slider-panel/index.php:637
3300
+ msgid "Order by :"
3301
+ msgstr ""
3302
+
3303
+ #: admin/views/slider-panel/index.php:536
3304
+ #: admin/views/slider-panel/index.php:639
3305
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:536
3306
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:639
3307
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:573
3308
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:676
3309
+ #: build/masterslider/admin/views/slider-panel/index.php:536
3310
+ #: build/masterslider/admin/views/slider-panel/index.php:639
3311
+ msgid "Date"
3312
+ msgstr ""
3313
+
3314
+ #: admin/views/slider-panel/index.php:537
3315
+ #: admin/views/slider-panel/index.php:640
3316
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:537
3317
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:640
3318
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:574
3319
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:677
3320
+ #: build/masterslider/admin/views/slider-panel/index.php:537
3321
+ #: build/masterslider/admin/views/slider-panel/index.php:640
3322
+ msgid "Menu Order"
3323
+ msgstr ""
3324
+
3325
+ #: admin/views/slider-panel/index.php:538
3326
+ #: admin/views/slider-panel/index.php:641
3327
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:538
3328
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:641
3329
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:575
3330
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:678
3331
+ #: build/masterslider/admin/views/slider-panel/index.php:538
3332
+ #: build/masterslider/admin/views/slider-panel/index.php:641
3333
+ msgid "Title"
3334
+ msgstr ""
3335
+
3336
+ #: admin/views/slider-panel/index.php:540
3337
+ #: admin/views/slider-panel/index.php:643
3338
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:540
3339
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:643
3340
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:577
3341
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:680
3342
+ #: build/masterslider/admin/views/slider-panel/index.php:540
3343
+ #: build/masterslider/admin/views/slider-panel/index.php:643
3344
+ msgid "Random"
3345
+ msgstr ""
3346
+
3347
+ #: admin/views/slider-panel/index.php:541
3348
+ #: admin/views/slider-panel/index.php:644
3349
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:541
3350
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:644
3351
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:578
3352
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:681
3353
+ #: build/masterslider/admin/views/slider-panel/index.php:541
3354
+ #: build/masterslider/admin/views/slider-panel/index.php:644
3355
+ msgid "Comments"
3356
+ msgstr ""
3357
+
3358
+ #: admin/views/slider-panel/index.php:542
3359
+ #: admin/views/slider-panel/index.php:645
3360
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:542
3361
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:645
3362
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:579
3363
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:682
3364
+ #: build/masterslider/admin/views/slider-panel/index.php:542
3365
+ #: build/masterslider/admin/views/slider-panel/index.php:645
3366
+ msgid "Date Modified"
3367
+ msgstr ""
3368
+
3369
+ #: admin/views/slider-panel/index.php:543
3370
+ #: admin/views/slider-panel/index.php:646
3371
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:543
3372
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:646
3373
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:580
3374
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:683
3375
+ #: build/masterslider/admin/views/slider-panel/index.php:543
3376
+ #: build/masterslider/admin/views/slider-panel/index.php:646
3377
+ msgid "Author"
3378
+ msgstr ""
3379
+
3380
+ #: admin/views/slider-panel/index.php:546
3381
+ #: admin/views/slider-panel/index.php:653
3382
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:546
3383
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:653
3384
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:583
3385
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:690
3386
+ #: build/masterslider/admin/views/slider-panel/index.php:546
3387
+ #: build/masterslider/admin/views/slider-panel/index.php:653
3388
+ msgid "Order direction :"
3389
+ msgstr ""
3390
+
3391
+ #: admin/views/slider-panel/index.php:548
3392
+ #: admin/views/slider-panel/index.php:655
3393
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:548
3394
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:655
3395
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:585
3396
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:692
3397
+ #: build/masterslider/admin/views/slider-panel/index.php:548
3398
+ #: build/masterslider/admin/views/slider-panel/index.php:655
3399
+ msgid "Descending"
3400
+ msgstr ""
3401
+
3402
+ #: admin/views/slider-panel/index.php:549
3403
+ #: admin/views/slider-panel/index.php:656
3404
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:549
3405
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:656
3406
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:586
3407
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:693
3408
+ #: build/masterslider/admin/views/slider-panel/index.php:549
3409
+ #: build/masterslider/admin/views/slider-panel/index.php:656
3410
+ msgid "Ascending"
3411
+ msgstr ""
3412
+
3413
+ #: admin/views/slider-panel/index.php:552
3414
+ #: admin/views/slider-panel/index.php:659
3415
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:552
3416
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:659
3417
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:589
3418
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:696
3419
+ #: build/masterslider/admin/views/slider-panel/index.php:552
3420
+ #: build/masterslider/admin/views/slider-panel/index.php:659
3421
+ msgid "Use as background image of slide"
3422
+ msgstr ""
3423
+
3424
+ #: admin/views/slider-panel/index.php:554
3425
+ #: admin/views/slider-panel/index.php:661
3426
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:554
3427
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:661
3428
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:591
3429
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:698
3430
+ #: build/masterslider/admin/views/slider-panel/index.php:554
3431
+ #: build/masterslider/admin/views/slider-panel/index.php:661
3432
+ msgid "Grab the image from :"
3433
+ msgstr ""
3434
+
3435
+ #: admin/views/slider-panel/index.php:556
3436
+ #: admin/views/slider-panel/index.php:663
3437
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:556
3438
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:663
3439
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:593
3440
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:700
3441
+ #: build/masterslider/admin/views/slider-panel/index.php:556
3442
+ #: build/masterslider/admin/views/slider-panel/index.php:663
3443
+ msgid "Auto Select"
3444
+ msgstr ""
3445
+
3446
+ #: admin/views/slider-panel/index.php:557
3447
+ #: admin/views/slider-panel/index.php:664
3448
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:557
3449
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:664
3450
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:594
3451
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:701
3452
+ #: build/masterslider/admin/views/slider-panel/index.php:557
3453
+ #: build/masterslider/admin/views/slider-panel/index.php:664
3454
+ msgid "Featured Image"
3455
+ msgstr ""
3456
+
3457
+ #: admin/views/slider-panel/index.php:558
3458
+ #: admin/views/slider-panel/index.php:665
3459
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:558
3460
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:665
3461
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:595
3462
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:702
3463
+ #: build/masterslider/admin/views/slider-panel/index.php:558
3464
+ #: build/masterslider/admin/views/slider-panel/index.php:665
3465
+ msgid "First Image in Post"
3466
+ msgstr ""
3467
+
3468
+ #: admin/views/slider-panel/index.php:559
3469
+ #: admin/views/slider-panel/index.php:666
3470
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:559
3471
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:666
3472
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:596
3473
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:703
3474
+ #: build/masterslider/admin/views/slider-panel/index.php:559
3475
+ #: build/masterslider/admin/views/slider-panel/index.php:666
3476
+ msgid "Custom Image"
3477
+ msgstr ""
3478
+
3479
+ #: admin/views/slider-panel/index.php:572
3480
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:572
3481
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:609
3482
+ #: build/masterslider/admin/views/slider-panel/index.php:572
3483
+ msgid "Posts Preview"
3484
+ msgstr ""
3485
+
3486
+ #: admin/views/slider-panel/index.php:603
3487
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:603
3488
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:640
3489
+ #: build/masterslider/admin/views/slider-panel/index.php:603
3490
+ msgid "Only display in-stock products."
3491
+ msgstr ""
3492
+
3493
+ #: admin/views/slider-panel/index.php:606
3494
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:606
3495
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:643
3496
+ #: build/masterslider/admin/views/slider-panel/index.php:606
3497
+ msgid "Only display featured products."
3498
+ msgstr ""
3499
+
3500
+ #: admin/views/slider-panel/index.php:609
3501
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:609
3502
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:646
3503
+ #: build/masterslider/admin/views/slider-panel/index.php:609
3504
+ msgid "Only display on sale products."
3505
+ msgstr ""
3506
+
3507
+ #: admin/views/slider-panel/index.php:612
3508
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:612
3509
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:649
3510
+ #: build/masterslider/admin/views/slider-panel/index.php:612
3511
+ msgid "Enter the product IDs which you want to exclude"
3512
+ msgstr ""
3513
+
3514
+ #: admin/views/slider-panel/index.php:614
3515
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:614
3516
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:651
3517
+ #: build/masterslider/admin/views/slider-panel/index.php:614
3518
+ msgid "Exclude products :"
3519
+ msgstr ""
3520
+
3521
+ #: admin/views/slider-panel/index.php:615
3522
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:615
3523
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:652
3524
+ #: build/masterslider/admin/views/slider-panel/index.php:615
3525
+ msgid "product IDs separated by comma (eg. 53,34,87,25)"
3526
+ msgstr ""
3527
+
3528
+ #: admin/views/slider-panel/index.php:617
3529
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:617
3530
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:654
3531
+ #: build/masterslider/admin/views/slider-panel/index.php:617
3532
+ msgid "Maximum number of products to include in slider and length of excerpt"
3533
+ msgstr ""
3534
+
3535
+ #: admin/views/slider-panel/index.php:619
3536
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:619
3537
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:656
3538
+ #: build/masterslider/admin/views/slider-panel/index.php:619
3539
+ msgid "Products number :"
3540
+ msgstr ""
3541
+
3542
+ #: admin/views/slider-panel/index.php:626
3543
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:626
3544
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:663
3545
+ #: build/masterslider/admin/views/slider-panel/index.php:626
3546
+ msgid "Link slides to product's page"
3547
+ msgstr ""
3548
+
3549
+ #: admin/views/slider-panel/index.php:628
3550
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:628
3551
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:665
3552
+ #: build/masterslider/admin/views/slider-panel/index.php:628
3553
+ msgid "Link slides to product's page : "
3554
+ msgstr ""
3555
+
3556
+ #: admin/views/slider-panel/index.php:647
3557
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:647
3558
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:684
3559
+ #: build/masterslider/admin/views/slider-panel/index.php:647
3560
+ msgid "Popularity"
3561
+ msgstr ""
3562
+
3563
+ #: admin/views/slider-panel/index.php:648
3564
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:648
3565
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:685
3566
+ #: build/masterslider/admin/views/slider-panel/index.php:648
3567
+ msgid "Average rating"
3568
+ msgstr ""
3569
+
3570
+ #: admin/views/slider-panel/index.php:649
3571
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:649
3572
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:686
3573
+ #: build/masterslider/admin/views/slider-panel/index.php:649
3574
+ msgid "Price: low to high"
3575
+ msgstr ""
3576
+
3577
+ #: admin/views/slider-panel/index.php:650
3578
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:650
3579
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:687
3580
+ #: build/masterslider/admin/views/slider-panel/index.php:650
3581
+ msgid "Price: high to low"
3582
+ msgstr ""
3583
+
3584
+ #: admin/views/slider-panel/index.php:679
3585
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:679
3586
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:716
3587
+ #: build/masterslider/admin/views/slider-panel/index.php:679
3588
+ msgid "Products Preview"
3589
+ msgstr ""
3590
+
3591
+ #: admin/views/slider-panel/index.php:699
3592
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:699
3593
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:739
3594
+ #: build/masterslider/admin/views/slider-panel/index.php:699
3595
+ msgid "Slides Template"
3596
+ msgstr ""
3597
+
3598
+ #: admin/views/slider-panel/index.php:702
3599
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:702
3600
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:742
3601
+ #: build/masterslider/admin/views/slider-panel/index.php:702
3602
+ msgid "In this section you can create slide template for your slider."
3603
+ msgstr ""
3604
+
3605
+ #: admin/views/slider-panel/index.php:703
3606
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:703
3607
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:743
3608
+ #: build/masterslider/admin/views/slider-panel/index.php:703
3609
+ msgid ""
3610
+ "Slide template will be used by the slider to create dynamically slides from "
3611
+ "posts, Facebook or Flickr photos."
3612
+ msgstr ""
3613
+
3614
+ #: admin/views/slider-panel/index.php:718
3615
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:718
3616
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:760
3617
+ #: build/masterslider/admin/views/slider-panel/index.php:718
3618
+ msgid "Fill Mode"
3619
+ msgstr ""
3620
+
3621
+ #: admin/views/slider-panel/index.php:720
3622
+ #: admin/views/slider-panel/index.php:765
3623
+ #: admin/views/slider-panel/index.php:924
3624
+ #: admin/views/slider-panel/index.php:987
3625
+ #: admin/views/slider-panel/index.php:1041
3626
+ #: admin/views/slider-panel/index.php:1096
3627
+ #: admin/views/slider-panel/index.php:1172
3628
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:367
3629
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:720
3630
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:765
3631
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:924
3632
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:987
3633
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1041
3634
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1096
3635
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1172
3636
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:762
3637
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:811
3638
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:988
3639
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1051
3640
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1105
3641
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1160
3642
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1236
3643
+ #: build/masterslider/admin/views/slider-panel/index.php:720
3644
+ #: build/masterslider/admin/views/slider-panel/index.php:765
3645
+ #: build/masterslider/admin/views/slider-panel/index.php:924
3646
+ #: build/masterslider/admin/views/slider-panel/index.php:987
3647
+ #: build/masterslider/admin/views/slider-panel/index.php:1041
3648
+ #: build/masterslider/admin/views/slider-panel/index.php:1096
3649
+ #: build/masterslider/admin/views/slider-panel/index.php:1172
3650
+ msgid "Misc"
3651
+ msgstr ""
3652
+
3653
+ #: admin/views/slider-panel/index.php:729
3654
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:729
3655
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:771
3656
+ #: build/masterslider/admin/views/slider-panel/index.php:729
3657
+ msgid "Choose slide background fill mode"
3658
+ msgstr ""
3659
+
3660
+ #: admin/views/slider-panel/index.php:731
3661
+ #: admin/views/slider-panel/index.php:791
3662
+ #: admin/views/slider-panel/index.php:810
3663
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:400
3664
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:731
3665
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:791
3666
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:810
3667
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:773
3668
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:852
3669
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:872
3670
+ #: build/masterslider/admin/views/slider-panel/index.php:731
3671
+ #: build/masterslider/admin/views/slider-panel/index.php:791
3672
+ #: build/masterslider/admin/views/slider-panel/index.php:810
3673
+ msgid "Fillmode :"
3674
+ msgstr ""
3675
+
3676
+ #: admin/views/slider-panel/index.php:738
3677
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:738
3678
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:780
3679
+ #: build/masterslider/admin/views/slider-panel/index.php:738
3680
+ msgid "Slide background color"
3681
+ msgstr ""
3682
+
3683
+ #: admin/views/slider-panel/index.php:742
3684
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:742
3685
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:784
3686
+ #: build/masterslider/admin/views/slider-panel/index.php:742
3687
+ msgid "Custom class name for slide element"
3688
+ msgstr ""
3689
+
3690
+ #: admin/views/slider-panel/index.php:761
3691
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:364
3692
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:761
3693
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:805
3694
+ #: build/masterslider/admin/views/slider-panel/index.php:761
3695
+ msgid "Background"
3696
+ msgstr ""
3697
+
3698
+ #: admin/views/slider-panel/index.php:762
3699
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:762
3700
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:807
3701
+ #: build/masterslider/admin/views/slider-panel/index.php:762
3702
+ msgid "Video Background"
3703
+ msgstr ""
3704
+
3705
+ #: admin/views/slider-panel/index.php:763
3706
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:365
3707
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:763
3708
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:809
3709
+ #: build/masterslider/admin/views/slider-panel/index.php:763
3710
+ msgid "Video and Link"
3711
+ msgstr ""
3712
+
3713
+ #: admin/views/slider-panel/index.php:787
3714
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:396
3715
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:787
3716
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:848
3717
+ #: build/masterslider/admin/views/slider-panel/index.php:787
3718
+ msgid "Choose slide background and thumbnail"
3719
+ msgstr ""
3720
+
3721
+ #: admin/views/slider-panel/index.php:789
3722
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:398
3723
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:789
3724
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:850
3725
+ #: build/masterslider/admin/views/slider-panel/index.php:789
3726
+ msgid "Background :"
3727
+ msgstr ""
3728
+
3729
+ #: admin/views/slider-panel/index.php:793
3730
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:402
3731
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:793
3732
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:854
3733
+ #: build/masterslider/admin/views/slider-panel/index.php:793
3734
+ msgid "Thumbnail :"
3735
+ msgstr ""
3736
+
3737
+ #: admin/views/slider-panel/index.php:800
3738
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:800
3739
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:862
3740
+ #: build/masterslider/admin/views/slider-panel/index.php:800
3741
+ msgid "Video background paths"
3742
+ msgstr ""
3743
+
3744
+ #: admin/views/slider-panel/index.php:802
3745
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:802
3746
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:864
3747
+ #: build/masterslider/admin/views/slider-panel/index.php:802
3748
+ msgid "MP4 :"
3749
+ msgstr ""
3750
+
3751
+ #: admin/views/slider-panel/index.php:803
3752
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:803
3753
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:865
3754
+ #: build/masterslider/admin/views/slider-panel/index.php:803
3755
+ msgid "Webm :"
3756
+ msgstr ""
3757
+
3758
+ #: admin/views/slider-panel/index.php:806
3759
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:806
3760
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:868
3761
+ #: build/masterslider/admin/views/slider-panel/index.php:806
3762
+ msgid "Ogg :"
3763
+ msgstr ""
3764
+
3765
+ #: admin/views/slider-panel/index.php:808
3766
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:808
3767
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:870
3768
+ #: build/masterslider/admin/views/slider-panel/index.php:808
3769
+ msgid "Video background fill mode"
3770
+ msgstr ""
3771
+
3772
+ #: admin/views/slider-panel/index.php:812
3773
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:812
3774
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:874
3775
+ #: build/masterslider/admin/views/slider-panel/index.php:812
3776
+ msgid "Video background settings"
3777
+ msgstr ""
3778
+
3779
+ #: admin/views/slider-panel/index.php:814
3780
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:814
3781
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:876
3782
+ #: build/masterslider/admin/views/slider-panel/index.php:814
3783
+ msgid "Loop :"
3784
+ msgstr ""
3785
+
3786
+ #: admin/views/slider-panel/index.php:816
3787
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:816
3788
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:878
3789
+ #: build/masterslider/admin/views/slider-panel/index.php:816
3790
+ msgid "Mute :"
3791
+ msgstr ""
3792
+
3793
+ #: admin/views/slider-panel/index.php:818
3794
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:818
3795
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:880
3796
+ #: build/masterslider/admin/views/slider-panel/index.php:818
3797
+ msgid "Pause video on slide changed :"
3798
+ msgstr ""
3799
+
3800
+ #: admin/views/slider-panel/index.php:825
3801
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:409
3802
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:825
3803
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:888
3804
+ #: build/masterslider/admin/views/slider-panel/index.php:825
3805
+ msgid "Link this slide"
3806
+ msgstr ""
3807
+
3808
+ #: admin/views/slider-panel/index.php:827
3809
+ #: admin/views/slider-panel/index.php:1018
3810
+ #: admin/views/slider-panel/index.php:1060
3811
+ #: admin/views/slider-panel/index.php:1147
3812
+ #: admin/views/slider-panel/index.php:1201
3813
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:411
3814
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:827
3815
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1018
3816
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1060
3817
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1147
3818
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1201
3819
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:890
3820
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1082
3821
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1124
3822
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1211
3823
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1265
3824
+ #: build/masterslider/admin/views/slider-panel/index.php:827
3825
+ #: build/masterslider/admin/views/slider-panel/index.php:1018
3826
+ #: build/masterslider/admin/views/slider-panel/index.php:1060
3827
+ #: build/masterslider/admin/views/slider-panel/index.php:1147
3828
+ #: build/masterslider/admin/views/slider-panel/index.php:1201
3829
+ msgid "URL :"
3830
+ msgstr ""
3831
+
3832
+ #: admin/views/slider-panel/index.php:831
3833
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:415
3834
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:831
3835
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:894
3836
+ #: build/masterslider/admin/views/slider-panel/index.php:831
3837
+ msgid "Link id :"
3838
+ msgstr ""
3839
+
3840
+ #: admin/views/slider-panel/index.php:833
3841
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:417
3842
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:833
3843
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:896
3844
+ #: build/masterslider/admin/views/slider-panel/index.php:833
3845
+ msgid "Link class :"
3846
+ msgstr ""
3847
+
3848
+ #: admin/views/slider-panel/index.php:836
3849
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:420
3850
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:836
3851
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:899
3852
+ #: build/masterslider/admin/views/slider-panel/index.php:836
3853
+ msgid "Link rel :"
3854
+ msgstr ""
3855
+
3856
+ #: admin/views/slider-panel/index.php:838
3857
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:422
3858
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:838
3859
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:901
3860
+ #: build/masterslider/admin/views/slider-panel/index.php:838
3861
+ msgid "Link title :"
3862
+ msgstr ""
3863
+
3864
+ #: admin/views/slider-panel/index.php:840
3865
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:424
3866
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:840
3867
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:903
3868
+ #: build/masterslider/admin/views/slider-panel/index.php:840
3869
+ msgid "Youtube or Vimeo video as slide"
3870
+ msgstr ""
3871
+
3872
+ #: admin/views/slider-panel/index.php:842
3873
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:426
3874
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:842
3875
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:905
3876
+ #: build/masterslider/admin/views/slider-panel/index.php:842
3877
+ msgid "Video embed src :"
3878
+ msgstr ""
3879
+
3880
+ #: admin/views/slider-panel/index.php:844
3881
+ #: admin/views/slider-panel/index.php:1070
3882
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:428
3883
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:844
3884
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1070
3885
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:907
3886
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1134
3887
+ #: build/masterslider/admin/views/slider-panel/index.php:844
3888
+ #: build/masterslider/admin/views/slider-panel/index.php:1070
3889
+ msgid "Autoplay video :"
3890
+ msgstr ""
3891
+
3892
+ #: admin/views/slider-panel/index.php:847
3893
+ #: admin/views/slider-panel/index.php:1067
3894
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:431
3895
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:847
3896
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1067
3897
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:910
3898
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1131
3899
+ #: build/masterslider/admin/views/slider-panel/index.php:847
3900
+ #: build/masterslider/admin/views/slider-panel/index.php:1067
3901
+ msgid "Where to find the Youtube/Vimeo embed URL."
3902
+ msgstr ""
3903
+
3904
+ #: admin/views/slider-panel/index.php:856
3905
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:440
3906
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:856
3907
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:919
3908
+ #: build/masterslider/admin/views/slider-panel/index.php:856
3909
+ msgid ""
3910
+ "This info will show beside of slider when slider reaches the slide or it can "
3911
+ "represent as tab in a tabs control. It is relative to selected slider "
3912
+ "template."
3913
+ msgstr ""
3914
+
3915
+ #: admin/views/slider-panel/index.php:861
3916
+ #: admin/views/slider-panel/index.php:951
3917
+ #: admin/views/slider-panel/index.php:1131
3918
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:445
3919
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:861
3920
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:951
3921
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1131
3922
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:924
3923
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1015
3924
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1195
3925
+ #: build/masterslider/admin/views/slider-panel/index.php:861
3926
+ #: build/masterslider/admin/views/slider-panel/index.php:951
3927
+ #: build/masterslider/admin/views/slider-panel/index.php:1131
3928
+ msgid "Insert dynamic content : "
3929
+ msgstr ""
3930
+
3931
+ #: admin/views/slider-panel/index.php:875
3932
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:459
3933
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:875
3934
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:938
3935
+ #: build/masterslider/admin/views/slider-panel/index.php:875
3936
+ msgid "Custom class name and id for slide element"
3937
+ msgstr ""
3938
+
3939
+ #: admin/views/slider-panel/index.php:879
3940
+ #: admin/views/slider-panel/index.php:1306
3941
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:463
3942
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:879
3943
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1306
3944
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:942
3945
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1370
3946
+ #: build/masterslider/admin/views/slider-panel/index.php:879
3947
+ #: build/masterslider/admin/views/slider-panel/index.php:1306
3948
+ msgid "CSS id :"
3949
+ msgstr ""
3950
+
3951
+ #: admin/views/slider-panel/index.php:881
3952
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:465
3953
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:881
3954
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:944
3955
+ #: build/masterslider/admin/views/slider-panel/index.php:881
3956
+ msgid "Background color and slide background alt text "
3957
+ msgstr ""
3958
+
3959
+ #: admin/views/slider-panel/index.php:885
3960
+ #: admin/views/slider-panel/index.php:1008
3961
+ #: admin/views/slider-panel/index.php:1076
3962
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:469
3963
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:885
3964
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1008
3965
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1076
3966
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:948
3967
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1072
3968
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1140
3969
+ #: build/masterslider/admin/views/slider-panel/index.php:885
3970
+ #: build/masterslider/admin/views/slider-panel/index.php:1008
3971
+ #: build/masterslider/admin/views/slider-panel/index.php:1076
3972
+ msgid "Alt text :"
3973
+ msgstr ""
3974
+
3975
+ #: admin/views/slider-panel/index.php:887
3976
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:471
3977
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:887
3978
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:950
3979
+ #: build/masterslider/admin/views/slider-panel/index.php:887
3980
+ msgid "Slide color and pattern overlay "
3981
+ msgstr ""
3982
+
3983
+ #: admin/views/slider-panel/index.php:889
3984
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:473
3985
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:889
3986
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:952
3987
+ #: build/masterslider/admin/views/slider-panel/index.php:889
3988
+ msgid "Color overlay :"
3989
+ msgstr ""
3990
+
3991
+ #: admin/views/slider-panel/index.php:891
3992
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:475
3993
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:891
3994
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:954
3995
+ #: build/masterslider/admin/views/slider-panel/index.php:891
3996
+ msgid "Pattern overlay :"
3997
+ msgstr ""
3998
+
3999
+ #: admin/views/slider-panel/index.php:901
4000
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:901
4001
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:965
4002
+ #: build/masterslider/admin/views/slider-panel/index.php:901
4003
+ msgid "New layer :"
4004
+ msgstr ""
4005
+
4006
+ #: admin/views/slider-panel/index.php:903
4007
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:385
4008
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:903
4009
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:833
4010
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:967
4011
+ #: build/masterslider/admin/views/slider-panel/index.php:903
4012
+ msgid "Slide duration :"
4013
+ msgstr ""
4014
+
4015
+ #: admin/views/slider-panel/index.php:921
4016
+ #: admin/views/slider-panel/index.php:984
4017
+ #: admin/views/slider-panel/index.php:1038
4018
+ #: admin/views/slider-panel/index.php:1093
4019
+ #: admin/views/slider-panel/index.php:1169
4020
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:921
4021
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:984
4022
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1038
4023
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1093
4024
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1169
4025
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:985
4026
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1048
4027
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1102
4028
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1157
4029
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1233
4030
+ #: build/masterslider/admin/views/slider-panel/index.php:921
4031
+ #: build/masterslider/admin/views/slider-panel/index.php:984
4032
+ #: build/masterslider/admin/views/slider-panel/index.php:1038
4033
+ #: build/masterslider/admin/views/slider-panel/index.php:1093
4034
+ #: build/masterslider/admin/views/slider-panel/index.php:1169
4035
+ msgid "Layer Content"
4036
+ msgstr ""
4037
+
4038
+ #: admin/views/slider-panel/index.php:922
4039
+ #: admin/views/slider-panel/index.php:985
4040
+ #: admin/views/slider-panel/index.php:1039
4041
+ #: admin/views/slider-panel/index.php:1094
4042
+ #: admin/views/slider-panel/index.php:1170
4043
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:922
4044
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:985
4045
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1039
4046
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1094
4047
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1170
4048
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:986
4049
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1049
4050
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1103
4051
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1158
4052
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1234
4053
+ #: build/masterslider/admin/views/slider-panel/index.php:922
4054
+ #: build/masterslider/admin/views/slider-panel/index.php:985
4055
+ #: build/masterslider/admin/views/slider-panel/index.php:1039
4056
+ #: build/masterslider/admin/views/slider-panel/index.php:1094
4057
+ #: build/masterslider/admin/views/slider-panel/index.php:1170
4058
+ msgid "Transition"
4059
+ msgstr ""
4060
+
4061
+ #: admin/views/slider-panel/index.php:923
4062
+ #: admin/views/slider-panel/index.php:986
4063
+ #: admin/views/slider-panel/index.php:1040
4064
+ #: admin/views/slider-panel/index.php:1095
4065
+ #: admin/views/slider-panel/index.php:1171
4066
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:923
4067
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:986
4068
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1040
4069
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1095
4070
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1171
4071
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:987
4072
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1050
4073
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1104
4074
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1159
4075
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1235
4076
+ #: build/masterslider/admin/views/slider-panel/index.php:923
4077
+ #: build/masterslider/admin/views/slider-panel/index.php:986
4078
+ #: build/masterslider/admin/views/slider-panel/index.php:1040
4079
+ #: build/masterslider/admin/views/slider-panel/index.php:1095
4080
+ #: build/masterslider/admin/views/slider-panel/index.php:1171
4081
+ msgid "Style"
4082
+ msgstr ""
4083
+
4084
+ #: admin/views/slider-panel/index.php:934
4085
+ #: admin/views/slider-panel/index.php:997
4086
+ #: admin/views/slider-panel/index.php:1051
4087
+ #: admin/views/slider-panel/index.php:1106
4088
+ #: admin/views/slider-panel/index.php:1182
4089
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:934
4090
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:997
4091
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1051
4092
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1106
4093
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1182
4094
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:998
4095
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1061
4096
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1115
4097
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1170
4098
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1246
4099
+ #: build/masterslider/admin/views/slider-panel/index.php:934
4100
+ #: build/masterslider/admin/views/slider-panel/index.php:997
4101
+ #: build/masterslider/admin/views/slider-panel/index.php:1051
4102
+ #: build/masterslider/admin/views/slider-panel/index.php:1106
4103
+ #: build/masterslider/admin/views/slider-panel/index.php:1182
4104
+ msgid "Layer type:"
4105
+ msgstr ""
4106
+
4107
+ #: admin/views/slider-panel/index.php:936
4108
+ #: admin/views/slider-panel/index.php:999
4109
+ #: admin/views/slider-panel/index.php:1053
4110
+ #: admin/views/slider-panel/index.php:1108
4111
+ #: admin/views/slider-panel/index.php:1184
4112
+ #: admin/views/slider-panel/index.php:1511
4113
+ #: admin/views/slider-panel/index.php:1529
4114
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:936
4115
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:999
4116
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1053
4117
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1108
4118
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1184
4119
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1511
4120
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1529
4121
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1000
4122
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1063
4123
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1117
4124
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1172
4125
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1248
4126
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1575
4127
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1593
4128
+ #: build/masterslider/admin/views/slider-panel/index.php:936
4129
+ #: build/masterslider/admin/views/slider-panel/index.php:999
4130
+ #: build/masterslider/admin/views/slider-panel/index.php:1053
4131
+ #: build/masterslider/admin/views/slider-panel/index.php:1108
4132
+ #: build/masterslider/admin/views/slider-panel/index.php:1184
4133
+ #: build/masterslider/admin/views/slider-panel/index.php:1511
4134
+ #: build/masterslider/admin/views/slider-panel/index.php:1529
4135
+ msgid "Normal"
4136
+ msgstr ""
4137
+
4138
+ #: admin/views/slider-panel/index.php:937
4139
+ #: admin/views/slider-panel/index.php:1000
4140
+ #: admin/views/slider-panel/index.php:1054
4141
+ #: admin/views/slider-panel/index.php:1109
4142
+ #: admin/views/slider-panel/index.php:1185
4143
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:937
4144
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1000
4145
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1054
4146
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1109
4147
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1185
4148
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1001
4149
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1064
4150
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1118
4151
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1173
4152
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1249
4153
+ #: build/masterslider/admin/views/slider-panel/index.php:937
4154
+ #: build/masterslider/admin/views/slider-panel/index.php:1000
4155
+ #: build/masterslider/admin/views/slider-panel/index.php:1054
4156
+ #: build/masterslider/admin/views/slider-panel/index.php:1109
4157
+ #: build/masterslider/admin/views/slider-panel/index.php:1185
4158
+ msgid "Static"
4159
+ msgstr ""
4160
+
4161
+ #: admin/views/slider-panel/index.php:938
4162
+ #: admin/views/slider-panel/index.php:1001
4163
+ #: admin/views/slider-panel/index.php:1055
4164
+ #: admin/views/slider-panel/index.php:1110
4165
+ #: admin/views/slider-panel/index.php:1186
4166
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:938
4167
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1001
4168
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1055
4169
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1110
4170
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1186
4171
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1002
4172
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1065
4173
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1119
4174
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1174
4175
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1250
4176
+ #: build/masterslider/admin/views/slider-panel/index.php:938
4177
+ #: build/masterslider/admin/views/slider-panel/index.php:1001
4178
+ #: build/masterslider/admin/views/slider-panel/index.php:1055
4179
+ #: build/masterslider/admin/views/slider-panel/index.php:1110
4180
+ #: build/masterslider/admin/views/slider-panel/index.php:1186
4181
+ msgid "Fixed"
4182
+ msgstr ""
4183
+
4184
+ #: admin/views/slider-panel/index.php:942
4185
+ #: admin/views/slider-panel/index.php:1062
4186
+ #: admin/views/slider-panel/index.php:1276
4187
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:942
4188
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1062
4189
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1276
4190
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1006
4191
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1126
4192
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1340
4193
+ #: build/masterslider/admin/views/slider-panel/index.php:942
4194
+ #: build/masterslider/admin/views/slider-panel/index.php:1062
4195
+ #: build/masterslider/admin/views/slider-panel/index.php:1276
4196
+ msgid "Width :"
4197
+ msgstr ""
4198
+
4199
+ #: admin/views/slider-panel/index.php:944
4200
+ #: admin/views/slider-panel/index.php:1064
4201
+ #: admin/views/slider-panel/index.php:1278
4202
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:944
4203
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1064
4204
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1278
4205
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1008
4206
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1128
4207
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1342
4208
+ #: build/masterslider/admin/views/slider-panel/index.php:944
4209
+ #: build/masterslider/admin/views/slider-panel/index.php:1064
4210
+ #: build/masterslider/admin/views/slider-panel/index.php:1278
4211
+ msgid "Height :"
4212
+ msgstr ""
4213
+
4214
+ #: admin/views/slider-panel/index.php:947
4215
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:947
4216
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1011
4217
+ #: build/masterslider/admin/views/slider-panel/index.php:947
4218
+ msgid ""
4219
+ "Insert your text content here, for a better SEO result you can use heading "
4220
+ "tags for important contents."
4221
+ msgstr ""
4222
+
4223
+ #: admin/views/slider-panel/index.php:959
4224
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:959
4225
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1023
4226
+ #: build/masterslider/admin/views/slider-panel/index.php:959
4227
+ msgid "Bind action to layer"
4228
+ msgstr ""
4229
+
4230
+ #: admin/views/slider-panel/index.php:961
4231
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:961
4232
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1025
4233
+ #: build/masterslider/admin/views/slider-panel/index.php:961
4234
+ msgid "Enable actions. Action runs by clicking user on the layer."
4235
+ msgstr ""
4236
+
4237
+ #: admin/views/slider-panel/index.php:965
4238
+ #: admin/views/slider-panel/index.php:1016
4239
+ #: admin/views/slider-panel/index.php:1145
4240
+ #: admin/views/slider-panel/index.php:1199
4241
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:965
4242
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1016
4243
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1145
4244
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1199
4245
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1029
4246
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1080
4247
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1209
4248
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1263
4249
+ #: build/masterslider/admin/views/slider-panel/index.php:965
4250
+ #: build/masterslider/admin/views/slider-panel/index.php:1016
4251
+ #: build/masterslider/admin/views/slider-panel/index.php:1145
4252
+ #: build/masterslider/admin/views/slider-panel/index.php:1199
4253
+ msgid "Select action :"
4254
+ msgstr ""
4255
+
4256
+ #: admin/views/slider-panel/index.php:1004
4257
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1004
4258
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1068
4259
+ #: build/masterslider/admin/views/slider-panel/index.php:1004
4260
+ msgid "Layer image and alt attribute"
4261
+ msgstr ""
4262
+
4263
+ #: admin/views/slider-panel/index.php:1006
4264
+ #: admin/views/slider-panel/index.php:1074
4265
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1006
4266
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1074
4267
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1070
4268
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1138
4269
+ #: build/masterslider/admin/views/slider-panel/index.php:1006
4270
+ #: build/masterslider/admin/views/slider-panel/index.php:1074
4271
+ msgid "Select image :"
4272
+ msgstr ""
4273
+
4274
+ #: admin/views/slider-panel/index.php:1010
4275
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1010
4276
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1074
4277
+ #: build/masterslider/admin/views/slider-panel/index.php:1010
4278
+ msgid "Link layer or bind action to layer"
4279
+ msgstr ""
4280
+
4281
+ #: admin/views/slider-panel/index.php:1012
4282
+ #: admin/views/slider-panel/index.php:1141
4283
+ #: admin/views/slider-panel/index.php:1195
4284
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1012
4285
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1141
4286
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1195
4287
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1076
4288
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1205
4289
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1259
4290
+ #: build/masterslider/admin/views/slider-panel/index.php:1012
4291
+ #: build/masterslider/admin/views/slider-panel/index.php:1141
4292
+ #: build/masterslider/admin/views/slider-panel/index.php:1195
4293
+ msgid "Bind action to layer. Action runs by clicking user on the layer."
4294
+ msgstr ""
4295
+
4296
+ #: admin/views/slider-panel/index.php:1058
4297
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1058
4298
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1122
4299
+ #: build/masterslider/admin/views/slider-panel/index.php:1058
4300
+ msgid "Youtube or Vimeo video embed source"
4301
+ msgstr ""
4302
+
4303
+ #: admin/views/slider-panel/index.php:1072
4304
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1072
4305
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1136
4306
+ #: build/masterslider/admin/views/slider-panel/index.php:1072
4307
+ msgid "Video custom cover image"
4308
+ msgstr ""
4309
+
4310
+ #: admin/views/slider-panel/index.php:1113
4311
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1113
4312
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1177
4313
+ #: build/masterslider/admin/views/slider-panel/index.php:1113
4314
+ msgid "Hotspot tooltip alignment and max width"
4315
+ msgstr ""
4316
+
4317
+ #: admin/views/slider-panel/index.php:1115
4318
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1115
4319
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1179
4320
+ #: build/masterslider/admin/views/slider-panel/index.php:1115
4321
+ msgid "Tooltip align : "
4322
+ msgstr ""
4323
+
4324
+ #: admin/views/slider-panel/index.php:1123
4325
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1123
4326
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1187
4327
+ #: build/masterslider/admin/views/slider-panel/index.php:1123
4328
+ msgid "Tooltip max width : "
4329
+ msgstr ""
4330
+
4331
+ #: admin/views/slider-panel/index.php:1126
4332
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1126
4333
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1190
4334
+ #: build/masterslider/admin/views/slider-panel/index.php:1126
4335
+ msgid "Stay tooltip on mouse over it : "
4336
+ msgstr ""
4337
+
4338
+ #: admin/views/slider-panel/index.php:1128
4339
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1128
4340
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1192
4341
+ #: build/masterslider/admin/views/slider-panel/index.php:1128
4342
+ msgid ""
4343
+ "Insert your hotspot content here, for a better SEO result you can use "
4344
+ "heading tags for important contents."
4345
+ msgstr ""
4346
+
4347
+ #: admin/views/slider-panel/index.php:1139
4348
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1139
4349
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1203
4350
+ #: build/masterslider/admin/views/slider-panel/index.php:1139
4351
+ msgid "Link hotspot or bind action to layer"
4352
+ msgstr ""
4353
+
4354
+ #: admin/views/slider-panel/index.php:1189
4355
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1189
4356
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1253
4357
+ #: build/masterslider/admin/views/slider-panel/index.php:1189
4358
+ msgid "Button label and link"
4359
+ msgstr ""
4360
+
4361
+ #: admin/views/slider-panel/index.php:1191
4362
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1191
4363
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1255
4364
+ #: build/masterslider/admin/views/slider-panel/index.php:1191
4365
+ msgid "Label :"
4366
+ msgstr ""
4367
+
4368
+ #: admin/views/slider-panel/index.php:1193
4369
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1193
4370
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1257
4371
+ #: build/masterslider/admin/views/slider-panel/index.php:1193
4372
+ msgid "Link button or bind action"
4373
+ msgstr ""
4374
+
4375
+ #: admin/views/slider-panel/index.php:1205
4376
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1205
4377
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1269
4378
+ #: build/masterslider/admin/views/slider-panel/index.php:1205
4379
+ msgid "Choose button style from below or create/edit a new button."
4380
+ msgstr ""
4381
+
4382
+ #: admin/views/slider-panel/index.php:1211
4383
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1211
4384
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1275
4385
+ #: build/masterslider/admin/views/slider-panel/index.php:1211
4386
+ msgid "New/Edit Button..."
4387
+ msgstr ""
4388
+
4389
+ #: admin/views/slider-panel/index.php:1227
4390
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1227
4391
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1291
4392
+ #: build/masterslider/admin/views/slider-panel/index.php:1227
4393
+ msgid "Layer parallax effect"
4394
+ msgstr ""
4395
+
4396
+ #: admin/views/slider-panel/index.php:1229
4397
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1229
4398
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1293
4399
+ #: build/masterslider/admin/views/slider-panel/index.php:1229
4400
+ msgid "Parallax effect level :"
4401
+ msgstr ""
4402
+
4403
+ #: admin/views/slider-panel/index.php:1232
4404
+ #: admin/views/slider-panel/index.php:1237
4405
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1232
4406
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1237
4407
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1296
4408
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1301
4409
+ #: build/masterslider/admin/views/slider-panel/index.php:1232
4410
+ #: build/masterslider/admin/views/slider-panel/index.php:1237
4411
+ msgid "Layer transition in"
4412
+ msgstr ""
4413
+
4414
+ #: admin/views/slider-panel/index.php:1234
4415
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1234
4416
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1298
4417
+ #: build/masterslider/admin/views/slider-panel/index.php:1234
4418
+ msgid "Static layer doesn't support transitions."
4419
+ msgstr ""
4420
+
4421
+ #: admin/views/slider-panel/index.php:1239
4422
+ #: admin/views/slider-panel/index.php:1251
4423
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1239
4424
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1251
4425
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1303
4426
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1315
4427
+ #: build/masterslider/admin/views/slider-panel/index.php:1239
4428
+ #: build/masterslider/admin/views/slider-panel/index.php:1251
4429
+ msgid "Transition effect :"
4430
+ msgstr ""
4431
+
4432
+ #: admin/views/slider-panel/index.php:1241
4433
+ #: admin/views/slider-panel/index.php:1253
4434
+ #: admin/views/slider-panel/index.php:1430
4435
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1241
4436
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1253
4437
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1430
4438
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1305
4439
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1317
4440
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1494
4441
+ #: build/masterslider/admin/views/slider-panel/index.php:1241
4442
+ #: build/masterslider/admin/views/slider-panel/index.php:1253
4443
+ #: build/masterslider/admin/views/slider-panel/index.php:1430
4444
+ msgid "Duration :"
4445
+ msgstr ""
4446
+
4447
+ #: admin/views/slider-panel/index.php:1243
4448
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1243
4449
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1307
4450
+ #: build/masterslider/admin/views/slider-panel/index.php:1243
4451
+ msgid "Delay :"
4452
+ msgstr ""
4453
+
4454
+ #: admin/views/slider-panel/index.php:1245
4455
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1245
4456
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1309
4457
+ #: build/masterslider/admin/views/slider-panel/index.php:1245
4458
+ msgid "Layer transition out"
4459
+ msgstr ""
4460
+
4461
+ #: admin/views/slider-panel/index.php:1247
4462
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1247
4463
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1311
4464
+ #: build/masterslider/admin/views/slider-panel/index.php:1247
4465
+ msgid "Enable transition out"
4466
+ msgstr ""
4467
+
4468
+ #: admin/views/slider-panel/index.php:1255
4469
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1255
4470
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1319
4471
+ #: build/masterslider/admin/views/slider-panel/index.php:1255
4472
+ msgid "Waiting :"
4473
+ msgstr ""
4474
+
4475
+ #: admin/views/slider-panel/index.php:1266
4476
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1266
4477
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1330
4478
+ #: build/masterslider/admin/views/slider-panel/index.php:1266
4479
+ msgid "Layer position and size"
4480
+ msgstr ""
4481
+
4482
+ #: admin/views/slider-panel/index.php:1268
4483
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1268
4484
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1332
4485
+ #: build/masterslider/admin/views/slider-panel/index.php:1268
4486
+ msgid "Layer position origin :"
4487
+ msgstr ""
4488
+
4489
+ #: admin/views/slider-panel/index.php:1270
4490
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1270
4491
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1334
4492
+ #: build/masterslider/admin/views/slider-panel/index.php:1270
4493
+ msgid "OffsetX :"
4494
+ msgstr ""
4495
+
4496
+ #: admin/views/slider-panel/index.php:1272
4497
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1272
4498
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1336
4499
+ #: build/masterslider/admin/views/slider-panel/index.php:1272
4500
+ msgid "OffsetY :"
4501
+ msgstr ""
4502
+
4503
+ #: admin/views/slider-panel/index.php:1281
4504
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1281
4505
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1345
4506
+ #: build/masterslider/admin/views/slider-panel/index.php:1281
4507
+ msgid "Layer style settings"
4508
+ msgstr ""
4509
+
4510
+ #: admin/views/slider-panel/index.php:1283
4511
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1283
4512
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1347
4513
+ #: build/masterslider/admin/views/slider-panel/index.php:1283
4514
+ msgid "Select style for your layer :"
4515
+ msgstr ""
4516
+
4517
+ #: admin/views/slider-panel/index.php:1283
4518
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1283
4519
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1347
4520
+ #: build/masterslider/admin/views/slider-panel/index.php:1283
4521
+ msgid "Select..."
4522
+ msgstr ""
4523
+
4524
+ #: admin/views/slider-panel/index.php:1287
4525
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1287
4526
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1351
4527
+ #: build/masterslider/admin/views/slider-panel/index.php:1287
4528
+ msgid "Resizable layer :"
4529
+ msgstr ""
4530
+
4531
+ #: admin/views/slider-panel/index.php:1289
4532
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1289
4533
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1353
4534
+ #: build/masterslider/admin/views/slider-panel/index.php:1289
4535
+ msgid "Hide layer under width :"
4536
+ msgstr ""
4537
+
4538
+ #: admin/views/slider-panel/index.php:1292
4539
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1292
4540
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1356
4541
+ #: build/masterslider/admin/views/slider-panel/index.php:1292
4542
+ msgid "Don't change layer position when resizing browser :"
4543
+ msgstr ""
4544
+
4545
+ #: admin/views/slider-panel/index.php:1295
4546
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1295
4547
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1359
4548
+ #: build/masterslider/admin/views/slider-panel/index.php:1295
4549
+ msgid "Disable swipe navigation when mouse moves over this layer :"
4550
+ msgstr ""
4551
+
4552
+ #: admin/views/slider-panel/index.php:1304
4553
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1304
4554
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1368
4555
+ #: build/masterslider/admin/views/slider-panel/index.php:1304
4556
+ msgid "CSS class name :"
4557
+ msgstr ""
4558
+
4559
+ #: admin/views/slider-panel/index.php:1309
4560
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1309
4561
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1373
4562
+ #: build/masterslider/admin/views/slider-panel/index.php:1309
4563
+ msgid "Title attribute :"
4564
+ msgstr ""
4565
+
4566
+ #: admin/views/slider-panel/index.php:1311
4567
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1311
4568
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1375
4569
+ #: build/masterslider/admin/views/slider-panel/index.php:1311
4570
+ msgid "Rel attribute :"
4571
+ msgstr ""
4572
+
4573
+ #: admin/views/slider-panel/index.php:1322
4574
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1322
4575
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1386
4576
+ #: build/masterslider/admin/views/slider-panel/index.php:1322
4577
+ msgid "Font and typography"
4578
+ msgstr ""
4579
+
4580
+ #: admin/views/slider-panel/index.php:1323
4581
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1323
4582
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1387
4583
+ #: build/masterslider/admin/views/slider-panel/index.php:1323
4584
+ msgid "Border"
4585
+ msgstr ""
4586
+
4587
+ #: admin/views/slider-panel/index.php:1324
4588
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1324
4589
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1388
4590
+ #: build/masterslider/admin/views/slider-panel/index.php:1324
4591
+ msgid "Padding"
4592
+ msgstr ""
4593
+
4594
+ #: admin/views/slider-panel/index.php:1336
4595
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1336
4596
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1400
4597
+ #: build/masterslider/admin/views/slider-panel/index.php:1336
4598
+ msgid "Text color :"
4599
+ msgstr ""
4600
+
4601
+ #: admin/views/slider-panel/index.php:1338
4602
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1338
4603
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1402
4604
+ #: build/masterslider/admin/views/slider-panel/index.php:1338
4605
+ msgid "Font size :"
4606
+ msgstr ""
4607
+
4608
+ #: admin/views/slider-panel/index.php:1341
4609
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1341
4610
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1405
4611
+ #: build/masterslider/admin/views/slider-panel/index.php:1341
4612
+ msgid "Font :"
4613
+ msgstr ""
4614
+
4615
+ #: admin/views/slider-panel/index.php:1343
4616
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1343
4617
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1407
4618
+ #: build/masterslider/admin/views/slider-panel/index.php:1343
4619
+ msgid "Font weight :"
4620
+ msgstr ""
4621
+
4622
+ #: admin/views/slider-panel/index.php:1345
4623
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1345
4624
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1409
4625
+ #: build/masterslider/admin/views/slider-panel/index.php:1345
4626
+ msgid "Wordwrap :"
4627
+ msgstr ""
4628
+
4629
+ #: admin/views/slider-panel/index.php:1348
4630
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1348
4631
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1412
4632
+ #: build/masterslider/admin/views/slider-panel/index.php:1348
4633
+ msgid "Letter spacing :"
4634
+ msgstr ""
4635
+
4636
+ #: admin/views/slider-panel/index.php:1350
4637
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1350
4638
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1414
4639
+ #: build/masterslider/admin/views/slider-panel/index.php:1350
4640
+ msgid "Line height :"
4641
+ msgstr ""
4642
+
4643
+ #: admin/views/slider-panel/index.php:1352
4644
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1352
4645
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1416
4646
+ #: build/masterslider/admin/views/slider-panel/index.php:1352
4647
+ msgid "Text align :"
4648
+ msgstr ""
4649
+
4650
+ #: admin/views/slider-panel/index.php:1357
4651
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1357
4652
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1421
4653
+ #: build/masterslider/admin/views/slider-panel/index.php:1357
4654
+ msgid "Justify"
4655
+ msgstr ""
4656
+
4657
+ #: admin/views/slider-panel/index.php:1363
4658
+ #: admin/views/slider-panel/index.php:1393
4659
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1363
4660
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1393
4661
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1427
4662
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1457
4663
+ #: build/masterslider/admin/views/slider-panel/index.php:1363
4664
+ #: build/masterslider/admin/views/slider-panel/index.php:1393
4665
+ msgid "Top :"
4666
+ msgstr ""
4667
+
4668
+ #: admin/views/slider-panel/index.php:1365
4669
+ #: admin/views/slider-panel/index.php:1395
4670
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1365
4671
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1395
4672
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1429
4673
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1459
4674
+ #: build/masterslider/admin/views/slider-panel/index.php:1365
4675
+ #: build/masterslider/admin/views/slider-panel/index.php:1395
4676
+ msgid "Right :"
4677
+ msgstr ""
4678
+
4679
+ #: admin/views/slider-panel/index.php:1367
4680
+ #: admin/views/slider-panel/index.php:1397
4681
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1367
4682
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1397
4683
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1431
4684
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1461
4685
+ #: build/masterslider/admin/views/slider-panel/index.php:1367
4686
+ #: build/masterslider/admin/views/slider-panel/index.php:1397
4687
+ msgid "Bottom :"
4688
+ msgstr ""
4689
+
4690
+ #: admin/views/slider-panel/index.php:1369
4691
+ #: admin/views/slider-panel/index.php:1399
4692
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1369
4693
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1399
4694
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1433
4695
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1463
4696
+ #: build/masterslider/admin/views/slider-panel/index.php:1369
4697
+ #: build/masterslider/admin/views/slider-panel/index.php:1399
4698
+ msgid "Left :"
4699
+ msgstr ""
4700
+
4701
+ #: admin/views/slider-panel/index.php:1372
4702
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1372
4703
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1436
4704
+ #: build/masterslider/admin/views/slider-panel/index.php:1372
4705
+ msgid "Border color :"
4706
+ msgstr ""
4707
+
4708
+ #: admin/views/slider-panel/index.php:1374
4709
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1374
4710
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1438
4711
+ #: build/masterslider/admin/views/slider-panel/index.php:1374
4712
+ msgid "Border style :"
4713
+ msgstr ""
4714
+
4715
+ #: admin/views/slider-panel/index.php:1376
4716
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1376
4717
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1440
4718
+ #: build/masterslider/admin/views/slider-panel/index.php:1376
4719
+ msgid "Solid"
4720
+ msgstr ""
4721
+
4722
+ #: admin/views/slider-panel/index.php:1378
4723
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1378
4724
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1442
4725
+ #: build/masterslider/admin/views/slider-panel/index.php:1378
4726
+ msgid "Hidden"
4727
+ msgstr ""
4728
+
4729
+ #: admin/views/slider-panel/index.php:1379
4730
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1379
4731
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1443
4732
+ #: build/masterslider/admin/views/slider-panel/index.php:1379
4733
+ msgid "Dotted"
4734
+ msgstr ""
4735
+
4736
+ #: admin/views/slider-panel/index.php:1380
4737
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1380
4738
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1444
4739
+ #: build/masterslider/admin/views/slider-panel/index.php:1380
4740
+ msgid "Dashed"
4741
+ msgstr ""
4742
+
4743
+ #: admin/views/slider-panel/index.php:1381
4744
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1381
4745
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1445
4746
+ #: build/masterslider/admin/views/slider-panel/index.php:1381
4747
+ msgid "Double"
4748
+ msgstr ""
4749
+
4750
+ #: admin/views/slider-panel/index.php:1382
4751
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1382
4752
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1446
4753
+ #: build/masterslider/admin/views/slider-panel/index.php:1382
4754
+ msgid "Groove"
4755
+ msgstr ""
4756
+
4757
+ #: admin/views/slider-panel/index.php:1383
4758
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1383
4759
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1447
4760
+ #: build/masterslider/admin/views/slider-panel/index.php:1383
4761
+ msgid "Ridge"
4762
+ msgstr ""
4763
+
4764
+ #: admin/views/slider-panel/index.php:1384
4765
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1384
4766
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1448
4767
+ #: build/masterslider/admin/views/slider-panel/index.php:1384
4768
+ msgid "Inset"
4769
+ msgstr ""
4770
+
4771
+ #: admin/views/slider-panel/index.php:1385
4772
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1385
4773
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1449
4774
+ #: build/masterslider/admin/views/slider-panel/index.php:1385
4775
+ msgid "Outset"
4776
+ msgstr ""
4777
+
4778
+ #: admin/views/slider-panel/index.php:1388
4779
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1388
4780
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1452
4781
+ #: build/masterslider/admin/views/slider-panel/index.php:1388
4782
+ msgid "Rounded corners :"
4783
+ msgstr ""
4784
+
4785
+ #: admin/views/slider-panel/index.php:1404
4786
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1404
4787
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1468
4788
+ #: build/masterslider/admin/views/slider-panel/index.php:1404
4789
+ msgid ""
4790
+ "You can add more style settings in below box, please make sure to enter a "
4791
+ "valid CSS. Example: <em>text-transform:uppercase;"
4792
+ msgstr ""
4793
+
4794
+ #: admin/views/slider-panel/index.php:1419
4795
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1419
4796
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1483
4797
+ #: build/masterslider/admin/views/slider-panel/index.php:1419
4798
+ msgid "General and Offset"
4799
+ msgstr ""
4800
+
4801
+ #: admin/views/slider-panel/index.php:1420
4802
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1420
4803
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1484
4804
+ #: build/masterslider/admin/views/slider-panel/index.php:1420
4805
+ msgid "Rotate"
4806
+ msgstr ""
4807
+
4808
+ #: admin/views/slider-panel/index.php:1421
4809
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1421
4810
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1485
4811
+ #: build/masterslider/admin/views/slider-panel/index.php:1421
4812
+ msgid "Scale and Skew"
4813
+ msgstr ""
4814
+
4815
+ #: admin/views/slider-panel/index.php:1422
4816
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1422
4817
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1486
4818
+ #: build/masterslider/admin/views/slider-panel/index.php:1422
4819
+ msgid "Move Origin"
4820
+ msgstr ""
4821
+
4822
+ #: admin/views/slider-panel/index.php:1428
4823
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1428
4824
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1492
4825
+ #: build/masterslider/admin/views/slider-panel/index.php:1428
4826
+ msgid "Fade :"
4827
+ msgstr ""
4828
+
4829
+ #: admin/views/slider-panel/index.php:1432
4830
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1432
4831
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1496
4832
+ #: build/masterslider/admin/views/slider-panel/index.php:1432
4833
+ msgid "Ease function :"
4834
+ msgstr ""
4835
+
4836
+ #: admin/views/slider-panel/index.php:1462
4837
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1462
4838
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1526
4839
+ #: build/masterslider/admin/views/slider-panel/index.php:1462
4840
+ msgid "Offset X :"
4841
+ msgstr ""
4842
+
4843
+ #: admin/views/slider-panel/index.php:1464
4844
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1464
4845
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1528
4846
+ #: build/masterslider/admin/views/slider-panel/index.php:1464
4847
+ msgid "Offset Y :"
4848
+ msgstr ""
4849
+
4850
+ #: admin/views/slider-panel/index.php:1466
4851
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1466
4852
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1530
4853
+ #: build/masterslider/admin/views/slider-panel/index.php:1466
4854
+ msgid "Offset Z :"
4855
+ msgstr ""
4856
+
4857
+ #: admin/views/slider-panel/index.php:1471
4858
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1471
4859
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1535
4860
+ #: build/masterslider/admin/views/slider-panel/index.php:1471
4861
+ msgid "2D Rotate :"
4862
+ msgstr ""
4863
+
4864
+ #: admin/views/slider-panel/index.php:1474
4865
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1474
4866
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1538
4867
+ #: build/masterslider/admin/views/slider-panel/index.php:1474
4868
+ msgid "Rotate X :"
4869
+ msgstr ""
4870
+
4871
+ #: admin/views/slider-panel/index.php:1476
4872
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1476
4873
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1540
4874
+ #: build/masterslider/admin/views/slider-panel/index.php:1476
4875
+ msgid "Rotate Y :"
4876
+ msgstr ""
4877
+
4878
+ #: admin/views/slider-panel/index.php:1478
4879
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1478
4880
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1542
4881
+ #: build/masterslider/admin/views/slider-panel/index.php:1478
4882
+ msgid "Rotate Z :"
4883
+ msgstr ""
4884
+
4885
+ #: admin/views/slider-panel/index.php:1483
4886
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1483
4887
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1547
4888
+ #: build/masterslider/admin/views/slider-panel/index.php:1483
4889
+ msgid "Scale X :"
4890
+ msgstr ""
4891
+
4892
+ #: admin/views/slider-panel/index.php:1485
4893
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1485
4894
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1549
4895
+ #: build/masterslider/admin/views/slider-panel/index.php:1485
4896
+ msgid "Scale Y :"
4897
+ msgstr ""
4898
+
4899
+ #: admin/views/slider-panel/index.php:1488
4900
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1488
4901
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1552
4902
+ #: build/masterslider/admin/views/slider-panel/index.php:1488
4903
+ msgid "Skew X :"
4904
+ msgstr ""
4905
+
4906
+ #: admin/views/slider-panel/index.php:1490
4907
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1490
4908
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1554
4909
+ #: build/masterslider/admin/views/slider-panel/index.php:1490
4910
+ msgid "Skew Y :"
4911
+ msgstr ""
4912
+
4913
+ #: admin/views/slider-panel/index.php:1495
4914
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1495
4915
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1559
4916
+ #: build/masterslider/admin/views/slider-panel/index.php:1495
4917
+ msgid "Origin X :"
4918
+ msgstr ""
4919
+
4920
+ #: admin/views/slider-panel/index.php:1497
4921
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1497
4922
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1561
4923
+ #: build/masterslider/admin/views/slider-panel/index.php:1497
4924
+ msgid "Origin Y :"
4925
+ msgstr ""
4926
+
4927
+ #: admin/views/slider-panel/index.php:1499
4928
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1499
4929
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1563
4930
+ #: build/masterslider/admin/views/slider-panel/index.php:1499
4931
+ msgid "Origin Z :"
4932
+ msgstr ""
4933
+
4934
+ #: admin/views/slider-panel/index.php:1512
4935
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1512
4936
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1576
4937
+ #: build/masterslider/admin/views/slider-panel/index.php:1512
4938
+ msgid "Over"
4939
+ msgstr ""
4940
+
4941
+ #: admin/views/slider-panel/index.php:1513
4942
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1513
4943
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1577
4944
+ #: build/masterslider/admin/views/slider-panel/index.php:1513
4945
+ msgid "Pressed"
4946
+ msgstr ""
4947
+
4948
+ #: admin/views/slider-panel/index.php:1520
4949
+ #: admin/views/slider-panel/index.php:1527
4950
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1520
4951
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1527
4952
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1584
4953
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1591
4954
+ #: build/masterslider/admin/views/slider-panel/index.php:1520
4955
+ #: build/masterslider/admin/views/slider-panel/index.php:1527
4956
+ msgid "Button style :"
4957
+ msgstr ""
4958
+
4959
+ #: admin/views/slider-panel/index.php:1522
4960
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1522
4961
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1586
4962
+ #: build/masterslider/admin/views/slider-panel/index.php:1522
4963
+ msgid "Box"
4964
+ msgstr ""
4965
+
4966
+ #: admin/views/slider-panel/index.php:1523
4967
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1523
4968
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1587
4969
+ #: build/masterslider/admin/views/slider-panel/index.php:1523
4970
+ msgid "Round"
4971
+ msgstr ""
4972
+
4973
+ #: admin/views/slider-panel/index.php:1524
4974
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1524
4975
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1588
4976
+ #: build/masterslider/admin/views/slider-panel/index.php:1524
4977
+ msgid "Circle"
4978
+ msgstr ""
4979
+
4980
+ #: admin/views/slider-panel/index.php:1530
4981
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1530
4982
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1594
4983
+ #: build/masterslider/admin/views/slider-panel/index.php:1530
4984
+ msgid "Small"
4985
+ msgstr ""
4986
+
4987
+ #: admin/views/slider-panel/index.php:1531
4988
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1531
4989
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1595
4990
+ #: build/masterslider/admin/views/slider-panel/index.php:1531
4991
+ msgid "Medium"
4992
+ msgstr ""
4993
+
4994
+ #: admin/views/slider-panel/index.php:1532
4995
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1532
4996
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1596
4997
+ #: build/masterslider/admin/views/slider-panel/index.php:1532
4998
+ msgid "Large"
4999
+ msgstr ""
5000
+
5001
+ #: admin/views/slider-panel/index.php:1536
5002
+ #: admin/views/slider-panel/index.php:1544
5003
+ #: admin/views/slider-panel/index.php:1552
5004
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1536
5005
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1544
5006
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1552
5007
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1600
5008
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1608
5009
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1616
5010
+ #: build/masterslider/admin/views/slider-panel/index.php:1536
5011
+ #: build/masterslider/admin/views/slider-panel/index.php:1544
5012
+ #: build/masterslider/admin/views/slider-panel/index.php:1552
5013
+ msgid ""
5014
+ "You can add custom style in below box, please make sure to enter a valid "
5015
+ "CSS. Example: <em>text-transform:uppercase;"
5016
+ msgstr ""
5017
+
5018
+ #: admin/views/slider-panel/index.php:1567
5019
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:485
5020
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1567
5021
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1633
5022
+ #: build/masterslider/admin/views/slider-panel/index.php:1567
5023
+ msgid "The selected tempalte for slider does not support custom controls."
5024
+ msgstr ""
5025
+
5026
+ #: admin/views/slider-panel/index.php:1575
5027
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:493
5028
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1575
5029
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1641
5030
+ #: build/masterslider/admin/views/slider-panel/index.php:1575
5031
+ msgid "Here you can add or remove controls to slider"
5032
+ msgstr ""
5033
+
5034
+ #: admin/views/slider-panel/index.php:1578
5035
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:496
5036
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1578
5037
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1644
5038
+ #: build/masterslider/admin/views/slider-panel/index.php:1578
5039
+ msgid "Add new control"
5040
+ msgstr ""
5041
+
5042
+ #: admin/views/slider-panel/index.php:1589
5043
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:507
5044
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1589
5045
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1655
5046
+ #: build/masterslider/admin/views/slider-panel/index.php:1589
5047
+ msgid "-- All controls are used --"
5048
+ msgstr ""
5049
+
5050
+ #: admin/views/slider-panel/index.php:1596
5051
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:514
5052
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1596
5053
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1662
5054
+ #: build/masterslider/admin/views/slider-panel/index.php:1596
5055
+ msgid "Used controls:"
5056
+ msgstr ""
5057
+
5058
+ #: admin/views/slider-panel/index.php:1613
5059
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:531
5060
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1613
5061
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1679
5062
+ #: build/masterslider/admin/views/slider-panel/index.php:1613
5063
+ msgid "Hide arrows when mouse leaves slider"
5064
+ msgstr ""
5065
+
5066
+ #: admin/views/slider-panel/index.php:1615
5067
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:533
5068
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1615
5069
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1681
5070
+ #: build/masterslider/admin/views/slider-panel/index.php:1615
5071
+ msgid "Show arrows over Youtube/Vimeo video player"
5072
+ msgstr ""
5073
+
5074
+ #: admin/views/slider-panel/index.php:1618
5075
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:536
5076
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1618
5077
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1684
5078
+ #: build/masterslider/admin/views/slider-panel/index.php:1618
5079
+ msgid "Hide arrows under this window width :"
5080
+ msgstr ""
5081
+
5082
+ #: admin/views/slider-panel/index.php:1622
5083
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:540
5084
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1622
5085
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1688
5086
+ #: build/masterslider/admin/views/slider-panel/index.php:1622
5087
+ msgid "Insert arrows inside slider"
5088
+ msgstr ""
5089
+
5090
+ #: admin/views/slider-panel/index.php:1625
5091
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:543
5092
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1625
5093
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1691
5094
+ #: build/masterslider/admin/views/slider-panel/index.php:1625
5095
+ msgid "Arrows margin :"
5096
+ msgstr ""
5097
+
5098
+ #: admin/views/slider-panel/index.php:1635
5099
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:553
5100
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1635
5101
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1701
5102
+ #: build/masterslider/admin/views/slider-panel/index.php:1635
5103
+ msgid "Hide line timer when mouse leaves slider"
5104
+ msgstr ""
5105
+
5106
+ #: admin/views/slider-panel/index.php:1637
5107
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:555
5108
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1637
5109
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1703
5110
+ #: build/masterslider/admin/views/slider-panel/index.php:1637
5111
+ msgid "Show line timer over Youtube/Vimeo video player"
5112
+ msgstr ""
5113
+
5114
+ #: admin/views/slider-panel/index.php:1640
5115
+ #: admin/views/slider-panel/index.php:1669
5116
+ #: admin/views/slider-panel/index.php:1715
5117
+ #: admin/views/slider-panel/index.php:1740
5118
+ #: admin/views/slider-panel/index.php:1776
5119
+ #: admin/views/slider-panel/index.php:1816
5120
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:558
5121
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:587
5122
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:633
5123
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:658
5124
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:694
5125
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:734
5126
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1640
5127
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1669
5128
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1715
5129
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1740
5130
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1776
5131
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1816
5132
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1706
5133
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1735
5134
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1781
5135
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1806
5136
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1842
5137
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1882
5138
+ #: build/masterslider/admin/views/slider-panel/index.php:1640
5139
+ #: build/masterslider/admin/views/slider-panel/index.php:1669
5140
+ #: build/masterslider/admin/views/slider-panel/index.php:1715
5141
+ #: build/masterslider/admin/views/slider-panel/index.php:1740
5142
+ #: build/masterslider/admin/views/slider-panel/index.php:1776
5143
+ #: build/masterslider/admin/views/slider-panel/index.php:1816
5144
+ msgid "Align control :"
5145
+ msgstr ""
5146
+
5147
+ #: admin/views/slider-panel/index.php:1646
5148
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:564
5149
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1646
5150
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1712
5151
+ #: build/masterslider/admin/views/slider-panel/index.php:1646
5152
+ msgid "Hide line timer under this window width :"
5153
+ msgstr ""
5154
+
5155
+ #: admin/views/slider-panel/index.php:1649
5156
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:567
5157
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1649
5158
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1715
5159
+ #: build/masterslider/admin/views/slider-panel/index.php:1649
5160
+ msgid "Line timer color :"
5161
+ msgstr ""
5162
+
5163
+ #: admin/views/slider-panel/index.php:1651
5164
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:569
5165
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1651
5166
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1717
5167
+ #: build/masterslider/admin/views/slider-panel/index.php:1651
5168
+ msgid "Line timer width :"
5169
+ msgstr ""
5170
+
5171
+ #: admin/views/slider-panel/index.php:1661
5172
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:579
5173
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1661
5174
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1727
5175
+ #: build/masterslider/admin/views/slider-panel/index.php:1661
5176
+ msgid "Hide bullets when mouse leaves slider"
5177
+ msgstr ""
5178
+
5179
+ #: admin/views/slider-panel/index.php:1663
5180
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:581
5181
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1663
5182
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1729
5183
+ #: build/masterslider/admin/views/slider-panel/index.php:1663
5184
+ msgid "Show bullets over Youtube/Vimeo video player"
5185
+ msgstr ""
5186
+
5187
+ #: admin/views/slider-panel/index.php:1666
5188
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:584
5189
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1666
5190
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1732
5191
+ #: build/masterslider/admin/views/slider-panel/index.php:1666
5192
+ msgid "Insert bullets inside slider"
5193
+ msgstr ""
5194
+
5195
+ #: admin/views/slider-panel/index.php:1677
5196
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:595
5197
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1677
5198
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1743
5199
+ #: build/masterslider/admin/views/slider-panel/index.php:1677
5200
+ msgid "Bullets margin :"
5201
+ msgstr ""
5202
+
5203
+ #: admin/views/slider-panel/index.php:1679
5204
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:597
5205
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1679
5206
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1745
5207
+ #: build/masterslider/admin/views/slider-panel/index.php:1679
5208
+ msgid "Space between bullets :"
5209
+ msgstr ""
5210
+
5211
+ #: admin/views/slider-panel/index.php:1682
5212
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:600
5213
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1682
5214
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1748
5215
+ #: build/masterslider/admin/views/slider-panel/index.php:1682
5216
+ msgid "Hide bullets under this window width :"
5217
+ msgstr ""
5218
+
5219
+ #: admin/views/slider-panel/index.php:1692
5220
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:610
5221
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1692
5222
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1758
5223
+ #: build/masterslider/admin/views/slider-panel/index.php:1692
5224
+ msgid "Hide scrollbar when mouse leaves slider"
5225
+ msgstr ""
5226
+
5227
+ #: admin/views/slider-panel/index.php:1694
5228
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:612
5229
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1694
5230
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1760
5231
+ #: build/masterslider/admin/views/slider-panel/index.php:1694
5232
+ msgid "Show scrollbar over Youtube/Vimeo video player"
5233
+ msgstr ""
5234
+
5235
+ #: admin/views/slider-panel/index.php:1697
5236
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:615
5237
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1697
5238
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1763
5239
+ #: build/masterslider/admin/views/slider-panel/index.php:1697
5240
+ msgid "Insert scrollbar inside slider"
5241
+ msgstr ""
5242
+
5243
+ #: admin/views/slider-panel/index.php:1701
5244
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:619
5245
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1701
5246
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1767
5247
+ #: build/masterslider/admin/views/slider-panel/index.php:1701
5248
+ msgid "Scrollbar direction :"
5249
+ msgstr ""
5250
+
5251
+ #: admin/views/slider-panel/index.php:1710
5252
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:628
5253
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1710
5254
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1776
5255
+ #: build/masterslider/admin/views/slider-panel/index.php:1710
5256
+ msgid "Scrollbar handle color :"
5257
+ msgstr ""
5258
+
5259
+ #: admin/views/slider-panel/index.php:1712
5260
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:630
5261
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1712
5262
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1778
5263
+ #: build/masterslider/admin/views/slider-panel/index.php:1712
5264
+ msgid "Hide scrollbar under this window width :"
5265
+ msgstr ""
5266
+
5267
+ #: admin/views/slider-panel/index.php:1723
5268
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:641
5269
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1723
5270
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1789
5271
+ #: build/masterslider/admin/views/slider-panel/index.php:1723
5272
+ msgid "Scrollbar width :"
5273
+ msgstr ""
5274
+
5275
+ #: admin/views/slider-panel/index.php:1725
5276
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:643
5277
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1725
5278
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1791
5279
+ #: build/masterslider/admin/views/slider-panel/index.php:1725
5280
+ msgid "Scrollbar margin :"
5281
+ msgstr ""
5282
+
5283
+ #: admin/views/slider-panel/index.php:1735
5284
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:653
5285
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1735
5286
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1801
5287
+ #: build/masterslider/admin/views/slider-panel/index.php:1735
5288
+ msgid "Hide cricle timer when mouse leaves slider"
5289
+ msgstr ""
5290
+
5291
+ #: admin/views/slider-panel/index.php:1737
5292
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:655
5293
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1737
5294
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1803
5295
+ #: build/masterslider/admin/views/slider-panel/index.php:1737
5296
+ msgid "Show circle timer over Youtube/Vimeo video player"
5297
+ msgstr ""
5298
+
5299
+ #: admin/views/slider-panel/index.php:1742
5300
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:660
5301
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1742
5302
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1808
5303
+ #: build/masterslider/admin/views/slider-panel/index.php:1742
5304
+ msgid "Top Left"
5305
+ msgstr ""
5306
+
5307
+ #: admin/views/slider-panel/index.php:1743
5308
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:661
5309
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1743
5310
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1809
5311
+ #: build/masterslider/admin/views/slider-panel/index.php:1743
5312
+ msgid "Top Right"
5313
+ msgstr ""
5314
+
5315
+ #: admin/views/slider-panel/index.php:1744
5316
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:662
5317
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1744
5318
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1810
5319
+ #: build/masterslider/admin/views/slider-panel/index.php:1744
5320
+ msgid "Bottom Left"
5321
+ msgstr ""
5322
+
5323
+ #: admin/views/slider-panel/index.php:1745
5324
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:663
5325
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1745
5326
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1811
5327
+ #: build/masterslider/admin/views/slider-panel/index.php:1745
5328
+ msgid "Bottom Right"
5329
+ msgstr ""
5330
+
5331
+ #: admin/views/slider-panel/index.php:1749
5332
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:667
5333
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1749
5334
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1815
5335
+ #: build/masterslider/admin/views/slider-panel/index.php:1749
5336
+ msgid "Hide circle timer under this window width :"
5337
+ msgstr ""
5338
+
5339
+ #: admin/views/slider-panel/index.php:1752
5340
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:670
5341
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1752
5342
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1818
5343
+ #: build/masterslider/admin/views/slider-panel/index.php:1752
5344
+ msgid "Circle timer margin :"
5345
+ msgstr ""
5346
+
5347
+ #: admin/views/slider-panel/index.php:1754
5348
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:672
5349
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1754
5350
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1820
5351
+ #: build/masterslider/admin/views/slider-panel/index.php:1754
5352
+ msgid "Circle stroke :"
5353
+ msgstr ""
5354
+
5355
+ #: admin/views/slider-panel/index.php:1756
5356
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:674
5357
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1756
5358
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1822
5359
+ #: build/masterslider/admin/views/slider-panel/index.php:1756
5360
+ msgid "Circle radius :"
5361
+ msgstr ""
5362
+
5363
+ #: admin/views/slider-panel/index.php:1758
5364
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:676
5365
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1758
5366
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1824
5367
+ #: build/masterslider/admin/views/slider-panel/index.php:1758
5368
+ msgid "Circle color :"
5369
+ msgstr ""
5370
+
5371
+ #: admin/views/slider-panel/index.php:1768
5372
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:686
5373
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1768
5374
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1834
5375
+ #: build/masterslider/admin/views/slider-panel/index.php:1768
5376
+ msgid "Hide slide info when mouse leaves slider"
5377
+ msgstr ""
5378
+
5379
+ #: admin/views/slider-panel/index.php:1770
5380
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:688
5381
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1770
5382
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1836
5383
+ #: build/masterslider/admin/views/slider-panel/index.php:1770
5384
+ msgid "Show slide info over Youtube/Vimeo video player"
5385
+ msgstr ""
5386
+
5387
+ #: admin/views/slider-panel/index.php:1773
5388
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:691
5389
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1773
5390
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1839
5391
+ #: build/masterslider/admin/views/slider-panel/index.php:1773
5392
+ msgid "Insert slide info inside slider"
5393
+ msgstr ""
5394
+
5395
+ #: admin/views/slider-panel/index.php:1784
5396
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:702
5397
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1784
5398
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1850
5399
+ #: build/masterslider/admin/views/slider-panel/index.php:1784
5400
+ msgid "Slide info margin :"
5401
+ msgstr ""
5402
+
5403
+ #: admin/views/slider-panel/index.php:1787
5404
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:705
5405
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1787
5406
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1853
5407
+ #: build/masterslider/admin/views/slider-panel/index.php:1787
5408
+ msgid "Slide info width :"
5409
+ msgstr ""
5410
+
5411
+ #: admin/views/slider-panel/index.php:1789
5412
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:707
5413
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1789
5414
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1855
5415
+ #: build/masterslider/admin/views/slider-panel/index.php:1789
5416
+ msgid "Slide info height :"
5417
+ msgstr ""
5418
+
5419
+ #: admin/views/slider-panel/index.php:1793
5420
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:711
5421
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1793
5422
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1859
5423
+ #: build/masterslider/admin/views/slider-panel/index.php:1793
5424
+ msgid "Hide slide info under this window width :"
5425
+ msgstr ""
5426
+
5427
+ #: admin/views/slider-panel/index.php:1803
5428
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:721
5429
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1803
5430
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1869
5431
+ #: build/masterslider/admin/views/slider-panel/index.php:1803
5432
+ msgid "Hide thumblist/tabs when mouse leaves slider"
5433
+ msgstr ""
5434
+
5435
+ #: admin/views/slider-panel/index.php:1805
5436
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:723
5437
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1805
5438
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1871
5439
+ #: build/masterslider/admin/views/slider-panel/index.php:1805
5440
+ msgid "Show thumblist/tabs over Youtube/Vimeo video player"
5441
+ msgstr ""
5442
+
5443
+ #: admin/views/slider-panel/index.php:1808
5444
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:726
5445
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1808
5446
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1874
5447
+ #: build/masterslider/admin/views/slider-panel/index.php:1808
5448
+ msgid "Insert thumblist/tabs inside slider"
5449
+ msgstr ""
5450
+
5451
+ #: admin/views/slider-panel/index.php:1810
5452
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:728
5453
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1810
5454
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1876
5455
+ #: build/masterslider/admin/views/slider-panel/index.php:1810
5456
+ msgid "Insert navigation arrows"
5457
+ msgstr ""
5458
+
5459
+ #: admin/views/slider-panel/index.php:1813
5460
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:731
5461
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1813
5462
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1879
5463
+ #: build/masterslider/admin/views/slider-panel/index.php:1813
5464
+ msgid "Change slides on hovering over thumbs/tabs."
5465
+ msgstr ""
5466
+
5467
+ #: admin/views/slider-panel/index.php:1824
5468
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:742
5469
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1824
5470
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1890
5471
+ #: build/masterslider/admin/views/slider-panel/index.php:1824
5472
+ msgid "Thumblist/Tabs margin :"
5473
+ msgstr ""
5474
+
5475
+ #: admin/views/slider-panel/index.php:1827
5476
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:745
5477
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1827
5478
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1893
5479
+ #: build/masterslider/admin/views/slider-panel/index.php:1827
5480
+ msgid "Appearance :"
5481
+ msgstr ""
5482
+
5483
+ #: admin/views/slider-panel/index.php:1829
5484
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:747
5485
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1829
5486
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1895
5487
+ #: build/masterslider/admin/views/slider-panel/index.php:1829
5488
+ msgid "Thumblist"
5489
+ msgstr ""
5490
+
5491
+ #: admin/views/slider-panel/index.php:1830
5492
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:748
5493
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1830
5494
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1896
5495
+ #: build/masterslider/admin/views/slider-panel/index.php:1830
5496
+ msgid "Tabs"
5497
+ msgstr ""
5498
+
5499
+ #: admin/views/slider-panel/index.php:1833
5500
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:751
5501
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1833
5502
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1899
5503
+ #: build/masterslider/admin/views/slider-panel/index.php:1833
5504
+ msgid "Hide thumblist/tabs under this window width :"
5505
+ msgstr ""
5506
+
5507
+ #: admin/views/slider-panel/index.php:1837
5508
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:755
5509
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1837
5510
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1903
5511
+ #: build/masterslider/admin/views/slider-panel/index.php:1837
5512
+ msgid "Thumblist/Tabs direction :"
5513
+ msgstr ""
5514
+
5515
+ #: admin/views/slider-panel/index.php:1846
5516
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:764
5517
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1846
5518
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1912
5519
+ #: build/masterslider/admin/views/slider-panel/index.php:1846
5520
+ msgid "Insert thumbnail inside tabs"
5521
+ msgstr ""
5522
+
5523
+ #: admin/views/slider-panel/index.php:1850
5524
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:768
5525
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1850
5526
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1916
5527
+ #: build/masterslider/admin/views/slider-panel/index.php:1850
5528
+ msgid "Thumb background fill mode :"
5529
+ msgstr ""
5530
+
5531
+ #: admin/views/slider-panel/index.php:1856
5532
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:774
5533
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1856
5534
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1922
5535
+ #: build/masterslider/admin/views/slider-panel/index.php:1856
5536
+ msgid "Thumb/Tab width :"
5537
+ msgstr ""
5538
+
5539
+ #: admin/views/slider-panel/index.php:1858
5540
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:776
5541
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1858
5542
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1924
5543
+ #: build/masterslider/admin/views/slider-panel/index.php:1858
5544
+ msgid "Thumb/Tab height :"
5545
+ msgstr ""
5546
+
5547
+ #: admin/views/slider-panel/index.php:1860
5548
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:778
5549
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1860
5550
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1926
5551
+ #: build/masterslider/admin/views/slider-panel/index.php:1860
5552
+ msgid "Space between thumbs/tabs :"
5553
+ msgstr ""
5554
+
5555
+ #: admin/views/slider-panel/index.php:1872
5556
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:790
5557
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1872
5558
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1938
5559
+ #: build/masterslider/admin/views/slider-panel/index.php:1872
5560
+ msgid "Here you can add or remove callbacks to slider"
5561
+ msgstr ""
5562
+
5563
+ #: admin/views/slider-panel/index.php:1875
5564
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:793
5565
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1875
5566
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1941
5567
+ #: build/masterslider/admin/views/slider-panel/index.php:1875
5568
+ msgid "Add new callback"
5569
+ msgstr ""
5570
+
5571
+ #: admin/views/slider-panel/index.php:1886
5572
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:804
5573
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1886
5574
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1952
5575
+ #: build/masterslider/admin/views/slider-panel/index.php:1886
5576
+ msgid "-- All callbacks are added --"
5577
+ msgstr ""
5578
+
5579
+ #: admin/views/slider-panel/index.php:1899
5580
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:817
5581
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1899
5582
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1965
5583
+ #: build/masterslider/admin/views/slider-panel/index.php:1899
5584
+ msgid "Remove"
5585
+ msgstr ""
5586
+
5587
+ #: admin/views/slider-panel/index.php:1909
5588
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1909
5589
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1976
5590
+ #: build/masterslider/admin/views/slider-panel/index.php:1909
5591
+ msgid ""
5592
+ "Here you can choose template for the slider. Please note that selecting "
5593
+ "template may overwrite some slider options. If you want to have full control "
5594
+ "on options, select \"Custom Template\"."
5595
+ msgstr ""
5596
+
5597
+ #: admin/views/slider-panel/index.php:1918
5598
+ #: bower_components/averta-masterslider-wp-panel/dist/pro/slider-panel/index.php:1918
5599
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:1985
5600
+ #: build/masterslider/admin/views/slider-panel/index.php:1918
5601
+ msgid "Save"
5602
+ msgstr ""
5603
+
5604
+ #: bower_components/averta-masterslider-wp-panel/dist/lite/slider-panel/index.php:213
5605
+ #: bower_components/averta-masterslider-wp-panel/src/index.php:163
5606
+ msgid "Slider Transition"
5607
+ msgstr ""
5608
+
5609
+ #: build/masterslider/includes/msp-functions.php:41
5610
+ #: includes/msp-functions.php:41
5611
+ msgid "Invalid slider id. Master Slider ID must be a valid number."
5612
+ msgstr ""
5613
+
5614
+ #: build/masterslider/includes/msp-functions.php:85
5615
+ #: includes/msp-functions.php:85
5616
+ #, php-format
5617
+ msgid "Master Slider cannot find \"%s\" slider."
5618
+ msgstr ""
5619
+
5620
+ #: build/masterslider/includes/msp-functions.php:1059
5621
+ #: includes/msp-functions.php:1059
5622
+ msgid "In Stock"
5623
+ msgstr ""
5624
+
5625
+ #: build/masterslider/includes/msp-functions.php:1059
5626
+ #: includes/msp-functions.php:1059
5627
+ msgid "Out of Stock"
5628
+ msgstr ""
5629
+
5630
+ #: build/masterslider/includes/msp-template-tags.php:8
5631
+ #: includes/msp-template-tags.php:8
5632
+ msgid "The post title"
5633
+ msgstr ""
5634
+
5635
+ #: build/masterslider/includes/msp-template-tags.php:14
5636
+ #: includes/msp-template-tags.php:14
5637
+ msgid "The post title with link"
5638
+ msgstr ""
5639
+
5640
+ #: build/masterslider/includes/msp-template-tags.php:20
5641
+ #: includes/msp-template-tags.php:20
5642
+ msgid "The post content"
5643
+ msgstr ""
5644
+
5645
+ #: build/masterslider/includes/msp-template-tags.php:26
5646
+ #: includes/msp-template-tags.php:26
5647
+ msgid "The post content-(with length limit)"
5648
+ msgstr ""
5649
+
5650
+ #: build/masterslider/includes/msp-template-tags.php:32
5651
+ #: includes/msp-template-tags.php:32
5652
+ msgid "The post excerpt"
5653
+ msgstr ""
5654
+
5655
+ #: build/masterslider/includes/msp-template-tags.php:38
5656
+ #: includes/msp-template-tags.php:38
5657
+ msgid "The post categories"
5658
+ msgstr ""
5659
+
5660
+ #: build/masterslider/includes/msp-template-tags.php:44
5661
+ #: includes/msp-template-tags.php:44
5662
+ msgid "The post tags"
5663
+ msgstr ""
5664
+
5665
+ #: build/masterslider/includes/msp-template-tags.php:50
5666
+ #: includes/msp-template-tags.php:50
5667
+ msgid "The post link"
5668
+ msgstr ""
5669
+
5670
+ #: build/masterslider/includes/msp-template-tags.php:56
5671
+ #: includes/msp-template-tags.php:56
5672
+ msgid "The author name"
5673
+ msgstr ""
5674
+
5675
+ #: build/masterslider/includes/msp-template-tags.php:62
5676
+ #: includes/msp-template-tags.php:62
5677
+ msgid "The unique ID of the post"
5678
+ msgstr ""
5679
+
5680
+ #: build/masterslider/includes/msp-template-tags.php:68
5681
+ #: includes/msp-template-tags.php:68
5682
+ msgid "Post image"
5683
+ msgstr ""
5684
+
5685
+ #: build/masterslider/includes/msp-template-tags.php:74
5686
+ #: includes/msp-template-tags.php:74
5687
+ msgid "Post image-(with custom dimensions)"
5688
+ msgstr ""
5689
+
5690
+ #: build/masterslider/includes/msp-template-tags.php:80
5691
+ #: includes/msp-template-tags.php:80
5692
+ msgid "Post image source"
5693
+ msgstr ""
5694
+
5695
+ #: build/masterslider/includes/msp-template-tags.php:86
5696
+ #: includes/msp-template-tags.php:86
5697
+ msgid "Post thumbnail"
5698
+ msgstr ""
5699
+
5700
+ #: build/masterslider/includes/msp-template-tags.php:92
5701
+ #: includes/msp-template-tags.php:92
5702
+ msgid "Post thumbnail-(with custom dimensions)"
5703
+ msgstr ""
5704
+
5705
+ #: build/masterslider/includes/msp-template-tags.php:98
5706
+ #: includes/msp-template-tags.php:98
5707
+ msgid "Post thumbnail source"
5708
+ msgstr ""
5709
+
5710
+ #: build/masterslider/includes/msp-template-tags.php:104
5711
+ #: includes/msp-template-tags.php:104
5712
+ msgid "The year of the post"
5713
+ msgstr ""
5714
+
5715
+ #: build/masterslider/includes/msp-template-tags.php:110
5716
+ #: includes/msp-template-tags.php:110
5717
+ msgid "Numeric Month"
5718
+ msgstr ""
5719
+
5720
+ #: build/masterslider/includes/msp-template-tags.php:116
5721
+ #: includes/msp-template-tags.php:116
5722
+ msgid "Month name"
5723
+ msgstr ""
5724
+
5725
+ #: build/masterslider/includes/msp-template-tags.php:122
5726
+ #: includes/msp-template-tags.php:122
5727
+ msgid "Day of the month"
5728
+ msgstr ""
5729
+
5730
+ #: build/masterslider/includes/msp-template-tags.php:128
5731
+ #: includes/msp-template-tags.php:128
5732
+ msgid "Weekday name"
5733
+ msgstr ""
5734
+
5735
+ #: build/masterslider/includes/msp-template-tags.php:134
5736
+ #: includes/msp-template-tags.php:134
5737
+ msgid "Hour:Minutes"
5738
+ msgstr ""
5739
+
5740
+ #: build/masterslider/includes/msp-template-tags.php:140
5741
+ #: includes/msp-template-tags.php:140
5742
+ msgid "The publish date"
5743
+ msgstr ""
5744
+
5745
+ #: build/masterslider/includes/msp-template-tags.php:146
5746
+ #: includes/msp-template-tags.php:146
5747
+ msgid "The last modified date"
5748
+ msgstr ""
5749
+
5750
+ #: build/masterslider/includes/msp-template-tags.php:152
5751
+ #: includes/msp-template-tags.php:152
5752
+ msgid "Number of comments"
5753
+ msgstr ""
5754
+
5755
+ #: build/masterslider/includes/msp-template-tags.php:168
5756
+ #: includes/msp-template-tags.php:168
5757
+ msgid "Price"
5758
+ msgstr ""
5759
+
5760
+ #: build/masterslider/includes/msp-template-tags.php:186
5761
+ #: includes/msp-template-tags.php:186
5762
+ msgid "In Stock Status"
5763
+ msgstr ""
5764
+
5765
+ #: build/masterslider/includes/msp-template-tags.php:192
5766
+ #: includes/msp-template-tags.php:192
5767
+ msgid "Stock Quantity"
5768
+ msgstr ""
5769
+
5770
+ #: build/masterslider/includes/msp-template-tags.php:198
5771
+ #: includes/msp-template-tags.php:198
5772
+ msgid "Weight"
5773
+ msgstr ""
5774
+
5775
+ #: build/masterslider/includes/msp-template-tags.php:204
5776
+ #: includes/msp-template-tags.php:204
5777
+ msgid "Product Categories"
5778
+ msgstr ""
5779
+
5780
+ #: build/masterslider/includes/msp-template-tags.php:210
5781
+ #: includes/msp-template-tags.php:210
5782
+ msgid "Product Tags"
5783
+ msgstr ""
5784
+
5785
+ #: build/masterslider/includes/msp-template-tags.php:216
5786
+ #: includes/msp-template-tags.php:216
5787
+ msgid "Total Sales"
5788
+ msgstr ""
5789
+
5790
+ #: build/masterslider/includes/msp-template-tags.php:222
5791
+ #: includes/msp-template-tags.php:222
5792
+ msgid "Average Rating"
5793
+ msgstr ""
5794
+
5795
+ #: build/masterslider/includes/msp-template-tags.php:228
5796
+ #: includes/msp-template-tags.php:228
5797
+ msgid "Rating Count"
5798
+ msgstr ""
5799
+
5800
+ #: build/masterslider/includes/classes/class-msp-db.php:797
5801
+ #: includes/classes/class-msp-db.php:797
5802
+ msgid "copy"
5803
+ msgstr ""
5804
+
5805
+ #: build/masterslider/includes/classes/class-msp-main-widget.php:53
5806
+ #: includes/classes/class-msp-main-widget.php:53
5807
+ msgid "Master Slider Widget"
5808
+ msgstr ""
5809
+
5810
+ #: build/masterslider/includes/classes/class-msp-main-widget.php:56
5811
+ #: includes/classes/class-msp-main-widget.php:56
5812
+ msgid "Display a Master Slider"
5813
+ msgstr ""
5814
+
5815
+ #: build/masterslider/includes/lib/vcomposer.php:16
5816
+ #: includes/lib/vcomposer.php:16
5817
+ msgid "Content"
5818
+ msgstr ""
5819
+
5820
+ #: build/masterslider/includes/lib/vcomposer.php:17
5821
+ #: includes/lib/vcomposer.php:17
5822
+ msgid "Add Master Slider"
5823
+ msgstr ""
5824
+
5825
+ #: build/masterslider/includes/lib/vcomposer.php:22
5826
+ #: includes/lib/vcomposer.php:22
5827
+ msgid "Title "
5828
+ msgstr ""
5829
+
5830
+ #: build/masterslider/includes/lib/vcomposer.php:25
5831
+ #: includes/lib/vcomposer.php:25
5832
+ msgid "What text use as slider title. Leave blank if no title is needed"
5833
+ msgstr ""
5834
+
5835
+ #: build/masterslider/includes/lib/vcomposer.php:32
5836
+ #: includes/lib/vcomposer.php:32
5837
+ msgid "Select slider from list"
5838
+ msgstr ""
5839
+
5840
+ #: build/masterslider/includes/lib/vcomposer.php:36
5841
+ #: includes/lib/vcomposer.php:36
5842
+ msgid "Extra CSS Class Name"
5843
+ msgstr ""
5844
+
5845
+ #: build/masterslider/includes/lib/vcomposer.php:39
5846
+ #: includes/lib/vcomposer.php:39
5847
+ msgid ""
5848
+ "If you wish to style particular element differently, then use this field to "
5849
+ "add a class name and then refer to it in your css file."
5850
+ msgstr ""
public/assets/css/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden
public/assets/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden
public/assets/js/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden
public/class-auxels.php ADDED
@@ -0,0 +1,289 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Auxin Elements.
4
+ *
5
+ * @echo HEADER
6
+ */
7
+
8
+ if ( ! class_exists( 'AUXELS' ) ) :
9
+
10
+
11
+
12
+ class AUXELS {
13
+
14
+ /**
15
+ * Unique identifier for your plugin.
16
+ *
17
+ * The variable name is used as the text domain when internationalizing strings of text.
18
+ *
19
+ * @since 1.0.0
20
+ *
21
+ * @var string
22
+ */
23
+ protected $plugin_slug = 'auxin-elements';
24
+
25
+ /**
26
+ * Instance of this class.
27
+ *
28
+ * @since 1.0.0
29
+ *
30
+ * @var object
31
+ */
32
+ protected static $instance = null;
33
+
34
+
35
+ /**
36
+ * Instance of Admin class.
37
+ *
38
+ * @since 1.0.0
39
+ *
40
+ * @var object
41
+ */
42
+ public $admin = null;
43
+
44
+
45
+
46
+ /**
47
+ * Initialize the plugin
48
+ *
49
+ * @since 1.0.0
50
+ */
51
+ private function __construct() {
52
+
53
+ $this->includes();
54
+
55
+ add_action( 'init', array( $this, 'init' ) );
56
+
57
+ // Activate plugin when new blog is added
58
+ add_action( 'wpmu_new_blog', array( $this, 'activate_new_site' ) );
59
+
60
+ // Loaded action
61
+ do_action( 'auxels_loaded' );
62
+ }
63
+
64
+
65
+ /**
66
+ *
67
+ * @return [type] [description]
68
+ */
69
+ private function includes() {
70
+
71
+ // load common functionalities
72
+ include_once( AUXELS_INC_DIR . '/index.php' );
73
+
74
+
75
+ // Dashboard and Administrative Functionality
76
+ if ( is_admin() ) {
77
+
78
+ // Load AJAX spesific codes on demand
79
+ if ( defined('DOING_AJAX') && DOING_AJAX ){
80
+
81
+ }
82
+
83
+ // Load admin spesific codes
84
+ else {
85
+ $this->admin = include( AUXELS_ADMIN_DIR . '/class-auxels-admin.php' );
86
+ }
87
+
88
+ // Load Frontend Functionality
89
+ } else {
90
+ include 'includes/class-auxels-frontend-assets.php';
91
+ }
92
+
93
+ }
94
+
95
+
96
+ /**
97
+ * Init the plugin when WordPress Initialises.
98
+ *
99
+ * @return void
100
+ */
101
+ public function init(){
102
+
103
+ // @deprecate version 5.0
104
+ global $wp_version;
105
+ if ( version_compare( $wp_version, '4.6', '<' ) ) {
106
+ // Load plugin text domain
107
+ $this->load_plugin_textdomain();
108
+ }
109
+
110
+ }
111
+
112
+
113
+ /**
114
+ * Return an instance of this class.
115
+ *
116
+ * @since 1.0.0
117
+ *
118
+ * @return object A single instance of this class.
119
+ */
120
+ public static function get_instance() {
121
+
122
+ // If the single instance hasn't been set, set it now.
123
+ if ( null == self::$instance ) {
124
+ self::$instance = new self;
125
+ }
126
+
127
+ return self::$instance;
128
+ }
129
+
130
+
131
+ /**
132
+ * Fired when the plugin is activated.
133
+ *
134
+ * @since 1.0.0
135
+ *
136
+ * @param boolean $network_wide True if WPMU superadmin uses
137
+ * "Network Activate" action, false if
138
+ * WPMU is disabled or plugin is
139
+ * activated on an individual blog.
140
+ */
141
+ public static function activate( $network_wide ) {
142
+
143
+ if ( function_exists( 'is_multisite' ) && is_multisite() ) {
144
+
145
+ if ( $network_wide ) {
146
+
147
+ // Get all blog ids
148
+ $blog_ids = self::get_blog_ids();
149
+
150
+ foreach ( $blog_ids as $blog_id ) {
151
+
152
+ switch_to_blog( $blog_id );
153
+ self::single_activate();
154
+ }
155
+
156
+ restore_current_blog();
157
+
158
+ } else {
159
+ self::single_activate();
160
+ }
161
+
162
+ } else {
163
+ self::single_activate();
164
+ }
165
+
166
+ }
167
+
168
+
169
+ /**
170
+ * Fired when the plugin is deactivated.
171
+ *
172
+ * @since 1.0.0
173
+ *
174
+ * @param boolean $network_wide True if WPMU superadmin uses
175
+ * "Network Deactivate" action, false if
176
+ * WPMU is disabled or plugin is
177
+ * deactivated on an individual blog.
178
+ */
179
+ public static function deactivate( $network_wide ) {
180
+
181
+ if ( function_exists( 'is_multisite' ) && is_multisite() ) {
182
+
183
+ if ( $network_wide ) {
184
+
185
+ // Get all blog ids
186
+ $blog_ids = self::get_blog_ids();
187
+
188
+ foreach ( $blog_ids as $blog_id ) {
189
+
190
+ switch_to_blog( $blog_id );
191
+ self::single_deactivate();
192
+
193
+ }
194
+
195
+ restore_current_blog();
196
+
197
+ } else {
198
+ self::single_deactivate();
199
+ }
200
+
201
+ } else {
202
+ self::single_deactivate();
203
+ }
204
+
205
+ }
206
+
207
+
208
+ /**
209
+ * Fired for each blog when the plugin is activated.
210
+ *
211
+ * @since 1.0.0
212
+ */
213
+ private static function single_activate() {
214
+
215
+ do_action( 'auxels_activated', get_current_blog_id() );
216
+ }
217
+
218
+
219
+ /**
220
+ * Fired for each blog when the plugin is deactivated.
221
+ *
222
+ * @since 1.0.0
223
+ */
224
+ private static function single_deactivate() {
225
+ do_action( 'auxels_deactivated' );
226
+ }
227
+
228
+
229
+ /**
230
+ * Fired when a new site is activated with a WPMU environment.
231
+ *
232
+ * @since 1.0.0
233
+ *
234
+ * @param int $blog_id ID of the new blog.
235
+ */
236
+ public function activate_new_site( $blog_id ) {
237
+
238
+ if ( 1 !== did_action( 'wpmu_new_blog' ) ) {
239
+ return;
240
+ }
241
+
242
+ switch_to_blog( $blog_id );
243
+ self::single_activate();
244
+ restore_current_blog();
245
+
246
+ }
247
+
248
+ /**
249
+ * Get all blog ids of blogs in the current network that are:
250
+ * - not archived
251
+ * - not spam
252
+ * - not deleted
253
+ *
254
+ * @since 1.0.0
255
+ *
256
+ * @return array|false The blog ids, false if no matches.
257
+ */
258
+ private static function get_blog_ids() {
259
+
260
+ global $wpdb;
261
+
262
+ // get an array of blog ids
263
+ $sql = "SELECT blog_id FROM $wpdb->blogs
264
+ WHERE archived = '0' AND spam = '0'
265
+ AND deleted = '0'";
266
+
267
+ return $wpdb->get_col( $sql );
268
+
269
+ }
270
+
271
+
272
+ /**
273
+ * Load the plugin text domain for translation.
274
+ *
275
+ * @since 1.0.0
276
+ */
277
+ public function load_plugin_textdomain() {
278
+
279
+ $locale = apply_filters( 'plugin_locale', get_locale(), AUXELS_TEXT_DOMAIN );
280
+ load_textdomain( AUXELS_TEXT_DOMAIN, trailingslashit( WP_LANG_DIR ) . AUXELS_TEXT_DOMAIN . '/' . AUXELS_TEXT_DOMAIN . '-' . $locale . '.mo' );
281
+ load_plugin_textdomain( AUXELS_TEXT_DOMAIN, FALSE, basename( AUXELS_DIR ) . '/languages/' );
282
+ }
283
+
284
+ }
285
+
286
+ endif;
287
+
288
+ function AUXELS(){ return AUXELS::get_instance(); }
289
+ AUXELS();
public/includes/class-auxels-frontend-assets.php ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Load frontend scripts and styles
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+
13
+ /**
14
+ * Constructor
15
+ */
16
+ class AUXELS_Frontend_Assets {
17
+
18
+
19
+ /**
20
+ * Construct
21
+ */
22
+ public function __construct() {
23
+
24
+ }
25
+
26
+ /**
27
+ * Styles for admin
28
+ *
29
+ * @return void
30
+ */
31
+ public function load_styles() {
32
+ //wp_enqueue_style( AUXELS_SLUG .'-main', AUXELS_PUB_URL . '/assets/css/main.css', array(), AUXELS_VERSION );
33
+ }
34
+
35
+ /**
36
+ * Scripts for admin
37
+ *
38
+ * @return void
39
+ */
40
+ public function load_scripts() {
41
+ //wp_enqueue_script( AUXELS_SLUG .'-main', AUXELS_PUB_URL . '/assets/js/main.js', array('jquery'), AUXELS_VERSION, true );
42
+ }
43
+
44
+ }
45
+ return new AUXELS_Frontend_Assets();
public/includes/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden
public/templates/vcomposer/auxin_shortcode_mapper.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Maps all theme shortcodes to Visual Composer
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+
public/templates/vcomposer/auxin_vc_extendes.php ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ vc_add_param( 'vc_row', array(
4
+ 'type' => 'textfield',
5
+ 'class' => '',
6
+ 'heading' => 'Anchor ID',
7
+ 'param_name'=> 'anchor_id',
8
+ 'value' => ''
9
+ ));
10
+
11
+
12
+ /* Gallery/Slideshow
13
+ ---------------------------------------------------------- */
14
+ vc_map( array(
15
+ 'name' => __( 'Image Gallery', 'auxin-elements' ),
16
+ 'base' => 'aux_gallery',
17
+ 'icon' => 'icon-wpb-images-stack',
18
+ 'category' => __( 'auxin-elements', 'auxin-elements' ),
19
+ 'description' => __( 'Auxin image gallery', 'auxin-elements' ),
20
+ 'params' => array(
21
+ array(
22
+ 'type' => 'textfield',
23
+ 'heading' => __( 'Widget title', 'auxin-elements' ),
24
+ 'param_name' => 'title',
25
+ 'description' => __( 'Enter text used as widget title (Note: located above content element).', 'auxin-elements' ),
26
+ ),
27
+ array(
28
+ 'type' => 'dropdown',
29
+ 'heading' => __( 'Gallery type', 'auxin-elements' ),
30
+ 'param_name' => 'type',
31
+ 'value' => array(
32
+ __( 'Masonry' , 'auxin-elements' ) => 'massonry',
33
+ __( 'Packery' , 'auxin-elements' ) => 'packery',
34
+ __( 'Justified' , 'auxin-elements' ) => 'justified',
35
+ __( 'Grid' , 'auxin-elements' ) => 'grid'
36
+ //__( 'Fix Grid' , 'auxin-elements' ) => 'fix_grid',
37
+ ),
38
+ 'description' => __( 'Select gallery type.', 'auxin-elements' ),
39
+ ),
40
+ array(
41
+ 'type' => 'attach_images',
42
+ 'heading' => __( 'Images', 'auxin-elements' ),
43
+ 'param_name' => 'ids',
44
+ 'value' => '',
45
+ 'description' => __( 'Select images from media library.', 'auxin-elements' )
46
+ ),
47
+ array(
48
+ 'type' => 'textfield',
49
+ 'heading' => __( 'Image size', 'auxin-elements' ),
50
+ 'param_name' => 'img_size',
51
+ 'value' => 'thumbnail',
52
+ 'description' => __( 'Enter image size. Example: thumbnail, medium, large, full or other sizes defined by current theme. Alternatively enter image size in pixels: 200x100 (Width x Height). Leave empty to use "thumbnail" size.', 'auxin-elements' ),
53
+ 'dependency' => array(
54
+ 'element' => 'source',
55
+ 'value' => 'media_library',
56
+ ),
57
+ ),
58
+ array(
59
+ 'type' => 'dropdown',
60
+ 'heading' => __( 'On click action', 'auxin-elements' ),
61
+ 'param_name' => 'onclick',
62
+ 'value' => array(
63
+ __( 'None', 'auxin-elements' ) => '',
64
+ __( 'Link to large image', 'auxin-elements' ) => 'img_link_large',
65
+ __( 'Open Lightbox', 'auxin-elements' ) => 'link_image',
66
+ __( 'Open custom link', 'auxin-elements' ) => 'custom_link',
67
+ ),
68
+ 'description' => __( 'Select action for click action.', 'auxin-elements' ),
69
+ 'std' => 'link_image',
70
+ ),
71
+ array(
72
+ 'type' => 'textfield',
73
+ 'heading' => __( 'Extra class name', 'auxin-elements' ),
74
+ 'param_name' => 'el_class',
75
+ 'description' => __( 'Style particular content element differently - add a class name and refer to it in custom CSS.', 'auxin-elements' ),
76
+ ),
77
+ array(
78
+ 'type' => 'css_editor',
79
+ 'heading' => __( 'CSS box', 'auxin-elements' ),
80
+ 'param_name' => 'css',
81
+ 'group' => __( 'Design Options', 'auxin-elements' ),
82
+ )
83
+ )
84
+ ));
85
+
86
+
public/templates/vcomposer/vc_raw_html.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! defined( 'ABSPATH' ) ) {
3
+ die( '-1' );
4
+ }
5
+
6
+ /**
7
+ * Shortcode attributes
8
+ * @var $atts
9
+ * @var $el_class
10
+ * @var $content - shortcode content
11
+ * @var $css
12
+ * Shortcode class
13
+ * @var $this WPBakeryShortCode_VC_Raw_html
14
+ */
15
+ $el_class = $css = '';
16
+ $atts = vc_map_get_attributes( $this->getShortcode(), $atts );
17
+ extract( $atts );
18
+
19
+ $content = rawurldecode( base64_decode( strip_tags( $content ) ) );
20
+
21
+ // template is also used by 'Raw JS' shortcode which doesn't have Design Options
22
+ if ( ! isset( $css ) ) {
23
+ $css = '';
24
+ }
25
+
26
+ $class_to_filter = 'wpb_raw_code ' . ( ( 'vc_raw_html' === $this->settings['base'] ) ? 'wpb_content_element wpb_raw_html' : 'wpb_raw_js' );
27
+ $class_to_filter .= vc_shortcode_custom_css_class( $css, ' ' ) . $this->getExtraClass( $el_class );
28
+ $css_class = apply_filters( VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, $class_to_filter, $this->settings['base'], $atts );
29
+
30
+ $output = '
31
+ <div class="' . esc_attr( $css_class ) . '">
32
+ <div class="wpb_wrapper">
33
+ ' . do_shortcode( $content ). '
34
+ </div>
35
+ </div>
36
+ ';
37
+
38
+ echo $output;
public/templates/vcomposer/vc_row.php ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) {
4
+ die( '-1' );
5
+ }
6
+
7
+ /**
8
+ * Shortcode attributes
9
+ * @var $atts
10
+ * @var $el_class
11
+ * @var $full_width
12
+ * @var $full_height
13
+ * @var $equal_height
14
+ * @var $columns_placement
15
+ * @var $content_placement
16
+ * @var $parallax
17
+ * @var $parallax_image
18
+ * @var $css
19
+ * @var $el_id
20
+ * @var $video_bg
21
+ * @var $video_bg_url
22
+ * @var $video_bg_parallax
23
+ * @var $parallax_speed_bg
24
+ * @var $parallax_speed_video
25
+ * @var $content - shortcode content
26
+ * Shortcode class
27
+ * @var $this WPBakeryShortCode_VC_Row
28
+ */
29
+ $el_class = $full_height = $parallax_speed_bg = $parallax_speed_video = $full_width = $equal_height = $flex_row = $columns_placement = $content_placement = $parallax = $parallax_image = $css = $el_id = $video_bg = $video_bg_url = $video_bg_parallax = '';
30
+ $output = $after_output = '';
31
+ $atts = vc_map_get_attributes( $this->getShortcode(), $atts );
32
+ extract( $atts );
33
+
34
+ $aux_row_inner_wrapper_start = '';
35
+ $aux_row_inner_wrapper_end = '';
36
+ $aux_row_parent_wrapper_start = '';
37
+ $aux_row_parent_wrapper_end = '';
38
+
39
+
40
+
41
+ wp_enqueue_script( 'wpb_composer_front_js' );
42
+
43
+ $el_class = $this->getExtraClass( $el_class );
44
+
45
+ $css_classes = array(
46
+ 'vc_row',
47
+ 'wpb_row', //deprecated
48
+ 'vc_row-fluid',
49
+ $el_class,
50
+ vc_shortcode_custom_css_class( $css ),
51
+ );
52
+
53
+ if (vc_shortcode_custom_css_has_property( $css, array('border', 'background') ) || $video_bg || $parallax) {
54
+ $css_classes[]='vc_row-has-fill';
55
+ }
56
+
57
+ if (!empty($atts['gap'])) {
58
+ $css_classes[] = 'vc_column-gap-'.$atts['gap'];
59
+ }
60
+
61
+ $wrapper_attributes = array();
62
+ // build attributes for wrapper
63
+ if ( ! empty( $el_id ) ) {
64
+ $wrapper_attributes[] = 'id="' . esc_attr( $el_id ) . '"';
65
+ }
66
+
67
+ if ( ! empty( $full_width ) ) {
68
+ if ( 'stretch_row' === $full_width ) {
69
+ $aux_row_inner_wrapper_start = '<div class="aux-vc-row-content-wrapper container aux-fold"><div class="aux-vc-row-inner-wrapper">' ;
70
+ $aux_row_inner_wrapper_end = '</div></div>';
71
+ $css_classes[] = 'aux-vc-reset-gutter';
72
+ } elseif ( 'stretch_row_content' === $full_width ) {
73
+ $css_classes[] = 'aux-vc-row-full';
74
+ } elseif ( 'stretch_row_content_no_spaces' === $full_width ) {
75
+ $css_classes[] = 'vc_row-no-padding';
76
+ }
77
+ $after_output .= '<div class="vc_row-full-width vc_clearfix"></div>';
78
+ } else {
79
+ $css_classes[] = 'aux-vc-reset-gutter';
80
+ $aux_row_parent_wrapper_start = '<div class="aux-vc-row-wrapper container aux-fold">' ;
81
+ $aux_row_parent_wrapper_end = '</div>';
82
+ $aux_row_inner_wrapper_start = '<div class="aux-vc-row-inner-wrapper">' ;
83
+ $aux_row_inner_wrapper_end = '</div>';
84
+ }
85
+
86
+ if ( ! empty( $full_height ) ) {
87
+ $css_classes[] = 'vc_row-o-full-height';
88
+ if ( ! empty( $columns_placement ) ) {
89
+ $flex_row = true;
90
+ $css_classes[] = 'vc_row-o-columns-' . $columns_placement;
91
+ if ( 'stretch' === $columns_placement ) {
92
+ $css_classes[] = 'vc_row-o-equal-height';
93
+ }
94
+ }
95
+ }
96
+
97
+ if ( ! empty( $equal_height ) ) {
98
+ $flex_row = true;
99
+ $css_classes[] = 'vc_row-o-equal-height';
100
+ }
101
+
102
+ if ( ! empty( $content_placement ) ) {
103
+ $flex_row = true;
104
+ $css_classes[] = 'vc_row-o-content-' . $content_placement;
105
+ }
106
+
107
+ if ( ! empty( $flex_row ) ) {
108
+ $css_classes[] = 'vc_row-flex';
109
+ }
110
+
111
+ $has_video_bg = ( ! empty( $video_bg ) && ! empty( $video_bg_url ) && vc_extract_youtube_id( $video_bg_url ) );
112
+
113
+ $parallax_speed = $parallax_speed_bg;
114
+ if ( $has_video_bg ) {
115
+ $parallax = $video_bg_parallax;
116
+ $parallax_speed = $parallax_speed_video;
117
+ $parallax_image = $video_bg_url;
118
+ $css_classes[] = 'vc_video-bg-container';
119
+ wp_enqueue_script( 'vc_youtube_iframe_api_js' );
120
+ }
121
+
122
+ if ( ! empty( $parallax ) ) {
123
+ wp_enqueue_script( 'vc_jquery_skrollr_js' );
124
+ $wrapper_attributes[] = 'data-vc-parallax="' . esc_attr( $parallax_speed ) . '"'; // parallax speed
125
+ $css_classes[] = 'vc_general vc_parallax vc_parallax-' . $parallax;
126
+ if ( false !== strpos( $parallax, 'fade' ) ) {
127
+ $css_classes[] = 'js-vc_parallax-o-fade';
128
+ $wrapper_attributes[] = 'data-vc-parallax-o-fade="on"';
129
+ } elseif ( false !== strpos( $parallax, 'fixed' ) ) {
130
+ $css_classes[] = 'js-vc_parallax-o-fixed';
131
+ }
132
+ }
133
+
134
+ if ( ! empty( $parallax_image ) ) {
135
+ if ( $has_video_bg ) {
136
+ $parallax_image_src = $parallax_image;
137
+ } else {
138
+ $parallax_image_id = preg_replace( '/[^\d]/', '', $parallax_image );
139
+ $parallax_image_src = wp_get_attachment_image_src( $parallax_image_id, 'full' );
140
+ if ( ! empty( $parallax_image_src[0] ) ) {
141
+ $parallax_image_src = $parallax_image_src[0];
142
+ }
143
+ }
144
+ $wrapper_attributes[] = 'data-vc-parallax-image="' . esc_attr( $parallax_image_src ) . '"';
145
+ }
146
+ if ( ! $parallax && $has_video_bg ) {
147
+ $wrapper_attributes[] = 'data-vc-video-bg="' . esc_attr( $video_bg_url ) . '"';
148
+ }
149
+ $css_class = preg_replace( '/\s+/', ' ', apply_filters( VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, implode( ' ', array_filter( array_unique( $css_classes ) ) ), $this->settings['base'], $atts ) );
150
+ $wrapper_attributes[] = 'class="' . esc_attr( trim( $css_class ) ) . '"';
151
+
152
+ $output .= $aux_row_parent_wrapper_start;
153
+ $output .= '<div ' . implode( ' ', $wrapper_attributes ) . '>';
154
+ $output .= $aux_row_inner_wrapper_start;
155
+ $output .= wpb_js_remove_wpautop( $content );
156
+ $output .= $aux_row_inner_wrapper_end;
157
+ $output .= '</div>';
158
+ $output .= $aux_row_parent_wrapper_end;
159
+ $output .= $after_output;
160
+
161
+ echo $output;
162
+
uninstall.php ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Fired when the plugin is uninstalled.
4
+ *
5
+ *
6
+ * @package auxin-elements
7
+ * @license LICENSE.txt
8
+ * @author
9
+ * @link https://bitbucket.org/averta/
10
+ * @copyright (c) 2010-2016
11
+ */
12
+
13
+ // If uninstall not called from WordPress, then exit
14
+ if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
15
+ exit( 'No Naughty Business Please !' );
16
+ }