Version Description
(September 15, 2020) = * [Improvement] Description added in Phone, Email, Address, Copyright widgets. * [Improvement] For the Modal Widget, clicking on the grey background will close the Modal box. * [Improvement] The splash widget has been further improved and added a max-height option for the splash container. * [Bug-Fix] List Item widget url not showing dropdown of suggestions of pages and posts. This is fixed. * [Bug-Fix] RSS and Archive WordPress widget checkboxes were not working properly. This is fixed. * [Bug-Fix] Shadow setting was not hiding even after changing the animation type to rotating. This is fixed. * [Bug-Fix] Rotate-2, Rotate-3 and Scale effects in animated heading was not working after refresh. This is fixed. * [Bug-Fix] Adding many Animated Headings in a page was not working properly. This is fixed. * [Bug-Fix] Image Hotspot widget animation was not working when URL was added. This is fixed. * [Bug-Fix] Image Hotspot widget tooltip with display on click was not working properly. This is fixed. * [Bug-Fix] Facebook Embed widget width was not responsive. This is fixed. * [Bug-Fix] Single word content in Icon Box widget was not splitting, due to this the text was crossing the border of the widget. This is fixed. * [Bug-Fix] In some cases button with stretched property was crossing its border. This is fixed. * [Bug-Fix] Image Box and Icon Box widget animation was not working when url is added. This is fixed.
Release Info
Developer | pagelayer |
Plugin | Page Builder: PageLayer – Drag and Drop website builder |
Version | 1.2.7 |
Comparing to | |
See all releases |
Code changes from version 1.2.5 to 1.2.7
- css/pagelayer-frontend.css +69 -35
- init.php +22 -18
- js/pagelayer-frontend.js +37 -8
- js/properties.js +8 -0
- js/widgets.js +11 -3
- languages/en.json +5 -1
- main/ajax.php +7 -0
- main/class.php +12 -1
- main/freemium.php +2 -1
- main/freemium_functions.php +1 -1
- main/functions.php +23 -3
- main/shortcodes.php +74 -74
- pagelayer.php +1 -1
- readme.txt +22 -1
@@ -334,6 +334,10 @@ display:inline-block;
|
|
334 |
width:100%;
|
335 |
}
|
336 |
|
|
|
|
|
|
|
|
|
337 |
.pagelayer-service-align-left{
|
338 |
display:flex;
|
339 |
}
|
@@ -489,25 +493,28 @@ height: 100%;
|
|
489 |
/* Icon widget end */
|
490 |
|
491 |
/* Icon animation */
|
492 |
-
.pagelayer-animation-grow
|
493 |
transition: transform 400ms;
|
494 |
}
|
495 |
|
496 |
-
.pagelayer-animation-grow:hover,
|
|
|
497 |
transform: scale(1.1);
|
498 |
}
|
499 |
|
500 |
-
.pagelayer-animation-shrink
|
501 |
transition: transform 400ms;
|
502 |
}
|
503 |
|
504 |
-
.pagelayer-animation-shrink:hover,
|
|
|
505 |
transform: scale(0.9);
|
506 |
}
|
507 |
|
508 |
@keyframes pagelayer-animation-pulse{25%{transform:scale(1.1)}75%{transform:scale(0.9)}}
|
509 |
|
510 |
-
.pagelayer-animation-pulse:hover,
|
|
|
511 |
animation-name: pagelayer-animation-pulse;
|
512 |
animation-duration: 1s;
|
513 |
animation-timing-function: linear;
|
@@ -516,7 +523,8 @@ animation-iteration-count: infinite;
|
|
516 |
|
517 |
@keyframes pagelayer-animation-pulse-grow{to{transform:scale(1.1)}}
|
518 |
|
519 |
-
.pagelayer-animation-pulse-grow:hover,
|
|
|
520 |
animation-name: pagelayer-animation-pulse-grow;
|
521 |
animation-duration: 0.4s;
|
522 |
animation-timing-function: linear;
|
@@ -526,7 +534,8 @@ animation-direction:alternate;
|
|
526 |
|
527 |
@keyframes pagelayer-animation-pulse-shrink{to{transform:scale(0.9)}}
|
528 |
|
529 |
-
.pagelayer-animation-pulse-shrink:hover,
|
|
|
530 |
animation-name: pagelayer-animation-pulse-shrink;
|
531 |
animation-duration: 0.4s;
|
532 |
animation-timing-function: linear;
|
@@ -536,7 +545,8 @@ animation-direction:alternate;
|
|
536 |
|
537 |
@keyframes pagelayer-animation-push{50%{transform:scale(0.8)}100%{transform:scale(1)}}
|
538 |
|
539 |
-
.pagelayer-animation-push:hover,
|
|
|
540 |
animation-name:pagelayer-animation-push;
|
541 |
animation-duration:0.4s;
|
542 |
animation-timing-function:linear;
|
@@ -545,7 +555,8 @@ animation-iteration-count:1
|
|
545 |
|
546 |
@keyframes pagelayer-animation-pop{50%{transform:scale(1.2)}}
|
547 |
|
548 |
-
.pagelayer-animation-pop:hover,
|
|
|
549 |
animation-name:pagelayer-animation-pop;
|
550 |
animation-duration:0.4s;
|
551 |
animation-timing-function:linear;
|
@@ -561,7 +572,8 @@ transform:translateX(-3px) rotate(-2deg)
|
|
561 |
}
|
562 |
}
|
563 |
|
564 |
-
.pagelayer-animation-buzz:hover,
|
|
|
565 |
animation-name:pagelayer-animation-buzz;
|
566 |
animation-duration:0.15s;
|
567 |
animation-timing-function:linear;
|
@@ -581,18 +593,21 @@ animation-iteration-count:infinite;
|
|
581 |
100%{transform:translateX(-1px) rotate(0)}
|
582 |
}
|
583 |
|
584 |
-
.pagelayer-animation-buzz-out:hover,
|
|
|
585 |
animation-name:pagelayer-animation-buzz-out;
|
586 |
animation-duration:0.7s;
|
587 |
animation-timing-function:linear;
|
588 |
animation-iteration-count:1;
|
589 |
}
|
590 |
|
591 |
-
.pagelayer-animation-float:hover,
|
|
|
592 |
transform:translateY(-8px)
|
593 |
}
|
594 |
|
595 |
-
.pagelayer-animation-sink:hover,
|
|
|
596 |
transform:translateY(8px)
|
597 |
}
|
598 |
|
@@ -606,7 +621,8 @@ transform:translateY(8px)
|
|
606 |
100%{transform:translateY(-8px)}
|
607 |
}
|
608 |
|
609 |
-
.pagelayer-animation-bob:hover,
|
|
|
610 |
animation-name:pagelayer-animation-bob-up,pagelayer-animation-bob;
|
611 |
animation-duration:0.4s,1.5s;
|
612 |
animation-timing-function:ease-out,ease-in-out;
|
@@ -624,7 +640,8 @@ animation-iteration-count:infinite;
|
|
624 |
100%{transform:translateY(8px)}
|
625 |
}
|
626 |
|
627 |
-
.pagelayer-animation-hang:hover,
|
|
|
628 |
animation-name:pagelayer-animation-hang-up,pagelayer-animation-hang;
|
629 |
animation-duration:0.4s,1.5s;
|
630 |
animation-timing-function:ease-out,ease-in-out;
|
@@ -633,36 +650,42 @@ animation-iteration-count:1,infinite;
|
|
633 |
animation-direction:normal,alternate;
|
634 |
}
|
635 |
|
636 |
-
.pagelayer-animation-bounce-in
|
637 |
transition-duration:0.5s;
|
638 |
}
|
639 |
-
.pagelayer-animation-bounce-in:hover,
|
|
|
640 |
transform:scale(1.2);
|
641 |
transition-timing-function:cubic-bezier(0.52,2.07,0.36,-0.41);
|
642 |
}
|
643 |
|
644 |
-
.pagelayer-animation-bounce-out
|
645 |
transition-duration:0.5s;
|
646 |
}
|
647 |
|
648 |
-
.pagelayer-animation-bounce-out:hover,
|
|
|
649 |
transform:scale(0.8);
|
650 |
transition-timing-function:cubic-bezier(0.52,2.07,0.36,-0.41);
|
651 |
}
|
652 |
|
653 |
-
.pagelayer-animation-rotate:hover,
|
|
|
654 |
transform:rotate(6deg);
|
655 |
}
|
656 |
|
657 |
-
.pagelayer-animation-grow-rotate:hover,
|
|
|
658 |
transform:scale(1.1) rotate(6deg);
|
659 |
}
|
660 |
|
661 |
-
.pagelayer-animation-skew-forward:hover,
|
|
|
662 |
transform:skew(-9deg);
|
663 |
}
|
664 |
|
665 |
-
.pagelayer-animation-skew-backward:hover,
|
|
|
666 |
transform:skew(9deg);
|
667 |
}
|
668 |
|
@@ -675,7 +698,8 @@ transform:skew(9deg);
|
|
675 |
100%{transform:translateY(0)}
|
676 |
}
|
677 |
|
678 |
-
.pagelayer-animation-wobble-vertical:hover,
|
|
|
679 |
animation-name:pagelayer-animation-wobble-vertical;
|
680 |
animation-duration:1s;
|
681 |
animation-timing-function:ease-in-out;
|
@@ -691,7 +715,8 @@ animation-iteration-count:1;
|
|
691 |
100%{transform:translateX(0)}
|
692 |
}
|
693 |
|
694 |
-
.pagelayer-animation-wobble-horizontal:hover,
|
|
|
695 |
animation-name:pagelayer-animation-wobble-horizontal;
|
696 |
animation-duration:1s;
|
697 |
animation-timing-function:ease-in-out;
|
@@ -708,7 +733,8 @@ animation-iteration-count:1;
|
|
708 |
}
|
709 |
|
710 |
|
711 |
-
.pagelayer-animation-wobble-bottom-to-right:hover,
|
|
|
712 |
animation-name:pagelayer-animation-wobble-bottom-to-right;
|
713 |
animation-duration:1s;
|
714 |
animation-timing-function:ease-in-out;
|
@@ -725,15 +751,15 @@ animation-iteration-count:1;
|
|
725 |
}
|
726 |
|
727 |
|
728 |
-
.pagelayer-animation-wobble-top-to-right:hover,
|
|
|
729 |
animation-name:pagelayer-animation-wobble-top-to-right;
|
730 |
animation-duration:1s;
|
731 |
animation-timing-function:ease-in-out;
|
732 |
animation-iteration-count:1;
|
733 |
}
|
734 |
|
735 |
-
.pagelayer-animation-wobble-top
|
736 |
-
{
|
737 |
transform-origin:0 100%;
|
738 |
}
|
739 |
|
@@ -746,14 +772,15 @@ transform-origin:0 100%;
|
|
746 |
100%{transform:skew(0)}
|
747 |
}
|
748 |
|
749 |
-
.pagelayer-animation-wobble-top:hover,
|
|
|
750 |
animation-name:pagelayer-animation-wobble-top;
|
751 |
animation-duration:1s;
|
752 |
animation-timing-function:ease-in-out;
|
753 |
animation-iteration-count:1
|
754 |
}
|
755 |
|
756 |
-
.pagelayer-animation-wobble-bottom
|
757 |
transform-origin:100% 0;
|
758 |
}
|
759 |
|
@@ -766,7 +793,8 @@ transform-origin:100% 0;
|
|
766 |
100%{transform:skew(0)}
|
767 |
}
|
768 |
|
769 |
-
.pagelayer-animation-wobble-bottom:hover,
|
|
|
770 |
animation-name:pagelayer-animation-wobble-bottom;
|
771 |
animation-duration:1s;
|
772 |
animation-timing-function:ease-in-out;
|
@@ -782,7 +810,8 @@ animation-iteration-count:1
|
|
782 |
100%{transform:skew(0)}
|
783 |
}
|
784 |
|
785 |
-
.pagelayer-animation-wobble-skew:hover,
|
|
|
786 |
animation-name:pagelayer-animation-wobble-skew;
|
787 |
animation-duration:1s;
|
788 |
animation-timing-function:ease-in-out;
|
@@ -920,6 +949,10 @@ border-color: transparent transparent transparent #000000;
|
|
920 |
.pagelayer-tooltip-container:hover .pagelayer-tooltip-text{
|
921 |
visibility: visible;
|
922 |
}
|
|
|
|
|
|
|
|
|
923 |
/*Tooltip widget end*/
|
924 |
|
925 |
/* Button widget */
|
@@ -930,6 +963,7 @@ display:inline-block;
|
|
930 |
line-height:1em;
|
931 |
transition:all 0.3s;
|
932 |
cursor: pointer;
|
|
|
933 |
}
|
934 |
|
935 |
.pagelayer-btn-default{
|
@@ -2295,12 +2329,12 @@ top: 50%;
|
|
2295 |
transform: translate(-50%, -50%);
|
2296 |
}
|
2297 |
|
2298 |
-
.pagelayer-modal-content-overflow{
|
2299 |
max-height:500px;
|
2300 |
overflow:auto;
|
2301 |
}
|
2302 |
|
2303 |
-
.pagelayer-splash-bg-close{
|
2304 |
position: absolute;
|
2305 |
top:0;
|
2306 |
left:0;
|
334 |
width:100%;
|
335 |
}
|
336 |
|
337 |
+
.pagelayer-service-text{
|
338 |
+
word-break:break-all;
|
339 |
+
}
|
340 |
+
|
341 |
.pagelayer-service-align-left{
|
342 |
display:flex;
|
343 |
}
|
493 |
/* Icon widget end */
|
494 |
|
495 |
/* Icon animation */
|
496 |
+
.pagelayer-animation-grow{
|
497 |
transition: transform 400ms;
|
498 |
}
|
499 |
|
500 |
+
.pagelayer-animation-grow:hover,
|
501 |
+
.pagelayer-anim-par:hover .pagelayer-animation-grow{
|
502 |
transform: scale(1.1);
|
503 |
}
|
504 |
|
505 |
+
.pagelayer-animation-shrink{
|
506 |
transition: transform 400ms;
|
507 |
}
|
508 |
|
509 |
+
.pagelayer-animation-shrink:hover,
|
510 |
+
.pagelayer-anim-par:hover .pagelayer-animation-shrink{
|
511 |
transform: scale(0.9);
|
512 |
}
|
513 |
|
514 |
@keyframes pagelayer-animation-pulse{25%{transform:scale(1.1)}75%{transform:scale(0.9)}}
|
515 |
|
516 |
+
.pagelayer-animation-pulse:hover,
|
517 |
+
.pagelayer-anim-par:hover .pagelayer-animation-pulse{
|
518 |
animation-name: pagelayer-animation-pulse;
|
519 |
animation-duration: 1s;
|
520 |
animation-timing-function: linear;
|
523 |
|
524 |
@keyframes pagelayer-animation-pulse-grow{to{transform:scale(1.1)}}
|
525 |
|
526 |
+
.pagelayer-animation-pulse-grow:hover,
|
527 |
+
.pagelayer-anim-par:hover .pagelayer-animation-pulse-grow{
|
528 |
animation-name: pagelayer-animation-pulse-grow;
|
529 |
animation-duration: 0.4s;
|
530 |
animation-timing-function: linear;
|
534 |
|
535 |
@keyframes pagelayer-animation-pulse-shrink{to{transform:scale(0.9)}}
|
536 |
|
537 |
+
.pagelayer-animation-pulse-shrink:hover,
|
538 |
+
.pagelayer-anim-par:hover .pagelayer-animation-pulse-shrink{
|
539 |
animation-name: pagelayer-animation-pulse-shrink;
|
540 |
animation-duration: 0.4s;
|
541 |
animation-timing-function: linear;
|
545 |
|
546 |
@keyframes pagelayer-animation-push{50%{transform:scale(0.8)}100%{transform:scale(1)}}
|
547 |
|
548 |
+
.pagelayer-animation-push:hover,
|
549 |
+
.pagelayer-anim-par:hover .pagelayer-animation-push{
|
550 |
animation-name:pagelayer-animation-push;
|
551 |
animation-duration:0.4s;
|
552 |
animation-timing-function:linear;
|
555 |
|
556 |
@keyframes pagelayer-animation-pop{50%{transform:scale(1.2)}}
|
557 |
|
558 |
+
.pagelayer-animation-pop:hover,
|
559 |
+
.pagelayer-anim-par:hover .pagelayer-animation-pop{
|
560 |
animation-name:pagelayer-animation-pop;
|
561 |
animation-duration:0.4s;
|
562 |
animation-timing-function:linear;
|
572 |
}
|
573 |
}
|
574 |
|
575 |
+
.pagelayer-animation-buzz:hover,
|
576 |
+
.pagelayer-anim-par:hover .pagelayer-animation-buzz{
|
577 |
animation-name:pagelayer-animation-buzz;
|
578 |
animation-duration:0.15s;
|
579 |
animation-timing-function:linear;
|
593 |
100%{transform:translateX(-1px) rotate(0)}
|
594 |
}
|
595 |
|
596 |
+
.pagelayer-animation-buzz-out:hover,
|
597 |
+
.pagelayer-anim-par:hover .pagelayer-animation-buzz-out{
|
598 |
animation-name:pagelayer-animation-buzz-out;
|
599 |
animation-duration:0.7s;
|
600 |
animation-timing-function:linear;
|
601 |
animation-iteration-count:1;
|
602 |
}
|
603 |
|
604 |
+
.pagelayer-animation-float:hover,
|
605 |
+
.pagelayer-anim-par:hover .pagelayer-animation-float{
|
606 |
transform:translateY(-8px)
|
607 |
}
|
608 |
|
609 |
+
.pagelayer-animation-sink:hover,
|
610 |
+
.pagelayer-anim-par:hover .pagelayer-animation-sink{
|
611 |
transform:translateY(8px)
|
612 |
}
|
613 |
|
621 |
100%{transform:translateY(-8px)}
|
622 |
}
|
623 |
|
624 |
+
.pagelayer-animation-bob:hover,
|
625 |
+
.pagelayer-anim-par:hover .pagelayer-animation-bob{
|
626 |
animation-name:pagelayer-animation-bob-up,pagelayer-animation-bob;
|
627 |
animation-duration:0.4s,1.5s;
|
628 |
animation-timing-function:ease-out,ease-in-out;
|
640 |
100%{transform:translateY(8px)}
|
641 |
}
|
642 |
|
643 |
+
.pagelayer-animation-hang:hover,
|
644 |
+
.pagelayer-anim-par:hover .pagelayer-animation-hang{
|
645 |
animation-name:pagelayer-animation-hang-up,pagelayer-animation-hang;
|
646 |
animation-duration:0.4s,1.5s;
|
647 |
animation-timing-function:ease-out,ease-in-out;
|
650 |
animation-direction:normal,alternate;
|
651 |
}
|
652 |
|
653 |
+
.pagelayer-animation-bounce-in{
|
654 |
transition-duration:0.5s;
|
655 |
}
|
656 |
+
.pagelayer-animation-bounce-in:hover,
|
657 |
+
.pagelayer-anim-par:hover .pagelayer-animation-bounce-in{
|
658 |
transform:scale(1.2);
|
659 |
transition-timing-function:cubic-bezier(0.52,2.07,0.36,-0.41);
|
660 |
}
|
661 |
|
662 |
+
.pagelayer-animation-bounce-out{
|
663 |
transition-duration:0.5s;
|
664 |
}
|
665 |
|
666 |
+
.pagelayer-animation-bounce-out:hover,
|
667 |
+
.pagelayer-anim-par:hover .pagelayer-animation-bounce-out{
|
668 |
transform:scale(0.8);
|
669 |
transition-timing-function:cubic-bezier(0.52,2.07,0.36,-0.41);
|
670 |
}
|
671 |
|
672 |
+
.pagelayer-animation-rotate:hover,
|
673 |
+
.pagelayer-anim-par:hover .pagelayer-animation-rotate{
|
674 |
transform:rotate(6deg);
|
675 |
}
|
676 |
|
677 |
+
.pagelayer-animation-grow-rotate:hover,
|
678 |
+
.pagelayer-anim-par:hover .pagelayer-animation-grow-rotate{
|
679 |
transform:scale(1.1) rotate(6deg);
|
680 |
}
|
681 |
|
682 |
+
.pagelayer-animation-skew-forward:hover,
|
683 |
+
.pagelayer-anim-par:hover .pagelayer-animation-skew-forward{
|
684 |
transform:skew(-9deg);
|
685 |
}
|
686 |
|
687 |
+
.pagelayer-animation-skew-backward:hover,
|
688 |
+
.pagelayer-anim-par:hover .pagelayer-animation-skew-backward{
|
689 |
transform:skew(9deg);
|
690 |
}
|
691 |
|
698 |
100%{transform:translateY(0)}
|
699 |
}
|
700 |
|
701 |
+
.pagelayer-animation-wobble-vertical:hover,
|
702 |
+
.pagelayer-anim-par:hover .pagelayer-animation-wobble-vertical{
|
703 |
animation-name:pagelayer-animation-wobble-vertical;
|
704 |
animation-duration:1s;
|
705 |
animation-timing-function:ease-in-out;
|
715 |
100%{transform:translateX(0)}
|
716 |
}
|
717 |
|
718 |
+
.pagelayer-animation-wobble-horizontal:hover,
|
719 |
+
.pagelayer-anim-par:hover .pagelayer-animation-wobble-horizontal{
|
720 |
animation-name:pagelayer-animation-wobble-horizontal;
|
721 |
animation-duration:1s;
|
722 |
animation-timing-function:ease-in-out;
|
733 |
}
|
734 |
|
735 |
|
736 |
+
.pagelayer-animation-wobble-bottom-to-right:hover,
|
737 |
+
.pagelayer-anim-par:hover .pagelayer-animation-wobble-bottom-to-right{
|
738 |
animation-name:pagelayer-animation-wobble-bottom-to-right;
|
739 |
animation-duration:1s;
|
740 |
animation-timing-function:ease-in-out;
|
751 |
}
|
752 |
|
753 |
|
754 |
+
.pagelayer-animation-wobble-top-to-right:hover,
|
755 |
+
.pagelayer-anim-par:hover .pagelayer-animation-wobble-top-to-right{
|
756 |
animation-name:pagelayer-animation-wobble-top-to-right;
|
757 |
animation-duration:1s;
|
758 |
animation-timing-function:ease-in-out;
|
759 |
animation-iteration-count:1;
|
760 |
}
|
761 |
|
762 |
+
.pagelayer-animation-wobble-top{
|
|
|
763 |
transform-origin:0 100%;
|
764 |
}
|
765 |
|
772 |
100%{transform:skew(0)}
|
773 |
}
|
774 |
|
775 |
+
.pagelayer-animation-wobble-top:hover,
|
776 |
+
.pagelayer-anim-par:hover .pagelayer-animation-wobble-top{
|
777 |
animation-name:pagelayer-animation-wobble-top;
|
778 |
animation-duration:1s;
|
779 |
animation-timing-function:ease-in-out;
|
780 |
animation-iteration-count:1
|
781 |
}
|
782 |
|
783 |
+
.pagelayer-animation-wobble-bottom{
|
784 |
transform-origin:100% 0;
|
785 |
}
|
786 |
|
793 |
100%{transform:skew(0)}
|
794 |
}
|
795 |
|
796 |
+
.pagelayer-animation-wobble-bottom:hover,
|
797 |
+
.pagelayer-anim-par:hover .pagelayer-animation-wobble-bottom{
|
798 |
animation-name:pagelayer-animation-wobble-bottom;
|
799 |
animation-duration:1s;
|
800 |
animation-timing-function:ease-in-out;
|
810 |
100%{transform:skew(0)}
|
811 |
}
|
812 |
|
813 |
+
.pagelayer-animation-wobble-skew:hover,
|
814 |
+
.pagelayer-anim-par:hover .pagelayer-animation-wobble-skew{
|
815 |
animation-name:pagelayer-animation-wobble-skew;
|
816 |
animation-duration:1s;
|
817 |
animation-timing-function:ease-in-out;
|
949 |
.pagelayer-tooltip-container:hover .pagelayer-tooltip-text{
|
950 |
visibility: visible;
|
951 |
}
|
952 |
+
|
953 |
+
.pagelayer-tooltip-on-click{
|
954 |
+
visibility: visible !important;
|
955 |
+
}
|
956 |
/*Tooltip widget end*/
|
957 |
|
958 |
/* Button widget */
|
963 |
line-height:1em;
|
964 |
transition:all 0.3s;
|
965 |
cursor: pointer;
|
966 |
+
box-sizing:border-box;
|
967 |
}
|
968 |
|
969 |
.pagelayer-btn-default{
|
2329 |
transform: translate(-50%, -50%);
|
2330 |
}
|
2331 |
|
2332 |
+
.pagelayer-modal-content-overflow, .pagelayer-splash-content-overflow{
|
2333 |
max-height:500px;
|
2334 |
overflow:auto;
|
2335 |
}
|
2336 |
|
2337 |
+
.pagelayer-splash-bg-close, .pagelayer-modal-bg-close{
|
2338 |
position: absolute;
|
2339 |
top:0;
|
2340 |
left:0;
|
@@ -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.2.
|
9 |
define('PAGELAYER_DIR', dirname(PAGELAYER_FILE));
|
10 |
define('PAGELAYER_SLUG', 'pagelayer');
|
11 |
define('PAGELAYER_URL', plugins_url('', PAGELAYER_FILE));
|
@@ -482,20 +482,30 @@ function pagelayer_global_styles(){
|
|
482 |
// Style for only child row holder
|
483 |
$styles .= '.pagelayer-row-stretch-auto > .pagelayer-row-holder, .pagelayer-row-stretch-full > .pagelayer-row-holder.pagelayer-width-auto{ max-width: '.$pagelayer->settings['max_width'].'px; margin-left: auto; margin-right: auto;}'.PHP_EOL;
|
484 |
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
491 |
|
492 |
-
@media (max-width: '.$pagelayer->settings['tablet_breakpoint'].'px) and (min-width: '.($pagelayer->settings['mobile_breakpoint'] + 1).'px){
|
493 |
-
.pagelayer-hide-tablet{
|
494 |
-
display:none;
|
495 |
}
|
496 |
-
}
|
497 |
|
498 |
-
@media (max-width: '.$pagelayer->settings['tablet_breakpoint'].'px){
|
499 |
[class^="pagelayer-offset-"],
|
500 |
[class*=" pagelayer-offset-"] {
|
501 |
margin-left: 0;
|
@@ -514,12 +524,6 @@ function pagelayer_global_styles(){
|
|
514 |
.pagelayer-last-sm {
|
515 |
order: 1;
|
516 |
}
|
517 |
-
}
|
518 |
-
|
519 |
-
@media (max-width: '.$pagelayer->settings['mobile_breakpoint'].'px){
|
520 |
-
.pagelayer-hide-mobile{
|
521 |
-
display:none;
|
522 |
-
}
|
523 |
}'.PHP_EOL;
|
524 |
|
525 |
// Colors
|
5 |
|
6 |
define('PAGELAYER_BASE', plugin_basename(PAGELAYER_FILE));
|
7 |
define('PAGELAYER_PRO_BASE', 'pagelayer-pro/pagelayer-pro.php');
|
8 |
+
define('PAGELAYER_VERSION', '1.2.7');
|
9 |
define('PAGELAYER_DIR', dirname(PAGELAYER_FILE));
|
10 |
define('PAGELAYER_SLUG', 'pagelayer');
|
11 |
define('PAGELAYER_URL', plugins_url('', PAGELAYER_FILE));
|
482 |
// Style for only child row holder
|
483 |
$styles .= '.pagelayer-row-stretch-auto > .pagelayer-row-holder, .pagelayer-row-stretch-full > .pagelayer-row-holder.pagelayer-width-auto{ max-width: '.$pagelayer->settings['max_width'].'px; margin-left: auto; margin-right: auto;}'.PHP_EOL;
|
484 |
|
485 |
+
if(!pagelayer_is_live()){
|
486 |
+
|
487 |
+
// Set responsive value
|
488 |
+
$styles .= '@media (min-width: '.($pagelayer->settings['tablet_breakpoint'] + 1).'px){
|
489 |
+
.pagelayer-hide-desktop{
|
490 |
+
display:none !important;
|
491 |
+
}
|
492 |
+
}
|
493 |
+
|
494 |
+
@media (max-width: '.$pagelayer->settings['tablet_breakpoint'].'px) and (min-width: '.($pagelayer->settings['mobile_breakpoint'] + 1).'px){
|
495 |
+
.pagelayer-hide-tablet{
|
496 |
+
display:none !important;
|
497 |
+
}
|
498 |
+
}
|
499 |
+
|
500 |
+
@media (max-width: '.$pagelayer->settings['mobile_breakpoint'].'px){
|
501 |
+
.pagelayer-hide-mobile{
|
502 |
+
display:none !important;
|
503 |
+
}
|
504 |
+
}'.PHP_EOL;
|
505 |
|
|
|
|
|
|
|
506 |
}
|
|
|
507 |
|
508 |
+
$styles .= '@media (max-width: '.$pagelayer->settings['tablet_breakpoint'].'px){
|
509 |
[class^="pagelayer-offset-"],
|
510 |
[class*=" pagelayer-offset-"] {
|
511 |
margin-left: 0;
|
524 |
.pagelayer-last-sm {
|
525 |
order: 1;
|
526 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
527 |
}'.PHP_EOL;
|
528 |
|
529 |
// Colors
|
@@ -77,6 +77,10 @@ jQuery(document).ready(function(){
|
|
77 |
jQuery('.pagelayer-testimonial_slider').each(function(){
|
78 |
pagelayer_pl_testimonial_slider(jQuery(this));
|
79 |
});
|
|
|
|
|
|
|
|
|
80 |
|
81 |
pagelayer_stars();
|
82 |
|
@@ -1038,9 +1042,9 @@ function pagelayer_anim_heading(jEle){
|
|
1038 |
|
1039 |
function initHeadline(){
|
1040 |
//insert <i> element for each letter of a changing word
|
1041 |
-
singleLetters(
|
1042 |
//initialise headline animation
|
1043 |
-
animateHeadline(
|
1044 |
}
|
1045 |
|
1046 |
function singleLetters($words){
|
@@ -1067,7 +1071,7 @@ function pagelayer_anim_heading(jEle){
|
|
1067 |
setTimeout(function(){ headline.find('.pagelayer-words-wrapper').addClass('pagelayer-is-loading') }, barWaiting);
|
1068 |
}else if(headline.hasClass('pagelayer-aheading-clip')){
|
1069 |
var spanWrapper = headline.find('.pagelayer-words-wrapper'),
|
1070 |
-
newWidth = spanWrapper.width() + 10
|
1071 |
spanWrapper.css('width', newWidth);
|
1072 |
} else if (!headline.hasClass('type') ){
|
1073 |
var words = headline.find('.pagelayer-words-wrapper span'),
|
@@ -1147,13 +1151,38 @@ function pagelayer_anim_heading(jEle){
|
|
1147 |
return (!$word.is(':last-child')) ? $word.next() : $word.parent().children().eq(0);
|
1148 |
}
|
1149 |
|
1150 |
-
function
|
1151 |
-
|
|
|
|
|
|
|
1152 |
}
|
|
|
1153 |
|
1154 |
-
|
1155 |
-
|
1156 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1157 |
}
|
1158 |
}
|
1159 |
|
77 |
jQuery('.pagelayer-testimonial_slider').each(function(){
|
78 |
pagelayer_pl_testimonial_slider(jQuery(this));
|
79 |
});
|
80 |
+
|
81 |
+
jQuery('.pagelayer-social_grp').each(function(){
|
82 |
+
pagelayer_pl_social_profile(jQuery(this));
|
83 |
+
});
|
84 |
|
85 |
pagelayer_stars();
|
86 |
|
1042 |
|
1043 |
function initHeadline(){
|
1044 |
//insert <i> element for each letter of a changing word
|
1045 |
+
singleLetters(jEle.find('.pagelayer-aheading-holder.letters').find('span'));
|
1046 |
//initialise headline animation
|
1047 |
+
animateHeadline(jEle.find('.pagelayer-aheading-holder'));
|
1048 |
}
|
1049 |
|
1050 |
function singleLetters($words){
|
1071 |
setTimeout(function(){ headline.find('.pagelayer-words-wrapper').addClass('pagelayer-is-loading') }, barWaiting);
|
1072 |
}else if(headline.hasClass('pagelayer-aheading-clip')){
|
1073 |
var spanWrapper = headline.find('.pagelayer-words-wrapper'),
|
1074 |
+
newWidth = spanWrapper.width() + 10;
|
1075 |
spanWrapper.css('width', newWidth);
|
1076 |
} else if (!headline.hasClass('type') ){
|
1077 |
var words = headline.find('.pagelayer-words-wrapper span'),
|
1151 |
return (!$word.is(':last-child')) ? $word.next() : $word.parent().children().eq(0);
|
1152 |
}
|
1153 |
|
1154 |
+
function switchWord($oldWord, $newWord){
|
1155 |
+
$oldWord.removeClass('pagelayer-is-visible').addClass('pagelayer-is-hidden');
|
1156 |
+
if(!$newWord.hasClass('pagelayer-is-visible')){
|
1157 |
+
$newWord.removeClass('pagelayer-is-hidden').addClass('pagelayer-is-visible');
|
1158 |
+
}
|
1159 |
}
|
1160 |
+
}
|
1161 |
|
1162 |
+
function pagelayer_pl_row_slider(jEle){
|
1163 |
+
var index = 0;
|
1164 |
+
|
1165 |
+
var imageEls = jEle.find('.pagelayer-bgimg-slide'); // Get the images to be cycled.
|
1166 |
+
var speed = jEle.data('speed'); // Get the speed of loop.
|
1167 |
+
imageEls.first().addClass('pagelayer-slide-show');
|
1168 |
+
setInterval(function (){
|
1169 |
+
// Get the next index. If at end, restart to the beginning.
|
1170 |
+
index = index + 1 < imageEls.length ? index + 1 : 0;
|
1171 |
+
|
1172 |
+
// Show the next
|
1173 |
+
imageEls.eq(index).addClass('pagelayer-slide-show');
|
1174 |
+
|
1175 |
+
// Hide the previous
|
1176 |
+
imageEls.eq(index - 1).removeClass('pagelayer-slide-show');
|
1177 |
+
}, speed);
|
1178 |
+
}
|
1179 |
+
|
1180 |
+
function pagelayer_pl_social_profile(jEle){
|
1181 |
+
var icon_holder = jEle.find('.pagelayer-icon-holder');
|
1182 |
+
|
1183 |
+
// Assigning animation classes to icon holder
|
1184 |
+
if(!pagelayer_empty(jEle.attr('pagelayer-animation'))){
|
1185 |
+
icon_holder.addClass('pagelayer-animation-'+jEle.attr('pagelayer-animation'));
|
1186 |
}
|
1187 |
}
|
1188 |
|
@@ -659,6 +659,14 @@ function pagelayer_elpd_widget_settings(el, sec, onfocus){
|
|
659 |
|
660 |
// Post any existing data
|
661 |
var form = sec.find('form');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
662 |
if(form.length > 0){
|
663 |
//console.log(form.serialize());
|
664 |
post['values'] = form.serialize();
|
659 |
|
660 |
// Post any existing data
|
661 |
var form = sec.find('form');
|
662 |
+
// Archive widget checkbox fix
|
663 |
+
var inputCheckbox = form.find('input[type=checkbox]');
|
664 |
+
for(var i=0; i<inputCheckbox.length; i++){
|
665 |
+
if(inputCheckbox[i].value == 'on'){
|
666 |
+
form.find('input[type=checkbox]')[i].value = 1;
|
667 |
+
}
|
668 |
+
}
|
669 |
+
|
670 |
if(form.length > 0){
|
671 |
//console.log(form.serialize());
|
672 |
post['values'] = form.serialize();
|
@@ -277,9 +277,6 @@ function pagelayer_render_end_pl_image(el){
|
|
277 |
|
278 |
// Pre DragAndDrop function
|
279 |
function pagelayer_preDAndD_image(jEle){
|
280 |
-
|
281 |
-
// Making page image clickable to open media library
|
282 |
-
jEle.css('cursor', 'pointer');
|
283 |
|
284 |
dropzoneParent = jEle.find('.pagelayer-img').parent();
|
285 |
|
@@ -404,6 +401,17 @@ function pagelayer_render_end_pl_social(el){
|
|
404 |
pagelayer_social(el.$, '.pagelayer-icon-holder');
|
405 |
}
|
406 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
407 |
// Render the counter
|
408 |
function pagelayer_render_end_pl_counter(el){
|
409 |
pagelayer_counter();
|
277 |
|
278 |
// Pre DragAndDrop function
|
279 |
function pagelayer_preDAndD_image(jEle){
|
|
|
|
|
|
|
280 |
|
281 |
dropzoneParent = jEle.find('.pagelayer-img').parent();
|
282 |
|
401 |
pagelayer_social(el.$, '.pagelayer-icon-holder');
|
402 |
}
|
403 |
|
404 |
+
// Render the social profile group
|
405 |
+
function pagelayer_render_end_pl_social_grp(el){
|
406 |
+
|
407 |
+
// Removing extra animation classes
|
408 |
+
el.$.find('.pagelayer-icon-holder').removeClass (function (index, className) {
|
409 |
+
return (className.match (/(^|\s)pagelayer-animation-\S+/g) || []).join(' ');
|
410 |
+
});
|
411 |
+
|
412 |
+
pagelayer_pl_social_profile(el.$);
|
413 |
+
}
|
414 |
+
|
415 |
// Render the counter
|
416 |
function pagelayer_render_end_pl_counter(el){
|
417 |
pagelayer_counter();
|
@@ -1811,5 +1811,9 @@
|
|
1811 |
"content_max_height" : "Content Max Height",
|
1812 |
"header_code_error" : "There is some error in your Header Code. Please rectify the same !",
|
1813 |
"footer_code_error" : "There is some error in your Footer Code. Please rectify the same !",
|
1814 |
-
"script_close_error" : "Closing < /script > tag is not there. Please rectify it !"
|
|
|
|
|
|
|
|
|
1815 |
}
|
1811 |
"content_max_height" : "Content Max Height",
|
1812 |
"header_code_error" : "There is some error in your Header Code. Please rectify the same !",
|
1813 |
"footer_code_error" : "There is some error in your Footer Code. Please rectify the same !",
|
1814 |
+
"script_close_error" : "Closing < /script > tag is not there. Please rectify it !",
|
1815 |
+
"email_desc" : "To change the email, visit your WordPress Dashboard -> Pagelayer -> Settings",
|
1816 |
+
"CMA_desc" : "To change text, visit your WordPress Dashboard -> Pagelayer -> Settings",
|
1817 |
+
"images_in_page" : "Show number of images in a page. This can create a pagination.",
|
1818 |
+
"tooltip_display" : "Tooltip Display"
|
1819 |
}
|
@@ -88,6 +88,13 @@ function pagelayer_wp_widget_ajax(){
|
|
88 |
|
89 |
// Any data ?
|
90 |
if(!empty($data)){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
91 |
|
92 |
// First key is useless
|
93 |
$data = current($data);
|
88 |
|
89 |
// Any data ?
|
90 |
if(!empty($data)){
|
91 |
+
|
92 |
+
// Rss widget checkboxes fix
|
93 |
+
if(!empty($data['widget-rss'])){
|
94 |
+
$data['widget-rss']['pagelayer-widget-1234567890']['show_summary'] = empty($data['widget-rss']['pagelayer-widget-1234567890']['show_summary'])? 0 : 1;
|
95 |
+
$data['widget-rss']['pagelayer-widget-1234567890']['show_author'] = empty($data['widget-rss']['pagelayer-widget-1234567890']['show_author'])? 0 : 1;
|
96 |
+
$data['widget-rss']['pagelayer-widget-1234567890']['show_date'] = empty($data['widget-rss']['pagelayer-widget-1234567890']['show_date'])? 0 : 1;
|
97 |
+
}
|
98 |
|
99 |
// First key is useless
|
100 |
$data = current($data);
|
@@ -77,7 +77,18 @@ class PageLayer{
|
|
77 |
// Load the langs
|
78 |
$this->l = @file_get_contents(PAGELAYER_DIR.'/languages/en.json');
|
79 |
$this->l = @json_decode($this->l, true);
|
80 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
}
|
82 |
|
83 |
}
|
77 |
// Load the langs
|
78 |
$this->l = @file_get_contents(PAGELAYER_DIR.'/languages/en.json');
|
79 |
$this->l = @json_decode($this->l, true);
|
80 |
+
|
81 |
+
// Add after plugins_loaded
|
82 |
+
add_action('plugins_loaded', [ $this, 'load_extra_languages' ], 11);
|
83 |
+
}
|
84 |
+
|
85 |
+
function load_extra_languages(){
|
86 |
+
|
87 |
+
if(defined('SITEPAD')){
|
88 |
+
$this->l['email_desc'] = 'To change the email, visit your '.BRAND_SM.' Dashboard -> Settings -> Editor Settings';
|
89 |
+
$this->l['CMA_desc'] = 'To change text, visit your '.BRAND_SM.' Dashboard -> Settings -> Editor Settings';
|
90 |
+
}
|
91 |
+
|
92 |
}
|
93 |
|
94 |
}
|
@@ -1062,6 +1062,7 @@ pagelayer_freemium_shortcode(PAGELAYER_SC_PREFIX.'_copyright', array(
|
|
1062 |
'type' => 'color',
|
1063 |
'label' => __pl('color'),
|
1064 |
'css' => ['{{element}} .pagelayer-copyright *, {{element}} .pagelayer-copyright' => 'color:{{val}}'],
|
|
|
1065 |
),
|
1066 |
'typography' => array(
|
1067 |
'type' => 'typography',
|
@@ -6135,7 +6136,7 @@ pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_anim_heading', array(
|
|
6135 |
'default' => '2,2,,#999999',
|
6136 |
'screen' => 1,
|
6137 |
'css' => ['{{element}} .pagelayer-animated-heading' => 'text-shadow: {{val[0]}}px {{val[1]}}px #fff, calc({{val[0]}}px * 2) calc({{val[1]}}px * 2) {{val[3]}};'],
|
6138 |
-
'req' => [ 'effects' => 'shadow' ]
|
6139 |
),
|
6140 |
'rotate_color' => array(
|
6141 |
'type' => 'color',
|
1062 |
'type' => 'color',
|
1063 |
'label' => __pl('color'),
|
1064 |
'css' => ['{{element}} .pagelayer-copyright *, {{element}} .pagelayer-copyright' => 'color:{{val}}'],
|
1065 |
+
'desc' => __pl('CMA_desc')
|
1066 |
),
|
1067 |
'typography' => array(
|
1068 |
'type' => 'typography',
|
6136 |
'default' => '2,2,,#999999',
|
6137 |
'screen' => 1,
|
6138 |
'css' => ['{{element}} .pagelayer-animated-heading' => 'text-shadow: {{val[0]}}px {{val[1]}}px #fff, calc({{val[0]}}px * 2) calc({{val[1]}}px * 2) {{val[3]}};'],
|
6139 |
+
'req' => [ 'type' => 'effects', 'effects' => 'shadow' ]
|
6140 |
),
|
6141 |
'rotate_color' => array(
|
6142 |
'type' => 'color',
|
@@ -258,7 +258,7 @@ function pagelayer_sc_anim_heading(&$el){
|
|
258 |
|
259 |
//Required classes for particular rotate
|
260 |
$el['atts']['rotate_req'] = '';
|
261 |
-
$letters = ['
|
262 |
|
263 |
if(!empty($el['atts']['animations'])){
|
264 |
if(in_array($el['atts']['animations'], $letters)){
|
258 |
|
259 |
//Required classes for particular rotate
|
260 |
$el['atts']['rotate_req'] = '';
|
261 |
+
$letters = ['pagelayer-aheading-rotate2', 'pagelayer-aheading-rotate3', 'pagelayer-aheading-scale'];
|
262 |
|
263 |
if(!empty($el['atts']['animations'])){
|
264 |
if(in_array($el['atts']['animations'], $letters)){
|
@@ -386,7 +386,20 @@ function pagelayer_supported_type($type){
|
|
386 |
}
|
387 |
|
388 |
function pagelayer_shortlink($id){
|
389 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
390 |
$link .= substr_count($link, '?') > 0 ? '' : '?';
|
391 |
return $link;
|
392 |
}
|
@@ -405,9 +418,16 @@ function pagelayer_is_live(){
|
|
405 |
if(!isset($post) || !isset($post->ID) || empty($post->ID)){
|
406 |
return false;
|
407 |
}
|
408 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
409 |
// Are you allowed to edit ?
|
410 |
-
if(!pagelayer_user_can_edit($
|
411 |
return false;
|
412 |
}
|
413 |
|
386 |
}
|
387 |
|
388 |
function pagelayer_shortlink($id){
|
389 |
+
|
390 |
+
$post = get_post( $id );
|
391 |
+
if ( ! empty( $post->ID ) ) {
|
392 |
+
$post_id = $post->ID;
|
393 |
+
}
|
394 |
+
|
395 |
+
$post_type = get_post_type_object( $post->post_type );
|
396 |
+
|
397 |
+
if ( 'page' === $post->post_type && get_option( 'page_on_front' ) == $post->ID && 'page' === get_option( 'show_on_front' ) ) {
|
398 |
+
$link = home_url( '/' );
|
399 |
+
} elseif ( $post_type->public ) {
|
400 |
+
$link = home_url( '?p=' . $post_id );
|
401 |
+
}
|
402 |
+
|
403 |
$link .= substr_count($link, '?') > 0 ? '' : '?';
|
404 |
return $link;
|
405 |
}
|
418 |
if(!isset($post) || !isset($post->ID) || empty($post->ID)){
|
419 |
return false;
|
420 |
}
|
421 |
+
|
422 |
+
$parID = $post->ID;
|
423 |
+
|
424 |
+
// Is revision?
|
425 |
+
if(wp_is_post_revision($post->ID) ){
|
426 |
+
$parID = wp_get_post_parent_id($post->ID);
|
427 |
+
}
|
428 |
+
|
429 |
// Are you allowed to edit ?
|
430 |
+
if(!pagelayer_user_can_edit($parID)){
|
431 |
return false;
|
432 |
}
|
433 |
|
@@ -3136,7 +3136,7 @@ pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_list_item', array(
|
|
3136 |
'edit' => '.pagelayer-list-item',
|
3137 |
),
|
3138 |
'item_url' => array(
|
3139 |
-
'type' => '
|
3140 |
'label' => __pl('list_item_url_label'),
|
3141 |
),
|
3142 |
'show_icon' => array(
|
@@ -4814,6 +4814,7 @@ pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_grid_gallery', array(
|
|
4814 |
'images_no' => array(
|
4815 |
'type' => 'spinner',
|
4816 |
'label' => __pl('num_images'),
|
|
|
4817 |
'min' => 0,
|
4818 |
'step' => 1,
|
4819 |
'max' => 1000,
|
@@ -5392,6 +5393,40 @@ pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_social_grp', array(
|
|
5392 |
),
|
5393 |
'show' => ['social_hover' => '']
|
5394 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5395 |
'icon_border_type' => array(
|
5396 |
'type' => 'select',
|
5397 |
'label' => __pl('border_type'),
|
@@ -5451,43 +5486,6 @@ pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_social_grp', array(
|
|
5451 |
'social_hover' => 'hover'
|
5452 |
),
|
5453 |
),
|
5454 |
-
'anim_hover' => array(
|
5455 |
-
'type' => 'select',
|
5456 |
-
'label' => __pl('icon_animation'),
|
5457 |
-
'list' => [
|
5458 |
-
'' => __pl('none'),
|
5459 |
-
'grow' => __pl('Grow'),
|
5460 |
-
'shrink' => __pl('Shrink'),
|
5461 |
-
'pulse' => __pl('Pulse'),
|
5462 |
-
'pulse-grow' => __pl('Pulse Grow'),
|
5463 |
-
'pulse-shrink' => __pl('Pulse Shrink'),
|
5464 |
-
'push' => __pl('Push'),
|
5465 |
-
'pop' => __pl('Pop'),
|
5466 |
-
'buzz' => __pl('Buzz'),
|
5467 |
-
'buzz-out' => __pl('Buzz Out'),
|
5468 |
-
'float' => __pl('Float'),
|
5469 |
-
'sink' => __pl('Sink'),
|
5470 |
-
'bob' => __pl('Bob'),
|
5471 |
-
'hang' => __pl('Hang'),
|
5472 |
-
'bounce-in' => __pl('Bounce In'),
|
5473 |
-
'bounce-out' => __pl('Bounce Out'),
|
5474 |
-
'rotate' => __pl('Rotate'),
|
5475 |
-
'grow-rotate' => __pl('Grow Rotate'),
|
5476 |
-
'skew-forward' => __pl('Skew Forward'),
|
5477 |
-
'skew-backward' => __pl('Skew Backward'),
|
5478 |
-
'wobble-vertical' => __pl('Wobble Vertical'),
|
5479 |
-
'wobble-horizontal' => __pl('Wobble Horizontal'),
|
5480 |
-
'wobble-bottom-to-right' => __pl('Wobble Bottom To Right'),
|
5481 |
-
'wobble-top-to-right' => __pl('Wobble Top To Right'),
|
5482 |
-
'wobble-top' => __pl('Wobble Top'),
|
5483 |
-
'wobble-bottom' => __pl('Wobble Bottom'),
|
5484 |
-
'wobble-skew' => __pl('Wobble Skew'),
|
5485 |
-
],
|
5486 |
-
'show' => array(
|
5487 |
-
'social_hover' => 'hover',
|
5488 |
-
),
|
5489 |
-
'addAttr' => 'pagelayer-animation="{{anim_hover}}"',
|
5490 |
-
),
|
5491 |
'icon_color_hover' => array(
|
5492 |
'type' => 'color',
|
5493 |
'label' => __pl('social_color_label'),
|
@@ -5774,6 +5772,7 @@ pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_service', array(
|
|
5774 |
'wobble-bottom' => __pl('Wobble Bottom'),
|
5775 |
'wobble-skew' => __pl('Wobble Skew'),
|
5776 |
],
|
|
|
5777 |
)
|
5778 |
],
|
5779 |
'service_img_style' => [
|
@@ -6481,6 +6480,40 @@ pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_iconbox', array(
|
|
6481 |
'label' => __pl('service_icon_spacing'),
|
6482 |
'screen' => 1,
|
6483 |
'css' => ['{{element}} .pagelayer-service-icon' => 'padding-top:{{val[0]}}px; padding-right:{{val[1]}}px; padding-bottom:{{val[2]}}px; padding-left:{{val[3]}}px;'],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6484 |
),
|
6485 |
'service_icon_state' => array(
|
6486 |
'type' => 'radio',
|
@@ -6536,42 +6569,6 @@ pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_iconbox', array(
|
|
6536 |
'css' => ['{{element}} .pagelayer-service-icon i' => '-webkit-transition: all {{val}}ms; transition: all {{val}}ms;'],
|
6537 |
'show' => ['service_icon_state' => 'hover'],
|
6538 |
),
|
6539 |
-
'anim_hover' => array(
|
6540 |
-
'type' => 'select',
|
6541 |
-
'label' => __pl('icon_animation'),
|
6542 |
-
'list' => [
|
6543 |
-
'' => __pl('none'),
|
6544 |
-
'grow' => __pl('Grow'),
|
6545 |
-
'shrink' => __pl('Shrink'),
|
6546 |
-
'pulse' => __pl('Pulse'),
|
6547 |
-
'pulse-grow' => __pl('Pulse Grow'),
|
6548 |
-
'pulse-shrink' => __pl('Pulse Shrink'),
|
6549 |
-
'push' => __pl('Push'),
|
6550 |
-
'pop' => __pl('Pop'),
|
6551 |
-
'buzz' => __pl('Buzz'),
|
6552 |
-
'buzz-out' => __pl('Buzz Out'),
|
6553 |
-
'float' => __pl('Float'),
|
6554 |
-
'sink' => __pl('Sink'),
|
6555 |
-
'bob' => __pl('Bob'),
|
6556 |
-
'hang' => __pl('Hang'),
|
6557 |
-
'bounce-in' => __pl('Bounce In'),
|
6558 |
-
'bounce-out' => __pl('Bounce Out'),
|
6559 |
-
'rotate' => __pl('Rotate'),
|
6560 |
-
'grow-rotate' => __pl('Grow Rotate'),
|
6561 |
-
'skew-forward' => __pl('Skew Forward'),
|
6562 |
-
'skew-backward' => __pl('Skew Backward'),
|
6563 |
-
'wobble-vertical' => __pl('Wobble Vertical'),
|
6564 |
-
'wobble-horizontal' => __pl('Wobble Horizontal'),
|
6565 |
-
'wobble-bottom-to-right' => __pl('Wobble Bottom To Right'),
|
6566 |
-
'wobble-top-to-right' => __pl('Wobble Top To Right'),
|
6567 |
-
'wobble-top' => __pl('Wobble Top'),
|
6568 |
-
'wobble-bottom' => __pl('Wobble Bottom'),
|
6569 |
-
'wobble-skew' => __pl('Wobble Skew'),
|
6570 |
-
],
|
6571 |
-
'show' => array(
|
6572 |
-
'service_icon_state' => 'hover',
|
6573 |
-
),
|
6574 |
-
),
|
6575 |
'service_icon_color_hover' => array(
|
6576 |
'type' => 'color',
|
6577 |
'label' => __pl('service_icon_color_hover'),
|
@@ -8679,6 +8676,7 @@ pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_address', array(
|
|
8679 |
'type' => 'color',
|
8680 |
'label' => __pl('color'),
|
8681 |
'css' => ['{{element}} .pagelayer-address *, {{element}} .pagelayer-address' => 'color:{{val}}'],
|
|
|
8682 |
),
|
8683 |
'typography' => array(
|
8684 |
'type' => 'typography',
|
@@ -8749,6 +8747,7 @@ pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_email', array(
|
|
8749 |
'linked' => array(
|
8750 |
'type' => 'checkbox',
|
8751 |
'label' => __pl('make_link'),
|
|
|
8752 |
),
|
8753 |
'color' => array(
|
8754 |
'type' => 'color',
|
@@ -8824,6 +8823,7 @@ pagelayer_add_shortcode(PAGELAYER_SC_PREFIX.'_phone', array(
|
|
8824 |
'linked' => array(
|
8825 |
'type' => 'checkbox',
|
8826 |
'label' => __pl('make_link'),
|
|
|
8827 |
),
|
8828 |
'color' => array(
|
8829 |
'type' => 'color',
|
3136 |
'edit' => '.pagelayer-list-item',
|
3137 |
),
|
3138 |
'item_url' => array(
|
3139 |
+
'type' => 'link',
|
3140 |
'label' => __pl('list_item_url_label'),
|
3141 |
),
|
3142 |
'show_icon' => array(
|
4814 |
'images_no' => array(
|
4815 |
'type' => 'spinner',
|
4816 |
'label' => __pl('num_images'),
|
4817 |
+
'desc' => __pl('images_in_page'),
|
4818 |
'min' => 0,
|
4819 |
'step' => 1,
|
4820 |
'max' => 1000,
|
5393 |
),
|
5394 |
'show' => ['social_hover' => '']
|
5395 |
),
|
5396 |
+
'anim_hover' => array(
|
5397 |
+
'type' => 'select',
|
5398 |
+
'label' => __pl('icon_animation'),
|
5399 |
+
'list' => [
|
5400 |
+
'' => __pl('none'),
|
5401 |
+
'grow' => __pl('Grow'),
|
5402 |
+
'shrink' => __pl('Shrink'),
|
5403 |
+
'pulse' => __pl('Pulse'),
|
5404 |
+
'pulse-grow' => __pl('Pulse Grow'),
|
5405 |
+
'pulse-shrink' => __pl('Pulse Shrink'),
|
5406 |
+
'push' => __pl('Push'),
|
5407 |
+
'pop' => __pl('Pop'),
|
5408 |
+
'buzz' => __pl('Buzz'),
|
5409 |
+
'buzz-out' => __pl('Buzz Out'),
|
5410 |
+
'float' => __pl('Float'),
|
5411 |
+
'sink' => __pl('Sink'),
|
5412 |
+
'bob' => __pl('Bob'),
|
5413 |
+
'hang' => __pl('Hang'),
|
5414 |
+
'bounce-in' => __pl('Bounce In'),
|
5415 |
+
'bounce-out' => __pl('Bounce Out'),
|
5416 |
+
'rotate' => __pl('Rotate'),
|
5417 |
+
'grow-rotate' => __pl('Grow Rotate'),
|
5418 |
+
'skew-forward' => __pl('Skew Forward'),
|
5419 |
+
'skew-backward' => __pl('Skew Backward'),
|
5420 |
+
'wobble-vertical' => __pl('Wobble Vertical'),
|
5421 |
+
'wobble-horizontal' => __pl('Wobble Horizontal'),
|
5422 |
+
'wobble-bottom-to-right' => __pl('Wobble Bottom To Right'),
|
5423 |
+
'wobble-top-to-right' => __pl('Wobble Top To Right'),
|
5424 |
+
'wobble-top' => __pl('Wobble Top'),
|
5425 |
+
'wobble-bottom' => __pl('Wobble Bottom'),
|
5426 |
+
'wobble-skew' => __pl('Wobble Skew'),
|
5427 |
+
],
|
5428 |
+
'addAttr' => 'pagelayer-animation="{{anim_hover}}"'
|
5429 |
+
),
|
5430 |
'icon_border_type' => array(
|
5431 |
'type' => 'select',
|
5432 |
'label' => __pl('border_type'),
|
5486 |
'social_hover' => 'hover'
|
5487 |
),
|
5488 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5489 |
'icon_color_hover' => array(
|
5490 |
'type' => 'color',
|
5491 |
'label' => __pl('social_color_label'),
|
5772 |
'wobble-bottom' => __pl('Wobble Bottom'),
|
5773 |
'wobble-skew' => __pl('Wobble Skew'),
|
5774 |
],
|
5775 |
+
'addClass' => 'pagelayer-anim-par'
|
5776 |
)
|
5777 |
],
|
5778 |
'service_img_style' => [
|
6480 |
'label' => __pl('service_icon_spacing'),
|
6481 |
'screen' => 1,
|
6482 |
'css' => ['{{element}} .pagelayer-service-icon' => 'padding-top:{{val[0]}}px; padding-right:{{val[1]}}px; padding-bottom:{{val[2]}}px; padding-left:{{val[3]}}px;'],
|
6483 |
+
),
|
6484 |
+
'anim_hover' => array(
|
6485 |
+
'type' => 'select',
|
6486 |
+
'label' => __pl('icon_animation'),
|
6487 |
+
'list' => [
|
6488 |
+
'' => __pl('none'),
|
6489 |
+
'grow' => __pl('Grow'),
|
6490 |
+
'shrink' => __pl('Shrink'),
|
6491 |
+
'pulse' => __pl('Pulse'),
|
6492 |
+
'pulse-grow' => __pl('Pulse Grow'),
|
6493 |
+
'pulse-shrink' => __pl('Pulse Shrink'),
|
6494 |
+
'push' => __pl('Push'),
|
6495 |
+
'pop' => __pl('Pop'),
|
6496 |
+
'buzz' => __pl('Buzz'),
|
6497 |
+
'buzz-out' => __pl('Buzz Out'),
|
6498 |
+
'float' => __pl('Float'),
|
6499 |
+
'sink' => __pl('Sink'),
|
6500 |
+
'bob' => __pl('Bob'),
|
6501 |
+
'hang' => __pl('Hang'),
|
6502 |
+
'bounce-in' => __pl('Bounce In'),
|
6503 |
+
'bounce-out' => __pl('Bounce Out'),
|
6504 |
+
'rotate' => __pl('Rotate'),
|
6505 |
+
'grow-rotate' => __pl('Grow Rotate'),
|
6506 |
+
'skew-forward' => __pl('Skew Forward'),
|
6507 |
+
'skew-backward' => __pl('Skew Backward'),
|
6508 |
+
'wobble-vertical' => __pl('Wobble Vertical'),
|
6509 |
+
'wobble-horizontal' => __pl('Wobble Horizontal'),
|
6510 |
+
'wobble-bottom-to-right' => __pl('Wobble Bottom To Right'),
|
6511 |
+
'wobble-top-to-right' => __pl('Wobble Top To Right'),
|
6512 |
+
'wobble-top' => __pl('Wobble Top'),
|
6513 |
+
'wobble-bottom' => __pl('Wobble Bottom'),
|
6514 |
+
'wobble-skew' => __pl('Wobble Skew'),
|
6515 |
+
],
|
6516 |
+
'addClass' => 'pagelayer-anim-par'
|
6517 |
),
|
6518 |
'service_icon_state' => array(
|
6519 |
'type' => 'radio',
|
6569 |
'css' => ['{{element}} .pagelayer-service-icon i' => '-webkit-transition: all {{val}}ms; transition: all {{val}}ms;'],
|
6570 |
'show' => ['service_icon_state' => 'hover'],
|
6571 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6572 |
'service_icon_color_hover' => array(
|
6573 |
'type' => 'color',
|
6574 |
'label' => __pl('service_icon_color_hover'),
|
8676 |
'type' => 'color',
|
8677 |
'label' => __pl('color'),
|
8678 |
'css' => ['{{element}} .pagelayer-address *, {{element}} .pagelayer-address' => 'color:{{val}}'],
|
8679 |
+
'desc' => __pl('CMA_desc')
|
8680 |
),
|
8681 |
'typography' => array(
|
8682 |
'type' => 'typography',
|
8747 |
'linked' => array(
|
8748 |
'type' => 'checkbox',
|
8749 |
'label' => __pl('make_link'),
|
8750 |
+
'desc' => __pl('email_desc')
|
8751 |
),
|
8752 |
'color' => array(
|
8753 |
'type' => 'color',
|
8823 |
'linked' => array(
|
8824 |
'type' => 'checkbox',
|
8825 |
'label' => __pl('make_link'),
|
8826 |
+
'desc' => __pl('CMA_desc')
|
8827 |
),
|
8828 |
'color' => array(
|
8829 |
'type' => 'color',
|
@@ -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.2.
|
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.2.7
|
7 |
Author: Pagelayer Team
|
8 |
Author URI: https://pagelayer.com/
|
9 |
License: LGPL v2.1
|
@@ -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.5
|
6 |
Requires PHP: 5.5
|
7 |
-
Stable tag: 1.2.
|
8 |
License: LGPL v2.1
|
9 |
License URI: http://www.gnu.org/licenses/lgpl-2.1.html
|
10 |
|
@@ -109,6 +109,27 @@ Do you have questions related to PageLayer ? Use the following links :
|
|
109 |
|
110 |
== Changelog ==
|
111 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
= 1.2.5 (August 28, 2020) =
|
113 |
* [Bug-Fix] In certain cases the Pages/Posts title was replaced with previous title. This is fix.
|
114 |
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 5.5
|
6 |
Requires PHP: 5.5
|
7 |
+
Stable tag: 1.2.7
|
8 |
License: LGPL v2.1
|
9 |
License URI: http://www.gnu.org/licenses/lgpl-2.1.html
|
10 |
|
109 |
|
110 |
== Changelog ==
|
111 |
|
112 |
+
= 1.2.7 (September 15, 2020) =
|
113 |
+
* [Improvement] Description added in Phone, Email, Address, Copyright widgets.
|
114 |
+
* [Improvement] For the Modal Widget, clicking on the grey background will close the Modal box.
|
115 |
+
* [Improvement] The splash widget has been further improved and added a max-height option for the splash container.
|
116 |
+
* [Bug-Fix] List Item widget url not showing dropdown of suggestions of pages and posts. This is fixed.
|
117 |
+
* [Bug-Fix] RSS and Archive WordPress widget checkboxes were not working properly. This is fixed.
|
118 |
+
* [Bug-Fix] Shadow setting was not hiding even after changing the animation type to rotating. This is fixed.
|
119 |
+
* [Bug-Fix] Rotate-2, Rotate-3 and Scale effects in animated heading was not working after refresh. This is fixed.
|
120 |
+
* [Bug-Fix] Adding many Animated Headings in a page was not working properly. This is fixed.
|
121 |
+
* [Bug-Fix] Image Hotspot widget animation was not working when URL was added. This is fixed.
|
122 |
+
* [Bug-Fix] Image Hotspot widget tooltip with display on click was not working properly. This is fixed.
|
123 |
+
* [Bug-Fix] Facebook Embed widget width was not responsive. This is fixed.
|
124 |
+
* [Bug-Fix] Single word content in Icon Box widget was not splitting, due to this the text was crossing the border of the widget. This is fixed.
|
125 |
+
* [Bug-Fix] In some cases button with stretched property was crossing its border. This is fixed.
|
126 |
+
* [Bug-Fix] Image Box and Icon Box widget animation was not working when url is added. This is fixed.
|
127 |
+
|
128 |
+
= 1.2.6 (September 7, 2020) =
|
129 |
+
* [Bug-Fix] If JetPack WP.ME / shortlinks were enabled, Pagelayer editor would not open due to the wrong URL structure. This is fixed.
|
130 |
+
* [Bug-Fix] A Column would not hid in Mobile view when the "Hide in Mobile" option was enabled. This is fixed.
|
131 |
+
* [Bug-Fix] pagelayer_pl_row_slider error was shown for some PopularFX themes. This is fixed.
|
132 |
+
|
133 |
= 1.2.5 (August 28, 2020) =
|
134 |
* [Bug-Fix] In certain cases the Pages/Posts title was replaced with previous title. This is fix.
|
135 |
|