Version Description
Download this release
Release Info
Developer | gpriday |
Plugin | Page Builder by SiteOrigin |
Version | 2.5.7 |
Comparing to | |
See all releases |
Code changes from version 2.5.6 to 2.5.7
- inc/admin.php +10 -4
- inc/settings.php +11 -1
- lang/siteorigin-panels.pot +184 -176
- readme.txt +7 -2
- siteorigin-panels.php +60 -10
- tpl/js-templates.php +7 -5
inc/admin.php
CHANGED
@@ -23,7 +23,7 @@ class SiteOrigin_Panels_Admin {
|
|
23 |
|
24 |
add_action( 'add_meta_boxes', array( $this, 'add_meta_boxes' ) );
|
25 |
add_action( 'admin_init', array( $this, 'save_home_page' ) );
|
26 |
-
add_action( 'save_post', array( $this, 'save_post' )
|
27 |
|
28 |
add_action( 'after_switch_theme', array( $this, 'update_home_on_theme_change' ) );
|
29 |
|
@@ -118,6 +118,10 @@ class SiteOrigin_Panels_Admin {
|
|
118 |
unset( $links['edit'] );
|
119 |
$links[] = '<a href="http://siteorigin.com/threads/plugin-page-builder/">' . __( 'Support Forum', 'siteorigin-panels' ) . '</a>';
|
120 |
$links[] = '<a href="http://siteorigin.com/page-builder/#newsletter">' . __( 'Newsletter', 'siteorigin-panels' ) . '</a>';
|
|
|
|
|
|
|
|
|
121 |
|
122 |
return $links;
|
123 |
}
|
@@ -156,7 +160,7 @@ class SiteOrigin_Panels_Admin {
|
|
156 |
*
|
157 |
* @action save_post
|
158 |
*/
|
159 |
-
function save_post( $post_id
|
160 |
// Check that everything is valid with this save.
|
161 |
if(
|
162 |
$this->in_save_post ||
|
@@ -169,8 +173,10 @@ class SiteOrigin_Panels_Admin {
|
|
169 |
return;
|
170 |
}
|
171 |
$this->in_save_post = true;
|
172 |
-
|
173 |
-
$
|
|
|
|
|
174 |
|
175 |
$panels_data['widgets'] = $this->process_raw_widgets(
|
176 |
$panels_data['widgets'],
|
23 |
|
24 |
add_action( 'add_meta_boxes', array( $this, 'add_meta_boxes' ) );
|
25 |
add_action( 'admin_init', array( $this, 'save_home_page' ) );
|
26 |
+
add_action( 'save_post', array( $this, 'save_post' ) );
|
27 |
|
28 |
add_action( 'after_switch_theme', array( $this, 'update_home_on_theme_change' ) );
|
29 |
|
118 |
unset( $links['edit'] );
|
119 |
$links[] = '<a href="http://siteorigin.com/threads/plugin-page-builder/">' . __( 'Support Forum', 'siteorigin-panels' ) . '</a>';
|
120 |
$links[] = '<a href="http://siteorigin.com/page-builder/#newsletter">' . __( 'Newsletter', 'siteorigin-panels' ) . '</a>';
|
121 |
+
|
122 |
+
if( SiteOrigin_Panels::display_premium_teaser() ) {
|
123 |
+
$links[] = '<a href="' . esc_url( SiteOrigin_Panels::premium_url() ) . '" style="color: #3db634" target="_blank">' . __('Addons', 'siteorigin-panels') . '</a>';
|
124 |
+
}
|
125 |
|
126 |
return $links;
|
127 |
}
|
160 |
*
|
161 |
* @action save_post
|
162 |
*/
|
163 |
+
function save_post( $post_id ) {
|
164 |
// Check that everything is valid with this save.
|
165 |
if(
|
166 |
$this->in_save_post ||
|
173 |
return;
|
174 |
}
|
175 |
$this->in_save_post = true;
|
176 |
+
// Get post from db as it might have been changed and saved by other plugins.
|
177 |
+
$post = get_post( $post_id );
|
178 |
+
$old_panels_data = get_post_meta( $post_id, 'panels_data', true );
|
179 |
+
$panels_data = json_decode( wp_unslash( $_POST['panels_data'] ), true );
|
180 |
|
181 |
$panels_data['widgets'] = $this->process_raw_widgets(
|
182 |
$panels_data['widgets'],
|
inc/settings.php
CHANGED
@@ -260,13 +260,23 @@ class SiteOrigin_Panels_Settings {
|
|
260 |
'label' => __( 'Sidebars Emulator', 'siteorigin-panels' ),
|
261 |
'description' => __( 'Page Builder will create an emulated sidebar, that contains all widgets in the page.', 'siteorigin-panels' ),
|
262 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
263 |
|
264 |
$fields['general']['fields']['display-learn'] = array(
|
265 |
'type' => 'checkbox',
|
266 |
'label' => __( 'Page Builder Learning', 'siteorigin-panels' ),
|
267 |
'description' => __( 'Display buttons for Page Builder learning.', 'siteorigin-panels' )
|
268 |
);
|
269 |
-
|
270 |
$fields['general']['fields']['load-on-attach'] = array(
|
271 |
'type' => 'checkbox',
|
272 |
'label' => __( 'Default To Page Builder Interface', 'siteorigin-panels' ),
|
260 |
'label' => __( 'Sidebars Emulator', 'siteorigin-panels' ),
|
261 |
'description' => __( 'Page Builder will create an emulated sidebar, that contains all widgets in the page.', 'siteorigin-panels' ),
|
262 |
);
|
263 |
+
|
264 |
+
$fields['general']['fields']['display-teaser'] = array(
|
265 |
+
'type' => 'checkbox',
|
266 |
+
'label' => __('Upgrade Teaser', 'siteorigin-panels'),
|
267 |
+
'description' => sprintf(
|
268 |
+
__('Display the %sSiteOrigin Premium%s upgrade teaser in the Page Builder toolbar.', 'siteorigin-panels'),
|
269 |
+
'<a href="siteorigin.com/downloads/premium/" target="_blank">',
|
270 |
+
'</a>'
|
271 |
+
)
|
272 |
+
);
|
273 |
|
274 |
$fields['general']['fields']['display-learn'] = array(
|
275 |
'type' => 'checkbox',
|
276 |
'label' => __( 'Page Builder Learning', 'siteorigin-panels' ),
|
277 |
'description' => __( 'Display buttons for Page Builder learning.', 'siteorigin-panels' )
|
278 |
);
|
279 |
+
|
280 |
$fields['general']['fields']['load-on-attach'] = array(
|
281 |
'type' => 'checkbox',
|
282 |
'label' => __( 'Default To Page Builder Interface', 'siteorigin-panels' ),
|
lang/siteorigin-panels.pot
CHANGED
@@ -61,7 +61,7 @@ msgstr ""
|
|
61 |
msgid "WordPress Widgets"
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: tmp/inc/admin-widget-dialog.php:183, tmp/inc/settings.php:
|
65 |
msgid "Recommended Widgets"
|
66 |
msgstr ""
|
67 |
|
@@ -81,331 +81,335 @@ msgstr ""
|
|
81 |
msgid "Newsletter"
|
82 |
msgstr ""
|
83 |
|
84 |
-
#: tmp/inc/admin.php:
|
|
|
|
|
|
|
|
|
85 |
msgid "Page Builder"
|
86 |
msgstr ""
|
87 |
|
88 |
-
#: tmp/inc/admin.php:
|
89 |
msgid "All Widgets"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: tmp/inc/admin.php:
|
93 |
msgid "Missing Widget"
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: tmp/inc/admin.php:
|
97 |
msgid "Page Builder doesn't know about this widget."
|
98 |
msgstr ""
|
99 |
|
100 |
-
#: tmp/inc/admin.php:
|
101 |
msgid "%d seconds"
|
102 |
msgstr ""
|
103 |
|
104 |
-
#: tmp/inc/admin.php:
|
105 |
msgid "%d minutes"
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: tmp/inc/admin.php:
|
109 |
msgid "%d hours"
|
110 |
msgstr ""
|
111 |
|
112 |
-
#: tmp/inc/admin.php:
|
113 |
msgid "%d second"
|
114 |
msgstr ""
|
115 |
|
116 |
-
#: tmp/inc/admin.php:
|
117 |
msgid "%d minute"
|
118 |
msgstr ""
|
119 |
|
120 |
-
#: tmp/inc/admin.php:
|
121 |
msgid "%d hour"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: tmp/inc/admin.php:
|
125 |
msgid "%s before"
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: tmp/inc/admin.php:
|
129 |
msgid "Now"
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: tmp/inc/admin.php:
|
133 |
msgid "Current"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: tmp/inc/admin.php:
|
137 |
msgid "Original"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: tmp/inc/admin.php:
|
141 |
msgid "Version restored"
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: tmp/inc/admin.php:
|
145 |
msgid "Converted to editor"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: tmp/inc/admin.php:
|
149 |
msgid "Widget deleted"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: tmp/inc/admin.php:
|
153 |
msgid "Widget added"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: tmp/inc/admin.php:
|
157 |
msgid "Widget edited"
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: tmp/inc/admin.php:
|
161 |
msgid "Widget duplicated"
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: tmp/inc/admin.php:
|
165 |
msgid "Widget moved"
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: tmp/inc/admin.php:
|
169 |
msgid "Row deleted"
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: tmp/inc/admin.php:
|
173 |
msgid "Row added"
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: tmp/inc/admin.php:
|
177 |
msgid "Row edited"
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: tmp/inc/admin.php:
|
181 |
msgid "Row moved"
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: tmp/inc/admin.php:
|
185 |
msgid "Row duplicated"
|
186 |
msgstr ""
|
187 |
|
188 |
-
#: tmp/inc/admin.php:
|
189 |
msgid "Row pasted"
|
190 |
msgstr ""
|
191 |
|
192 |
-
#: tmp/inc/admin.php:
|
193 |
msgid "Cell resized"
|
194 |
msgstr ""
|
195 |
|
196 |
-
#: tmp/inc/admin.php:
|
197 |
msgid "Prebuilt layout loaded"
|
198 |
msgstr ""
|
199 |
|
200 |
-
#: tmp/inc/admin.php:
|
201 |
msgid "Loading prebuilt layout"
|
202 |
msgstr ""
|
203 |
|
204 |
-
#: tmp/inc/admin.php:
|
205 |
msgid "Would you like to copy this editor's existing content to Page Builder?"
|
206 |
msgstr ""
|
207 |
|
208 |
-
#: tmp/inc/admin.php:
|
209 |
msgid "Would you like to clear your Page Builder content and revert to using the standard visual editor?"
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: tmp/inc/admin.php:
|
213 |
msgid "Layout Builder Widget"
|
214 |
msgstr ""
|
215 |
|
216 |
-
#: tmp/inc/admin.php:
|
217 |
msgid "Are you sure?"
|
218 |
msgstr ""
|
219 |
|
220 |
-
#: tmp/inc/admin.php:
|
221 |
msgid "%s is ready to insert."
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: tmp/inc/admin.php:
|
225 |
msgid "Add Widget Below"
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: tmp/inc/admin.php:
|
229 |
msgid "Add Widget to Cell"
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: tmp/inc/admin.php:
|
233 |
msgid "Search Widgets"
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: tmp/inc/admin.php:
|
237 |
msgid "Add Row"
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: tmp/inc/admin.php:
|
241 |
msgid "Column"
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: tmp/inc/admin.php:
|
245 |
msgid "Cell Actions"
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: tmp/inc/admin.php:
|
249 |
msgid "Paste Widget"
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: tmp/inc/admin.php:
|
253 |
msgid "Widget Actions"
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: tmp/inc/admin.php:
|
257 |
msgid "Edit Widget"
|
258 |
msgstr ""
|
259 |
|
260 |
-
#: tmp/inc/admin.php:
|
261 |
msgid "Duplicate Widget"
|
262 |
msgstr ""
|
263 |
|
264 |
-
#: tmp/inc/admin.php:
|
265 |
msgid "Delete Widget"
|
266 |
msgstr ""
|
267 |
|
268 |
-
#: tmp/inc/admin.php:
|
269 |
msgid "Copy Widget"
|
270 |
msgstr ""
|
271 |
|
272 |
-
#: tmp/inc/admin.php:
|
273 |
msgid "Paste Widget Below"
|
274 |
msgstr ""
|
275 |
|
276 |
-
#: tmp/inc/admin.php:
|
277 |
msgid "Row Actions"
|
278 |
msgstr ""
|
279 |
|
280 |
-
#: tmp/inc/admin.php:
|
281 |
msgid "Edit Row"
|
282 |
msgstr ""
|
283 |
|
284 |
-
#: tmp/inc/admin.php:
|
285 |
msgid "Duplicate Row"
|
286 |
msgstr ""
|
287 |
|
288 |
-
#: tmp/inc/admin.php:
|
289 |
msgid "Delete Row"
|
290 |
msgstr ""
|
291 |
|
292 |
-
#: tmp/inc/admin.php:
|
293 |
msgid "Copy Row"
|
294 |
msgstr ""
|
295 |
|
296 |
-
#: tmp/inc/admin.php:
|
297 |
msgid "Paste Row"
|
298 |
msgstr ""
|
299 |
|
300 |
-
#: tmp/inc/admin.php:
|
301 |
msgid "Draft"
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: tmp/inc/admin.php:
|
305 |
msgid "Untitled"
|
306 |
msgstr ""
|
307 |
|
308 |
-
#: tmp/inc/admin.php:
|
309 |
msgid "New Row"
|
310 |
msgstr ""
|
311 |
|
312 |
-
#: tmp/inc/admin.php:
|
313 |
msgid "Row"
|
314 |
msgstr ""
|
315 |
|
316 |
-
#: tmp/inc/admin.php:
|
317 |
msgid "Page Builder layouts"
|
318 |
msgstr ""
|
319 |
|
320 |
-
#: tmp/inc/admin.php:
|
321 |
msgid "Error uploading or importing file."
|
322 |
msgstr ""
|
323 |
|
324 |
-
#: tmp/inc/admin.php:
|
325 |
msgid "Home Page"
|
326 |
msgstr ""
|
327 |
|
328 |
-
#: tmp/inc/admin.php:
|
329 |
msgid "Untitled Widget"
|
330 |
msgstr ""
|
331 |
|
332 |
-
#: tmp/inc/admin.php:
|
333 |
msgid "You need to install 1{%1$s} to use the widget 2{%2$s}."
|
334 |
msgstr ""
|
335 |
|
336 |
-
#: tmp/inc/admin.php:
|
337 |
msgid "Save and reload this page to start using the widget after you've installed it."
|
338 |
msgstr ""
|
339 |
|
340 |
-
#: tmp/inc/admin.php:
|
341 |
msgid "The widget 1{%1$s} is not available. Please try locate and install the missing plugin. Post on the 2{support forums} if you need help."
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: tmp/inc/admin.php:
|
345 |
msgid "%s Widgets"
|
346 |
msgstr ""
|
347 |
|
348 |
-
#: tmp/inc/admin.php:
|
349 |
msgid "12 Page Builder Tips"
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: tmp/inc/admin.php:
|
353 |
msgid "Sign up to our newsletter and we'll send you this free Page Builder video course."
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: tmp/inc/admin.php:
|
357 |
msgid "12 tips that'll help you get the most out of Page Builder."
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: tmp/inc/admin.php:
|
361 |
msgid "Watch the video to find out more, then sign up below to get started."
|
362 |
msgstr ""
|
363 |
|
364 |
-
#: tmp/inc/admin.php:
|
365 |
msgid "We'll email you a confirmation. You can unsubscribe at any time."
|
366 |
msgstr ""
|
367 |
|
368 |
-
#: tmp/inc/admin.php:
|
369 |
msgid "Free Page Builder Addons"
|
370 |
msgstr ""
|
371 |
|
372 |
-
#: tmp/inc/admin.php:
|
373 |
msgid "The free animations addon allows you to add beautiful animations to Page Builder elements."
|
374 |
msgstr ""
|
375 |
|
376 |
-
#: tmp/inc/admin.php:
|
377 |
msgid "Sign up to our newsletter and we'll send you the addon as a free gift."
|
378 |
msgstr ""
|
379 |
|
380 |
-
#: tmp/inc/admin.php:
|
381 |
msgid "Plus, we'll send you even more powerful addons, for as long as you're subscribed."
|
382 |
msgstr ""
|
383 |
|
384 |
-
#: tmp/inc/admin.php:
|
385 |
msgid "Watch Intro Video"
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: tmp/inc/admin.php:
|
389 |
msgid "Loaded from Vimeo Servers"
|
390 |
msgstr ""
|
391 |
|
392 |
-
#: tmp/inc/admin.php:
|
393 |
msgid "Please enter a valid email address."
|
394 |
msgstr ""
|
395 |
|
396 |
-
#: tmp/inc/admin.php:
|
397 |
msgid "Your Name"
|
398 |
msgstr ""
|
399 |
|
400 |
-
#: tmp/inc/admin.php:
|
401 |
msgid "Your Email"
|
402 |
msgstr ""
|
403 |
|
404 |
-
#: tmp/inc/admin.php:
|
405 |
msgid "Sign Up"
|
406 |
msgstr ""
|
407 |
|
408 |
-
#: tmp/inc/admin.php:
|
409 |
msgid "Close"
|
410 |
msgstr ""
|
411 |
|
@@ -518,170 +522,178 @@ msgid "Page Builder will create an emulated sidebar, that contains all widgets i
|
|
518 |
msgstr ""
|
519 |
|
520 |
#: tmp/inc/settings.php:266
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
521 |
msgid "Page Builder Learning"
|
522 |
msgstr ""
|
523 |
|
524 |
-
#: tmp/inc/settings.php:
|
525 |
msgid "Display buttons for Page Builder learning."
|
526 |
msgstr ""
|
527 |
|
528 |
-
#: tmp/inc/settings.php:
|
529 |
msgid "Default To Page Builder Interface"
|
530 |
msgstr ""
|
531 |
|
532 |
-
#: tmp/inc/settings.php:
|
533 |
msgid "New posts/pages that you create will start with the Page Builder loaded."
|
534 |
msgstr ""
|
535 |
|
536 |
-
#: tmp/inc/settings.php:
|
537 |
msgid "Widgets"
|
538 |
msgstr ""
|
539 |
|
540 |
-
#: tmp/inc/settings.php:
|
541 |
msgid "Widget Title HTML"
|
542 |
msgstr ""
|
543 |
|
544 |
-
#: tmp/inc/settings.php:
|
545 |
msgid "The HTML used for widget titles. {{title}} is replaced with the widget title."
|
546 |
msgstr ""
|
547 |
|
548 |
-
#: tmp/inc/settings.php:
|
549 |
msgid "Add Widget Class"
|
550 |
msgstr ""
|
551 |
|
552 |
-
#: tmp/inc/settings.php:
|
553 |
msgid "Add the widget class to Page Builder widgets. Disable this if you're experiencing conflicts."
|
554 |
msgstr ""
|
555 |
|
556 |
-
#: tmp/inc/settings.php:
|
557 |
msgid "Legacy Bundled Widgets"
|
558 |
msgstr ""
|
559 |
|
560 |
-
#: tmp/inc/settings.php:
|
561 |
msgid "Load legacy widgets from Page Builder 1."
|
562 |
msgstr ""
|
563 |
|
564 |
-
#: tmp/inc/settings.php:
|
565 |
msgid "Display recommend widgets in Page Builder add widget dialog."
|
566 |
msgstr ""
|
567 |
|
568 |
-
#: tmp/inc/settings.php:
|
569 |
msgid "Layout"
|
570 |
msgstr ""
|
571 |
|
572 |
-
#: tmp/inc/settings.php:
|
573 |
msgid "Responsive Layout"
|
574 |
msgstr ""
|
575 |
|
576 |
-
#: tmp/inc/settings.php:
|
577 |
msgid "Collapse widgets, rows and columns on mobile devices."
|
578 |
msgstr ""
|
579 |
|
580 |
-
#: tmp/inc/settings.php:
|
581 |
msgid "Use Tablet Layout"
|
582 |
msgstr ""
|
583 |
|
584 |
-
#: tmp/inc/settings.php:
|
585 |
msgid "Collapses columns differently on tablet devices."
|
586 |
msgstr ""
|
587 |
|
588 |
-
#: tmp/inc/settings.php:
|
589 |
msgid "Detect older browsers"
|
590 |
msgstr ""
|
591 |
|
592 |
-
#: tmp/inc/settings.php:
|
593 |
msgid "Never"
|
594 |
msgstr ""
|
595 |
|
596 |
-
#: tmp/inc/settings.php:
|
597 |
msgid "Always"
|
598 |
msgstr ""
|
599 |
|
600 |
-
#: tmp/inc/settings.php:
|
601 |
msgid "Use Legacy Layout Engine"
|
602 |
msgstr ""
|
603 |
|
604 |
-
#: tmp/inc/settings.php:
|
605 |
msgid "The CSS and HTML uses floats instead of flexbox for compatibility with very old browsers."
|
606 |
msgstr ""
|
607 |
|
608 |
-
#: tmp/inc/settings.php:
|
609 |
msgid "Tablet Width"
|
610 |
msgstr ""
|
611 |
|
612 |
-
#: tmp/inc/settings.php:
|
613 |
msgid "Device width, in pixels, to collapse into a tablet view ."
|
614 |
msgstr ""
|
615 |
|
616 |
-
#: tmp/inc/settings.php:
|
617 |
msgid "Mobile Width"
|
618 |
msgstr ""
|
619 |
|
620 |
-
#: tmp/inc/settings.php:
|
621 |
msgid "Device width, in pixels, to collapse into a mobile view ."
|
622 |
msgstr ""
|
623 |
|
624 |
-
#: tmp/inc/settings.php:
|
625 |
msgid "Row/Widget Bottom Margin"
|
626 |
msgstr ""
|
627 |
|
628 |
-
#: tmp/inc/settings.php:
|
629 |
msgid "Default margin below rows and widgets."
|
630 |
msgstr ""
|
631 |
|
632 |
-
#: tmp/inc/settings.php:
|
633 |
msgid "Last Row With Margin"
|
634 |
msgstr ""
|
635 |
|
636 |
-
#: tmp/inc/settings.php:
|
637 |
msgid "Allow margin in last row."
|
638 |
msgstr ""
|
639 |
|
640 |
-
#: tmp/inc/settings.php:
|
641 |
msgid "Row Gutter"
|
642 |
msgstr ""
|
643 |
|
644 |
-
#: tmp/inc/settings.php:
|
645 |
msgid "Default spacing between columns in each row."
|
646 |
msgstr ""
|
647 |
|
648 |
-
#: tmp/inc/settings.php:
|
649 |
msgid "Full Width Container"
|
650 |
msgstr ""
|
651 |
|
652 |
-
#: tmp/inc/settings.php:
|
653 |
msgid "The container used for the full width layout."
|
654 |
msgstr ""
|
655 |
|
656 |
-
#: tmp/inc/settings.php:
|
657 |
msgid "Content"
|
658 |
msgstr ""
|
659 |
|
660 |
-
#: tmp/inc/settings.php:
|
661 |
msgid "Copy Content"
|
662 |
msgstr ""
|
663 |
|
664 |
-
#: tmp/inc/settings.php:
|
665 |
msgid "Copy content from Page Builder to post content."
|
666 |
msgstr ""
|
667 |
|
668 |
-
#: tmp/inc/settings.php:
|
669 |
msgid "Copy Styles"
|
670 |
msgstr ""
|
671 |
|
672 |
-
#: tmp/inc/settings.php:
|
673 |
msgid "Include styles into your Post Content. This keeps page layouts, even when Page Builder is deactivated."
|
674 |
msgstr ""
|
675 |
|
676 |
-
#: tmp/inc/settings.php:
|
677 |
msgid "Content Cache"
|
678 |
msgstr ""
|
679 |
|
680 |
-
#: tmp/inc/settings.php:
|
681 |
msgid "Cache CSS and HTML generated by Page Builder."
|
682 |
msgstr ""
|
683 |
|
684 |
-
#: tmp/inc/settings.php:
|
685 |
msgid "Enabled"
|
686 |
msgstr ""
|
687 |
|
@@ -941,7 +953,7 @@ msgstr ""
|
|
941 |
msgid "Color of links inside this cell."
|
942 |
msgstr ""
|
943 |
|
944 |
-
#: tmp/inc/styles.php:304, tmp/tpl/js-templates.php:
|
945 |
msgid "Widget"
|
946 |
msgstr ""
|
947 |
|
@@ -1125,11 +1137,11 @@ msgstr ""
|
|
1125 |
msgid "Read More"
|
1126 |
msgstr ""
|
1127 |
|
1128 |
-
#: tmp/siteorigin-panels.php:
|
1129 |
msgid "Edit Home Page"
|
1130 |
msgstr ""
|
1131 |
|
1132 |
-
#: tmp/siteorigin-panels.php:
|
1133 |
msgid "Live Editor"
|
1134 |
msgstr ""
|
1135 |
|
@@ -1193,179 +1205,175 @@ msgstr ""
|
|
1193 |
msgid "Page Builder Addons"
|
1194 |
msgstr ""
|
1195 |
|
1196 |
-
#: tmp/tpl/js-templates.php:
|
1197 |
-
msgid "
|
1198 |
-
msgstr ""
|
1199 |
-
|
1200 |
-
#: tmp/tpl/js-templates.php:47
|
1201 |
-
msgid "Learn Page Builder"
|
1202 |
msgstr ""
|
1203 |
|
1204 |
-
#: tmp/tpl/js-templates.php:
|
1205 |
-
msgid "
|
1206 |
msgstr ""
|
1207 |
|
1208 |
-
#: tmp/tpl/js-templates.php:
|
1209 |
msgid "Revert to Editor"
|
1210 |
msgstr ""
|
1211 |
|
1212 |
-
#: tmp/tpl/js-templates.php:
|
1213 |
msgid "Add a %s, %s or %s to get started. Read our %s if you need help."
|
1214 |
msgstr ""
|
1215 |
|
1216 |
-
#: tmp/tpl/js-templates.php:
|
1217 |
msgid "Prebuilt Layout"
|
1218 |
msgstr ""
|
1219 |
|
1220 |
-
#: tmp/tpl/js-templates.php:
|
1221 |
msgid "documentation"
|
1222 |
msgstr ""
|
1223 |
|
1224 |
-
#: tmp/tpl/js-templates.php:
|
1225 |
msgid "Pro Tip"
|
1226 |
msgstr ""
|
1227 |
|
1228 |
-
#: tmp/tpl/js-templates.php:
|
1229 |
msgid "12 tips every Page Builder user should know."
|
1230 |
msgstr ""
|
1231 |
|
1232 |
-
#: tmp/tpl/js-templates.php:
|
1233 |
msgid "Edit"
|
1234 |
msgstr ""
|
1235 |
|
1236 |
-
#: tmp/tpl/js-templates.php:
|
1237 |
msgid "Duplicate"
|
1238 |
msgstr ""
|
1239 |
|
1240 |
-
#: tmp/tpl/js-templates.php:
|
1241 |
msgid "Delete"
|
1242 |
msgstr ""
|
1243 |
|
1244 |
-
#: tmp/tpl/js-templates.php:
|
1245 |
msgid "Done"
|
1246 |
msgstr ""
|
1247 |
|
1248 |
-
#: tmp/tpl/js-templates.php:
|
1249 |
msgid "Add New Widget %s"
|
1250 |
msgstr ""
|
1251 |
|
1252 |
-
#: tmp/tpl/js-templates.php:
|
1253 |
msgid "Left to Right"
|
1254 |
msgstr ""
|
1255 |
|
1256 |
-
#: tmp/tpl/js-templates.php:
|
1257 |
msgid "Right to Left"
|
1258 |
msgstr ""
|
1259 |
|
1260 |
-
#: tmp/tpl/js-templates.php:
|
1261 |
msgid "1{Set row layout}: %1$s columns with a ratio of %2$s going from %3$s"
|
1262 |
msgstr ""
|
1263 |
|
1264 |
-
#: tmp/tpl/js-templates.php:
|
1265 |
msgid "Set"
|
1266 |
msgstr ""
|
1267 |
|
1268 |
-
#: tmp/tpl/js-templates.php:
|
1269 |
msgid "Insert"
|
1270 |
msgstr ""
|
1271 |
|
1272 |
-
#: tmp/tpl/js-templates.php:
|
1273 |
msgid "Page Builder Layouts"
|
1274 |
msgstr ""
|
1275 |
|
1276 |
-
#: tmp/tpl/js-templates.php:
|
1277 |
msgid "Search"
|
1278 |
msgstr ""
|
1279 |
|
1280 |
-
#: tmp/tpl/js-templates.php:
|
1281 |
msgid "Theme Defined"
|
1282 |
msgstr ""
|
1283 |
|
1284 |
-
#: tmp/tpl/js-templates.php:
|
1285 |
msgid "Import/Export"
|
1286 |
msgstr ""
|
1287 |
|
1288 |
-
#: tmp/tpl/js-templates.php:
|
1289 |
msgid "Clone: %s"
|
1290 |
msgstr ""
|
1291 |
|
1292 |
-
#: tmp/tpl/js-templates.php:
|
1293 |
msgid "Insert after"
|
1294 |
msgstr ""
|
1295 |
|
1296 |
-
#: tmp/tpl/js-templates.php:
|
1297 |
msgid "Insert before"
|
1298 |
msgstr ""
|
1299 |
|
1300 |
-
#: tmp/tpl/js-templates.php:
|
1301 |
msgid "Replace current"
|
1302 |
msgstr ""
|
1303 |
|
1304 |
-
#: tmp/tpl/js-templates.php:
|
1305 |
msgid "Do you want to browse the Prebuilt Layouts directory?"
|
1306 |
msgstr ""
|
1307 |
|
1308 |
-
#: tmp/tpl/js-templates.php:
|
1309 |
msgid "Enable"
|
1310 |
msgstr ""
|
1311 |
|
1312 |
-
#: tmp/tpl/js-templates.php:
|
1313 |
msgid "Your search didn't return any results"
|
1314 |
msgstr ""
|
1315 |
|
1316 |
-
#: tmp/tpl/js-templates.php:
|
1317 |
msgid "Previous"
|
1318 |
msgstr ""
|
1319 |
|
1320 |
-
#: tmp/tpl/js-templates.php:
|
1321 |
msgid "Next"
|
1322 |
msgstr ""
|
1323 |
|
1324 |
-
#: tmp/tpl/js-templates.php:
|
1325 |
msgid "Drop import file here"
|
1326 |
msgstr ""
|
1327 |
|
1328 |
-
#: tmp/tpl/js-templates.php:
|
1329 |
msgid "Or"
|
1330 |
msgstr ""
|
1331 |
|
1332 |
-
#: tmp/tpl/js-templates.php:
|
1333 |
msgid "Select Import File"
|
1334 |
msgstr ""
|
1335 |
|
1336 |
-
#: tmp/tpl/js-templates.php:
|
1337 |
msgid "Download Layout"
|
1338 |
msgstr ""
|
1339 |
|
1340 |
-
#: tmp/tpl/js-templates.php:
|
1341 |
msgid "Page Builder Change History"
|
1342 |
msgstr ""
|
1343 |
|
1344 |
-
#: tmp/tpl/js-templates.php:
|
1345 |
msgid "Restore Version"
|
1346 |
msgstr ""
|
1347 |
|
1348 |
-
#: tmp/tpl/js-templates.php:
|
1349 |
msgid "Collapse"
|
1350 |
msgstr ""
|
1351 |
|
1352 |
-
#: tmp/tpl/js-templates.php:
|
1353 |
msgid "Expand"
|
1354 |
msgstr ""
|
1355 |
|
1356 |
-
#: tmp/tpl/js-templates.php:
|
1357 |
msgid "Toggle desktop mode"
|
1358 |
msgstr ""
|
1359 |
|
1360 |
-
#: tmp/tpl/js-templates.php:
|
1361 |
msgid "Toggle tablet mode"
|
1362 |
msgstr ""
|
1363 |
|
1364 |
-
#: tmp/tpl/js-templates.php:
|
1365 |
msgid "Toggle mobile mode"
|
1366 |
msgstr ""
|
1367 |
|
1368 |
-
#: tmp/tpl/js-templates.php:
|
1369 |
msgid "No Results"
|
1370 |
msgstr ""
|
1371 |
|
61 |
msgid "WordPress Widgets"
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: tmp/inc/admin-widget-dialog.php:183, tmp/inc/settings.php:313
|
65 |
msgid "Recommended Widgets"
|
66 |
msgstr ""
|
67 |
|
81 |
msgid "Newsletter"
|
82 |
msgstr ""
|
83 |
|
84 |
+
#: tmp/inc/admin.php:123, tmp/tpl/js-templates.php:44
|
85 |
+
msgid "Addons"
|
86 |
+
msgstr ""
|
87 |
+
|
88 |
+
#: tmp/inc/admin.php:136, tmp/inc/admin.php:474, tmp/inc/admin.php:983, tmp/inc/admin.php:988, tmp/inc/settings.php:186, tmp/tpl/js-templates.php:203
|
89 |
msgid "Page Builder"
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: tmp/inc/admin.php:265
|
93 |
msgid "All Widgets"
|
94 |
msgstr ""
|
95 |
|
96 |
+
#: tmp/inc/admin.php:290
|
97 |
msgid "Missing Widget"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: tmp/inc/admin.php:291
|
101 |
msgid "Page Builder doesn't know about this widget."
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: tmp/inc/admin.php:295
|
105 |
msgid "%d seconds"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: tmp/inc/admin.php:297
|
109 |
msgid "%d minutes"
|
110 |
msgstr ""
|
111 |
|
112 |
+
#: tmp/inc/admin.php:299
|
113 |
msgid "%d hours"
|
114 |
msgstr ""
|
115 |
|
116 |
+
#: tmp/inc/admin.php:302
|
117 |
msgid "%d second"
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: tmp/inc/admin.php:304
|
121 |
msgid "%d minute"
|
122 |
msgstr ""
|
123 |
|
124 |
+
#: tmp/inc/admin.php:306
|
125 |
msgid "%d hour"
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: tmp/inc/admin.php:309
|
129 |
msgid "%s before"
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: tmp/inc/admin.php:310
|
133 |
msgid "Now"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: tmp/inc/admin.php:314
|
137 |
msgid "Current"
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: tmp/inc/admin.php:315
|
141 |
msgid "Original"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: tmp/inc/admin.php:316
|
145 |
msgid "Version restored"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: tmp/inc/admin.php:317
|
149 |
msgid "Converted to editor"
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: tmp/inc/admin.php:321
|
153 |
msgid "Widget deleted"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: tmp/inc/admin.php:323
|
157 |
msgid "Widget added"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: tmp/inc/admin.php:325
|
161 |
msgid "Widget edited"
|
162 |
msgstr ""
|
163 |
|
164 |
+
#: tmp/inc/admin.php:327
|
165 |
msgid "Widget duplicated"
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: tmp/inc/admin.php:329
|
169 |
msgid "Widget moved"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: tmp/inc/admin.php:333
|
173 |
msgid "Row deleted"
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: tmp/inc/admin.php:335
|
177 |
msgid "Row added"
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: tmp/inc/admin.php:337
|
181 |
msgid "Row edited"
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: tmp/inc/admin.php:339
|
185 |
msgid "Row moved"
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: tmp/inc/admin.php:341
|
189 |
msgid "Row duplicated"
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: tmp/inc/admin.php:343
|
193 |
msgid "Row pasted"
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: tmp/inc/admin.php:346
|
197 |
msgid "Cell resized"
|
198 |
msgstr ""
|
199 |
|
200 |
+
#: tmp/inc/admin.php:349
|
201 |
msgid "Prebuilt layout loaded"
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: tmp/inc/admin.php:353
|
205 |
msgid "Loading prebuilt layout"
|
206 |
msgstr ""
|
207 |
|
208 |
+
#: tmp/inc/admin.php:354
|
209 |
msgid "Would you like to copy this editor's existing content to Page Builder?"
|
210 |
msgstr ""
|
211 |
|
212 |
+
#: tmp/inc/admin.php:355
|
213 |
msgid "Would you like to clear your Page Builder content and revert to using the standard visual editor?"
|
214 |
msgstr ""
|
215 |
|
216 |
+
#: tmp/inc/admin.php:357
|
217 |
msgid "Layout Builder Widget"
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: tmp/inc/admin.php:359, tmp/tpl/js-templates.php:107, tmp/tpl/js-templates.php:426
|
221 |
msgid "Are you sure?"
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: tmp/inc/admin.php:361
|
225 |
msgid "%s is ready to insert."
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: tmp/inc/admin.php:365
|
229 |
msgid "Add Widget Below"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: tmp/inc/admin.php:366
|
233 |
msgid "Add Widget to Cell"
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: tmp/inc/admin.php:367, tmp/tpl/js-templates.php:230
|
237 |
msgid "Search Widgets"
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: tmp/inc/admin.php:369, tmp/tpl/js-templates.php:17, tmp/tpl/js-templates.php:19
|
241 |
msgid "Add Row"
|
242 |
msgstr ""
|
243 |
|
244 |
+
#: tmp/inc/admin.php:370
|
245 |
msgid "Column"
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: tmp/inc/admin.php:372
|
249 |
msgid "Cell Actions"
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: tmp/inc/admin.php:373
|
253 |
msgid "Paste Widget"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: tmp/inc/admin.php:375
|
257 |
msgid "Widget Actions"
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: tmp/inc/admin.php:376
|
261 |
msgid "Edit Widget"
|
262 |
msgstr ""
|
263 |
|
264 |
+
#: tmp/inc/admin.php:377
|
265 |
msgid "Duplicate Widget"
|
266 |
msgstr ""
|
267 |
|
268 |
+
#: tmp/inc/admin.php:378
|
269 |
msgid "Delete Widget"
|
270 |
msgstr ""
|
271 |
|
272 |
+
#: tmp/inc/admin.php:379
|
273 |
msgid "Copy Widget"
|
274 |
msgstr ""
|
275 |
|
276 |
+
#: tmp/inc/admin.php:380
|
277 |
msgid "Paste Widget Below"
|
278 |
msgstr ""
|
279 |
|
280 |
+
#: tmp/inc/admin.php:382
|
281 |
msgid "Row Actions"
|
282 |
msgstr ""
|
283 |
|
284 |
+
#: tmp/inc/admin.php:383, tmp/tpl/js-templates.php:105
|
285 |
msgid "Edit Row"
|
286 |
msgstr ""
|
287 |
|
288 |
+
#: tmp/inc/admin.php:384, tmp/tpl/js-templates.php:106
|
289 |
msgid "Duplicate Row"
|
290 |
msgstr ""
|
291 |
|
292 |
+
#: tmp/inc/admin.php:385, tmp/tpl/js-templates.php:107
|
293 |
msgid "Delete Row"
|
294 |
msgstr ""
|
295 |
|
296 |
+
#: tmp/inc/admin.php:386
|
297 |
msgid "Copy Row"
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: tmp/inc/admin.php:387
|
301 |
msgid "Paste Row"
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: tmp/inc/admin.php:389
|
305 |
msgid "Draft"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: tmp/inc/admin.php:390
|
309 |
msgid "Untitled"
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: tmp/inc/admin.php:392
|
313 |
msgid "New Row"
|
314 |
msgstr ""
|
315 |
|
316 |
+
#: tmp/inc/admin.php:393, tmp/inc/styles.php:173, tmp/tpl/js-templates.php:70
|
317 |
msgid "Row"
|
318 |
msgstr ""
|
319 |
|
320 |
+
#: tmp/inc/admin.php:401
|
321 |
msgid "Page Builder layouts"
|
322 |
msgstr ""
|
323 |
|
324 |
+
#: tmp/inc/admin.php:402
|
325 |
msgid "Error uploading or importing file."
|
326 |
msgstr ""
|
327 |
|
328 |
+
#: tmp/inc/admin.php:555, tmp/inc/home.php:26
|
329 |
msgid "Home Page"
|
330 |
msgstr ""
|
331 |
|
332 |
+
#: tmp/inc/admin.php:649
|
333 |
msgid "Untitled Widget"
|
334 |
msgstr ""
|
335 |
|
336 |
+
#: tmp/inc/admin.php:814
|
337 |
msgid "You need to install 1{%1$s} to use the widget 2{%2$s}."
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: tmp/inc/admin.php:820
|
341 |
msgid "Save and reload this page to start using the widget after you've installed it."
|
342 |
msgstr ""
|
343 |
|
344 |
+
#: tmp/inc/admin.php:836
|
345 |
msgid "The widget 1{%1$s} is not available. Please try locate and install the missing plugin. Post on the 2{support forums} if you need help."
|
346 |
msgstr ""
|
347 |
|
348 |
+
#: tmp/inc/admin.php:1000
|
349 |
msgid "%s Widgets"
|
350 |
msgstr ""
|
351 |
|
352 |
+
#: tmp/inc/admin.php:1046
|
353 |
msgid "12 Page Builder Tips"
|
354 |
msgstr ""
|
355 |
|
356 |
+
#: tmp/inc/admin.php:1049
|
357 |
msgid "Sign up to our newsletter and we'll send you this free Page Builder video course."
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: tmp/inc/admin.php:1050
|
361 |
msgid "12 tips that'll help you get the most out of Page Builder."
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: tmp/inc/admin.php:1051
|
365 |
msgid "Watch the video to find out more, then sign up below to get started."
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: tmp/inc/admin.php:1052, tmp/inc/admin.php:1062
|
369 |
msgid "We'll email you a confirmation. You can unsubscribe at any time."
|
370 |
msgstr ""
|
371 |
|
372 |
+
#: tmp/inc/admin.php:1056
|
373 |
msgid "Free Page Builder Addons"
|
374 |
msgstr ""
|
375 |
|
376 |
+
#: tmp/inc/admin.php:1059
|
377 |
msgid "The free animations addon allows you to add beautiful animations to Page Builder elements."
|
378 |
msgstr ""
|
379 |
|
380 |
+
#: tmp/inc/admin.php:1060
|
381 |
msgid "Sign up to our newsletter and we'll send you the addon as a free gift."
|
382 |
msgstr ""
|
383 |
|
384 |
+
#: tmp/inc/admin.php:1061
|
385 |
msgid "Plus, we'll send you even more powerful addons, for as long as you're subscribed."
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: tmp/inc/admin.php:1077
|
389 |
msgid "Watch Intro Video"
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: tmp/inc/admin.php:1078
|
393 |
msgid "Loaded from Vimeo Servers"
|
394 |
msgstr ""
|
395 |
|
396 |
+
#: tmp/inc/admin.php:1079
|
397 |
msgid "Please enter a valid email address."
|
398 |
msgstr ""
|
399 |
|
400 |
+
#: tmp/inc/admin.php:1081, tmp/learn/tpl/dialog.php:22
|
401 |
msgid "Your Name"
|
402 |
msgstr ""
|
403 |
|
404 |
+
#: tmp/inc/admin.php:1082, tmp/learn/tpl/dialog.php:27
|
405 |
msgid "Your Email"
|
406 |
msgstr ""
|
407 |
|
408 |
+
#: tmp/inc/admin.php:1083, tmp/learn/tpl/dialog.php:31
|
409 |
msgid "Sign Up"
|
410 |
msgstr ""
|
411 |
|
412 |
+
#: tmp/inc/admin.php:1084, tmp/learn/tpl/dialog.php:37, tmp/tpl/js-templates.php:242
|
413 |
msgid "Close"
|
414 |
msgstr ""
|
415 |
|
522 |
msgstr ""
|
523 |
|
524 |
#: tmp/inc/settings.php:266
|
525 |
+
msgid "Upgrade Teaser"
|
526 |
+
msgstr ""
|
527 |
+
|
528 |
+
#: tmp/inc/settings.php:268
|
529 |
+
msgid "Display the %sSiteOrigin Premium%s upgrade teaser in the Page Builder toolbar."
|
530 |
+
msgstr ""
|
531 |
+
|
532 |
+
#: tmp/inc/settings.php:276
|
533 |
msgid "Page Builder Learning"
|
534 |
msgstr ""
|
535 |
|
536 |
+
#: tmp/inc/settings.php:277
|
537 |
msgid "Display buttons for Page Builder learning."
|
538 |
msgstr ""
|
539 |
|
540 |
+
#: tmp/inc/settings.php:282
|
541 |
msgid "Default To Page Builder Interface"
|
542 |
msgstr ""
|
543 |
|
544 |
+
#: tmp/inc/settings.php:283
|
545 |
msgid "New posts/pages that you create will start with the Page Builder loaded."
|
546 |
msgstr ""
|
547 |
|
548 |
+
#: tmp/inc/settings.php:289
|
549 |
msgid "Widgets"
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: tmp/inc/settings.php:295
|
553 |
msgid "Widget Title HTML"
|
554 |
msgstr ""
|
555 |
|
556 |
+
#: tmp/inc/settings.php:296
|
557 |
msgid "The HTML used for widget titles. {{title}} is replaced with the widget title."
|
558 |
msgstr ""
|
559 |
|
560 |
+
#: tmp/inc/settings.php:301
|
561 |
msgid "Add Widget Class"
|
562 |
msgstr ""
|
563 |
|
564 |
+
#: tmp/inc/settings.php:302
|
565 |
msgid "Add the widget class to Page Builder widgets. Disable this if you're experiencing conflicts."
|
566 |
msgstr ""
|
567 |
|
568 |
+
#: tmp/inc/settings.php:307
|
569 |
msgid "Legacy Bundled Widgets"
|
570 |
msgstr ""
|
571 |
|
572 |
+
#: tmp/inc/settings.php:308
|
573 |
msgid "Load legacy widgets from Page Builder 1."
|
574 |
msgstr ""
|
575 |
|
576 |
+
#: tmp/inc/settings.php:314
|
577 |
msgid "Display recommend widgets in Page Builder add widget dialog."
|
578 |
msgstr ""
|
579 |
|
580 |
+
#: tmp/inc/settings.php:320, tmp/inc/styles-admin.php:78
|
581 |
msgid "Layout"
|
582 |
msgstr ""
|
583 |
|
584 |
+
#: tmp/inc/settings.php:328
|
585 |
msgid "Responsive Layout"
|
586 |
msgstr ""
|
587 |
|
588 |
+
#: tmp/inc/settings.php:329
|
589 |
msgid "Collapse widgets, rows and columns on mobile devices."
|
590 |
msgstr ""
|
591 |
|
592 |
+
#: tmp/inc/settings.php:334
|
593 |
msgid "Use Tablet Layout"
|
594 |
msgstr ""
|
595 |
|
596 |
+
#: tmp/inc/settings.php:335
|
597 |
msgid "Collapses columns differently on tablet devices."
|
598 |
msgstr ""
|
599 |
|
600 |
+
#: tmp/inc/settings.php:341
|
601 |
msgid "Detect older browsers"
|
602 |
msgstr ""
|
603 |
|
604 |
+
#: tmp/inc/settings.php:342
|
605 |
msgid "Never"
|
606 |
msgstr ""
|
607 |
|
608 |
+
#: tmp/inc/settings.php:343
|
609 |
msgid "Always"
|
610 |
msgstr ""
|
611 |
|
612 |
+
#: tmp/inc/settings.php:345
|
613 |
msgid "Use Legacy Layout Engine"
|
614 |
msgstr ""
|
615 |
|
616 |
+
#: tmp/inc/settings.php:346
|
617 |
msgid "The CSS and HTML uses floats instead of flexbox for compatibility with very old browsers."
|
618 |
msgstr ""
|
619 |
|
620 |
+
#: tmp/inc/settings.php:352
|
621 |
msgid "Tablet Width"
|
622 |
msgstr ""
|
623 |
|
624 |
+
#: tmp/inc/settings.php:353
|
625 |
msgid "Device width, in pixels, to collapse into a tablet view ."
|
626 |
msgstr ""
|
627 |
|
628 |
+
#: tmp/inc/settings.php:359
|
629 |
msgid "Mobile Width"
|
630 |
msgstr ""
|
631 |
|
632 |
+
#: tmp/inc/settings.php:360
|
633 |
msgid "Device width, in pixels, to collapse into a mobile view ."
|
634 |
msgstr ""
|
635 |
|
636 |
+
#: tmp/inc/settings.php:366
|
637 |
msgid "Row/Widget Bottom Margin"
|
638 |
msgstr ""
|
639 |
|
640 |
+
#: tmp/inc/settings.php:367
|
641 |
msgid "Default margin below rows and widgets."
|
642 |
msgstr ""
|
643 |
|
644 |
+
#: tmp/inc/settings.php:372
|
645 |
msgid "Last Row With Margin"
|
646 |
msgstr ""
|
647 |
|
648 |
+
#: tmp/inc/settings.php:373
|
649 |
msgid "Allow margin in last row."
|
650 |
msgstr ""
|
651 |
|
652 |
+
#: tmp/inc/settings.php:379
|
653 |
msgid "Row Gutter"
|
654 |
msgstr ""
|
655 |
|
656 |
+
#: tmp/inc/settings.php:380
|
657 |
msgid "Default spacing between columns in each row."
|
658 |
msgstr ""
|
659 |
|
660 |
+
#: tmp/inc/settings.php:386
|
661 |
msgid "Full Width Container"
|
662 |
msgstr ""
|
663 |
|
664 |
+
#: tmp/inc/settings.php:387
|
665 |
msgid "The container used for the full width layout."
|
666 |
msgstr ""
|
667 |
|
668 |
+
#: tmp/inc/settings.php:394
|
669 |
msgid "Content"
|
670 |
msgstr ""
|
671 |
|
672 |
+
#: tmp/inc/settings.php:400
|
673 |
msgid "Copy Content"
|
674 |
msgstr ""
|
675 |
|
676 |
+
#: tmp/inc/settings.php:401
|
677 |
msgid "Copy content from Page Builder to post content."
|
678 |
msgstr ""
|
679 |
|
680 |
+
#: tmp/inc/settings.php:406
|
681 |
msgid "Copy Styles"
|
682 |
msgstr ""
|
683 |
|
684 |
+
#: tmp/inc/settings.php:407
|
685 |
msgid "Include styles into your Post Content. This keeps page layouts, even when Page Builder is deactivated."
|
686 |
msgstr ""
|
687 |
|
688 |
+
#: tmp/inc/settings.php:412
|
689 |
msgid "Content Cache"
|
690 |
msgstr ""
|
691 |
|
692 |
+
#: tmp/inc/settings.php:413
|
693 |
msgid "Cache CSS and HTML generated by Page Builder."
|
694 |
msgstr ""
|
695 |
|
696 |
+
#: tmp/inc/settings.php:460, tmp/inc/styles-admin.php:248
|
697 |
msgid "Enabled"
|
698 |
msgstr ""
|
699 |
|
953 |
msgid "Color of links inside this cell."
|
954 |
msgstr ""
|
955 |
|
956 |
+
#: tmp/inc/styles.php:304, tmp/tpl/js-templates.php:69
|
957 |
msgid "Widget"
|
958 |
msgstr ""
|
959 |
|
1137 |
msgid "Read More"
|
1138 |
msgstr ""
|
1139 |
|
1140 |
+
#: tmp/siteorigin-panels.php:413
|
1141 |
msgid "Edit Home Page"
|
1142 |
msgstr ""
|
1143 |
|
1144 |
+
#: tmp/siteorigin-panels.php:433, tmp/tpl/js-templates.php:34, tmp/tpl/js-templates.php:36
|
1145 |
msgid "Live Editor"
|
1146 |
msgstr ""
|
1147 |
|
1205 |
msgid "Page Builder Addons"
|
1206 |
msgstr ""
|
1207 |
|
1208 |
+
#: tmp/tpl/js-templates.php:49
|
1209 |
+
msgid "Page Builder Themes"
|
|
|
|
|
|
|
|
|
1210 |
msgstr ""
|
1211 |
|
1212 |
+
#: tmp/tpl/js-templates.php:51
|
1213 |
+
msgid "Themes"
|
1214 |
msgstr ""
|
1215 |
|
1216 |
+
#: tmp/tpl/js-templates.php:55
|
1217 |
msgid "Revert to Editor"
|
1218 |
msgstr ""
|
1219 |
|
1220 |
+
#: tmp/tpl/js-templates.php:68
|
1221 |
msgid "Add a %s, %s or %s to get started. Read our %s if you need help."
|
1222 |
msgstr ""
|
1223 |
|
1224 |
+
#: tmp/tpl/js-templates.php:71
|
1225 |
msgid "Prebuilt Layout"
|
1226 |
msgstr ""
|
1227 |
|
1228 |
+
#: tmp/tpl/js-templates.php:72
|
1229 |
msgid "documentation"
|
1230 |
msgstr ""
|
1231 |
|
1232 |
+
#: tmp/tpl/js-templates.php:79
|
1233 |
msgid "Pro Tip"
|
1234 |
msgstr ""
|
1235 |
|
1236 |
+
#: tmp/tpl/js-templates.php:81
|
1237 |
msgid "12 tips every Page Builder user should know."
|
1238 |
msgstr ""
|
1239 |
|
1240 |
+
#: tmp/tpl/js-templates.php:151
|
1241 |
msgid "Edit"
|
1242 |
msgstr ""
|
1243 |
|
1244 |
+
#: tmp/tpl/js-templates.php:152, tmp/tpl/js-templates.php:274, tmp/tpl/js-templates.php:359
|
1245 |
msgid "Duplicate"
|
1246 |
msgstr ""
|
1247 |
|
1248 |
+
#: tmp/tpl/js-templates.php:153, tmp/tpl/js-templates.php:273, tmp/tpl/js-templates.php:358
|
1249 |
msgid "Delete"
|
1250 |
msgstr ""
|
1251 |
|
1252 |
+
#: tmp/tpl/js-templates.php:212, tmp/tpl/js-templates.php:277, tmp/tpl/js-templates.php:366, tmp/tpl/js-templates.php:558
|
1253 |
msgid "Done"
|
1254 |
msgstr ""
|
1255 |
|
1256 |
+
#: tmp/tpl/js-templates.php:226
|
1257 |
msgid "Add New Widget %s"
|
1258 |
msgstr ""
|
1259 |
|
1260 |
+
#: tmp/tpl/js-templates.php:327
|
1261 |
msgid "Left to Right"
|
1262 |
msgstr ""
|
1263 |
|
1264 |
+
#: tmp/tpl/js-templates.php:328
|
1265 |
msgid "Right to Left"
|
1266 |
msgstr ""
|
1267 |
|
1268 |
+
#: tmp/tpl/js-templates.php:339
|
1269 |
msgid "1{Set row layout}: %1$s columns with a ratio of %2$s going from %3$s"
|
1270 |
msgstr ""
|
1271 |
|
1272 |
+
#: tmp/tpl/js-templates.php:345
|
1273 |
msgid "Set"
|
1274 |
msgstr ""
|
1275 |
|
1276 |
+
#: tmp/tpl/js-templates.php:364, tmp/tpl/js-templates.php:420
|
1277 |
msgid "Insert"
|
1278 |
msgstr ""
|
1279 |
|
1280 |
+
#: tmp/tpl/js-templates.php:384
|
1281 |
msgid "Page Builder Layouts"
|
1282 |
msgstr ""
|
1283 |
|
1284 |
+
#: tmp/tpl/js-templates.php:388
|
1285 |
msgid "Search"
|
1286 |
msgstr ""
|
1287 |
|
1288 |
+
#: tmp/tpl/js-templates.php:392
|
1289 |
msgid "Theme Defined"
|
1290 |
msgstr ""
|
1291 |
|
1292 |
+
#: tmp/tpl/js-templates.php:401
|
1293 |
msgid "Import/Export"
|
1294 |
msgstr ""
|
1295 |
|
1296 |
+
#: tmp/tpl/js-templates.php:408
|
1297 |
msgid "Clone: %s"
|
1298 |
msgstr ""
|
1299 |
|
1300 |
+
#: tmp/tpl/js-templates.php:424
|
1301 |
msgid "Insert after"
|
1302 |
msgstr ""
|
1303 |
|
1304 |
+
#: tmp/tpl/js-templates.php:425
|
1305 |
msgid "Insert before"
|
1306 |
msgstr ""
|
1307 |
|
1308 |
+
#: tmp/tpl/js-templates.php:426
|
1309 |
msgid "Replace current"
|
1310 |
msgstr ""
|
1311 |
|
1312 |
+
#: tmp/tpl/js-templates.php:437
|
1313 |
msgid "Do you want to browse the Prebuilt Layouts directory?"
|
1314 |
msgstr ""
|
1315 |
|
1316 |
+
#: tmp/tpl/js-templates.php:438
|
1317 |
msgid "Enable"
|
1318 |
msgstr ""
|
1319 |
|
1320 |
+
#: tmp/tpl/js-templates.php:451
|
1321 |
msgid "Your search didn't return any results"
|
1322 |
msgstr ""
|
1323 |
|
1324 |
+
#: tmp/tpl/js-templates.php:479
|
1325 |
msgid "Previous"
|
1326 |
msgstr ""
|
1327 |
|
1328 |
+
#: tmp/tpl/js-templates.php:480
|
1329 |
msgid "Next"
|
1330 |
msgstr ""
|
1331 |
|
1332 |
+
#: tmp/tpl/js-templates.php:490
|
1333 |
msgid "Drop import file here"
|
1334 |
msgstr ""
|
1335 |
|
1336 |
+
#: tmp/tpl/js-templates.php:491
|
1337 |
msgid "Or"
|
1338 |
msgstr ""
|
1339 |
|
1340 |
+
#: tmp/tpl/js-templates.php:494
|
1341 |
msgid "Select Import File"
|
1342 |
msgstr ""
|
1343 |
|
1344 |
+
#: tmp/tpl/js-templates.php:508
|
1345 |
msgid "Download Layout"
|
1346 |
msgstr ""
|
1347 |
|
1348 |
+
#: tmp/tpl/js-templates.php:519
|
1349 |
msgid "Page Builder Change History"
|
1350 |
msgstr ""
|
1351 |
|
1352 |
+
#: tmp/tpl/js-templates.php:534
|
1353 |
msgid "Restore Version"
|
1354 |
msgstr ""
|
1355 |
|
1356 |
+
#: tmp/tpl/js-templates.php:552, tmp/tpl/js-templates.php:553
|
1357 |
msgid "Collapse"
|
1358 |
msgstr ""
|
1359 |
|
1360 |
+
#: tmp/tpl/js-templates.php:552
|
1361 |
msgid "Expand"
|
1362 |
msgstr ""
|
1363 |
|
1364 |
+
#: tmp/tpl/js-templates.php:560
|
1365 |
msgid "Toggle desktop mode"
|
1366 |
msgstr ""
|
1367 |
|
1368 |
+
#: tmp/tpl/js-templates.php:563
|
1369 |
msgid "Toggle tablet mode"
|
1370 |
msgstr ""
|
1371 |
|
1372 |
+
#: tmp/tpl/js-templates.php:566
|
1373 |
msgid "Toggle mobile mode"
|
1374 |
msgstr ""
|
1375 |
|
1376 |
+
#: tmp/tpl/js-templates.php:605
|
1377 |
msgid "No Results"
|
1378 |
msgstr ""
|
1379 |
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Tags: page builder, responsive, widget, widgets, builder, page, admin, gallery, content, cms, pages, post, css, layout, grid
|
3 |
Requires at least: 4.4
|
4 |
Tested up to: 4.8
|
5 |
-
Stable tag: 2.5.
|
6 |
-
Build time: 2017-06-
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl.html
|
9 |
Donate link: https://siteorigin.com/downloads/contribution/
|
@@ -96,6 +96,11 @@ We've tried to ensure that Page Builder is compatible with most plugin widgets.
|
|
96 |
|
97 |
== Changelog ==
|
98 |
|
|
|
|
|
|
|
|
|
|
|
99 |
= 2.5.6 - 13 June 2017 =
|
100 |
* Pass empty post id to 'siteorigin_panels_data' filter to avoid potential fatal errors.
|
101 |
* Remove unnecessary output of JS widget templates.
|
2 |
Tags: page builder, responsive, widget, widgets, builder, page, admin, gallery, content, cms, pages, post, css, layout, grid
|
3 |
Requires at least: 4.4
|
4 |
Tested up to: 4.8
|
5 |
+
Stable tag: 2.5.6
|
6 |
+
Build time: 2017-06-27T10:58:10+02:00
|
7 |
License: GPLv3
|
8 |
License URI: http://www.gnu.org/licenses/gpl.html
|
9 |
Donate link: https://siteorigin.com/downloads/contribution/
|
96 |
|
97 |
== Changelog ==
|
98 |
|
99 |
+
= 2.5.6 - 27 June 2017 =
|
100 |
+
* Get post from DB before saving for 'copy content' to avoid overwriting changes by other plugins.
|
101 |
+
* Switched toolbar links.
|
102 |
+
* Skip cache rendering for password protected posts.
|
103 |
+
|
104 |
= 2.5.6 - 13 June 2017 =
|
105 |
* Pass empty post id to 'siteorigin_panels_data' filter to avoid potential fatal errors.
|
106 |
* Remove unnecessary output of JS widget templates.
|
siteorigin-panels.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Page Builder by SiteOrigin
|
4 |
Plugin URI: https://siteorigin.com/page-builder/
|
5 |
Description: A drag and drop, responsive page builder that simplifies building your website.
|
6 |
-
Version: 2.5.
|
7 |
Author: SiteOrigin
|
8 |
Author URI: https://siteorigin.com
|
9 |
License: GPL3
|
@@ -11,7 +11,7 @@ License URI: http://www.gnu.org/licenses/gpl.html
|
|
11 |
Donate link: http://siteorigin.com/page-builder/#donate
|
12 |
*/
|
13 |
|
14 |
-
define( 'SITEORIGIN_PANELS_VERSION', '2.5.
|
15 |
if ( ! defined( 'SITEORIGIN_PANELS_JS_SUFFIX' ) ) {
|
16 |
define( 'SITEORIGIN_PANELS_JS_SUFFIX', '.min' );
|
17 |
}
|
@@ -263,7 +263,7 @@ class SiteOrigin_Panels {
|
|
263 |
}
|
264 |
|
265 |
/**
|
266 |
-
*
|
267 |
*
|
268 |
* @param $content
|
269 |
*
|
@@ -314,15 +314,30 @@ class SiteOrigin_Panels {
|
|
314 |
|
315 |
return $content;
|
316 |
}
|
317 |
-
|
|
|
|
|
|
|
318 |
public function generate_post_css() {
|
319 |
if( is_singular() && get_post_meta( get_the_ID(), 'panels_data', true ) ) {
|
320 |
$renderer = SiteOrigin_Panels::renderer();
|
321 |
$renderer->add_inline_css( get_the_ID(), $renderer->generate_css( get_the_ID() ) );
|
322 |
}
|
323 |
}
|
324 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
325 |
public function cached_post_content( $content ){
|
|
|
|
|
|
|
|
|
|
|
326 |
if (
|
327 |
! in_the_loop() ||
|
328 |
! apply_filters( 'siteorigin_panels_filter_content_enabled', true ) ||
|
@@ -330,16 +345,26 @@ class SiteOrigin_Panels {
|
|
330 |
) {
|
331 |
return $content;
|
332 |
}
|
333 |
-
|
334 |
$cache = SiteOrigin_Panels_Cache_Renderer::single();
|
335 |
-
|
|
|
|
|
336 |
}
|
337 |
-
|
|
|
|
|
|
|
338 |
public function cached_post_css(){
|
|
|
|
|
|
|
|
|
|
|
339 |
if( is_singular() && get_post_meta( get_the_ID(), 'panels_data', true ) ) {
|
340 |
$cache = SiteOrigin_Panels_Cache_Renderer::single();
|
341 |
-
$
|
342 |
-
SiteOrigin_Panels::renderer()->add_inline_css( get_the_ID(), $
|
343 |
}
|
344 |
}
|
345 |
|
@@ -517,6 +542,31 @@ class SiteOrigin_Panels {
|
|
517 |
public function strip_before_js(){
|
518 |
?><script type="text/javascript">document.body.className = document.body.className.replace("siteorigin-panels-before-js","");</script><?php
|
519 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
520 |
}
|
521 |
|
522 |
SiteOrigin_Panels::single();
|
3 |
Plugin Name: Page Builder by SiteOrigin
|
4 |
Plugin URI: https://siteorigin.com/page-builder/
|
5 |
Description: A drag and drop, responsive page builder that simplifies building your website.
|
6 |
+
Version: 2.5.7
|
7 |
Author: SiteOrigin
|
8 |
Author URI: https://siteorigin.com
|
9 |
License: GPL3
|
11 |
Donate link: http://siteorigin.com/page-builder/#donate
|
12 |
*/
|
13 |
|
14 |
+
define( 'SITEORIGIN_PANELS_VERSION', '2.5.7' );
|
15 |
if ( ! defined( 'SITEORIGIN_PANELS_JS_SUFFIX' ) ) {
|
16 |
define( 'SITEORIGIN_PANELS_JS_SUFFIX', '.min' );
|
17 |
}
|
263 |
}
|
264 |
|
265 |
/**
|
266 |
+
* Generate post content for the current post.
|
267 |
*
|
268 |
* @param $content
|
269 |
*
|
314 |
|
315 |
return $content;
|
316 |
}
|
317 |
+
|
318 |
+
/**
|
319 |
+
* Generate CSS for the current post
|
320 |
+
*/
|
321 |
public function generate_post_css() {
|
322 |
if( is_singular() && get_post_meta( get_the_ID(), 'panels_data', true ) ) {
|
323 |
$renderer = SiteOrigin_Panels::renderer();
|
324 |
$renderer->add_inline_css( get_the_ID(), $renderer->generate_css( get_the_ID() ) );
|
325 |
}
|
326 |
}
|
327 |
+
|
328 |
+
/**
|
329 |
+
* Get cached post content for the current post
|
330 |
+
*
|
331 |
+
* @param $content
|
332 |
+
*
|
333 |
+
* @return string
|
334 |
+
*/
|
335 |
public function cached_post_content( $content ){
|
336 |
+
if( post_password_required( get_the_ID() ) ) {
|
337 |
+
// Don't use cache for password protected
|
338 |
+
return $this->generate_post_content( $content );
|
339 |
+
}
|
340 |
+
|
341 |
if (
|
342 |
! in_the_loop() ||
|
343 |
! apply_filters( 'siteorigin_panels_filter_content_enabled', true ) ||
|
345 |
) {
|
346 |
return $content;
|
347 |
}
|
348 |
+
|
349 |
$cache = SiteOrigin_Panels_Cache_Renderer::single();
|
350 |
+
$html = $cache->get( 'html', get_the_ID() );
|
351 |
+
|
352 |
+
return $html;
|
353 |
}
|
354 |
+
|
355 |
+
/**
|
356 |
+
* Add cached CSS for the current post
|
357 |
+
*/
|
358 |
public function cached_post_css(){
|
359 |
+
if( post_password_required( get_the_ID() ) ) {
|
360 |
+
// Don't use cache for password protected
|
361 |
+
return $this->generate_post_css();
|
362 |
+
}
|
363 |
+
|
364 |
if( is_singular() && get_post_meta( get_the_ID(), 'panels_data', true ) ) {
|
365 |
$cache = SiteOrigin_Panels_Cache_Renderer::single();
|
366 |
+
$css = $cache->get( 'css', get_the_ID() );
|
367 |
+
SiteOrigin_Panels::renderer()->add_inline_css( get_the_ID(), $css );
|
368 |
}
|
369 |
}
|
370 |
|
542 |
public function strip_before_js(){
|
543 |
?><script type="text/javascript">document.body.className = document.body.className.replace("siteorigin-panels-before-js","");</script><?php
|
544 |
}
|
545 |
+
|
546 |
+
/**
|
547 |
+
* Should we display premium addon messages
|
548 |
+
*
|
549 |
+
* @return bool
|
550 |
+
*/
|
551 |
+
public static function display_premium_teaser(){
|
552 |
+
return siteorigin_panels_setting( 'display-teaser' ) &&
|
553 |
+
apply_filters( 'siteorigin_premium_upgrade_teaser', true ) &&
|
554 |
+
! defined( 'SITEORIGIN_PREMIUM_VERSION' );
|
555 |
+
}
|
556 |
+
|
557 |
+
/**
|
558 |
+
* Get the premium upgrade URL
|
559 |
+
*
|
560 |
+
* @return string
|
561 |
+
*/
|
562 |
+
public static function premium_url() {
|
563 |
+
$ref = apply_filters( 'siteorigin_premium_affiliate_id', '' );
|
564 |
+
$url = 'https://siteorigin.com/downloads/premium/?featured_plugin=siteorigin-panels';
|
565 |
+
if( $ref ) {
|
566 |
+
$url = add_query_arg( 'ref', urlencode( $ref ), $url );
|
567 |
+
}
|
568 |
+
return $url;
|
569 |
+
}
|
570 |
}
|
571 |
|
572 |
SiteOrigin_Panels::single();
|
tpl/js-templates.php
CHANGED
@@ -38,15 +38,17 @@ $layouts = apply_filters( 'siteorigin_panels_prebuilt_layouts', array() );
|
|
38 |
|
39 |
<?php endif; ?>
|
40 |
|
41 |
-
<?php if( SiteOrigin_Panels::
|
42 |
-
<a class="so-tool-button so-learn" title="<?php echo esc_attr_e( 'Page Builder Addons', 'siteorigin-panels' ) ?>" href="
|
43 |
<span class="so-panels-icon so-panels-icon-addons"></span>
|
44 |
<span class="so-button-text"><?php echo esc_html_e( 'Addons', 'siteorigin-panels' ) ?></span>
|
45 |
</a>
|
46 |
-
|
47 |
-
|
|
|
|
|
48 |
<span class="so-panels-icon so-panels-icon-learn"></span>
|
49 |
-
<span class="so-button-text"><?php echo esc_html_e( '
|
50 |
</a>
|
51 |
<?php endif ?>
|
52 |
|
38 |
|
39 |
<?php endif; ?>
|
40 |
|
41 |
+
<?php if( SiteOrigin_Panels::display_premium_teaser() ) : ?>
|
42 |
+
<a class="so-tool-button so-learn" title="<?php echo esc_attr_e( 'Page Builder Addons', 'siteorigin-panels' ) ?>" href="<?php echo esc_url( SiteOrigin_Panels::premium_url() ) ?>" style="margin-left: 10px;">
|
43 |
<span class="so-panels-icon so-panels-icon-addons"></span>
|
44 |
<span class="so-button-text"><?php echo esc_html_e( 'Addons', 'siteorigin-panels' ) ?></span>
|
45 |
</a>
|
46 |
+
<?php endif; ?>
|
47 |
+
|
48 |
+
<?php if( ! get_theme_support( 'siteorigin-panels' ) ) : ?>
|
49 |
+
<a class="so-tool-button so-learn" title="<?php echo esc_attr_e( 'Page Builder Themes', 'siteorigin-panels' ) ?>" href="https://siteorigin.com/theme/" target="_blank" style="margin-left: 10px;">
|
50 |
<span class="so-panels-icon so-panels-icon-learn"></span>
|
51 |
+
<span class="so-button-text"><?php echo esc_html_e( 'Themes', 'siteorigin-panels' ) ?></span>
|
52 |
</a>
|
53 |
<?php endif ?>
|
54 |
|