Page Builder: PageLayer – Drag and Drop website builder - Version 1.0.6

Version Description

(February 20, 2020) = * [Feature] Added settings for widgets - Contact Email, Phone, Address. You can specify these defaults and it will be changed throughout the website. * [Feature] Added keyboard options Ctrl+S to update posts. * [Feature] Added size and space option for the slider dots for all Slider widgets. * [Feature] Added screen mode options for typography and alignment in the Contact Email, Phone and Address widgets. * [Premium-Feature] Added new widget for Image Portfolio. * [Premium-Feature] Added inline and spacing option for radio button in Contact form widget. * [Premium-Feature] Added dropdown breakpoint option for responsive menu in Primary Menu widget. * [Premium-Feature] Added pagination option in Archive Posts widget. * [Premium-Feature] Added padding option for content in Archive Posts and Posts widget. * [Premium-Feature] Added screen mode options to the Primary Menu widget where needed. * [Task] Now when you add a new row or inner row, a column will be added automatically. * [Task] The Row, Column and Elements hover UI has been improved. * [Task] From now on, we are saving the Pagelayer ID. So that they are consistent all the time. * [Task] The left panel font has been changed to Roboto to improve the UI of the left panel. * [Bug-Fix] In the flip box widget, the front side of the flip box was not being hidden properly when flipping. This is fixed. * [Bug-Fix] In the pen menu, some icons were not visible. This is fixed.

Download this release

Release Info

Developer pagelayer
Plugin Icon 128x128 Page Builder: PageLayer – Drag and Drop website builder
Version 1.0.6
Comparing to
See all releases

Code changes from version 1.0.5 to 1.0.6

css/pagelayer-editor-frontend.css CHANGED
@@ -24,7 +24,7 @@ color:#3e8ef7;
24
25
.pagelayer-add-ele span,
26
.pagelayer-add-widget-area p{
27
- font-family: "Open Sans", Arial,Helvetica,sans-serif;
28
}
29
30
.pagelayer-empty-col{
@@ -60,14 +60,19 @@ right: 0px;
60
top: 0px;
61
z-index: 10;
62
pointer-events:none;
63
}
64
65
.pagelayer-ele-hover, .pagelayer-drag-ele-hover{/* Both classes are same. but its just that during drag, we use the later */
66
- outline:1px solid #277CF9;
67
}
68
69
.pagelayer-active{
70
- outline:1px solid #7460EE;
71
}
72
73
.pagelayer-hide-active{
@@ -75,13 +80,11 @@ outline: transparent !important;
75
}
76
77
.pagelayer-row-hover{
78
- outline-color:#41A85F;
79
- outline-width:1px;
80
}
81
82
.pagelayer-col-hover{
83
- outline-color:#905101;
84
- outline-width:1px;
85
}
86
87
.pagelayer-ele-option,
@@ -101,12 +104,12 @@ pointer-events:auto;
101
display:inline-block !important;
102
font-size:12px !important;
103
padding:4px !important;
104
- background:#277CF9;
105
- color:#fff ;
106
}
107
108
.pagelayer-eoi:hover{
109
- background:#1c59b3;
110
cursor: pointer;
111
}
112
@@ -121,19 +124,19 @@ top:0;
121
}
122
123
.pagelayer-row-option .pagelayer-eoi{
124
- background:#41A85F;
125
}
126
127
.pagelayer-row-option .pagelayer-eoi:hover{
128
- background:#27713d;
129
}
130
131
.pagelayer-col-option .pagelayer-eoi{
132
- background:#905101;
133
}
134
135
.pagelayer-col-option .pagelayer-eoi:hover{
136
- background:#5a3401;
137
}
138
139
.pagelayer-col-option{
@@ -329,7 +332,7 @@ pointer-events: all;
329
}
330
331
.pagelayer-resize-icon{
332
- background-color: #905101;
333
padding: 3px;
334
border-radius: 4px;
335
height:30px;
24
25
.pagelayer-add-ele span,
26
.pagelayer-add-widget-area p{
27
+ font-family: "Open Sans", Arial, Helvetica, sans-serif;
28
}
29
30
.pagelayer-empty-col{
60
top: 0px;
61
z-index: 10;
62
pointer-events:none;
63
+ opacity: 0%;
64
+ outline-width:0px;
65
}
66
67
.pagelayer-ele-hover, .pagelayer-drag-ele-hover{/* Both classes are same. but its just that during drag, we use the later */
68
+ outline:1px solid #a8a8a8;
69
+ opacity: 100%;
70
+ transition: transform 0.2s linear, opacity 0.2s linear;
71
}
72
73
.pagelayer-active{
74
+ outline:1px solid #999;
75
+ opacity: 100%;
76
}
77
78
.pagelayer-hide-active{
80
}
81
82
.pagelayer-row-hover{
83
+ outline:1px solid #277CF9;
84
}
85
86
.pagelayer-col-hover{
87
+ outline:1px solid #42ADE1;
88
}
89
90
.pagelayer-ele-option,
104
display:inline-block !important;
105
font-size:12px !important;
106
padding:4px !important;
107
+ background:#444;
108
+ color:#fff;
109
}
110
111
.pagelayer-eoi:hover{
112
+ background:#222;
113
cursor: pointer;
114
}
115
124
}
125
126
.pagelayer-row-option .pagelayer-eoi{
127
+ background:#277CF9;
128
}
129
130
.pagelayer-row-option .pagelayer-eoi:hover{
131
+ background:#1c59b3;
132
}
133
134
.pagelayer-col-option .pagelayer-eoi{
135
+ background:#42ADE1;
136
}
137
138
.pagelayer-col-option .pagelayer-eoi:hover{
139
+ background:#1070AA;
140
}
141
142
.pagelayer-col-option{
332
}
333
334
.pagelayer-resize-icon{
335
+ background-color: #42ADE1;
336
padding: 3px;
337
border-radius: 4px;
338
height:30px;
css/pagelayer-editor.css CHANGED
@@ -192,7 +192,7 @@ template {
192
/* An overwrite to show the row irrespective in the editor */
193
194
body {
195
- font-family: Arial;
196
font-size:12px;
197
}
198
@@ -412,7 +412,7 @@ border-radius: 10px;
412
413
/* Element Properties Dialog classes */
414
[class^="pagelayer-elp"]{
415
- font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
416
color: #313439;
417
background-color: transparent;
418
}
@@ -1369,7 +1369,7 @@ display: none;
1369
position: absolute;
1370
background-color: #fff;
1371
width: 86%;
1372
- z-index: 2;
1373
}
1374
1375
.pagelayer-elp-typo-container{
@@ -1766,7 +1766,7 @@ font-size: 11px !important;
1766
color: #442E2E;
1767
clear: both;
1768
text-align: center;
1769
- font-family: "Open Sans",arial,sans-serif !important;
1770
margin-bottom: 2px;
1771
}
1772
@@ -1779,6 +1779,10 @@ padding: 5px 0 3px;
1779
margin: 5px;
1780
}
1781
1782
.pagelayer-shortcode-drag, .pagelayer-shortcode-drag:hover{
1783
width: 100px !important;
1784
height:67px !important;
@@ -1807,7 +1811,7 @@ padding: 0px !important;
1807
1808
.pagelayer-shortcode-text{
1809
display: block;
1810
- font-family: "Open Sans", Arial,Helvetica,sans-serif;
1811
font-size: 11px !important;
1812
font-style: normal;
1813
line-height: 125%;
@@ -2108,11 +2112,11 @@ height: 100%;
2108
background-color: #00000069;
2109
z-index:9999;
2110
display:none;
2111
- font-family: "Open Sans", Arial,Helvetica,sans-serif;
2112
}
2113
2114
.pagelayer-add-section-modal-container span{
2115
- font-family: "Open Sans", Arial,Helvetica,sans-serif;
2116
}
2117
2118
.pagelayer-add-section-modal-holder{
192
/* An overwrite to show the row irrespective in the editor */
193
194
body {
195
+ font-family: Roboto, 'Open Sans', Arial, Helvetica, sans-serif;
196
font-size:12px;
197
}
198
412
413
/* Element Properties Dialog classes */
414
[class^="pagelayer-elp"]{
415
+ font-family: Roboto, 'Open Sans', Arial, Helvetica, sans-serif !important;
416
color: #313439;
417
background-color: transparent;
418
}
1369
position: absolute;
1370
background-color: #fff;
1371
width: 86%;
1372
+ z-index: 12;
1373
}
1374
1375
.pagelayer-elp-typo-container{
1766
color: #442E2E;
1767
clear: both;
1768
text-align: center;
1769
+ font-family: Roboto, 'Open Sans', Arial, sans-serif !important;
1770
margin-bottom: 2px;
1771
}
1772
1779
margin: 5px;
1780
}
1781
1782
+ .pagelayer-global-widget-shortcodes{
1783
+ margin-left:17px;
1784
+ }
1785
+
1786
.pagelayer-shortcode-drag, .pagelayer-shortcode-drag:hover{
1787
width: 100px !important;
1788
height:67px !important;
1811
1812
.pagelayer-shortcode-text{
1813
display: block;
1814
+ font-family: Roboto, 'Open Sans', Arial, Helvetica, sans-serif;
1815
font-size: 11px !important;
1816
font-style: normal;
1817
line-height: 125%;
2112
background-color: #00000069;
2113
z-index:9999;
2114
display:none;
2115
+ font-family: Roboto, 'Open Sans', Arial, Helvetica, sans-serif;
2116
}
2117
2118
.pagelayer-add-section-modal-container span{
2119
+ font-family: Roboto, 'Open Sans', Arial, Helvetica, sans-serif;
2120
}
2121
2122
.pagelayer-add-section-modal-holder{
css/pagelayer-frontend.css CHANGED
@@ -1930,7 +1930,7 @@ vertical-align:middle;
1930
.pagelayer-stars-container{
1931
text-align:center;
1932
color: #ccd6df;
1933
- font-family:"FontAwesome";
1934
display: inline-block;
1935
position: relative;
1936
border-color: 1px solid #ccd6df;
@@ -1948,6 +1948,7 @@ font-family: inherit;
1948
overflow: hidden;
1949
color: #f0ad4e;
1950
position:absolute;
1951
top:0;
1952
left:0;
1953
}
@@ -2855,6 +2856,10 @@ position:absolute;
2855
transform:translate(-50%, -53%);
2856
}
2857
2858
/* PageLayer Owl End */
2859
2860
/* Space Widget */
1930
.pagelayer-stars-container{
1931
text-align:center;
1932
color: #ccd6df;
1933
+ font-family: "FontAwesome", "Font Awesome 5 Free";
1934
display: inline-block;
1935
position: relative;
1936
border-color: 1px solid #ccd6df;
1948
overflow: hidden;
1949
color: #f0ad4e;
1950
position:absolute;
1951
+ font-weight:900;
1952
top:0;
1953
left:0;
1954
}
2856
transform:translate(-50%, -53%);
2857
}
2858
2859
+ .pagelayer-owl-dot{
2860
+ vertical-align: middle;
2861
+ }
2862
+
2863
/* PageLayer Owl End */
2864
2865
/* Space Widget */
css/pen.css CHANGED
@@ -57,9 +57,9 @@
57
.pen textarea{font-size:14px;border:none;background:none;width:100%;_height:200px;min-height:200px;resize:none;}
58
59
.pen-menu [class^="icon-"]:before, .pen-menu [class*=" icon-"]:before {
60
- font-family: "fontawesome";
61
font-style: normal;
62
- font-weight: normal;
63
speak: none;
64
display: inline-block;
65
text-decoration: inherit;
@@ -86,6 +86,7 @@
86
.pen-menu .icon-insertunorderedlist:before { content: '\e802'; } /* '' */
87
.pen-menu .icon-insertorderedlist:before { content: '\e803'; } /* '' */
88
.pen-menu .icon-strikethrough:before { content: "\f0cc"; } /* '' */
89
.pen-menu .icon-underline:before { content: "\f0cd"; } /* '' */
90
.pen-menu .icon-blockquote:before { content: '\e814'; } /* '' */
91
.pen-menu .icon-undo:before { content: '\e817'; } /* '' */
57
.pen textarea{font-size:14px;border:none;background:none;width:100%;_height:200px;min-height:200px;resize:none;}
58
59
.pen-menu [class^="icon-"]:before, .pen-menu [class*=" icon-"]:before {
60
+ font-family: "Font Awesome 5 Free";
61
font-style: normal;
62
+ font-weight: 900;
63
speak: none;
64
display: inline-block;
65
text-decoration: inherit;
86
.pen-menu .icon-insertunorderedlist:before { content: '\e802'; } /* '' */
87
.pen-menu .icon-insertorderedlist:before { content: '\e803'; } /* '' */
88
.pen-menu .icon-strikethrough:before { content: "\f0cc"; } /* '' */
89
+ .pen-menu .icon-strike:before { content: "\f0cc"; } /* '' */
90
.pen-menu .icon-underline:before { content: "\f0cd"; } /* '' */
91
.pen-menu .icon-blockquote:before { content: '\e814'; } /* '' */
92
.pen-menu .icon-undo:before { content: '\e817'; } /* '' */
init.php CHANGED
@@ -5,7 +5,7 @@ if (!defined('ABSPATH')) exit;
5
6
define('PAGELAYER_BASE', plugin_basename(PAGELAYER_FILE));
7
define('PAGELAYER_PRO_BASE', 'pagelayer-pro/pagelayer-pro.php');
8
- define('PAGELAYER_VERSION', '1.0.5');
9
define('PAGELAYER_DIR', dirname(PAGELAYER_FILE));
10
define('PAGELAYER_SLUG', 'pagelayer');
11
define('PAGELAYER_URL', plugins_url('', PAGELAYER_FILE));
@@ -310,7 +310,7 @@ function pagelayer_enqueue_frontend($force = false){
310
$premium_js = '';
311
$premium_css = '';
312
if(defined('PAGELAYER_PREMIUM')){
313
- $premium_js = ',chart.min.js,slick.min.js,premium-frontend.js';
314
$premium_css = ',slick.css,slick-theme.css,premium-frontend.css';
315
316
// Load this For audio widget
5
6
define('PAGELAYER_BASE', plugin_basename(PAGELAYER_FILE));
7
define('PAGELAYER_PRO_BASE', 'pagelayer-pro/pagelayer-pro.php');
8
+ define('PAGELAYER_VERSION', '1.0.6');
9
define('PAGELAYER_DIR', dirname(PAGELAYER_FILE));
10
define('PAGELAYER_SLUG', 'pagelayer');
11
define('PAGELAYER_URL', plugins_url('', PAGELAYER_FILE));
310
$premium_js = '';
311
$premium_css = '';
312
if(defined('PAGELAYER_PREMIUM')){
313
+ $premium_js = ',chart.min.js,slick.min.js,premium-frontend.js,shuffle.min.js';
314
$premium_css = ',slick.css,slick-theme.css,premium-frontend.css';
315
316
// Load this For audio widget
js/givejs.php CHANGED
@@ -48,7 +48,8 @@ $files = array(
48
'wow.min.js',
49
'jquery-numerator.js',
50
'simpleParallax.min.js',
51
- 'chart.min.js'
52
);
53
54
// What files to give
48
'wow.min.js',
49
'jquery-numerator.js',
50
'simpleParallax.min.js',
51
+ 'chart.min.js',
52
+ 'shuffle.min.js'
53
);
54
55
// What files to give
js/pagelayer-editor.js CHANGED
@@ -656,6 +656,13 @@ function pagelayer_setup_drag(){
656
// Trigger the onadd
657
if(pagelayer.drag_is_new){
658
id = pagelayer_onadd(dropped);
659
660
// Existing elements
661
}else{
@@ -720,7 +727,7 @@ function pagelayer_setup_drag(){
720
jQuery(document).on('drop', ondrop);
721
722
// For addition of new elements
723
- pagelayer.$('[pagelayer-tag]').on('dragstart', function(e){
724
//console.log(e);
725
726
var tEle = jQuery(e.target);
@@ -1323,10 +1330,10 @@ function pagelayer_right_click(){
1323
var html = '<div class="pagelayer-right-click-options" style="display:none;">'+
1324
'<ul>'+
1325
'<li><a class="pagelayer-right-edit">Edit</a></li>'+
1326
- '<li><a class="pagelayer-right-duplicate"><i class="fa fa-clone" /> Duplicate</a></li>'+
1327
- '<li><a class="pagelayer-right-copy"><i class="fa fa-files-o" /> Copy</a></li>'+
1328
- '<li><a class="pagelayer-right-paste"><i class="fa fa-clipboard" /> Paste</a></li>'+
1329
- '<li><a class="pagelayer-right-delete"><i class="fa fa-trash-o" /> Delete</a></li>'+
1330
'</ul>'+
1331
'</div>';
1332
@@ -1441,6 +1448,12 @@ jQuery(window.parent.document).add(document).keydown(function(event){
1441
1442
var tEle = jQuery(event.target);
1443
1444
// Is this in the editable area ?
1445
if (tEle.is('input, textarea') || tEle.closest('[contenteditable]').length > 0) {
1446
return;
@@ -2770,8 +2783,8 @@ function pagelayer_generate_sc(selector){
2770
}
2771
2772
// Create the tag
2773
- var data = '['+final_tag;
2774
-
2775
// Get the attributes to store
2776
jQuery.each(jEle[0].attributes, function(i, attrib){
2777
var res = attrib.name.match(/^pagelayer-a-(.+)/i);
@@ -3025,9 +3038,6 @@ function pagelayer_leftbar(){
3025
3026
// On click Pagelayer setting icon
3027
pagelayer.$('.pagelayer-settings-icon').click(function(event){
3028
- pagelayer.$('.pagelayer-elpd-header').show().find('.pagelayer-elpd-title').text('Post Settings');
3029
- pagelayer.$('.pagelayer-logo').hide();
3030
- pagelayer_leftbar_tab('pagelayer-post-settings');
3031
pagelayer_active = {};
3032
3033
var pl_tag = jQuery(this).attr('pagelayer-tag') || 'pl_post_props';
@@ -3622,7 +3632,7 @@ function pagelayer_bottombar(){
3622
});
3623
3624
holder.find('.pagelayer-history-icon').click(function(){
3625
- pagelayer.$('.pagelayer-elpd-header').show().find('.pagelayer-elpd-title').text('Pagelayer History');
3626
pagelayer.$('.pagelayer-logo').hide();
3627
pagelayer_leftbar_tab('pagelayer-history');
3628
pagelayer_active = {};
@@ -3630,7 +3640,7 @@ function pagelayer_bottombar(){
3630
});
3631
3632
holder.find('.pagelayer-navigator-icon').click(function(){
3633
- pagelayer.$('.pagelayer-elpd-header').show().find('.pagelayer-elpd-title').text('Pagelayer Navigator');
3634
pagelayer.$('.pagelayer-logo').hide();
3635
3636
// If the navigator tab visible, then don't setup
@@ -4011,17 +4021,18 @@ function pagelayer_add_widget(){
4011
var row_id = pagelayer_onadd(row, false);
4012
var rEle = pagelayer_ele_by_id(row_id);
4013
4014
- if(tag == 'pl_row'){
4015
- rEle.click();
4016
- return row_id;
4017
- }
4018
-
4019
// Create Column
4020
var col = jQuery('<div pagelayer-tag="pl_col"></div>');
4021
rEle.find('.pagelayer-row-holder').append(col);
4022
var col_id = pagelayer_onadd(col, false);
4023
var cEle = pagelayer_ele_by_id(col_id);
4024
4025
if(tag == 'pl_col'){
4026
cEle.click();
4027
return col_id;
@@ -4031,10 +4042,18 @@ function pagelayer_add_widget(){
4031
var ele = jQuery('<div pagelayer-tag="'+tag+'"></div>');
4032
cEle.find('.pagelayer-col-holder').append(ele);
4033
var id = pagelayer_onadd(ele);
4034
4035
// Ensure the column is not empty
4036
pagelayer_empty_col(cEle.find('.pagelayer-col-holder'));
4037
4038
return id;
4039
4040
}
656
// Trigger the onadd
657
if(pagelayer.drag_is_new){
658
id = pagelayer_onadd(dropped);
659
+
660
+ // Create Column
661
+ if(tag == 'pl_row' || tag == 'pl_inner_row'){
662
+ var col = jQuery('<div pagelayer-tag="pl_col"></div>');
663
+ jQuery('[pagelayer-id="'+id+'"]').find('.pagelayer-row-holder').append(col);
664
+ var col_id = pagelayer_onadd(col, false);
665
+ }
666
667
// Existing elements
668
}else{
727
jQuery(document).on('drop', ondrop);
728
729
// For addition of new elements
730
+ pagelayer.$('.pagelayer-leftbar').on('dragstart', function(e){
731
//console.log(e);
732
733
var tEle = jQuery(e.target);
1330
var html = '<div class="pagelayer-right-click-options" style="display:none;">'+
1331
'<ul>'+
1332
'<li><a class="pagelayer-right-edit">Edit</a></li>'+
1333
+ '<li><a class="pagelayer-right-duplicate"><i class="fa fa-clone" /> '+pagelayer_l('Duplicate')+'</a></li>'+
1334
+ '<li><a class="pagelayer-right-copy"><i class="fa fa-files-o" /> '+pagelayer_l('Copy')+'</a></li>'+
1335
+ '<li><a class="pagelayer-right-paste"><i class="fa fa-clipboard" /> '+pagelayer_l('Paste')+'</a></li>'+
1336
+ '<li><a class="pagelayer-right-delete"><i class="fa fa-trash-o" /> '+pagelayer_l('Delete')+'</a></li>'+
1337
'</ul>'+
1338
'</div>';
1339
1448
1449
var tEle = jQuery(event.target);
1450
1451
+ // ctrl+s handle
1452
+ if(event.keyCode == 83 && event.ctrlKey){
1453
+ event.preventDefault();
1454
+ pagelayer.$('.pagelayer-bottombar-holder').find('.pagelayer-update-button').click();
1455
+ }
1456
+
1457
// Is this in the editable area ?
1458
if (tEle.is('input, textarea') || tEle.closest('[contenteditable]').length > 0) {
1459
return;
2783
}
2784
2785
// Create the tag
2786
+ var data = '['+final_tag+' pagelayer-id="'+id+'" ';
2787
+
2788
// Get the attributes to store
2789
jQuery.each(jEle[0].attributes, function(i, attrib){
2790
var res = attrib.name.match(/^pagelayer-a-(.+)/i);
3038
3039
// On click Pagelayer setting icon
3040
pagelayer.$('.pagelayer-settings-icon').click(function(event){
3041
pagelayer_active = {};
3042
3043
var pl_tag = jQuery(this).attr('pagelayer-tag') || 'pl_post_props';
3632
});
3633
3634
holder.find('.pagelayer-history-icon').click(function(){
3635
+ pagelayer.$('.pagelayer-elpd-header').show().find('.pagelayer-elpd-title').text(pagelayer_l('pagelayer_history'));
3636
pagelayer.$('.pagelayer-logo').hide();
3637
pagelayer_leftbar_tab('pagelayer-history');
3638
pagelayer_active = {};
3640
});
3641
3642
holder.find('.pagelayer-navigator-icon').click(function(){
3643
+ pagelayer.$('.pagelayer-elpd-header').show().find('.pagelayer-elpd-title').text(pagelayer_l('pagelayer_navigator'));
3644
pagelayer.$('.pagelayer-logo').hide();
3645
3646
// If the navigator tab visible, then don't setup
4021
var row_id = pagelayer_onadd(row, false);
4022
var rEle = pagelayer_ele_by_id(row_id);
4023
4024
// Create Column
4025
var col = jQuery('<div pagelayer-tag="pl_col"></div>');
4026
rEle.find('.pagelayer-row-holder').append(col);
4027
var col_id = pagelayer_onadd(col, false);
4028
var cEle = pagelayer_ele_by_id(col_id);
4029
4030
+
4031
+ if(tag == 'pl_row'){
4032
+ rEle.click();
4033
+ return row_id;
4034
+ }
4035
+
4036
if(tag == 'pl_col'){
4037
cEle.click();
4038
return col_id;
4042
var ele = jQuery('<div pagelayer-tag="'+tag+'"></div>');
4043
cEle.find('.pagelayer-col-holder').append(ele);
4044
var id = pagelayer_onadd(ele);
4045
+ var eEle = pagelayer_ele_by_id(col_id);
4046
4047
// Ensure the column is not empty
4048
pagelayer_empty_col(cEle.find('.pagelayer-col-holder'));
4049
4050
+ if(tag == 'pl_inner_row'){
4051
+ // Create Column
4052
+ var in_col = jQuery('<div pagelayer-tag="pl_col"></div>');
4053
+ eEle.find('.pagelayer-row-holder').append(in_col);
4054
+ var in_col_id = pagelayer_onadd(in_col, false);
4055
+ }
4056
+
4057
return id;
4058
4059
}
js/pagelayer-frontend.js CHANGED
@@ -234,7 +234,7 @@ function pagelayer_pl_tabs(jEle) {
234
235
var icon = '';
236
if(tEle.attr('pagelayer-tab-icon')){
237
- icon = "fa fa-"+tEle.attr('pagelayer-tab-icon');
238
}
239
240
// Set the default tab
@@ -300,8 +300,8 @@ function pagelayer_pl_accordion(jEle){
300
301
var setup = tabs.attr('pagelayer-setup');
302
303
- var icon = 'fa fa-'+holder.attr('data-icon');
304
- var active_icon = 'fa fa-'+holder.attr('data-active_icon');
305
306
tabs.find('span i').attr('class', icon);
307
var currentTab = jEle.find('.pagelayer-accordion-tabs.active');
@@ -353,8 +353,8 @@ function pagelayer_pl_collapse(jEle){
353
}
354
355
var setup = tabs.attr('pagelayer-setup');
356
- var icon = 'fa fa-'+holder.attr('data-icon');
357
- var active_icon = 'fa fa-'+holder.attr('data-active_icon');
358
var activeTabs = jEle.find('.pagelayer-accordion_item.active');
359
360
tabs.find('span i').attr('class', icon);
234
235
var icon = '';
236
if(tEle.attr('pagelayer-tab-icon')){
237
+ icon = tEle.attr('pagelayer-tab-icon');
238
}
239
240
// Set the default tab
300
301
var setup = tabs.attr('pagelayer-setup');
302
303
+ var icon = holder.attr('data-icon');
304
+ var active_icon = holder.attr('data-active_icon');
305
306
tabs.find('span i').attr('class', icon);
307
var currentTab = jEle.find('.pagelayer-accordion-tabs.active');
353
}
354
355
var setup = tabs.attr('pagelayer-setup');
356
+ var icon = holder.attr('data-icon');
357
+ var active_icon = holder.attr('data-active_icon');
358
var activeTabs = jEle.find('.pagelayer-accordion_item.active');
359
360
tabs.find('span i').attr('class', icon);
languages/en.json CHANGED
@@ -1415,6 +1415,7 @@
1415
"number_of_items" : "Number of Items",
1416
"arraow_size" : "Arrow Size",
1417
"dot_size" : "Dot Size",
1418
"autoplay_timeout" : "Autoplay Timeout",
1419
"autoplay_hover_pause" : "Autoplay Hover Pause",
1420
"slides" : "Slides",
@@ -1649,5 +1650,30 @@
1649
"phone" : "Phone",
1650
"address" : "Address",
1651
"copyright" : "Copyright",
1652
- "email" : "Email"
1653
}
1415
"number_of_items" : "Number of Items",
1416
"arraow_size" : "Arrow Size",
1417
"dot_size" : "Dot Size",
1418
+ "active_dot_size" : "Active Dot Size",
1419
"autoplay_timeout" : "Autoplay Timeout",
1420
"autoplay_hover_pause" : "Autoplay Hover Pause",
1421
"slides" : "Slides",
1650
"phone" : "Phone",
1651
"address" : "Address",
1652
"copyright" : "Copyright",
1653
+ "email" : "Email",
1654
+ "desktop" : "Desktop",
1655
+ "tablet" : "Tablet",
1656
+ "mobile" : "Mobile",
1657
+ "more_options" : "More Options",
1658
+ "post_ettings" : "Post Settings",
1659
+ "pagelayer_history" : "Pagelayer History",
1660
+ "pagelayer_navigator" : "Pagelayer Navigator",
1661
+ "global_widgets" : "Global Widgets",
1662
+ "save_global" : "Save as a Global",
1663
+ "drop_breakpoint" : "Dropdown Breakpoint",
1664
+ "paginate_links" : "Paginate Links",
1665
+ "pagination_on" : "Pagination On",
1666
+ "prev_text" : "Previous Text",
1667
+ "next_text" : "Next Text",
1668
+ "pagi_end_size" : "Pagination End Size",
1669
+ "pagi_mid_size" : "Pagination Mid Size",
1670
+ "before_page_number" : "Before Page Number",
1671
+ "after_page_number" : "After Page Number",
1672
+ "paginate_links_style" : "Paginate Links Style",
1673
+ "number_prev_next" : "Number With Prev Next",
1674
+ "p_bg_color" : "Pointer / Background Color",
1675
+ "pointer_height" : "Pointer Height",
1676
+ "title_color" : "Title Color",
1677
+ "img_portfolio" : "Image Portfolio",
1678
+ "overlay_cont_pos" : "Overlay Content Position"
1679
}
main/functions.php CHANGED
@@ -1075,6 +1075,15 @@ function pagelayer_remove_excerpt_more($more){
1075
1076
function pagelayer_posts($params, $args = []){
1077
1078
// If args is empty
1079
if(empty($args)){
1080
$args = array(
@@ -1083,15 +1092,6 @@ function pagelayer_posts($params, $args = []){
1083
'order' => $params['order']
1084
);
1085
1086
- if($params['exc_length']){
1087
- $exc_length = (int) $params['exc_length'];
1088
- add_filter( 'excerpt_length', function($length) use($exc_length){
1089
- return $exc_length;
1090
- }, 999 );
1091
- }
1092
-
1093
- add_filter('excerpt_more', 'pagelayer_remove_excerpt_more', 999);
1094
-
1095
if($params['term']){
1096
1097
$term = explode(':', $params['term']);
1075
1076
function pagelayer_posts($params, $args = []){
1077
1078
+ if($params['exc_length']){
1079
+ $exc_length = (int) $params['exc_length'];
1080
+ add_filter( 'excerpt_length', function($length) use($exc_length){
1081
+ return $exc_length;
1082
+ }, 999 );
1083
+ }
1084
+
1085
+ add_filter('excerpt_more', 'pagelayer_remove_excerpt_more', 999);
1086
+
1087
// If args is empty
1088
if(empty($args)){
1089
$args = array(
1092
'order' => $params['order']
1093
);
1094
1095
if($params['term']){
1096
1097
$term = explode(':', $params['term']);
main/live-body.php CHANGED
@@ -32,6 +32,7 @@ global $post;
32
echo '
33
<html>
34
<head>
35
<link rel="stylesheet" href="'.PAGELAYER_CSS.'/givecss.php?give=pagelayer-editor.css,trumbowyg.min.css,pagelayer-icons.css&ver='.PAGELAYER_VERSION.'">';
36
37
$icons = pagelayer_enabled_icons();
32
echo '
33
<html>
34
<head>
35
+ <link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
36
<link rel="stylesheet" href="'.PAGELAYER_CSS.'/givecss.php?give=pagelayer-editor.css,trumbowyg.min.css,pagelayer-icons.css&ver='.PAGELAYER_VERSION.'">';
37
38
$icons = pagelayer_enabled_icons();
main/settings.php CHANGED
@@ -305,30 +305,30 @@ function pagelayer_settings_page(){
305
306
foreach( $socials as $social ){
307
if(isset($_REQUEST[$social])){
308
- $url = $_REQUEST[$social];
309
- update_option($social, $url);
310
}
311
}
312
313
- if(defined('PAGELAYER_PREMIUM')){
314
-
315
- if(isset($_REQUEST['pagelayer_cf_to_email'])){
316
317
- $to_email = $_REQUEST['pagelayer_cf_to_email'];
318
-
319
- if ( get_option( 'pagelayer_cf_to_email' ) !== false ) {
320
321
- // The option already exists, so we just update it.
322
- update_option( 'pagelayer_cf_to_email', $to_email );
323
324
- } else {
325
326
- // The option hasn't been added yet. We'll add it with $autoload set to 'no'.
327
- $deprecated = null;
328
- $autoload = 'no';
329
- add_option( 'pagelayer_cf_to_email', $to_email, $deprecated, $autoload );
330
- }
331
}
332
333
if(isset($_REQUEST['pagelayer_cf_subject'])){
334
@@ -427,9 +427,9 @@ function pagelayer_settings_page(){
427
<a href="#general" class="nav-tab">General</a>
428
<a href="#settings" class="nav-tab ">Settings</a>
429
<a href="#icons" class="nav-tab ">Enable Icons</a>
430
<?php if(defined('PAGELAYER_PREMIUM')){ ?>
431
<a href="#integration" class="nav-tab">Integrations</a>
432
- <a href="#social" class="nav-tab">Information</a>
433
<a href="#contactform" class="nav-tab ">Contact Form</a>
434
<a href="#captcha" class="nav-tab ">Google Captcha</a>
435
<?php } ?>
@@ -515,6 +515,86 @@ function pagelayer_settings_page(){
515
</tr>
516
</table>
517
</div>
518
<?php if(defined('PAGELAYER_PREMIUM')){ ?>
519
<div class="pagelayer-tab-panel" id="integration">
520
<div class="pagelayer-title">
@@ -529,65 +609,6 @@ function pagelayer_settings_page(){
529
</tr>
530
</table>
531
</div>
532
- <div class="pagelayer-tab-panel" id="social">
533
- <div class="pagelayer-settings-info" style="display:flex;">
534
- <div style="flex:1">
535
- <div class="pagelayer-title">
536
- <h2>Address and Phone Number</h2>
537
- </div>
538
- <table>
539
- <tr>
540
- <th>Address</th>
541
- <td><textarea name="pagelayer-address"><?php echo pagelayer_get_option('pagelayer-address');?></textarea></td>
542
- </tr>
543
- <tr>
544
- <th>Phone Number</th>
545
- <td><input type="tel" name="pagelayer-phone" <?php echo 'value="'.pagelayer_get_option('pagelayer-phone').'"';?> /></td>
546
- </tr>
547
- </table>
548
- <div class="pagelayer-title">
549
- <h2>Copyright</h2>
550
- </div>
551
- <table>
552
- <tr>
553
- <th>Copyright Text</th>
554
- <td><textarea name="pagelayer-copyright"><?php echo pagelayer_get_option('pagelayer-copyright'); ?></textarea></td>
555
- </tr>
556
- </table>
557
- </div>
558
- <div style="flex:1">
559
- <div class="pagelayer-title">
560
- <h2>Social Profile URLs</h2>
561
- </div>
562
- <table>
563
- <tr>
564
- <th>Facebook</th>
565
- <td><input type="text" name="pagelayer-facebook-url" <?php echo 'value="'.get_option('pagelayer-facebook-url').'"';?>/></td>
566
- </tr>
567
- <tr>
568
- <th>Twitter</th>
569
- <td><input type="text" name="pagelayer-twitter-url" <?php echo 'value="'.get_option('pagelayer-twitter-url').'"';?>/></td>
570
- </tr>
571
- <tr>
572
- <th>Instagram</th>
573
- <td><input type="text" name="pagelayer-instagram-url" <?php echo 'value="'.get_option('pagelayer-instagram-url').'"'; ?>/></td>
574
- </tr>
575
- <tr>
576
- <th>LinkedIn</th>
577
- <td><input type="text" name="pagelayer-linkedin-url" <?php echo 'value="'.get_option('pagelayer-linkedin-url').'"'; ?>/></td>
578
- </tr>
579
- <tr>
580
- <th>YouTube</th>
581
- <td><input type="text" name="pagelayer-youtube-url" <?php echo 'value="'.get_option('pagelayer-youtube-url').'"'; ?>/></td>
582
- </tr>
583
- <tr>
584
- <th>Google+</th>
585
- <td><input type="text" name="pagelayer-gplus-url" <?php echo 'value="'.get_option('pagelayer-gplus-url').'"'; ?>/></td>
586
- </tr>
587
- </table>
588
- </div>
589
- </div>
590
- </div>
591
<div class="pagelayer-tab-panel" id="contactform">
592
<table>
593
<tr>
305
306
foreach( $socials as $social ){
307
if(isset($_REQUEST[$social])){
308
+ $url = $_REQUEST[$social];
309
+ update_option($social, $url);
310
}
311
}
312
313
+ if(isset($_REQUEST['pagelayer_cf_to_email'])){
314
315
+ $to_email = $_REQUEST['pagelayer_cf_to_email'];
316
317
+ if ( get_option( 'pagelayer_cf_to_email' ) !== false ) {
318
+
319
+ // The option already exists, so we just update it.
320
+ update_option( 'pagelayer_cf_to_email', $to_email );
321
322
+ } else {
323
324
+ // The option hasn't been added yet. We'll add it with $autoload set to 'no'.
325
+ $deprecated = null;
326
+ $autoload = 'no';
327
+ add_option( 'pagelayer_cf_to_email', $to_email, $deprecated, $autoload );
328
}
329
+ }
330
+
331
+ if(defined('PAGELAYER_PREMIUM')){
332
333
if(isset($_REQUEST['pagelayer_cf_subject'])){
334
427
<a href="#general" class="nav-tab">General</a>
428
<a href="#settings" class="nav-tab ">Settings</a>
429
<a href="#icons" class="nav-tab ">Enable Icons</a>
430
+ <a href="#social" class="nav-tab">Information</a>
431
<?php if(defined('PAGELAYER_PREMIUM')){ ?>
432
<a href="#integration" class="nav-tab">Integrations</a>
433
<a href="#contactform" class="nav-tab ">Contact Form</a>
434
<a href="#captcha" class="nav-tab ">Google Captcha</a>
435
<?php } ?>
515
</tr>
516
</table>
517
</div>
518
+ <div class="pagelayer-tab-panel" id="social">
519
+ <div class="pagelayer-settings-info" style="display:flex;">
520
+ <div style="flex:1">
521
+ <div class="pagelayer-title">
522
+ <h2>Address and Phone Number</h2>
523
+ </div>
524
+ <table>
525
+ <tr>
526
+ <th>Address</th>
527
+ <td><textarea name="pagelayer-address"><?php echo pagelayer_get_option('pagelayer-address');?></textarea></td>
528
+ </tr>
529
+ <tr>
530
+ <th>Phone Number</th>
531
+ <td><input type="tel" name="pagelayer-phone" <?php echo 'value="'.pagelayer_get_option('pagelayer-phone').'"';?> /></td>
532
+ </tr>
533
+
534
+ <tr>
535
+ <th scope="row">Contact Email:</th>
536
+ <td>
537
+ <?php if(defined('PAGELAYER_PREMIUM')){
538
+ echo '<p>You can change your contact email<br> from the Contact Form Settings.</p>';
539
+ }else{
540
+ ?>
541
+ <label>
542
+ <input name="pagelayer_cf_to_email" type="email" placeholder="email@domain.com" <?php if(get_option('pagelayer_cf_to_email')){
543
+ echo 'value="'.get_option('pagelayer_cf_to_email').'"';
544
+ }?>/>
545
+ </label>
546
+ <?php } ?>
547
+ </td>
548
+ </tr>
549
+
550
+ </table>
551
+ <?php if(defined('PAGELAYER_PREMIUM')){ ?>
552
+ <div class="pagelayer-title">
553
+ <h2>Copyright</h2>
554
+ </div>
555
+ <table>
556
+ <tr>
557
+ <th>Copyright Text</th>
558
+ <td><textarea name="pagelayer-copyright"><?php echo pagelayer_get_option('pagelayer-copyright'); ?></textarea></td>
559
+ </tr>
560
+ </table>
561
+ <?php } ?>
562
+ </div>
563
+ <?php if(defined('PAGELAYER_PREMIUM')){ ?>
564
+ <div style="flex:1">
565
+ <div class="pagelayer-title">
566
+ <h2>Social Profile URLs</h2>
567
+ </div>
568
+ <table>
569
+ <tr>
570
+ <th>Facebook</th>
571
+ <td><input type="text" name="pagelayer-facebook-url" <?php echo 'value="'.get_option('pagelayer-facebook-url').'"';?>/></td>
572
+ </tr>
573
+ <tr>
574
+ <th>Twitter</th>
575
+ <td><input type="text" name="pagelayer-twitter-url" <?php echo 'value="'.get_option('pagelayer-twitter-url').'"';?>/></td>
576
+ </tr>
577
+ <tr>
578
+ <th>Instagram</th>
579
+ <td><input type="text" name="pagelayer-instagram-url" <?php echo 'value="'.get_option('pagelayer-instagram-url').'"'; ?>/></td>
580
+ </tr>
581
+ <tr>
582
+ <th>LinkedIn</th>
583
+ <td><input type="text" name="pagelayer-linkedin-url" <?php echo 'value="'.get_option('pagelayer-linkedin-url').'"'; ?>/></td>
584
+ </tr>
585
+ <tr>
586
+ <th>YouTube</th>
587
+ <td><input type="text" name="pagelayer-youtube-url" <?php echo 'value="'.get_option('pagelayer-youtube-url').'"'; ?>/></td>
588
+ </tr>
589
+ <tr>
590
+ <th>Google+</th>
591
+ <td><input type="text" name="pagelayer-gplus-url" <?php echo 'value="'.get_option('pagelayer-gplus-url').'"'; ?>/></td>
592
+ </tr>
593
+ </table>
594
+ </div>
595
+ <?php } ?>
596
+ </div>
597
+ </div>
598
<?php if(defined('PAGELAYER_PREMIUM')){ ?>
599
<div class="pagelayer-tab-panel" id="integration">
600
<div class="pagelayer-title">
609
</tr>
610
</table>
611
</div>
612
<div class="pagelayer-tab-panel" id="contactform">
613
<table>
614
<tr>
main/shortcode_functions.php CHANGED
@@ -53,13 +53,19 @@ function pagelayer_render_shortcode($atts, $content = '', $tag = ''){
53
$el = [];
54
$el['atts'] = $atts;
55
$el['oAtts'] = $atts;
56
- $el['id'] = pagelayer_RandomString(16);
57
$el['tmp'] = [];
58
$el['tag'] = $final_tag;
59
$el['content'] = $content;
60
$el['selector'] = '[pagelayer-id="'.$el['id'].'"]';
61
$el['wrap'] = '[pagelayer-wrap-id="'.$el['id'].'"]';
62
63
$innerHTML = @$pagelayer->shortcodes[$tag]['innerHTML'];
64
if(!empty($innerHTML) && !empty($content)){
65
$el['oAtts'][$innerHTML] = $content;
53
$el = [];
54
$el['atts'] = $atts;
55
$el['oAtts'] = $atts;
56
+ $el['id'] = !empty($atts['pagelayer-id']) ? $atts['pagelayer-id'] : pagelayer_RandomString(16);
57
$el['tmp'] = [];
58
$el['tag'] = $final_tag;
59
$el['content'] = $content;
60
$el['selector'] = '[pagelayer-id="'.$el['id'].'"]';
61
$el['wrap'] = '[pagelayer-wrap-id="'.$el['id'].'"]';
62
63
+ // Remove pagelayer-id from attr
64
+ if( !empty($atts['pagelayer-id']) ){
65
+ unset($el['atts']['pagelayer-id']);
66
+ unset($el['oAtts']['pagelayer-id']);
67
+ }
68
+
69
$innerHTML = @$pagelayer->shortcodes[$tag]['innerHTML'];
70
if(!empty($innerHTML) && !empty($content)){
71
$el['oAtts'][$innerHTML] = $content;
main/shortcodes.php CHANGED
@@ -271,22 +271,44 @@ $pagelayer->slider_pager_styles = [
271
'label' => __pl('color'),
272
'css' => ['{{element}} .pagelayer-owl-dot span' => 'background-color: {{val}} !important']
273
),
274
'active_pager_color' => array(
275
'type' => 'color',
276
'label' => __pl('active_pager_color'),
277
'css' => ['{{element}} .pagelayer-owl-dot.active span' => 'background-color: {{val}} !important']
278
),
279
- 'dot_size' => array(
280
'type' => 'slider',
281
- 'label' => __pl('dot_size'),
282
'min' => 0,
283
'step' => 1,
284
'max' => 200,
285
'screen' => 1,
286
'css' => [
287
- '{{element}} .pagelayer-owl-dot span' => 'width: {{val}}px !important; height: {{val}}px !important;'
288
]
289
),
290
];
291
292
$pagelayer->slider_options = [
@@ -2015,7 +2037,7 @@ pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_heading', array(
2015
'heading_styles' => [
2016
'heading_state' => array(
2017
'type' => 'radio',
2018
- 'label' => 'state',
2019
'default' => 'normal',
2020
'list' => array(
2021
'normal' => __pl('normal'),
@@ -6790,6 +6812,13 @@ pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_collapse', array(
6790
'default' => '#ffffff',
6791
'css' => ['{{element}} .pagelayer-accordion_item .pagelayer-accordion-panel'=> 'background-color:{{val}}'],
6792
),
6793
'acc_border_type' => array(
6794
'type' => 'select',
6795
'label' => __pl('border_type'),
@@ -7703,11 +7732,13 @@ pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_address', array(
7703
'typography' => array(
7704
'type' => 'typography',
7705
'label' => __pl('typography'),
7706
'css' => ['{{element}} .pagelayer-address *, {{element}} .pagelayer-address' => 'font-family: {{val[0]}}; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
7707
),
7708
'align' => array(
7709
'type' => 'radio',
7710
'label' => __pl('alignment'),
7711
'list' => [
7712
'flex-start' => __pl('left'),
7713
'center' => __pl('center'),
@@ -7770,11 +7801,13 @@ pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_email', array(
7770
'typography' => array(
7771
'type' => 'typography',
7772
'label' => __pl('typography'),
7773
'css' => ['{{element}} .pagelayer-email *, {{element}} .pagelayer-email' => 'font-family: {{val[0]}}; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
7774
),
7775
'align' => array(
7776
'type' => 'radio',
7777
'label' => __pl('alignment'),
7778
'list' => [
7779
'flex-start' => __pl('left'),
7780
'center' => __pl('center'),
@@ -7837,11 +7870,13 @@ pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_phone', array(
7837
'typography' => array(
7838
'type' => 'typography',
7839
'label' => __pl('typography'),
7840
'css' => ['{{element}} .pagelayer-phone *, {{element}} .pagelayer-phone' => 'font-family: {{val[0]}}; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
7841
),
7842
'align' => array(
7843
'type' => 'radio',
7844
'label' => __pl('alignment'),
7845
'list' => [
7846
'flex-start' => __pl('left'),
7847
'center' => __pl('center'),
271
'label' => __pl('color'),
272
'css' => ['{{element}} .pagelayer-owl-dot span' => 'background-color: {{val}} !important']
273
),
274
+ 'dot_size' => array(
275
+ 'type' => 'slider',
276
+ 'label' => __pl('dot_size'),
277
+ 'min' => 0,
278
+ 'step' => 1,
279
+ 'max' => 200,
280
+ 'screen' => 1,
281
+ 'css' => [
282
+ '{{element}} .pagelayer-owl-dot span' => 'width: {{val}}px !important; height: {{val}}px !important;'
283
+ ]
284
+ ),
285
'active_pager_color' => array(
286
'type' => 'color',
287
'label' => __pl('active_pager_color'),
288
'css' => ['{{element}} .pagelayer-owl-dot.active span' => 'background-color: {{val}} !important']
289
),
290
+ 'active_dot_size' => array(
291
'type' => 'slider',
292
+ 'label' => __pl('active_dot_size'),
293
'min' => 0,
294
'step' => 1,
295
'max' => 200,
296
'screen' => 1,
297
'css' => [
298
+ '{{element}} .pagelayer-owl-dot.active span' => 'width: {{val}}px !important; height: {{val}}px !important;'
299
]
300
),
301
+ 'pager_top_space' => array(
302
+ 'type' => 'slider',
303
+ 'label' => __pl('service_btn_spacing'),
304
+ 'min' => 0,
305
+ 'step' => 1,
306
+ 'max' => 200,
307
+ 'screen' => 1,
308
+ 'css' => [
309
+ '{{element}} .pagelayer-owl-nav.disabled+.pagelayer-owl-dots' => 'margin-top: {{val}}px;'
310
+ ]
311
+ )
312
];
313
314
$pagelayer->slider_options = [
2037
'heading_styles' => [
2038
'heading_state' => array(
2039
'type' => 'radio',
2040
+ 'label' => __pl('state'),
2041
'default' => 'normal',
2042
'list' => array(
2043
'normal' => __pl('normal'),
6812
'default' => '#ffffff',
6813
'css' => ['{{element}} .pagelayer-accordion_item .pagelayer-accordion-panel'=> 'background-color:{{val}}'],
6814
),
6815
+ 'acc_content_padding' => array(
6816
+ 'type' => 'padding',
6817
+ 'label' => __pl('padding'),
6818
+ 'units' => ['px', '%', 'em'],
6819
+ 'screen' => 1,
6820
+ 'css' => ['{{element}} .pagelayer-accordion_item .pagelayer-accordion-panel' => 'padding: {{val[0]}} {{val[1]}} {{val[2]}} {{val[3]}}'],
6821
+ ),
6822
'acc_border_type' => array(
6823
'type' => 'select',
6824
'label' => __pl('border_type'),
7732
'typography' => array(
7733
'type' => 'typography',
7734
'label' => __pl('typography'),
7735
+ 'screen' => 1,
7736
'css' => ['{{element}} .pagelayer-address *, {{element}} .pagelayer-address' => 'font-family: {{val[0]}}; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
7737
),
7738
'align' => array(
7739
'type' => 'radio',
7740
'label' => __pl('alignment'),
7741
+ 'screen' => 1,
7742
'list' => [
7743
'flex-start' => __pl('left'),
7744
'center' => __pl('center'),
7801
'typography' => array(
7802
'type' => 'typography',
7803
'label' => __pl('typography'),
7804
+ 'screen' => 1,
7805
'css' => ['{{element}} .pagelayer-email *, {{element}} .pagelayer-email' => 'font-family: {{val[0]}}; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
7806
),
7807
'align' => array(
7808
'type' => 'radio',
7809
'label' => __pl('alignment'),
7810
+ 'screen' => 1,
7811
'list' => [
7812
'flex-start' => __pl('left'),
7813
'center' => __pl('center'),
7870
'typography' => array(
7871
'type' => 'typography',
7872
'label' => __pl('typography'),
7873
+ 'screen' => 1,
7874
'css' => ['{{element}} .pagelayer-phone *, {{element}} .pagelayer-phone' => 'font-family: {{val[0]}}; font-size: {{val[1]}}px !important; font-style: {{val[2]}} !important; font-weight: {{val[3]}} !important; font-variant: {{val[4]}} !important; text-decoration-line: {{val[5]}} !important; text-decoration-style: {{val[6]}} !important; line-height: {{val[7]}}em !important; text-transform: {{val[8]}} !important; letter-spacing: {{val[9]}}px !important; word-spacing: {{val[10]}}px !important;'],
7875
),
7876
'align' => array(
7877
'type' => 'radio',
7878
'label' => __pl('alignment'),
7879
+ 'screen' => 1,
7880
'list' => [
7881
'flex-start' => __pl('left'),
7882
'center' => __pl('center'),
pagelayer.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: PageLayer
4
Plugin URI: http://wordpress.org/plugins/pagelayer/
5
Description: PageLayer is a WordPress page builder plugin. Its very easy to use and very light on the browser.
6
- Version: 1.0.5
7
Author: Pagelayer Team
8
Author URI: https://pagelayer.com/
9
License: LGPL v2.1
3
Plugin Name: PageLayer
4
Plugin URI: http://wordpress.org/plugins/pagelayer/
5
Description: PageLayer is a WordPress page builder plugin. Its very easy to use and very light on the browser.
6
+ Version: 1.0.6
7
Author: Pagelayer Team
8
Author URI: https://pagelayer.com/
9
License: LGPL v2.1
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: page builder, editor, landing page, drag-and-drop, pagelayer, form-builder
4
Requires at least: 4.7
5
Tested up to: 5.3
6
Requires PHP: 5.4
7
- Stable tag: 1.0.5
8
License: LGPL v2.1
9
License URI: http://www.gnu.org/licenses/lgpl-2.1.html
10
@@ -109,6 +109,24 @@ Do you have questions related to PageLayer ? Use the following links :
109
110
== Changelog ==
111
112
= 1.0.5 (January 21, 2020) =
113
* [Feature] Added new widgets - Contact Email, Phone, Address, Copyright. You can specify these defaults and it will be changed throughout the website.
114
* [Feature] Added the screen mode option for the custom Column Width in Column widget.
4
Requires at least: 4.7
5
Tested up to: 5.3
6
Requires PHP: 5.4
7
+ Stable tag: 1.0.6
8
License: LGPL v2.1
9
License URI: http://www.gnu.org/licenses/lgpl-2.1.html
10
109
110
== Changelog ==
111
112
+ = 1.0.6 (February 20, 2020) =
113
+ * [Feature] Added settings for widgets - Contact Email, Phone, Address. You can specify these defaults and it will be changed throughout the website.
114
+ * [Feature] Added keyboard options Ctrl+S to update posts.
115
+ * [Feature] Added size and space option for the slider dots for all Slider widgets.
116
+ * [Feature] Added screen mode options for typography and alignment in the Contact Email, Phone and Address widgets.
117
+ * [Premium-Feature] Added new widget for Image Portfolio.
118
+ * [Premium-Feature] Added inline and spacing option for radio button in Contact form widget.
119
+ * [Premium-Feature] Added dropdown breakpoint option for responsive menu in Primary Menu widget.
120
+ * [Premium-Feature] Added pagination option in Archive Posts widget.
121
+ * [Premium-Feature] Added padding option for content in Archive Posts and Posts widget.
122
+ * [Premium-Feature] Added screen mode options to the Primary Menu widget where needed.
123
+ * [Task] Now when you add a new row or inner row, a column will be added automatically.
124
+ * [Task] The Row, Column and Elements hover UI has been improved.
125
+ * [Task] From now on, we are saving the Pagelayer ID. So that they are consistent all the time.
126
+ * [Task] The left panel font has been changed to Roboto to improve the UI of the left panel.
127
+ * [Bug-Fix] In the flip box widget, the front side of the flip box was not being hidden properly when flipping. This is fixed.
128
+ * [Bug-Fix] In the pen menu, some icons were not visible. This is fixed.
129
+
130
= 1.0.5 (January 21, 2020) =
131
* [Feature] Added new widgets - Contact Email, Phone, Address, Copyright. You can specify these defaults and it will be changed throughout the website.
132
* [Feature] Added the screen mode option for the custom Column Width in Column widget.