Plugin Directory

Changeset 2141880


Ignore:
Timestamp:
08/19/2019 12:18:56 PM (6 years ago)
Author:
gpriday
Message:

Updates for 2.10.7 release

Location:
siteorigin-panels/trunk
Files:
4 added
18 deleted
12 edited

Legend:

Unmodified
Added
Removed
  • siteorigin-panels/trunk/compat/js/siteorigin-panels-layout-block.min.js

    r2104964 r2141880  
    1 "use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}function _possibleConstructorReturn(e,t){return!t||"object"!==_typeof(t)&&"function"!=typeof t?_assertThisInitialized(e):t}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _lodash=lodash,isEqual=_lodash.isEqual,debounce=_lodash.debounce,isEmpty=_lodash.isEmpty,isFunction=_lodash.isFunction,registerBlockType=wp.blocks.registerBlockType,_wp$element=wp.element,Component=_wp$element.Component,Fragment=_wp$element.Fragment,RawHTML=_wp$element.RawHTML,createRef=_wp$element.createRef,BlockControls=wp.editor.BlockControls,_wp$components=wp.components,Toolbar=_wp$components.Toolbar,IconButton=_wp$components.IconButton,Spinner=_wp$components.Spinner,__=wp.i18n.__,_window=window,soPanelsBlockEditorAdmin=_window.soPanelsBlockEditorAdmin,SiteOriginPanelsLayoutBlock=function(e){function i(e){var t;_classCallCheck(this,i),t=_possibleConstructorReturn(this,_getPrototypeOf(i).call(this,e));var n="edit"===soPanelsBlockEditorAdmin.defaultMode||isEmpty(e.panelsData);return t.state={editing:n,loadingPreview:!n,previewHtml:""},t.panelsContainer=createRef(),t.previewContainer=createRef(),t.panelsInitialized=!1,t.previewInitialized=!1,t}return _inherits(i,Component),_createClass(i,[{key:"componentDidMount",value:function(){this.isStillMounted=!0,this.state.editing?this.setupPanels():this.state.editing||this.previewInitialized||(this.fetchPreview(this.props),this.fetchPreview=debounce(this.fetchPreview,500))}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1,this.builderView&&this.builderView.off("content_change")}},{key:"componentDidUpdate",value:function(e){this.state.editing&&!this.panelsInitialized?this.setupPanels():this.state.loadingPreview?this.fetchPreview(this.props):!this.previewInitialized&&this.previewContainer.current&&(jQuery(document).trigger("panels_setup_preview"),this.previewInitialized=!0)}},{key:"setupPanels",value:function(){var t=this,e=jQuery(this.panelsContainer.current),n=new panels.model.builder;this.builderView=new panels.view.builder({model:n,config:{editorType:"standalone"}});var i=JSON.parse(JSON.stringify(jQuery.extend({},this.props.panelsData))),o=function(){isFunction(t.props.onRowOrWidgetMouseDown)&&t.props.onRowOrWidgetMouseDown();jQuery(document).on("mouseup",function e(){jQuery(document).off("mouseup",e),isFunction(t.props.onRowOrWidgetMouseUp)&&t.props.onRowOrWidgetMouseUp()})};this.builderView.on("row_added",function(){t.builderView.$(".so-row-move").off("mousedown",o),t.builderView.$(".so-row-move").on("mousedown",o),t.builderView.$(".so-widget").off("mousedown",o),t.builderView.$(".so-widget").on("mousedown",o)}),this.builderView.on("widget_added",function(){t.builderView.$(".so-widget").off("mousedown",o),t.builderView.$(".so-widget").on("mousedown",o)}),this.builderView.render().attach({container:e}).setData(i),this.builderView.trigger("builder_resize"),this.builderView.on("content_change",function(){var e=t.builderView.getData();t.panelsDataChanged=!isEqual(i,e),t.panelsDataChanged&&(t.props.onContentChange&&isFunction(t.props.onContentChange)&&t.props.onContentChange(e),t.setState({loadingPreview:!0,previewHtml:""}))}),jQuery(document).trigger("panels_setup",this.builderView),this.panelsInitialized=!0}},{key:"fetchPreview",value:function(e){var t=this;if(this.isStillMounted){this.previewInitialized=!1;var n=this.currentFetchRequest=jQuery.post({url:soPanelsBlockEditorAdmin.previewUrl,data:{action:"so_panels_layout_block_preview",panelsData:JSON.stringify(e.panelsData)}}).then(function(e){t.isStillMounted&&n===t.currentFetchRequest&&e&&t.setState({previewHtml:e,loadingPreview:!1})});return n}}},{key:"render",value:function(){var e=this,t=this.props.panelsData;if(this.state.editing)return React.createElement(Fragment,null,React.createElement(BlockControls,null,React.createElement(Toolbar,null,React.createElement(IconButton,{icon:"visibility",className:"components-icon-button components-toolbar__control",label:__("Preview layout.","siteorigin-panels"),onClick:function(){t&&e.setState({editing:!1})}}))),React.createElement("div",{key:"layout-block",className:"siteorigin-panels-layout-block-container",ref:this.panelsContainer}));var n=this.state.loadingPreview;return React.createElement(Fragment,null,React.createElement(BlockControls,null,React.createElement(Toolbar,null,React.createElement(IconButton,{icon:"edit",className:"components-icon-button components-toolbar__control",label:__("Edit layout.","siteorigin-panels"),onClick:function(){e.panelsInitialized=!1,e.setState({editing:!0})}}))),React.createElement("div",{key:"preview",className:"so-panels-block-layout-preview-container"},n?React.createElement("div",{className:"so-panels-spinner-container"},React.createElement("span",null,React.createElement(Spinner,null))):React.createElement("div",{className:"so-panels-raw-html-container",ref:this.previewContainer},React.createElement(RawHTML,null,this.state.previewHtml))))}}]),i}();registerBlockType("siteorigin-panels/layout-block",{title:__("SiteOrigin Layout","siteorigin-panels"),description:__("Build a layout using SiteOrigin's Page Builder.","siteorigin-panels"),icon:function(){return React.createElement("span",{className:"siteorigin-panels-block-icon"})},category:"layout",keywords:["page builder","column,grid","panel"],supports:{html:!1},attributes:{panelsData:{type:"object"}},edit:function(e){var t=e.attributes,n=e.setAttributes,i=e.toggleSelection;return React.createElement(SiteOriginPanelsLayoutBlock,{panelsData:t.panelsData,onContentChange:function(e){_.isEmpty(e.widgets)||jQuery.post(soPanelsBlockEditorAdmin.sanitizeUrl,{action:"so_panels_layout_block_sanitize",panelsData:JSON.stringify(e)},function(e){""!==e&&n({panelsData:e})})},onRowOrWidgetMouseDown:function(){i(!1)},onRowOrWidgetMouseUp:function(){i(!0)}})},save:function(){return null}}),function(r){soPanelsBlockEditorAdmin.showAddButton&&r(function(){setTimeout(function(){var n=wp.data.dispatch("core/editor"),i=wp.data.select("core/editor"),e=r("#siteorigin-panels-add-layout-block-button").html(),t=r(e).insertAfter(".editor-writing-flow > div:first");t.on("click",function(){var e=wp.blocks.createBlock("siteorigin-panels/layout-block",{});if(i.isEditedPostEmpty()){var t=i.getBlocks();t.length?n.replaceBlock(t[0].clientId,e):n.insertBlock(e)}else n.insertBlock(e)});var o=function(){wp.data.select("core/editor").isEditedPostEmpty()?t.show():t.hide()};wp.data.subscribe(o),o()},100)})}(jQuery);
     1"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}function _possibleConstructorReturn(e,t){return!t||"object"!==_typeof(t)&&"function"!=typeof t?_assertThisInitialized(e):t}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _lodash=lodash,isEqual=_lodash.isEqual,debounce=_lodash.debounce,isEmpty=_lodash.isEmpty,isFunction=_lodash.isFunction,registerBlockType=wp.blocks.registerBlockType,_wp$element=wp.element,Component=_wp$element.Component,Fragment=_wp$element.Fragment,RawHTML=_wp$element.RawHTML,createRef=_wp$element.createRef,BlockControls=wp.editor.BlockControls,_wp$components=wp.components,Toolbar=_wp$components.Toolbar,IconButton=_wp$components.IconButton,Spinner=_wp$components.Spinner,__=wp.i18n.__,_window=window,soPanelsBlockEditorAdmin=_window.soPanelsBlockEditorAdmin,SiteOriginPanelsLayoutBlock=function(){function i(e){var t;_classCallCheck(this,i),t=_possibleConstructorReturn(this,_getPrototypeOf(i).call(this,e));var n="edit"===soPanelsBlockEditorAdmin.defaultMode||isEmpty(e.panelsData);return t.state={editing:n,loadingPreview:!n,previewHtml:""},t.panelsContainer=createRef(),t.previewContainer=createRef(),t.panelsInitialized=!1,t.previewInitialized=!1,t}return _inherits(i,Component),_createClass(i,[{key:"componentDidMount",value:function(){this.isStillMounted=!0,this.state.editing?this.setupPanels():this.state.editing||this.previewInitialized||(this.fetchPreview(this.props),this.fetchPreview=debounce(this.fetchPreview,500))}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1,this.builderView&&this.builderView.off("content_change")}},{key:"componentDidUpdate",value:function(e){this.state.editing&&!this.panelsInitialized?this.setupPanels():this.state.loadingPreview?this.fetchPreview(this.props):!this.previewInitialized&&this.previewContainer.current&&(jQuery(document).trigger("panels_setup_preview"),this.previewInitialized=!0)}},{key:"setupPanels",value:function(){var t=this,e=jQuery(this.panelsContainer.current),n=new panels.model.builder;this.builderView=new panels.view.builder({model:n,config:{editorType:"standalone"}});function i(){isFunction(t.props.onRowOrWidgetMouseDown)&&t.props.onRowOrWidgetMouseDown(),jQuery(document).on("mouseup",function e(){jQuery(document).off("mouseup",e),isFunction(t.props.onRowOrWidgetMouseUp)&&t.props.onRowOrWidgetMouseUp()})}var o=JSON.parse(JSON.stringify(jQuery.extend({},this.props.panelsData)));this.builderView.on("row_added",function(){t.builderView.$(".so-row-move").off("mousedown",i),t.builderView.$(".so-row-move").on("mousedown",i),t.builderView.$(".so-widget").off("mousedown",i),t.builderView.$(".so-widget").on("mousedown",i)}),this.builderView.on("widget_added",function(){t.builderView.$(".so-widget").off("mousedown",i),t.builderView.$(".so-widget").on("mousedown",i)}),this.builderView.render().attach({container:e}).setData(o),this.builderView.trigger("builder_resize"),this.builderView.on("content_change",function(){var e=t.builderView.getData();t.panelsDataChanged=!isEqual(o,e),t.panelsDataChanged&&(t.props.onContentChange&&isFunction(t.props.onContentChange)&&t.props.onContentChange(e),t.setState({loadingPreview:!0,previewHtml:""}))}),jQuery(document).trigger("panels_setup",this.builderView),this.panelsInitialized=!0}},{key:"fetchPreview",value:function(e){var t=this;if(this.isStillMounted){this.previewInitialized=!1;var n=this.currentFetchRequest=jQuery.post({url:soPanelsBlockEditorAdmin.previewUrl,data:{action:"so_panels_layout_block_preview",panelsData:JSON.stringify(e.panelsData)}}).then(function(e){t.isStillMounted&&n===t.currentFetchRequest&&e&&t.setState({previewHtml:e,loadingPreview:!1})});return n}}},{key:"render",value:function(){var e=this,t=this.props.panelsData;if(this.state.editing)return React.createElement(Fragment,null,React.createElement(BlockControls,null,React.createElement(Toolbar,null,React.createElement(IconButton,{icon:"visibility",className:"components-icon-button components-toolbar__control",label:__("Preview layout.","siteorigin-panels"),onClick:function(){t&&e.setState({editing:!1})}}))),React.createElement("div",{key:"layout-block",className:"siteorigin-panels-layout-block-container",ref:this.panelsContainer}));var n=this.state.loadingPreview;return React.createElement(Fragment,null,React.createElement(BlockControls,null,React.createElement(Toolbar,null,React.createElement(IconButton,{icon:"edit",className:"components-icon-button components-toolbar__control",label:__("Edit layout.","siteorigin-panels"),onClick:function(){e.panelsInitialized=!1,e.setState({editing:!0})}}))),React.createElement("div",{key:"preview",className:"so-panels-block-layout-preview-container"},n?React.createElement("div",{className:"so-panels-spinner-container"},React.createElement("span",null,React.createElement(Spinner,null))):React.createElement("div",{className:"so-panels-raw-html-container",ref:this.previewContainer},React.createElement(RawHTML,null,this.state.previewHtml))))}}]),i}();registerBlockType("siteorigin-panels/layout-block",{title:__("SiteOrigin Layout","siteorigin-panels"),description:__("Build a layout using SiteOrigin's Page Builder.","siteorigin-panels"),icon:function(){return React.createElement("span",{className:"siteorigin-panels-block-icon"})},category:"layout",keywords:["page builder","column,grid","panel"],supports:{html:!1},attributes:{panelsData:{type:"object"}},edit:function(e){var t=e.attributes,n=e.setAttributes,i=e.toggleSelection;return React.createElement(SiteOriginPanelsLayoutBlock,{panelsData:t.panelsData,onContentChange:function(e){_.isEmpty(e.widgets)||jQuery.post(soPanelsBlockEditorAdmin.sanitizeUrl,{action:"so_panels_layout_block_sanitize",panelsData:JSON.stringify(e)},function(e){""!==e&&n({panelsData:e})})},onRowOrWidgetMouseDown:function(){i(!1)},onRowOrWidgetMouseUp:function(){i(!0)}})},save:function(){return null}}),function(r){soPanelsBlockEditorAdmin.showAddButton&&r(function(){setTimeout(function(){var n=wp.data.dispatch("core/editor"),i=wp.data.select("core/editor"),e=r("#siteorigin-panels-add-layout-block-button").html(),t=r(e).insertAfter(".editor-writing-flow > div:first");t.on("click",function(){var e=wp.blocks.createBlock("siteorigin-panels/layout-block",{});if(i.isEditedPostEmpty()){var t=i.getBlocks();t.length?n.replaceBlock(t[0].clientId,e):n.insertBlock(e)}else n.insertBlock(e)});function o(){wp.data.select("core/editor").isEditedPostEmpty()?t.show():t.hide()}wp.data.subscribe(o),o()},100)})}(jQuery);
  • siteorigin-panels/trunk/compat/layout-block.php

    r2104964 r2141880  
    6060                    'previewUrl' => wp_nonce_url( admin_url( 'admin-ajax.php' ), 'layout-block-preview', '_panelsnonce' ),
    6161                    'defaultMode' => siteorigin_panels_setting( 'layout-block-default-mode' ),
    62                     'showAddButton' => $is_panels_post_type,
     62                    'showAddButton' => apply_filters( 'siteorigin_layout_block_show_add_button', $is_panels_post_type ),
    6363                )
    6464            );
  • siteorigin-panels/trunk/inc/renderer.php

    r2062540 r2141880  
    6565        $panels_tablet_width = $settings['tablet-width'];
    6666        $panels_mobile_width = $settings['mobile-width'];
    67         $panels_margin_bottom = $settings['margin-bottom'];
    6867        $panels_margin_bottom_last_row = $settings['margin-bottom-last-row'];
    6968
     
    7271        $ci = 0;
    7372        foreach ( $layout_data as $ri => $row ) {
     73           
     74            // Filter the bottom margin for this row with the arguments
     75            $panels_margin_bottom = apply_filters( 'siteorigin_panels_css_row_margin_bottom', $settings['margin-bottom'] . 'px', $row, $ri, $panels_data, $post_id );
     76            $panels_mobile_margin_bottom = apply_filters( 'siteorigin_panels_css_row_mobile_margin_bottom', $settings['margin-bottom'] . 'px', $row, $ri, $panels_data, $post_id );
     77           
    7478            if ( empty( $row['cells'] ) ) {
    7579                continue;
     
    134138                ! empty( $panels_margin_bottom_last_row )
    135139            ) {
    136                 // Filter the bottom margin for this row with the arguments
    137140                $css->add_row_css( $post_id, $ri, '', array(
    138                     'margin-bottom' => apply_filters( 'siteorigin_panels_css_row_margin_bottom', $panels_margin_bottom . 'px', $row, $ri, $panels_data, $post_id )
     141                    'margin-bottom' => $panels_margin_bottom
    139142                ) );
    140143            }
     
    142145            $collapse_order = ! empty( $row['style']['collapse_order'] ) ? $row['style']['collapse_order'] : ( ! is_rtl() ? 'left-top' : 'right-top' );
    143146
    144             if ( $settings['responsive'] ) {
    145 
     147            if ( $settings['responsive'] && empty( $row['style']['collapse_behaviour'] ) ) {
    146148                // The default collapse behaviour
    147                 if ( empty( $row['style']['collapse_behaviour'] ) ) {
    148 
    149                     if (
    150                         $settings['tablet-layout'] &&
    151                         $cell_count >= 3 &&
    152                         $panels_tablet_width > $panels_mobile_width
    153                     ) {
    154                         // Tablet responsive css for the row
    155 
    156                         $css->add_row_css( $post_id, $ri, array(
    157                             '.panel-no-style',
    158                             '.panel-has-style > .panel-row-style'
    159                         ), array(
    160                             '-ms-flex-wrap'     => $collapse_order == 'left-top' ? 'wrap' : 'wrap-reverse',
    161                             '-webkit-flex-wrap' => $collapse_order == 'left-top' ? 'wrap' : 'wrap-reverse',
    162                             'flex-wrap'         => $collapse_order == 'left-top' ? 'wrap' : 'wrap-reverse',
    163                         ), $panels_tablet_width . ':' . ( $panels_mobile_width + 1 ) );
    164 
    165                         $css->add_cell_css( $post_id, $ri, false, '', array(
    166                             '-ms-flex'      => '0 1 50%',
    167                             '-webkit-flex'  => '0 1 50%',
    168                             'flex'          => '0 1 50%',
    169                             'margin-right'  => '0',
    170                             'margin-bottom' => $panels_margin_bottom . 'px',
    171                         ), $panels_tablet_width . ':' . ( $panels_mobile_width + 1 ) );
    172 
    173 
    174                         $remove_bottom_margin = ':nth-';
    175                         if ( $collapse_order == 'left-top' ) {
    176                             $remove_bottom_margin .= 'last-child(' . ( count( $row['cells'] ) % 2 == 0 ? '-n+2' : '1' ) . ')';
    177                         } else {
    178                             $remove_bottom_margin .= 'child(-n+2)';
    179                         }
    180 
    181                         $css->add_cell_css( $post_id, $ri, false, $remove_bottom_margin, array(
    182                             'margin-bottom' => 0,
    183                         ), $panels_tablet_width . ':' . ( $panels_mobile_width + 1 )
    184                         );
    185 
    186                         if ( ! empty( $gutter_parts[1] ) ) {
    187                             // Tablet responsive css for cells
    188 
    189                             $css->add_cell_css( $post_id, $ri, false, ':nth-child(even)', array(
    190                                 'padding-left' => ( floatval( $gutter_parts[1] / 2 ) . $gutter_parts[2] ),
    191                             ), $panels_tablet_width . ':' . ( $panels_mobile_width + 1 ) );
    192 
    193                             $css->add_cell_css( $post_id, $ri, false, ':nth-child(odd)', array(
    194                                 'padding-right' => ( floatval( $gutter_parts[1] / 2 ) . $gutter_parts[2] ),
    195                             ), $panels_tablet_width . ':' . ( $panels_mobile_width + 1 ) );
    196                         }
    197 
    198                     }
    199 
    200                     // Mobile Responsive
     149                if (
     150                    $settings['tablet-layout'] &&
     151                    $cell_count >= 3 &&
     152                    $panels_tablet_width > $panels_mobile_width
     153                ) {
     154                    // Tablet responsive css for the row
     155
    201156                    $css->add_row_css( $post_id, $ri, array(
    202157                        '.panel-no-style',
    203158                        '.panel-has-style > .panel-row-style'
    204159                    ), array(
    205                         '-webkit-flex-direction' => $collapse_order == 'left-top' ? 'column' : 'column-reverse',
    206                         '-ms-flex-direction'     => $collapse_order == 'left-top' ? 'column' : 'column-reverse',
    207                         'flex-direction'         => $collapse_order == 'left-top' ? 'column' : 'column-reverse',
    208                     ), $panels_mobile_width );
     160                        '-ms-flex-wrap'     => $collapse_order == 'left-top' ? 'wrap' : 'wrap-reverse',
     161                        '-webkit-flex-wrap' => $collapse_order == 'left-top' ? 'wrap' : 'wrap-reverse',
     162                        'flex-wrap'         => $collapse_order == 'left-top' ? 'wrap' : 'wrap-reverse',
     163                    ), $panels_tablet_width . ':' . ( $panels_mobile_width + 1 ) );
    209164
    210165                    $css->add_cell_css( $post_id, $ri, false, '', array(
    211                         'width' => '100%',
    212                         'margin-right' => 0,
    213                     ), $panels_mobile_width );
     166                        '-ms-flex'      => '0 1 50%',
     167                        '-webkit-flex'  => '0 1 50%',
     168                        'flex'          => '0 1 50%',
     169                        'margin-right'  => '0',
     170                        'margin-bottom' => $panels_margin_bottom,
     171                    ), $panels_tablet_width . ':' . ( $panels_mobile_width + 1 ) );
     172
     173
     174                    $remove_bottom_margin = ':nth-';
     175                    if ( $collapse_order == 'left-top' ) {
     176                        $remove_bottom_margin .= 'last-child(' . ( count( $row['cells'] ) % 2 == 0 ? '-n+2' : '1' ) . ')';
     177                    } else {
     178                        $remove_bottom_margin .= 'child(-n+2)';
     179                    }
     180
     181                    $css->add_cell_css( $post_id, $ri, false, $remove_bottom_margin, array(
     182                            'margin-bottom' => 0,
     183                        ), $panels_tablet_width . ':' . ( $panels_mobile_width + 1 )
     184                    );
     185
     186                    if ( ! empty( $gutter_parts[1] ) ) {
     187                        // Tablet responsive css for cells
     188
     189                        $css->add_cell_css( $post_id, $ri, false, ':nth-child(even)', array(
     190                            'padding-left' => ( floatval( $gutter_parts[1] / 2 ) . $gutter_parts[2] ),
     191                        ), $panels_tablet_width . ':' . ( $panels_mobile_width + 1 ) );
     192
     193                        $css->add_cell_css( $post_id, $ri, false, ':nth-child(odd)', array(
     194                            'padding-right' => ( floatval( $gutter_parts[1] / 2 ) . $gutter_parts[2] ),
     195                        ), $panels_tablet_width . ':' . ( $panels_mobile_width + 1 ) );
     196                    }
     197
    214198                }
    215199
    216 
     200                // Mobile Responsive
     201                $css->add_row_css( $post_id, $ri, array(
     202                    '.panel-no-style',
     203                    '.panel-has-style > .panel-row-style'
     204                ), array(
     205                    '-webkit-flex-direction' => $collapse_order == 'left-top' ? 'column' : 'column-reverse',
     206                    '-ms-flex-direction'     => $collapse_order == 'left-top' ? 'column' : 'column-reverse',
     207                    'flex-direction'         => $collapse_order == 'left-top' ? 'column' : 'column-reverse',
     208                ), $panels_mobile_width );
     209
     210                $css->add_cell_css( $post_id, $ri, false, '', array(
     211                    'width' => '100%',
     212                    'margin-right' => 0,
     213                ), $panels_mobile_width );
     214               
     215               
    217216                foreach ( $row['cells'] as $ci => $cell ) {
    218217                    if ( ( $collapse_order == 'left-top' && $ci != $cell_count - 1 ) || ( $collapse_order == 'right-top' && $ci !== 0 ) ) {
    219218                        $css->add_cell_css( $post_id, $ri, $ci, '', array(
    220                             'margin-bottom' => $panels_margin_bottom . 'px',
     219                            'margin-bottom' => $panels_mobile_margin_bottom
    221220                        ), $panels_mobile_width );
    222221                    }
    223222                }
    224             }
     223               
     224                if( $panels_mobile_margin_bottom != $panels_margin_bottom ) {
     225                    // If we need a different bottom margin for
     226                    $css->add_row_css( $post_id, $ri, '', array(
     227                        'margin-bottom' => $panels_mobile_margin_bottom
     228                    ), $panels_mobile_width );
     229                }
     230                   
     231               
     232            } // End of responsive code
    225233
    226234        }
     
    228236        // Add the bottom margins
    229237        $css->add_widget_css( $post_id, false, false, false, '', array(
    230             'margin-bottom' => apply_filters( 'siteorigin_panels_css_cell_margin_bottom', $panels_margin_bottom . 'px', false, false, $panels_data, $post_id )
     238            'margin-bottom' => apply_filters( 'siteorigin_panels_css_cell_margin_bottom', $settings['margin-bottom'] . 'px', false, false, $panels_data, $post_id )
    231239        ) );
    232240        $css->add_widget_css( $post_id, false, false, false, ':last-child', array(
  • siteorigin-panels/trunk/inc/settings.php

    r2061744 r2141880  
    250250            'description' => __( 'The post types on which to use Page Builder.', 'siteorigin-panels' ),
    251251        );
    252        
     252
    253253        $fields['general']['fields']['use-classic'] = array(
    254254            'type' => 'checkbox',
     
    290290            'description' => __( 'Page Builder will create an emulated sidebar, that contains all widgets in the page.', 'siteorigin-panels' ),
    291291        );
    292        
     292
    293293        $fields['general']['fields']['display-teaser'] = array(
    294294            'type' => 'checkbox',
     
    296296            'description' => sprintf(
    297297                __('Display the %sSiteOrigin Premium%s upgrade teaser in the Page Builder toolbar.', 'siteorigin-panels'),
    298                 '<a href="siteorigin.com/downloads/premium/" target="_blank" rel="noopener noreferrer">',
     298                '<a href="https://siteorigin.com/downloads/premium/" target="_blank" rel="noopener noreferrer">',
    299299                '</a>'
    300300            )
     
    378378            'description' => __( 'Collapses columns differently on tablet devices.', 'siteorigin-panels' ),
    379379        );
    380        
     380
    381381        $fields['layout']['fields']['legacy-layout'] = array(
    382382            'type'        => 'select',
     
    470470                ?><input name="<?php echo esc_attr( $field_name ) ?>"
    471471                         class="panels-setting-<?php echo esc_attr( $field['type'] ) ?>" type="text"
     472                         value="<?php echo esc_attr( $value ) ?>" /> <?php
     473                break;
     474
     475            case 'password':
     476                ?><input name="<?php echo esc_attr( $field_name ) ?>"
     477                         class="panels-setting-<?php echo esc_attr( $field['type'] ) ?>" type="password"
    472478                         value="<?php echo esc_attr( $value ) ?>" /> <?php
    473479                break;
     
    617623        // Don't let mobile width go below 320
    618624        $values[ 'mobile-width' ] = max( $values[ 'mobile-width' ], 320 );
    619        
     625
    620626        // Save the values to the database
    621627        update_option( 'siteorigin_panels_settings', $values );
     
    632638    function get_post_types() {
    633639        $post_types = get_post_types( array( '_builtin' => false ) );
    634        
     640
    635641        $types = array(
    636642            'page' => 'page',
    637643            'post' => 'post'
    638644        );
    639        
     645
    640646        // Don't use `array_merge` here as it will break things if a post type has a numeric slug.
    641647        foreach ( $post_types as $key => $value ) {
    642648            $types[ $key ] = $value;
    643649        }
    644        
     650
    645651        // These are post types we know we don't want to show Page Builder on
    646652        unset( $types['ml-slider'] );
  • siteorigin-panels/trunk/inc/styles-admin.php

    r2013625 r2141880  
    8888                'name'     => __( 'Layout', 'siteorigin-panels' ),
    8989                'priority' => 10
     90            ),
     91            'mobile_layout'     => array(
     92                'name'     => __( 'Mobile Layout', 'siteorigin-panels' ),
     93                'priority' => 11
    9094            ),
    9195            'design'     => array(
  • siteorigin-panels/trunk/inc/styles.php

    r2104964 r2141880  
    3737        // Filtering specific attributes
    3838        add_filter( 'siteorigin_panels_css_row_margin_bottom', array( $this, 'filter_row_bottom_margin' ), 10, 2 );
     39        add_filter( 'siteorigin_panels_css_row_mobile_margin_bottom', array( $this, 'filter_row_mobile_bottom_margin' ), 10, 2 );
    3940        add_filter( 'siteorigin_panels_css_row_gutter', array( $this, 'filter_row_gutter' ), 10, 2 );
    4041        add_filter( 'siteorigin_panels_css_widget_css', array( $this, 'filter_widget_style_css' ), 10, 2 );
     
    118119            'multiple'    => true
    119120        );
     121       
     122        // Mobile layout fields
    120123
    121124        $fields['mobile_padding'] = array(
    122125            'name'        => __( 'Mobile Padding', 'siteorigin-panels' ),
    123126            'type'        => 'measurement',
    124             'group'       => 'layout',
     127            'group'       => 'mobile_layout',
    125128            'description' => __( 'Padding when on mobile devices.', 'siteorigin-panels' ),
    126129            'priority'    => 8,
     
    261264            );
    262265        }
    263 
     266       
     267        // Add the mobile layout fields
     268       
     269        $fields['mobile_bottom_margin'] = array(
     270            'name'        => __( 'Mobile Bottom Margin', 'siteorigin-panels' ),
     271            'type'        => 'measurement',
     272            'group'       => 'mobile_layout',
     273            'description' => sprintf( __( 'Space below the row on mobile devices. Default is %spx.', 'siteorigin-panels' ), siteorigin_panels_setting( 'margin-bottom' ) ),
     274            'priority'    => 5,
     275        );
     276       
    264277        return $fields;
    265278    }
     
    665678        return $css;
    666679    }
    667 
     680   
     681    /**
     682     * Add in custom styles for the row's bottom margin
     683     *
     684     * @param $margin
     685     * @param $grid
     686     *
     687     * @return mixed
     688     */
    668689    static function filter_row_bottom_margin( $margin, $grid ) {
    669690        if ( ! empty( $grid['style']['bottom_margin'] ) ) {
    670691            $margin = $grid['style']['bottom_margin'];
     692        }
     693
     694        return $margin;
     695    }
     696   
     697    /**
     698     * Add in custom styles for a row's mobile bottom margin
     699     *
     700     * @param $margin
     701     * @param $grid
     702     *
     703     * @return mixed
     704     */
     705    static function filter_row_mobile_bottom_margin( $margin, $grid ) {
     706        if ( ! empty( $grid['style']['mobile_bottom_margin'] ) ) {
     707            $margin = $grid['style']['mobile_bottom_margin'];
    671708        }
    672709
  • siteorigin-panels/trunk/js/siteorigin-parallax.min.js

    r1986233 r2141880  
    1 !function(b){b.fn.siteOriginParallax=function(g){var d=b(this);if("refreshParallax"===g)return d.trigger("refreshParallax");null===(g=b.extend({backgroundUrl:null,backgroundSize:null,backgroundAspectRatio:null,backgroundSizing:"scaled",limitMotion:"auto"},g)).backgroundAspectRatio&&(g.backgroundAspectRatio=g.backgroundSize[0]/g.backgroundSize[1]);var i=function(){try{var i,o=[d.outerWidth(),d.outerHeight()],a=d[0].getBoundingClientRect(),n=b(window).outerHeight();void 0===d.data("siteorigin-parallax-init")&&d.css({"background-image":"url("+g.backgroundUrl+")"}),i="auto"===g.limitMotion?n<720?.55:1300<n?.45:-17e-5*(n-720)+.55:parseFloat(g.limitMotion);var r=((a.bottom+(a.top-n))/(n+a.height)-1)/-2,t=0,e=1,c=g.backgroundSize;if("scaled"===g.backgroundSizing){var s=o[1]/(i||1),u=o[0]/c[0];if(s>c[1]*u&&(u=s/c[1],i=!1),d.css("background-size",c[0]*u+"px "+c[1]*u+"px"),a.top>-o[1]&&a.bottom-n<o[1]){var l=c[1]*u;i&&n*i<l&&(r=r*(e=n*i/l)+(1-e)/2),t=-(l-o[1])*r}d.css("background-position","50% "+t+"px")}else"original"===g.backgroundSizing&&(i&&c[1]>n*i&&(r=r*(e=n*i/c[1])+(1-e)/2),t=-(c[1]-o[1])*r,d.css("background-size","auto"),d.css("background-position","50% "+t+"px"))}catch(i){console.log(i.message),d.css({"background-size":"scaled"===g.backgroundSizing?"cover":"auto","background-position":"50% 50%"})}};i(),b(window).on("scroll",i),b(window).on("resize",i),b(window).on("panelsStretchRows",i),d.on("refreshParallax",i),setTimeout(function(){i()},100)}}(jQuery),jQuery(function(i){i("[data-siteorigin-parallax]").each(function(){i(this).siteOriginParallax(i(this).data("siteorigin-parallax"))})});
     1!function(b){b.fn.siteOriginParallax=function(g){var d=b(this);if("refreshParallax"===g)return d.trigger("refreshParallax");null===(g=b.extend({backgroundUrl:null,backgroundSize:null,backgroundAspectRatio:null,backgroundSizing:"scaled",limitMotion:"auto"},g)).backgroundAspectRatio&&(g.backgroundAspectRatio=g.backgroundSize[0]/g.backgroundSize[1]);function i(){try{var i,o=[d.outerWidth(),d.outerHeight()],a=d[0].getBoundingClientRect(),n=b(window).outerHeight();void 0===d.data("siteorigin-parallax-init")&&d.css({"background-image":"url("+g.backgroundUrl+")"}),i="auto"===g.limitMotion?n<720?.55:1300<n?.45:-17e-5*(n-720)+.55:parseFloat(g.limitMotion);var r=((a.bottom+(a.top-n))/(n+a.height)-1)/-2,t=0,e=1,c=g.backgroundSize;if("scaled"===g.backgroundSizing){var s=o[1]/(i||1),u=o[0]/c[0];if(s>c[1]*u&&(u=s/c[1],i=!1),d.css("background-size",c[0]*u+"px "+c[1]*u+"px"),a.top>-o[1]&&a.bottom-n<o[1]){var l=c[1]*u;i&&n*i<l&&(r=r*(e=n*i/l)+(1-e)/2),t=-(l-o[1])*r}d.css("background-position","50% "+t+"px")}else"original"===g.backgroundSizing&&(i&&c[1]>n*i&&(r=r*(e=n*i/c[1])+(1-e)/2),t=-(c[1]-o[1])*r,d.css("background-size","auto"),d.css("background-position","50% "+t+"px"))}catch(i){console.log(i.message),d.css({"background-size":"scaled"===g.backgroundSizing?"cover":"auto","background-position":"50% 50%"})}}i(),b(window).on("scroll",i),b(window).on("resize",i),b(window).on("panelsStretchRows",i),d.on("refreshParallax",i),setTimeout(function(){i()},100)}}(jQuery),jQuery(function(i){i("[data-siteorigin-parallax]").each(function(){i(this).siteOriginParallax(i(this).data("siteorigin-parallax"))})});
  • siteorigin-panels/trunk/js/yoast-compat.min.js

    r2104964 r2141880  
    1 jQuery(function(v){if(void 0!==YoastSEO.app){var e,f=(e=document.createElement("div"),function(t){return t&&"string"==typeof t&&(t=(t=t.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"")).replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),e.innerHTML=t,t=e.textContent,e.textContent=""),t}),t=function(){YoastSEO.app.registerPlugin("siteOriginYoastCompat",{status:"ready"}),YoastSEO.app.registerModification("content",this.contentModification,"siteOriginYoastCompat",5)};t.prototype.contentModification=function(t){var h=new RegExp(panelsOptions.siteoriginWidgetRegex,"i"),e=v("<div>"+t+"</div>");return 0===e.find(".so-panel.widget").length?t:(e.find(".so-panel.widget").each(function(t,e){var i=v(e);0<i.find("> .panel-widget-style").length&&(i=i.find("> .panel-widget-style"));var a=h.exec(i.html());try{if(!_.isNull(a)&&""===i.html().replace(h,"").trim()){var r=/class="(.*?)"/.exec(a[3]),n=jQuery(a[5]),s=JSON.parse(f(n.val())).instance,g="";if(_.isNull(s.title)||(g+="<h3>"+s.title+"</h3>"),!_.isNull(r)){var o=r[1];switch(o){case"SiteOrigin_Widget_Image_Widget":g=v("<img/>").attr({src:"#"+s.image,srcset:"",alt:s.alt,title:s.title}).prop("outerHTML");break;case"WP_Widget_Media_Image":g=v("<img/>").attr({src:"#"+s.attachment_id,srcset:"",alt:s.alt,title:s.image_title}).prop("outerHTML");break;case"SiteOrigin_Widgets_ImageGrid_Widget":case"SiteOrigin_Widget_Simple_Masonry_Widget":g=v("<div/>");var l="SiteOrigin_Widgets_ImageGrid_Widget"===o?s.images:s.items;for(t=0;t<l.length;t++){var d=l[t],c=v("<img/>").attr({src:"#"+d.image,srcset:"",alt:d.hasOwnProperty("alt")?d.alt:d.title,title:d.title});g.append(c)}g=g.prop("outerHTML");break;case"SiteOrigin_Widget_Accordion_Widget":case"SiteOrigin_Widget_Tabs_Widget":var p="SiteOrigin_Widget_Accordion_Widget"===o?s.panels:s.tabs;g=v("<div/>");for(t=0;t<p.length;t++){var m=p[t];"text"===m.content_type&&(g.append("<h3>"+m.title+"</h3>"),g.append("<div>"+m.content_text+"</div>"))}g=g.prop("outerHTML");break;case"SiteOrigin_Widget_Button_Widget":var u=s.url.includes("://")?"":"#";g=v("<a>"+s.text+"</a>").attr({href:u+s.url}).prop("outerHTML")}}i.html(g)}}catch(t){i.html("")}}),e.html())},new t}});
     1jQuery(function(v){if(void 0!==YoastSEO.app){function t(){YoastSEO.app.registerPlugin("siteOriginYoastCompat",{status:"ready"}),YoastSEO.app.registerModification("content",this.contentModification,"siteOriginYoastCompat",5)}var e,f=(e=document.createElement("div"),function(t){return t&&"string"==typeof t&&(t=(t=t.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,"")).replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),e.innerHTML=t,t=e.textContent,e.textContent=""),t});t.prototype.contentModification=function(t){var h=new RegExp(panelsOptions.siteoriginWidgetRegex,"i"),e=v("<div>"+t+"</div>");return 0===e.find(".so-panel.widget").length?t:(e.find(".so-panel.widget").each(function(t,e){var i=v(e);0<i.find("> .panel-widget-style").length&&(i=i.find("> .panel-widget-style"));var a=h.exec(i.html());try{if(!_.isNull(a)&&""===i.html().replace(h,"").trim()){var r=/class="(.*?)"/.exec(a[3]),n=jQuery(a[5]),s=JSON.parse(f(n.val())).instance,g="";if(_.isNull(s.title)||(g+="<h3>"+s.title+"</h3>"),!_.isNull(r)){var o=r[1];switch(o){case"SiteOrigin_Widget_Image_Widget":g=v("<img/>").attr({src:"#"+s.image,srcset:"",alt:s.alt,title:s.title}).prop("outerHTML");break;case"WP_Widget_Media_Image":g=v("<img/>").attr({src:"#"+s.attachment_id,srcset:"",alt:s.alt,title:s.image_title}).prop("outerHTML");break;case"SiteOrigin_Widgets_ImageGrid_Widget":case"SiteOrigin_Widget_Simple_Masonry_Widget":g=v("<div/>");var l="SiteOrigin_Widgets_ImageGrid_Widget"===o?s.images:s.items;for(t=0;t<l.length;t++){var d=l[t],c=v("<img/>").attr({src:"#"+d.image,srcset:"",alt:d.hasOwnProperty("alt")?d.alt:d.title,title:d.title});g.append(c)}g=g.prop("outerHTML");break;case"SiteOrigin_Widget_Accordion_Widget":case"SiteOrigin_Widget_Tabs_Widget":var p="SiteOrigin_Widget_Accordion_Widget"===o?s.panels:s.tabs;g=v("<div/>");for(t=0;t<p.length;t++){var m=p[t];"text"===m.content_type&&(g.append("<h3>"+m.title+"</h3>"),g.append("<div>"+m.content_text+"</div>"))}g=g.prop("outerHTML");break;case"SiteOrigin_Widget_Button_Widget":var u=s.url.includes("://")?"":"#";g=v("<a>"+s.text+"</a>").attr({href:u+s.url}).prop("outerHTML")}}i.html(g)}}catch(t){i.html("")}}),e.html())},new t}});
  • siteorigin-panels/trunk/lang/siteorigin-panels.pot

    r2104964 r2141880  
    1717"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    1818
     19#: siteorigin-panels.php:3
     20msgid "Page Builder by SiteOrigin"
     21msgstr ""
     22
     23#: siteorigin-panels.php:4
     24msgid "https://siteorigin.com/page-builder/"
     25msgstr ""
     26
     27#: siteorigin-panels.php:5
     28msgid "A drag and drop, responsive page builder that simplifies building your website."
     29msgstr ""
     30
     31#: siteorigin-panels.php:7
     32msgid "SiteOrigin"
     33msgstr ""
     34
     35#: siteorigin-panels.php:8
     36msgid "https://siteorigin.com"
     37msgstr ""
     38
     39#: siteorigin-panels.php:334
     40msgid "Read More"
     41msgstr ""
     42
     43#: siteorigin-panels.php:482
     44msgid "Edit Home Page"
     45msgstr ""
     46
     47#: siteorigin-panels.php:502, tpl/js-templates.php:34, tpl/js-templates.php:36
     48msgid "Live Editor"
     49msgstr ""
     50
    1951#: compat/layout-block.php:87
    2052msgid "You need to add a widget, row, or prebuilt layout before you'll see anything here. :)"
     
    375407msgstr ""
    376408
    377 #: inc/admin.php:460, inc/admin.php:468, inc/styles.php:185, tpl/js-templates.php:62
     409#: inc/admin.php:460, inc/admin.php:468, inc/styles.php:188, tpl/js-templates.php:62
    378410msgid "Row"
    379411msgstr ""
     
    395427msgstr ""
    396428
    397 #: inc/admin.php:467, inc/styles.php:319, tpl/js-templates.php:61
     429#: inc/admin.php:467, inc/styles.php:332, tpl/js-templates.php:61
    398430msgid "Widget"
    399431msgstr ""
     
    490522msgstr ""
    491523
     524#: inc/home.php:25
     525msgid "Custom Home Page Builder"
     526msgstr ""
     527
     528#: inc/revisions.php:83
     529msgid "Page Builder Content"
     530msgstr ""
     531
     532#: inc/settings.php:226
     533msgid "Page Builder Settings"
     534msgstr ""
     535
     536#: inc/settings.php:242
     537msgid "General"
     538msgstr ""
     539
     540#: inc/settings.php:248
     541msgid "Post Types"
     542msgstr ""
     543
     544#: inc/settings.php:250
     545msgid "The post types on which to use Page Builder."
     546msgstr ""
     547
     548#: inc/settings.php:255
     549msgid "Use Classic Editor for new posts"
     550msgstr ""
     551
     552#: inc/settings.php:256
     553msgid "New posts of the above Post Types will be created using the Classic Editor."
     554msgstr ""
     555
     556#: inc/settings.php:261
     557msgid "Live Editor Quick Link"
     558msgstr ""
     559
     560#: inc/settings.php:262
     561msgid "Display a Live Editor button in the admin bar."
     562msgstr ""
     563
     564#: inc/settings.php:267
     565msgid "Display Post State"
     566msgstr ""
     567
     568#: inc/settings.php:269
     569msgid "Display a %sSiteOrigin Page Builder%s post state in the admin lists of posts/pages to indicate Page Builder is active."
     570msgstr ""
     571
     572#: inc/settings.php:277
     573msgid "Display Widget Count"
     574msgstr ""
     575
     576#: inc/settings.php:278
     577msgid "Display a widget count in the admin lists of posts/pages where you're using Page Builder."
     578msgstr ""
     579
     580#: inc/settings.php:283
     581msgid "Limit Parallax Motion"
     582msgstr ""
     583
     584#: inc/settings.php:284
     585msgid "How many pixels of scrolling result in a single pixel of parallax motion. 0 means automatic. Lower values give more noticeable effect."
     586msgstr ""
     587
     588#: inc/settings.php:289
     589msgid "Sidebars Emulator"
     590msgstr ""
     591
     592#: inc/settings.php:290
     593msgid "Page Builder will create an emulated sidebar, that contains all widgets in the page."
     594msgstr ""
     595
     596#: inc/settings.php:295
     597msgid "Upgrade Teaser"
     598msgstr ""
     599
     600#: inc/settings.php:297
     601msgid "Display the %sSiteOrigin Premium%s upgrade teaser in the Page Builder toolbar."
     602msgstr ""
     603
     604#: inc/settings.php:305
     605msgid "Default To Page Builder Interface"
     606msgstr ""
     607
     608#: inc/settings.php:307
     609msgid "New Classic Editor posts/pages that you create will start with the Page Builder loaded. The %s\"Use Classic Editor for new posts\"%s setting must be enabled."
     610msgstr ""
     611
     612#: inc/settings.php:314
     613msgid "Layout Block Default Mode"
     614msgstr ""
     615
     616#: inc/settings.php:317, tpl/js-templates.php:141
     617msgid "Edit"
     618msgstr ""
     619
     620#: inc/settings.php:318
     621msgid "Preview"
     622msgstr ""
     623
     624#: inc/settings.php:320
     625msgid "Whether to display layout blocks in edit mode or preview mode in the block editor."
     626msgstr ""
     627
     628#: inc/settings.php:326
     629msgid "Widgets"
     630msgstr ""
     631
     632#: inc/settings.php:332
     633msgid "Widget Title HTML"
     634msgstr ""
     635
     636#: inc/settings.php:333
     637msgid "The HTML used for widget titles. {{title}} is replaced with the widget title."
     638msgstr ""
     639
     640#: inc/settings.php:338
     641msgid "Add Widget Class"
     642msgstr ""
     643
     644#: inc/settings.php:339
     645msgid "Add the widget class to Page Builder widgets. Disable this if you're experiencing conflicts."
     646msgstr ""
     647
     648#: inc/settings.php:344
     649msgid "Legacy Bundled Widgets"
     650msgstr ""
     651
     652#: inc/settings.php:345
     653msgid "Load legacy widgets from Page Builder 1."
     654msgstr ""
     655
     656#: inc/settings.php:351
     657msgid "Display recommend widgets in Page Builder add widget dialog."
     658msgstr ""
     659
     660#: inc/settings.php:356
     661msgid "Instant Open Widgets"
     662msgstr ""
     663
     664#: inc/settings.php:357
     665msgid "Open a widget form as soon as its added to a page."
     666msgstr ""
     667
     668#: inc/settings.php:363, inc/styles-admin.php:88
     669msgid "Layout"
     670msgstr ""
     671
     672#: inc/settings.php:371
     673msgid "Responsive Layout"
     674msgstr ""
     675
     676#: inc/settings.php:372
     677msgid "Collapse widgets, rows and columns on mobile devices."
     678msgstr ""
     679
     680#: inc/settings.php:377
     681msgid "Use Tablet Layout"
     682msgstr ""
     683
     684#: inc/settings.php:378
     685msgid "Collapses columns differently on tablet devices."
     686msgstr ""
     687
     688#: inc/settings.php:384
     689msgid "Detect older browsers"
     690msgstr ""
     691
     692#: inc/settings.php:385
     693msgid "Never"
     694msgstr ""
     695
     696#: inc/settings.php:386
     697msgid "Always"
     698msgstr ""
     699
     700#: inc/settings.php:388
     701msgid "Use Legacy Layout Engine"
     702msgstr ""
     703
     704#: inc/settings.php:389
     705msgid "The CSS and HTML uses floats instead of flexbox for compatibility with very old browsers."
     706msgstr ""
     707
     708#: inc/settings.php:395
     709msgid "Tablet Width"
     710msgstr ""
     711
     712#: inc/settings.php:396
     713msgid "Device width, in pixels, to collapse into a tablet view ."
     714msgstr ""
     715
     716#: inc/settings.php:402
     717msgid "Mobile Width"
     718msgstr ""
     719
     720#: inc/settings.php:403
     721msgid "Device width, in pixels, to collapse into a mobile view ."
     722msgstr ""
     723
     724#: inc/settings.php:409
     725msgid "Row/Widget Bottom Margin"
     726msgstr ""
     727
     728#: inc/settings.php:410
     729msgid "Default margin below rows and widgets."
     730msgstr ""
     731
     732#: inc/settings.php:415
     733msgid "Last Row With Margin"
     734msgstr ""
     735
     736#: inc/settings.php:416
     737msgid "Allow margin in last row."
     738msgstr ""
     739
     740#: inc/settings.php:422
     741msgid "Row Gutter"
     742msgstr ""
     743
     744#: inc/settings.php:423
     745msgid "Default spacing between columns in each row."
     746msgstr ""
     747
     748#: inc/settings.php:429
     749msgid "Full Width Container"
     750msgstr ""
     751
     752#: inc/settings.php:430
     753msgid "The container used for the full width layout."
     754msgstr ""
     755
     756#: inc/settings.php:437
     757msgid "Content"
     758msgstr ""
     759
     760#: inc/settings.php:443
     761msgid "Copy Content"
     762msgstr ""
     763
     764#: inc/settings.php:444
     765msgid "Copy content from Page Builder to post content."
     766msgstr ""
     767
     768#: inc/settings.php:449
     769msgid "Copy Styles"
     770msgstr ""
     771
     772#: inc/settings.php:450
     773msgid "Include styles into your Post Content. This keeps page layouts, even when Page Builder is deactivated."
     774msgstr ""
     775
     776#: inc/settings.php:503, inc/styles-admin.php:273
     777msgid "Enabled"
     778msgstr ""
     779
     780#: inc/styles-admin.php:33
     781msgid "Please specify the type of style form to be rendered."
     782msgstr ""
     783
     784#: inc/styles-admin.php:34
     785msgid "Missing style form type."
     786msgstr ""
     787
     788#: inc/styles-admin.php:46
     789msgid "Row Styles"
     790msgstr ""
     791
     792#: inc/styles-admin.php:51
     793msgid "Cell%s Styles"
     794msgstr ""
     795
     796#: inc/styles-admin.php:55
     797msgid "Widget Styles"
     798msgstr ""
     799
     800#: inc/styles-admin.php:84
     801msgid "Attributes"
     802msgstr ""
     803
     804#: inc/styles-admin.php:92
     805msgid "Mobile Layout"
     806msgstr ""
     807
     808#: inc/styles-admin.php:96
     809msgid "Design"
     810msgstr ""
     811
     812#: inc/styles-admin.php:106
     813msgid "Theme"
     814msgstr ""
     815
     816#: inc/styles-admin.php:191, inc/styles.php:258, inc/styles.php:297
     817msgid "Top"
     818msgstr ""
     819
     820#: inc/styles-admin.php:195, widgets/widgets/button/button.php:30
     821msgid "Right"
     822msgstr ""
     823
     824#: inc/styles-admin.php:199, inc/styles.php:260, inc/styles.php:299
     825msgid "Bottom"
     826msgstr ""
     827
     828#: inc/styles-admin.php:203, widgets/widgets/button/button.php:29
     829msgid "Left"
     830msgstr ""
     831
     832#: inc/styles-admin.php:248
     833msgid "Select Image"
     834msgstr ""
     835
     836#: inc/styles-admin.php:253
     837msgid "Remove"
     838msgstr ""
     839
     840#: inc/styles-admin.php:256
     841msgid "External URL"
     842msgstr ""
     843
     844#: inc/styles.php:80
     845msgid "%s ID"
     846msgstr ""
     847
     848#: inc/styles.php:83
     849msgid "A custom ID used for this %s."
     850msgstr ""
     851
     852#: inc/styles.php:88
     853msgid "%s Class"
     854msgstr ""
     855
     856#: inc/styles.php:91
     857msgid "A CSS class"
     858msgstr ""
     859
     860#: inc/styles.php:96
     861msgid "CSS Styles"
     862msgstr ""
     863
     864#: inc/styles.php:99
     865msgid "One style attribute per line."
     866msgstr ""
     867
     868#: inc/styles.php:104
     869msgid "Mobile CSS Styles"
     870msgstr ""
     871
     872#: inc/styles.php:107
     873msgid "CSS applied when in mobile view."
     874msgstr ""
     875
     876#: inc/styles.php:114
     877msgid "Padding"
     878msgstr ""
     879
     880#: inc/styles.php:117
     881msgid "Padding around the entire %s."
     882msgstr ""
     883
     884#: inc/styles.php:125
     885msgid "Mobile Padding"
     886msgstr ""
     887
     888#: inc/styles.php:128
     889msgid "Padding when on mobile devices."
     890msgstr ""
     891
     892#: inc/styles.php:136
     893msgid "Background Color"
     894msgstr ""
     895
     896#: inc/styles.php:139
     897msgid "Background color of the %s."
     898msgstr ""
     899
     900#: inc/styles.php:144
     901msgid "Background Image"
     902msgstr ""
     903
     904#: inc/styles.php:147
     905msgid "Background image of the %s."
     906msgstr ""
     907
     908#: inc/styles.php:152
     909msgid "Background Image Display"
     910msgstr ""
     911
     912#: inc/styles.php:156
     913msgid "Tiled Image"
     914msgstr ""
     915
     916#: inc/styles.php:157
     917msgid "Cover"
     918msgstr ""
     919
     920#: inc/styles.php:158
     921msgid "Centered, with original size"
     922msgstr ""
     923
     924#: inc/styles.php:159
     925msgid "Contain"
     926msgstr ""
     927
     928#: inc/styles.php:160
     929msgid "Fixed"
     930msgstr ""
     931
     932#: inc/styles.php:161
     933msgid "Parallax"
     934msgstr ""
     935
     936#: inc/styles.php:162
     937msgid "Parallax (Original Size)"
     938msgstr ""
     939
     940#: inc/styles.php:164
     941msgid "How the background image is displayed."
     942msgstr ""
     943
     944#: inc/styles.php:169
     945msgid "Border Color"
     946msgstr ""
     947
     948#: inc/styles.php:172
     949msgid "Border color of the %s."
     950msgstr ""
     951
     952#: inc/styles.php:191
     953msgid "Cell Class"
     954msgstr ""
     955
     956#: inc/styles.php:194
     957msgid "Class added to all cells in this row."
     958msgstr ""
     959
     960#: inc/styles.php:201
     961msgid "Bottom Margin"
     962msgstr ""
     963
     964#: inc/styles.php:204
     965msgid "Space below the row. Default is %spx."
     966msgstr ""
     967
     968#: inc/styles.php:209
     969msgid "Gutter"
     970msgstr ""
     971
     972#: inc/styles.php:212
     973msgid "Amount of space between cells. Default is %spx."
     974msgstr ""
     975
     976#: inc/styles.php:217
     977msgid "Row Layout"
     978msgstr ""
     979
     980#: inc/styles.php:221, inc/styles.php:234
     981msgid "Standard"
     982msgstr ""
     983
     984#: inc/styles.php:222
     985msgid "Full Width"
     986msgstr ""
     987
     988#: inc/styles.php:223
     989msgid "Full Width Stretched"
     990msgstr ""
     991
     992#: inc/styles.php:224
     993msgid "Full Width Stretched Padded"
     994msgstr ""
     995
     996#: inc/styles.php:230
     997msgid "Collapse Behaviour"
     998msgstr ""
     999
     1000#: inc/styles.php:235
     1001msgid "No Collapse"
     1002msgstr ""
     1003
     1004#: inc/styles.php:241
     1005msgid "Collapse Order"
     1006msgstr ""
     1007
     1008#: inc/styles.php:245, widgets/widgets.php:635, widgets/widgets.php:757, inc/widgets/post-loop.php:325
     1009msgid "Default"
     1010msgstr ""
     1011
     1012#: inc/styles.php:246
     1013msgid "Left on Top"
     1014msgstr ""
     1015
     1016#: inc/styles.php:247
     1017msgid "Right on Top"
     1018msgstr ""
     1019
     1020#: inc/styles.php:254
     1021msgid "Cell Vertical Alignment"
     1022msgstr ""
     1023
     1024#: inc/styles.php:259, inc/styles.php:298, widgets/widgets/button/button.php:31
     1025msgid "Center"
     1026msgstr ""
     1027
     1028#: inc/styles.php:261, inc/styles.php:300
     1029msgid "Stretch"
     1030msgstr ""
     1031
     1032#: inc/styles.php:270
     1033msgid "Mobile Bottom Margin"
     1034msgstr ""
     1035
     1036#: inc/styles.php:273
     1037msgid "Space below the row on mobile devices. Default is %spx."
     1038msgstr ""
     1039
     1040#: inc/styles.php:289
     1041msgid "Cell"
     1042msgstr ""
     1043
     1044#: inc/styles.php:292
     1045msgid "Vertical Alignment"
     1046msgstr ""
     1047
     1048#: inc/styles.php:296
     1049msgid "Use row setting"
     1050msgstr ""
     1051
     1052#: inc/styles.php:306, inc/styles.php:346
     1053msgid "Font Color"
     1054msgstr ""
     1055
     1056#: inc/styles.php:309
     1057msgid "Color of text inside this cell."
     1058msgstr ""
     1059
     1060#: inc/styles.php:314, inc/styles.php:354
     1061msgid "Links Color"
     1062msgstr ""
     1063
     1064#: inc/styles.php:317
     1065msgid "Color of links inside this cell."
     1066msgstr ""
     1067
     1068#: inc/styles.php:335
     1069msgid "Margin"
     1070msgstr ""
     1071
     1072#: inc/styles.php:338
     1073msgid "Margins around the widget."
     1074msgstr ""
     1075
     1076#: inc/styles.php:349
     1077msgid "Color of text inside this widget."
     1078msgstr ""
     1079
     1080#: inc/styles.php:357
     1081msgid "Color of links inside this widget."
     1082msgstr ""
     1083
     1084#: tpl/admin-home-page.php:21
     1085msgid "On"
     1086msgstr ""
     1087
     1088#: tpl/admin-home-page.php:21
     1089msgid "Off"
     1090msgstr ""
     1091
     1092#: tpl/admin-home-page.php:25
     1093msgid "Custom Home Page"
     1094msgstr ""
     1095
     1096#: tpl/admin-home-page.php:41
     1097msgid "Home page updated. 1{View page}."
     1098msgstr ""
     1099
     1100#: tpl/admin-home-page.php:60
     1101msgid "Save Home Page"
     1102msgstr ""
     1103
     1104#: tpl/admin-home-page.php:64
     1105msgid "This interface requires Javascript"
     1106msgstr ""
     1107
     1108#: tpl/help.php:2
     1109msgid "You can use SiteOrigin Page Builder to create home and sub pages, filled your own widgets."
     1110msgstr ""
     1111
     1112#: tpl/help.php:3
     1113msgid "The page layouts are responsive and fully customizable."
     1114msgstr ""
     1115
     1116#: tpl/help.php:18
     1117msgid "Read the 1{full documentation} on SiteOrigin. Ask a question on our 2{support forum} if you need help and sign up to 3{our newsletter} to stay up to date with future developments."
     1118msgstr ""
     1119
     1120#: tpl/js-templates.php:12, tpl/js-templates.php:14
     1121msgid "Add Widget"
     1122msgstr ""
     1123
     1124#: tpl/js-templates.php:22, tpl/js-templates.php:387
     1125msgid "Prebuilt Layouts"
     1126msgstr ""
     1127
     1128#: tpl/js-templates.php:24
     1129msgid "Layouts"
     1130msgstr ""
     1131
     1132#: tpl/js-templates.php:29
     1133msgid "Edit History"
     1134msgstr ""
     1135
     1136#: tpl/js-templates.php:31
     1137msgid "History"
     1138msgstr ""
     1139
     1140#: tpl/js-templates.php:42
     1141msgid "Page Builder Addons"
     1142msgstr ""
     1143
     1144#: tpl/js-templates.php:48
     1145msgid "Revert to Editor"
     1146msgstr ""
     1147
     1148#: tpl/js-templates.php:60
     1149msgid "Add a %s, %s or %s to get started. Read our %s if you need help."
     1150msgstr ""
     1151
     1152#: tpl/js-templates.php:71
     1153msgid "Pro Tip"
     1154msgstr ""
     1155
     1156#: tpl/js-templates.php:142, tpl/js-templates.php:268, tpl/js-templates.php:353
     1157msgid "Duplicate"
     1158msgstr ""
     1159
     1160#: tpl/js-templates.php:143, tpl/js-templates.php:267, tpl/js-templates.php:352
     1161msgid "Delete"
     1162msgstr ""
     1163
     1164#: tpl/js-templates.php:206, tpl/js-templates.php:271, tpl/js-templates.php:360
     1165msgid "Done"
     1166msgstr ""
     1167
     1168#: tpl/js-templates.php:220
     1169msgid "Add New Widget %s"
     1170msgstr ""
     1171
     1172#: tpl/js-templates.php:236, tpl/js-templates.php:556
     1173msgid "Close"
     1174msgstr ""
     1175
     1176#: tpl/js-templates.php:321
     1177msgid "Left to Right"
     1178msgstr ""
     1179
     1180#: tpl/js-templates.php:322
     1181msgid "Right to Left"
     1182msgstr ""
     1183
     1184#: tpl/js-templates.php:333
     1185msgid "1{Set row layout}: %1$s columns with a ratio of %2$s going from %3$s"
     1186msgstr ""
     1187
     1188#: tpl/js-templates.php:339
     1189msgid "Set"
     1190msgstr ""
     1191
     1192#: tpl/js-templates.php:358, tpl/js-templates.php:416
     1193msgid "Insert"
     1194msgstr ""
     1195
     1196#: tpl/js-templates.php:378
     1197msgid "Page Builder Layouts"
     1198msgstr ""
     1199
     1200#: tpl/js-templates.php:382
     1201msgid "Search"
     1202msgstr ""
     1203
     1204#: tpl/js-templates.php:397
     1205msgid "Import/Export"
     1206msgstr ""
     1207
     1208#: tpl/js-templates.php:404
     1209msgid "Clone: %s"
     1210msgstr ""
     1211
     1212#: tpl/js-templates.php:420
     1213msgid "Insert after"
     1214msgstr ""
     1215
     1216#: tpl/js-templates.php:421
     1217msgid "Insert before"
     1218msgstr ""
     1219
     1220#: tpl/js-templates.php:422
     1221msgid "Replace current"
     1222msgstr ""
     1223
     1224#: tpl/js-templates.php:433
     1225msgid "Do you want to browse the Prebuilt Layouts directory?"
     1226msgstr ""
     1227
     1228#: tpl/js-templates.php:434
     1229msgid "Enable"
     1230msgstr ""
     1231
     1232#: tpl/js-templates.php:447
     1233msgid "Your search didn't return any results"
     1234msgstr ""
     1235
     1236#: tpl/js-templates.php:475
     1237msgid "Previous"
     1238msgstr ""
     1239
     1240#: tpl/js-templates.php:476
     1241msgid "Next"
     1242msgstr ""
     1243
     1244#: tpl/js-templates.php:486
     1245msgid "Drop import file here"
     1246msgstr ""
     1247
     1248#: tpl/js-templates.php:487
     1249msgid "Or"
     1250msgstr ""
     1251
     1252#: tpl/js-templates.php:490
     1253msgid "Select Import File"
     1254msgstr ""
     1255
     1256#: tpl/js-templates.php:504
     1257msgid "Download Layout"
     1258msgstr ""
     1259
     1260#: tpl/js-templates.php:515
     1261msgid "Page Builder Change History"
     1262msgstr ""
     1263
     1264#: tpl/js-templates.php:530
     1265msgid "Restore Version"
     1266msgstr ""
     1267
     1268#: tpl/js-templates.php:553
     1269msgid "Save Draft"
     1270msgstr ""
     1271
     1272#: tpl/js-templates.php:554, tpl/js-templates.php:555
     1273msgid "Update"
     1274msgstr ""
     1275
     1276#: tpl/js-templates.php:558
     1277msgid "Toggle desktop mode"
     1278msgstr ""
     1279
     1280#: tpl/js-templates.php:561
     1281msgid "Toggle tablet mode"
     1282msgstr ""
     1283
     1284#: tpl/js-templates.php:564
     1285msgid "Toggle mobile mode"
     1286msgstr ""
     1287
     1288#: tpl/js-templates.php:603
     1289msgid "No Results"
     1290msgstr ""
     1291
     1292#: tpl/js-templates.php:613
     1293msgid "Add SiteOrigin Layout Block"
     1294msgstr ""
     1295
     1296#: widgets/widgets.php:161
     1297msgid "This is a legacy widget. "
     1298msgstr ""
     1299
     1300#: widgets/widgets.php:162
     1301msgid "Ideally you should move to using widgets from the SiteOrigin Widgets Bundle instead. "
     1302msgstr ""
     1303
     1304#: widgets/widgets.php:163
     1305msgid "It'll be moved to a separate plugin after Page Builder 2.6 is released. "
     1306msgstr ""
     1307
     1308#: widgets/widgets.php:220
     1309msgid "Style"
     1310msgstr ""
     1311
     1312#: widgets/widgets.php:244
     1313msgid "%s Style"
     1314msgstr ""
     1315
     1316#: widgets/widgets.php:594, inc/widgets/post-loop.php:283
     1317msgid "Post Type"
     1318msgstr ""
     1319
     1320#: widgets/widgets.php:601, inc/widgets/post-loop.php:292
     1321msgid "Posts Per Page"
     1322msgstr ""
     1323
     1324#: widgets/widgets.php:606, inc/widgets/post-loop.php:297
     1325msgid "Order By"
     1326msgstr ""
     1327
     1328#: widgets/widgets.php:608, widgets/widgets.php:783, inc/widgets/post-content.php:60, inc/widgets/post-loop.php:299
     1329msgid "None"
     1330msgstr ""
     1331
     1332#: widgets/widgets.php:609, inc/widgets/post-loop.php:300
     1333msgid "Post ID"
     1334msgstr ""
     1335
     1336#: widgets/widgets.php:610, inc/widgets/post-loop.php:301
     1337msgid "Author"
     1338msgstr ""
     1339
     1340#: widgets/widgets.php:611, widgets/widgets.php:612, inc/widgets/post-loop.php:302, inc/widgets/post-loop.php:303, widgets/widgets/testimonial/testimonial.php:15
     1341msgid "Name"
     1342msgstr ""
     1343
     1344#: widgets/widgets.php:613, inc/widgets/post-loop.php:304
     1345msgid "Date"
     1346msgstr ""
     1347
     1348#: widgets/widgets.php:614, inc/widgets/post-loop.php:305
     1349msgid "Modified"
     1350msgstr ""
     1351
     1352#: widgets/widgets.php:615, inc/widgets/post-loop.php:306
     1353msgid "Parent"
     1354msgstr ""
     1355
     1356#: widgets/widgets.php:616, inc/widgets/post-loop.php:307
     1357msgid "Random"
     1358msgstr ""
     1359
     1360#: widgets/widgets.php:617, inc/widgets/post-loop.php:308
     1361msgid "Comment Count"
     1362msgstr ""
     1363
     1364#: widgets/widgets.php:618, inc/widgets/post-loop.php:309
     1365msgid "Menu Order"
     1366msgstr ""
     1367
     1368#: widgets/widgets.php:624, inc/widgets/post-loop.php:315
     1369msgid "Order"
     1370msgstr ""
     1371
     1372#: widgets/widgets.php:626, inc/widgets/post-loop.php:318
     1373msgid "Ascending"
     1374msgstr ""
     1375
     1376#: widgets/widgets.php:627, inc/widgets/post-loop.php:317
     1377msgid "Descending"
     1378msgstr ""
     1379
     1380#: widgets/widgets.php:633, inc/widgets/post-loop.php:323
     1381msgid "Sticky Posts"
     1382msgstr ""
     1383
     1384#: widgets/widgets.php:636, inc/widgets/post-loop.php:326
     1385msgid "Ignore Sticky"
     1386msgstr ""
     1387
     1388#: widgets/widgets.php:637, inc/widgets/post-loop.php:327
     1389msgid "Exclude Sticky"
     1390msgstr ""
     1391
     1392#: widgets/widgets.php:638, inc/widgets/post-loop.php:328
     1393msgid "Only Sticky"
     1394msgstr ""
     1395
     1396#: widgets/widgets.php:644
     1397msgid "Additional Arguments"
     1398msgstr ""
     1399
     1400#: widgets/widgets.php:648, inc/widgets/post-loop.php:340
     1401msgid "Additional query arguments. See 1{query_posts}."
     1402msgstr ""
     1403
     1404#: widgets/widgets.php:705
     1405msgid "Gallery (PB)"
     1406msgstr ""
     1407
     1408#: widgets/widgets.php:707
     1409msgid "Displays a gallery."
     1410msgstr ""
     1411
     1412#: widgets/widgets.php:746
     1413msgid "Gallery Images"
     1414msgstr ""
     1415
     1416#: widgets/widgets.php:747
     1417msgid "edit gallery"
     1418msgstr ""
     1419
     1420#: widgets/widgets.php:751
     1421msgid "Comma separated attachment IDs. Defaults to all current page's attachments."
     1422msgstr ""
     1423
     1424#: widgets/widgets.php:755
     1425msgid "Image Size"
     1426msgstr ""
     1427
     1428#: widgets/widgets.php:758
     1429msgid "Large"
     1430msgstr ""
     1431
     1432#: widgets/widgets.php:759
     1433msgid "Medium"
     1434msgstr ""
     1435
     1436#: widgets/widgets.php:760
     1437msgid "Thumbnail"
     1438msgstr ""
     1439
     1440#: widgets/widgets.php:761
     1441msgid "Full"
     1442msgstr ""
     1443
     1444#: widgets/widgets.php:769
     1445msgid "Gallery Type"
     1446msgstr ""
     1447
     1448#: widgets/widgets.php:774
     1449msgid "Columns"
     1450msgstr ""
     1451
     1452#: widgets/widgets.php:779
     1453msgid "Link To"
     1454msgstr ""
     1455
     1456#: widgets/widgets.php:781
     1457msgid "Attachment Page"
     1458msgstr ""
     1459
     1460#: widgets/widgets.php:782
     1461msgid "File"
     1462msgstr ""
     1463
     1464#: widgets/widgets.php:800
     1465msgid "Image (PB)"
     1466msgstr ""
     1467
     1468#: widgets/widgets.php:802
     1469msgid "Displays a simple image."
     1470msgstr ""
     1471
     1472#: widgets/widgets.php:835, widgets/widgets/animated-image/animated-image.php:15
     1473msgid "Image URL"
     1474msgstr ""
     1475
     1476#: widgets/widgets.php:839, widgets/widgets/button/button.php:19
     1477msgid "Destination URL"
     1478msgstr ""
     1479
     1480#: widgets/widgets.php:853
     1481msgid "Embedded Video (PB)"
     1482msgstr ""
     1483
     1484#: widgets/widgets.php:855
     1485msgid "Embeds a video."
     1486msgstr ""
     1487
     1488#: widgets/widgets.php:893
     1489msgid "Video"
     1490msgstr ""
     1491
     1492#: widgets/widgets.php:909
     1493msgid "Self Hosted Video (PB)"
     1494msgstr ""
     1495
     1496#: widgets/widgets.php:911
     1497msgid "A self hosted video player."
     1498msgstr ""
     1499
     1500#: widgets/widgets.php:953
     1501msgid "Video URL"
     1502msgstr ""
     1503
     1504#: widgets/widgets.php:957
     1505msgid "Poster URL"
     1506msgstr ""
     1507
     1508#: widgets/widgets.php:959
     1509msgid "An image that displays before the video starts playing."
     1510msgstr ""
     1511
     1512#: widgets/widgets.php:964
     1513msgid "Auto Play Video"
     1514msgstr ""
     1515
    4921516#: inc/data/widgets-bundle.php:7
    4931517msgid "SiteOrigin Editor"
     
    5361560#: inc/data/widgets-bundle.php:68
    5371561msgid "Display your posts as a carousel."
    538 msgstr ""
    539 
    540 #: inc/home.php:25
    541 msgid "Custom Home Page Builder"
    542 msgstr ""
    543 
    544 #: inc/revisions.php:83
    545 msgid "Page Builder Content"
    546 msgstr ""
    547 
    548 #: inc/settings.php:226
    549 msgid "Page Builder Settings"
    550 msgstr ""
    551 
    552 #: inc/settings.php:242
    553 msgid "General"
    554 msgstr ""
    555 
    556 #: inc/settings.php:248
    557 msgid "Post Types"
    558 msgstr ""
    559 
    560 #: inc/settings.php:250
    561 msgid "The post types on which to use Page Builder."
    562 msgstr ""
    563 
    564 #: inc/settings.php:255
    565 msgid "Use Classic Editor for new posts"
    566 msgstr ""
    567 
    568 #: inc/settings.php:256
    569 msgid "New posts of the above Post Types will be created using the Classic Editor."
    570 msgstr ""
    571 
    572 #: inc/settings.php:261
    573 msgid "Live Editor Quick Link"
    574 msgstr ""
    575 
    576 #: inc/settings.php:262
    577 msgid "Display a Live Editor button in the admin bar."
    578 msgstr ""
    579 
    580 #: inc/settings.php:267
    581 msgid "Display Post State"
    582 msgstr ""
    583 
    584 #: inc/settings.php:269
    585 msgid "Display a %sSiteOrigin Page Builder%s post state in the admin lists of posts/pages to indicate Page Builder is active."
    586 msgstr ""
    587 
    588 #: inc/settings.php:277
    589 msgid "Display Widget Count"
    590 msgstr ""
    591 
    592 #: inc/settings.php:278
    593 msgid "Display a widget count in the admin lists of posts/pages where you're using Page Builder."
    594 msgstr ""
    595 
    596 #: inc/settings.php:283
    597 msgid "Limit Parallax Motion"
    598 msgstr ""
    599 
    600 #: inc/settings.php:284
    601 msgid "How many pixels of scrolling result in a single pixel of parallax motion. 0 means automatic. Lower values give more noticeable effect."
    602 msgstr ""
    603 
    604 #: inc/settings.php:289
    605 msgid "Sidebars Emulator"
    606 msgstr ""
    607 
    608 #: inc/settings.php:290
    609 msgid "Page Builder will create an emulated sidebar, that contains all widgets in the page."
    610 msgstr ""
    611 
    612 #: inc/settings.php:295
    613 msgid "Upgrade Teaser"
    614 msgstr ""
    615 
    616 #: inc/settings.php:297
    617 msgid "Display the %sSiteOrigin Premium%s upgrade teaser in the Page Builder toolbar."
    618 msgstr ""
    619 
    620 #: inc/settings.php:305
    621 msgid "Default To Page Builder Interface"
    622 msgstr ""
    623 
    624 #: inc/settings.php:307
    625 msgid "New Classic Editor posts/pages that you create will start with the Page Builder loaded. The %s\"Use Classic Editor for new posts\"%s setting must be enabled."
    626 msgstr ""
    627 
    628 #: inc/settings.php:314
    629 msgid "Layout Block Default Mode"
    630 msgstr ""
    631 
    632 #: inc/settings.php:317, tpl/js-templates.php:141
    633 msgid "Edit"
    634 msgstr ""
    635 
    636 #: inc/settings.php:318
    637 msgid "Preview"
    638 msgstr ""
    639 
    640 #: inc/settings.php:320
    641 msgid "Whether to display layout blocks in edit mode or preview mode in the block editor."
    642 msgstr ""
    643 
    644 #: inc/settings.php:326
    645 msgid "Widgets"
    646 msgstr ""
    647 
    648 #: inc/settings.php:332
    649 msgid "Widget Title HTML"
    650 msgstr ""
    651 
    652 #: inc/settings.php:333
    653 msgid "The HTML used for widget titles. {{title}} is replaced with the widget title."
    654 msgstr ""
    655 
    656 #: inc/settings.php:338
    657 msgid "Add Widget Class"
    658 msgstr ""
    659 
    660 #: inc/settings.php:339
    661 msgid "Add the widget class to Page Builder widgets. Disable this if you're experiencing conflicts."
    662 msgstr ""
    663 
    664 #: inc/settings.php:344
    665 msgid "Legacy Bundled Widgets"
    666 msgstr ""
    667 
    668 #: inc/settings.php:345
    669 msgid "Load legacy widgets from Page Builder 1."
    670 msgstr ""
    671 
    672 #: inc/settings.php:351
    673 msgid "Display recommend widgets in Page Builder add widget dialog."
    674 msgstr ""
    675 
    676 #: inc/settings.php:356
    677 msgid "Instant Open Widgets"
    678 msgstr ""
    679 
    680 #: inc/settings.php:357
    681 msgid "Open a widget form as soon as its added to a page."
    682 msgstr ""
    683 
    684 #: inc/settings.php:363, inc/styles-admin.php:88
    685 msgid "Layout"
    686 msgstr ""
    687 
    688 #: inc/settings.php:371
    689 msgid "Responsive Layout"
    690 msgstr ""
    691 
    692 #: inc/settings.php:372
    693 msgid "Collapse widgets, rows and columns on mobile devices."
    694 msgstr ""
    695 
    696 #: inc/settings.php:377
    697 msgid "Use Tablet Layout"
    698 msgstr ""
    699 
    700 #: inc/settings.php:378
    701 msgid "Collapses columns differently on tablet devices."
    702 msgstr ""
    703 
    704 #: inc/settings.php:384
    705 msgid "Detect older browsers"
    706 msgstr ""
    707 
    708 #: inc/settings.php:385
    709 msgid "Never"
    710 msgstr ""
    711 
    712 #: inc/settings.php:386
    713 msgid "Always"
    714 msgstr ""
    715 
    716 #: inc/settings.php:388
    717 msgid "Use Legacy Layout Engine"
    718 msgstr ""
    719 
    720 #: inc/settings.php:389
    721 msgid "The CSS and HTML uses floats instead of flexbox for compatibility with very old browsers."
    722 msgstr ""
    723 
    724 #: inc/settings.php:395
    725 msgid "Tablet Width"
    726 msgstr ""
    727 
    728 #: inc/settings.php:396
    729 msgid "Device width, in pixels, to collapse into a tablet view ."
    730 msgstr ""
    731 
    732 #: inc/settings.php:402
    733 msgid "Mobile Width"
    734 msgstr ""
    735 
    736 #: inc/settings.php:403
    737 msgid "Device width, in pixels, to collapse into a mobile view ."
    738 msgstr ""
    739 
    740 #: inc/settings.php:409
    741 msgid "Row/Widget Bottom Margin"
    742 msgstr ""
    743 
    744 #: inc/settings.php:410
    745 msgid "Default margin below rows and widgets."
    746 msgstr ""
    747 
    748 #: inc/settings.php:415
    749 msgid "Last Row With Margin"
    750 msgstr ""
    751 
    752 #: inc/settings.php:416
    753 msgid "Allow margin in last row."
    754 msgstr ""
    755 
    756 #: inc/settings.php:422
    757 msgid "Row Gutter"
    758 msgstr ""
    759 
    760 #: inc/settings.php:423
    761 msgid "Default spacing between columns in each row."
    762 msgstr ""
    763 
    764 #: inc/settings.php:429
    765 msgid "Full Width Container"
    766 msgstr ""
    767 
    768 #: inc/settings.php:430
    769 msgid "The container used for the full width layout."
    770 msgstr ""
    771 
    772 #: inc/settings.php:437
    773 msgid "Content"
    774 msgstr ""
    775 
    776 #: inc/settings.php:443
    777 msgid "Copy Content"
    778 msgstr ""
    779 
    780 #: inc/settings.php:444
    781 msgid "Copy content from Page Builder to post content."
    782 msgstr ""
    783 
    784 #: inc/settings.php:449
    785 msgid "Copy Styles"
    786 msgstr ""
    787 
    788 #: inc/settings.php:450
    789 msgid "Include styles into your Post Content. This keeps page layouts, even when Page Builder is deactivated."
    790 msgstr ""
    791 
    792 #: inc/settings.php:497, inc/styles-admin.php:269
    793 msgid "Enabled"
    794 msgstr ""
    795 
    796 #: inc/styles-admin.php:33
    797 msgid "Please specify the type of style form to be rendered."
    798 msgstr ""
    799 
    800 #: inc/styles-admin.php:34
    801 msgid "Missing style form type."
    802 msgstr ""
    803 
    804 #: inc/styles-admin.php:46
    805 msgid "Row Styles"
    806 msgstr ""
    807 
    808 #: inc/styles-admin.php:51
    809 msgid "Cell%s Styles"
    810 msgstr ""
    811 
    812 #: inc/styles-admin.php:55
    813 msgid "Widget Styles"
    814 msgstr ""
    815 
    816 #: inc/styles-admin.php:84
    817 msgid "Attributes"
    818 msgstr ""
    819 
    820 #: inc/styles-admin.php:92
    821 msgid "Design"
    822 msgstr ""
    823 
    824 #: inc/styles-admin.php:102
    825 msgid "Theme"
    826 msgstr ""
    827 
    828 #: inc/styles-admin.php:187, inc/styles.php:255, inc/styles.php:284
    829 msgid "Top"
    830 msgstr ""
    831 
    832 #: inc/styles-admin.php:191, widgets/widgets/button/button.php:30
    833 msgid "Right"
    834 msgstr ""
    835 
    836 #: inc/styles-admin.php:195, inc/styles.php:257, inc/styles.php:286
    837 msgid "Bottom"
    838 msgstr ""
    839 
    840 #: inc/styles-admin.php:199, widgets/widgets/button/button.php:29
    841 msgid "Left"
    842 msgstr ""
    843 
    844 #: inc/styles-admin.php:244
    845 msgid "Select Image"
    846 msgstr ""
    847 
    848 #: inc/styles-admin.php:249
    849 msgid "Remove"
    850 msgstr ""
    851 
    852 #: inc/styles-admin.php:252
    853 msgid "External URL"
    854 msgstr ""
    855 
    856 #: inc/styles.php:79
    857 msgid "%s ID"
    858 msgstr ""
    859 
    860 #: inc/styles.php:82
    861 msgid "A custom ID used for this %s."
    862 msgstr ""
    863 
    864 #: inc/styles.php:87
    865 msgid "%s Class"
    866 msgstr ""
    867 
    868 #: inc/styles.php:90
    869 msgid "A CSS class"
    870 msgstr ""
    871 
    872 #: inc/styles.php:95
    873 msgid "CSS Styles"
    874 msgstr ""
    875 
    876 #: inc/styles.php:98
    877 msgid "One style attribute per line."
    878 msgstr ""
    879 
    880 #: inc/styles.php:103
    881 msgid "Mobile CSS Styles"
    882 msgstr ""
    883 
    884 #: inc/styles.php:106
    885 msgid "CSS applied when in mobile view."
    886 msgstr ""
    887 
    888 #: inc/styles.php:113
    889 msgid "Padding"
    890 msgstr ""
    891 
    892 #: inc/styles.php:116
    893 msgid "Padding around the entire %s."
    894 msgstr ""
    895 
    896 #: inc/styles.php:122
    897 msgid "Mobile Padding"
    898 msgstr ""
    899 
    900 #: inc/styles.php:125
    901 msgid "Padding when on mobile devices."
    902 msgstr ""
    903 
    904 #: inc/styles.php:133
    905 msgid "Background Color"
    906 msgstr ""
    907 
    908 #: inc/styles.php:136
    909 msgid "Background color of the %s."
    910 msgstr ""
    911 
    912 #: inc/styles.php:141
    913 msgid "Background Image"
    914 msgstr ""
    915 
    916 #: inc/styles.php:144
    917 msgid "Background image of the %s."
    918 msgstr ""
    919 
    920 #: inc/styles.php:149
    921 msgid "Background Image Display"
    922 msgstr ""
    923 
    924 #: inc/styles.php:153
    925 msgid "Tiled Image"
    926 msgstr ""
    927 
    928 #: inc/styles.php:154
    929 msgid "Cover"
    930 msgstr ""
    931 
    932 #: inc/styles.php:155
    933 msgid "Centered, with original size"
    934 msgstr ""
    935 
    936 #: inc/styles.php:156
    937 msgid "Contain"
    938 msgstr ""
    939 
    940 #: inc/styles.php:157
    941 msgid "Fixed"
    942 msgstr ""
    943 
    944 #: inc/styles.php:158
    945 msgid "Parallax"
    946 msgstr ""
    947 
    948 #: inc/styles.php:159
    949 msgid "Parallax (Original Size)"
    950 msgstr ""
    951 
    952 #: inc/styles.php:161
    953 msgid "How the background image is displayed."
    954 msgstr ""
    955 
    956 #: inc/styles.php:166
    957 msgid "Border Color"
    958 msgstr ""
    959 
    960 #: inc/styles.php:169
    961 msgid "Border color of the %s."
    962 msgstr ""
    963 
    964 #: inc/styles.php:188
    965 msgid "Cell Class"
    966 msgstr ""
    967 
    968 #: inc/styles.php:191
    969 msgid "Class added to all cells in this row."
    970 msgstr ""
    971 
    972 #: inc/styles.php:198
    973 msgid "Bottom Margin"
    974 msgstr ""
    975 
    976 #: inc/styles.php:201
    977 msgid "Space below the row. Default is %spx."
    978 msgstr ""
    979 
    980 #: inc/styles.php:206
    981 msgid "Gutter"
    982 msgstr ""
    983 
    984 #: inc/styles.php:209
    985 msgid "Amount of space between cells. Default is %spx."
    986 msgstr ""
    987 
    988 #: inc/styles.php:214
    989 msgid "Row Layout"
    990 msgstr ""
    991 
    992 #: inc/styles.php:218, inc/styles.php:231
    993 msgid "Standard"
    994 msgstr ""
    995 
    996 #: inc/styles.php:219
    997 msgid "Full Width"
    998 msgstr ""
    999 
    1000 #: inc/styles.php:220
    1001 msgid "Full Width Stretched"
    1002 msgstr ""
    1003 
    1004 #: inc/styles.php:221
    1005 msgid "Full Width Stretched Padded"
    1006 msgstr ""
    1007 
    1008 #: inc/styles.php:227
    1009 msgid "Collapse Behaviour"
    1010 msgstr ""
    1011 
    1012 #: inc/styles.php:232
    1013 msgid "No Collapse"
    1014 msgstr ""
    1015 
    1016 #: inc/styles.php:238
    1017 msgid "Collapse Order"
    1018 msgstr ""
    1019 
    1020 #: inc/styles.php:242, inc/widgets/post-loop.php:325, widgets/widgets.php:635, widgets/widgets.php:757
    1021 msgid "Default"
    1022 msgstr ""
    1023 
    1024 #: inc/styles.php:243
    1025 msgid "Left on Top"
    1026 msgstr ""
    1027 
    1028 #: inc/styles.php:244
    1029 msgid "Right on Top"
    1030 msgstr ""
    1031 
    1032 #: inc/styles.php:251
    1033 msgid "Cell Vertical Alignment"
    1034 msgstr ""
    1035 
    1036 #: inc/styles.php:256, inc/styles.php:285, widgets/widgets/button/button.php:31
    1037 msgid "Center"
    1038 msgstr ""
    1039 
    1040 #: inc/styles.php:258, inc/styles.php:287
    1041 msgid "Stretch"
    1042 msgstr ""
    1043 
    1044 #: inc/styles.php:276
    1045 msgid "Cell"
    1046 msgstr ""
    1047 
    1048 #: inc/styles.php:279
    1049 msgid "Vertical Alignment"
    1050 msgstr ""
    1051 
    1052 #: inc/styles.php:283
    1053 msgid "Use row setting"
    1054 msgstr ""
    1055 
    1056 #: inc/styles.php:293, inc/styles.php:333
    1057 msgid "Font Color"
    1058 msgstr ""
    1059 
    1060 #: inc/styles.php:296
    1061 msgid "Color of text inside this cell."
    1062 msgstr ""
    1063 
    1064 #: inc/styles.php:301, inc/styles.php:341
    1065 msgid "Links Color"
    1066 msgstr ""
    1067 
    1068 #: inc/styles.php:304
    1069 msgid "Color of links inside this cell."
    1070 msgstr ""
    1071 
    1072 #: inc/styles.php:322
    1073 msgid "Margin"
    1074 msgstr ""
    1075 
    1076 #: inc/styles.php:325
    1077 msgid "Margins around the widget."
    1078 msgstr ""
    1079 
    1080 #: inc/styles.php:336
    1081 msgid "Color of text inside this widget."
    1082 msgstr ""
    1083 
    1084 #: inc/styles.php:344
    1085 msgid "Color of links inside this widget."
    10861562msgstr ""
    10871563
     
    11111587msgstr ""
    11121588
    1113 #: inc/widgets/post-content.php:60, inc/widgets/post-loop.php:299, widgets/widgets.php:608, widgets/widgets.php:783
    1114 msgid "None"
    1115 msgstr ""
    1116 
    11171589#: inc/widgets/post-content.php:61, inc/widgets/post-loop-helper.php:38, inc/widgets/post-loop.php:246, widgets/widgets/call-to-action/call-to-action.php:15, widgets/widgets/list/list.php:15, widgets/widgets/price-box/price-box.php:15
    11181590msgid "Title"
     
    11511623msgstr ""
    11521624
    1153 #: inc/widgets/post-loop.php:283, widgets/widgets.php:594
    1154 msgid "Post Type"
    1155 msgstr ""
    1156 
    1157 #: inc/widgets/post-loop.php:292, widgets/widgets.php:601
    1158 msgid "Posts Per Page"
    1159 msgstr ""
    1160 
    1161 #: inc/widgets/post-loop.php:297, widgets/widgets.php:606
    1162 msgid "Order By"
    1163 msgstr ""
    1164 
    1165 #: inc/widgets/post-loop.php:300, widgets/widgets.php:609
    1166 msgid "Post ID"
    1167 msgstr ""
    1168 
    1169 #: inc/widgets/post-loop.php:301, widgets/widgets.php:610
    1170 msgid "Author"
    1171 msgstr ""
    1172 
    1173 #: inc/widgets/post-loop.php:302, inc/widgets/post-loop.php:303, widgets/widgets.php:611, widgets/widgets.php:612, widgets/widgets/testimonial/testimonial.php:15
    1174 msgid "Name"
    1175 msgstr ""
    1176 
    1177 #: inc/widgets/post-loop.php:304, widgets/widgets.php:613
    1178 msgid "Date"
    1179 msgstr ""
    1180 
    1181 #: inc/widgets/post-loop.php:305, widgets/widgets.php:614
    1182 msgid "Modified"
    1183 msgstr ""
    1184 
    1185 #: inc/widgets/post-loop.php:306, widgets/widgets.php:615
    1186 msgid "Parent"
    1187 msgstr ""
    1188 
    1189 #: inc/widgets/post-loop.php:307, widgets/widgets.php:616
    1190 msgid "Random"
    1191 msgstr ""
    1192 
    1193 #: inc/widgets/post-loop.php:308, widgets/widgets.php:617
    1194 msgid "Comment Count"
    1195 msgstr ""
    1196 
    1197 #: inc/widgets/post-loop.php:309, widgets/widgets.php:618
    1198 msgid "Menu Order"
    1199 msgstr ""
    1200 
    12011625#: inc/widgets/post-loop.php:310
    12021626msgid "Post In Order"
    12031627msgstr ""
    12041628
    1205 #: inc/widgets/post-loop.php:315, widgets/widgets.php:624
    1206 msgid "Order"
    1207 msgstr ""
    1208 
    1209 #: inc/widgets/post-loop.php:317, widgets/widgets.php:627
    1210 msgid "Descending"
    1211 msgstr ""
    1212 
    1213 #: inc/widgets/post-loop.php:318, widgets/widgets.php:626
    1214 msgid "Ascending"
    1215 msgstr ""
    1216 
    1217 #: inc/widgets/post-loop.php:323, widgets/widgets.php:633
    1218 msgid "Sticky Posts"
    1219 msgstr ""
    1220 
    1221 #: inc/widgets/post-loop.php:326, widgets/widgets.php:636
    1222 msgid "Ignore Sticky"
    1223 msgstr ""
    1224 
    1225 #: inc/widgets/post-loop.php:327, widgets/widgets.php:637
    1226 msgid "Exclude Sticky"
    1227 msgstr ""
    1228 
    1229 #: inc/widgets/post-loop.php:328, widgets/widgets.php:638
    1230 msgid "Only Sticky"
    1231 msgstr ""
    1232 
    12331629#: inc/widgets/post-loop.php:333
    12341630msgid "Additional "
    12351631msgstr ""
    12361632
    1237 #: inc/widgets/post-loop.php:340, widgets/widgets.php:648
    1238 msgid "Additional query arguments. See 1{query_posts}."
    1239 msgstr ""
    1240 
    12411633#: settings/tpl/help.php:6
    12421634msgid "Please read the 1{settings guide} of the Page Builder documentation for help."
     
    13091701#: settings/tpl/welcome.php:38
    13101702msgid "%s is a single plugin that adds additional settings and functionality to Page Builder, SiteOrigin widgets and SiteOrign themes. SiteOrigin Premium also includes our next level email support service. If you need expert advice and quick replies, consider SiteOrigin Premium."
    1311 msgstr ""
    1312 
    1313 #: siteorigin-panels.php:3
    1314 msgid "Page Builder by SiteOrigin"
    1315 msgstr ""
    1316 
    1317 #: siteorigin-panels.php:4
    1318 msgid "https://siteorigin.com/page-builder/"
    1319 msgstr ""
    1320 
    1321 #: siteorigin-panels.php:5
    1322 msgid "A drag and drop, responsive page builder that simplifies building your website."
    1323 msgstr ""
    1324 
    1325 #: siteorigin-panels.php:7
    1326 msgid "SiteOrigin"
    1327 msgstr ""
    1328 
    1329 #: siteorigin-panels.php:8
    1330 msgid "https://siteorigin.com"
    1331 msgstr ""
    1332 
    1333 #: siteorigin-panels.php:333
    1334 msgid "Read More"
    1335 msgstr ""
    1336 
    1337 #: siteorigin-panels.php:481
    1338 msgid "Edit Home Page"
    1339 msgstr ""
    1340 
    1341 #: siteorigin-panels.php:501, tpl/js-templates.php:34, tpl/js-templates.php:36
    1342 msgid "Live Editor"
    1343 msgstr ""
    1344 
    1345 #: tpl/admin-home-page.php:21
    1346 msgid "On"
    1347 msgstr ""
    1348 
    1349 #: tpl/admin-home-page.php:21
    1350 msgid "Off"
    1351 msgstr ""
    1352 
    1353 #: tpl/admin-home-page.php:25
    1354 msgid "Custom Home Page"
    1355 msgstr ""
    1356 
    1357 #: tpl/admin-home-page.php:41
    1358 msgid "Home page updated. 1{View page}."
    1359 msgstr ""
    1360 
    1361 #: tpl/admin-home-page.php:60
    1362 msgid "Save Home Page"
    1363 msgstr ""
    1364 
    1365 #: tpl/admin-home-page.php:64
    1366 msgid "This interface requires Javascript"
    1367 msgstr ""
    1368 
    1369 #: tpl/help.php:2
    1370 msgid "You can use SiteOrigin Page Builder to create home and sub pages, filled your own widgets."
    1371 msgstr ""
    1372 
    1373 #: tpl/help.php:3
    1374 msgid "The page layouts are responsive and fully customizable."
    1375 msgstr ""
    1376 
    1377 #: tpl/help.php:18
    1378 msgid "Read the 1{full documentation} on SiteOrigin. Ask a question on our 2{support forum} if you need help and sign up to 3{our newsletter} to stay up to date with future developments."
    1379 msgstr ""
    1380 
    1381 #: tpl/js-templates.php:12, tpl/js-templates.php:14
    1382 msgid "Add Widget"
    1383 msgstr ""
    1384 
    1385 #: tpl/js-templates.php:22, tpl/js-templates.php:387
    1386 msgid "Prebuilt Layouts"
    1387 msgstr ""
    1388 
    1389 #: tpl/js-templates.php:24
    1390 msgid "Layouts"
    1391 msgstr ""
    1392 
    1393 #: tpl/js-templates.php:29
    1394 msgid "Edit History"
    1395 msgstr ""
    1396 
    1397 #: tpl/js-templates.php:31
    1398 msgid "History"
    1399 msgstr ""
    1400 
    1401 #: tpl/js-templates.php:42
    1402 msgid "Page Builder Addons"
    1403 msgstr ""
    1404 
    1405 #: tpl/js-templates.php:48
    1406 msgid "Revert to Editor"
    1407 msgstr ""
    1408 
    1409 #: tpl/js-templates.php:60
    1410 msgid "Add a %s, %s or %s to get started. Read our %s if you need help."
    1411 msgstr ""
    1412 
    1413 #: tpl/js-templates.php:71
    1414 msgid "Pro Tip"
    1415 msgstr ""
    1416 
    1417 #: tpl/js-templates.php:142, tpl/js-templates.php:268, tpl/js-templates.php:353
    1418 msgid "Duplicate"
    1419 msgstr ""
    1420 
    1421 #: tpl/js-templates.php:143, tpl/js-templates.php:267, tpl/js-templates.php:352
    1422 msgid "Delete"
    1423 msgstr ""
    1424 
    1425 #: tpl/js-templates.php:206, tpl/js-templates.php:271, tpl/js-templates.php:360
    1426 msgid "Done"
    1427 msgstr ""
    1428 
    1429 #: tpl/js-templates.php:220
    1430 msgid "Add New Widget %s"
    1431 msgstr ""
    1432 
    1433 #: tpl/js-templates.php:236, tpl/js-templates.php:556
    1434 msgid "Close"
    1435 msgstr ""
    1436 
    1437 #: tpl/js-templates.php:321
    1438 msgid "Left to Right"
    1439 msgstr ""
    1440 
    1441 #: tpl/js-templates.php:322
    1442 msgid "Right to Left"
    1443 msgstr ""
    1444 
    1445 #: tpl/js-templates.php:333
    1446 msgid "1{Set row layout}: %1$s columns with a ratio of %2$s going from %3$s"
    1447 msgstr ""
    1448 
    1449 #: tpl/js-templates.php:339
    1450 msgid "Set"
    1451 msgstr ""
    1452 
    1453 #: tpl/js-templates.php:358, tpl/js-templates.php:416
    1454 msgid "Insert"
    1455 msgstr ""
    1456 
    1457 #: tpl/js-templates.php:378
    1458 msgid "Page Builder Layouts"
    1459 msgstr ""
    1460 
    1461 #: tpl/js-templates.php:382
    1462 msgid "Search"
    1463 msgstr ""
    1464 
    1465 #: tpl/js-templates.php:397
    1466 msgid "Import/Export"
    1467 msgstr ""
    1468 
    1469 #: tpl/js-templates.php:404
    1470 msgid "Clone: %s"
    1471 msgstr ""
    1472 
    1473 #: tpl/js-templates.php:420
    1474 msgid "Insert after"
    1475 msgstr ""
    1476 
    1477 #: tpl/js-templates.php:421
    1478 msgid "Insert before"
    1479 msgstr ""
    1480 
    1481 #: tpl/js-templates.php:422
    1482 msgid "Replace current"
    1483 msgstr ""
    1484 
    1485 #: tpl/js-templates.php:433
    1486 msgid "Do you want to browse the Prebuilt Layouts directory?"
    1487 msgstr ""
    1488 
    1489 #: tpl/js-templates.php:434
    1490 msgid "Enable"
    1491 msgstr ""
    1492 
    1493 #: tpl/js-templates.php:447
    1494 msgid "Your search didn't return any results"
    1495 msgstr ""
    1496 
    1497 #: tpl/js-templates.php:475
    1498 msgid "Previous"
    1499 msgstr ""
    1500 
    1501 #: tpl/js-templates.php:476
    1502 msgid "Next"
    1503 msgstr ""
    1504 
    1505 #: tpl/js-templates.php:486
    1506 msgid "Drop import file here"
    1507 msgstr ""
    1508 
    1509 #: tpl/js-templates.php:487
    1510 msgid "Or"
    1511 msgstr ""
    1512 
    1513 #: tpl/js-templates.php:490
    1514 msgid "Select Import File"
    1515 msgstr ""
    1516 
    1517 #: tpl/js-templates.php:504
    1518 msgid "Download Layout"
    1519 msgstr ""
    1520 
    1521 #: tpl/js-templates.php:515
    1522 msgid "Page Builder Change History"
    1523 msgstr ""
    1524 
    1525 #: tpl/js-templates.php:530
    1526 msgid "Restore Version"
    1527 msgstr ""
    1528 
    1529 #: tpl/js-templates.php:553
    1530 msgid "Save Draft"
    1531 msgstr ""
    1532 
    1533 #: tpl/js-templates.php:554, tpl/js-templates.php:555
    1534 msgid "Update"
    1535 msgstr ""
    1536 
    1537 #: tpl/js-templates.php:558
    1538 msgid "Toggle desktop mode"
    1539 msgstr ""
    1540 
    1541 #: tpl/js-templates.php:561
    1542 msgid "Toggle tablet mode"
    1543 msgstr ""
    1544 
    1545 #: tpl/js-templates.php:564
    1546 msgid "Toggle mobile mode"
    1547 msgstr ""
    1548 
    1549 #: tpl/js-templates.php:603
    1550 msgid "No Results"
    1551 msgstr ""
    1552 
    1553 #: tpl/js-templates.php:613
    1554 msgid "Add SiteOrigin Layout Block"
    1555 msgstr ""
    1556 
    1557 #: widgets/widgets.php:161
    1558 msgid "This is a legacy widget. "
    1559 msgstr ""
    1560 
    1561 #: widgets/widgets.php:162
    1562 msgid "Ideally you should move to using widgets from the SiteOrigin Widgets Bundle instead. "
    1563 msgstr ""
    1564 
    1565 #: widgets/widgets.php:163
    1566 msgid "It'll be moved to a separate plugin after Page Builder 2.6 is released. "
    1567 msgstr ""
    1568 
    1569 #: widgets/widgets.php:220
    1570 msgid "Style"
    1571 msgstr ""
    1572 
    1573 #: widgets/widgets.php:244
    1574 msgid "%s Style"
    1575 msgstr ""
    1576 
    1577 #: widgets/widgets.php:644
    1578 msgid "Additional Arguments"
    1579 msgstr ""
    1580 
    1581 #: widgets/widgets.php:705
    1582 msgid "Gallery (PB)"
    1583 msgstr ""
    1584 
    1585 #: widgets/widgets.php:707
    1586 msgid "Displays a gallery."
    1587 msgstr ""
    1588 
    1589 #: widgets/widgets.php:746
    1590 msgid "Gallery Images"
    1591 msgstr ""
    1592 
    1593 #: widgets/widgets.php:747
    1594 msgid "edit gallery"
    1595 msgstr ""
    1596 
    1597 #: widgets/widgets.php:751
    1598 msgid "Comma separated attachment IDs. Defaults to all current page's attachments."
    1599 msgstr ""
    1600 
    1601 #: widgets/widgets.php:755
    1602 msgid "Image Size"
    1603 msgstr ""
    1604 
    1605 #: widgets/widgets.php:758
    1606 msgid "Large"
    1607 msgstr ""
    1608 
    1609 #: widgets/widgets.php:759
    1610 msgid "Medium"
    1611 msgstr ""
    1612 
    1613 #: widgets/widgets.php:760
    1614 msgid "Thumbnail"
    1615 msgstr ""
    1616 
    1617 #: widgets/widgets.php:761
    1618 msgid "Full"
    1619 msgstr ""
    1620 
    1621 #: widgets/widgets.php:769
    1622 msgid "Gallery Type"
    1623 msgstr ""
    1624 
    1625 #: widgets/widgets.php:774
    1626 msgid "Columns"
    1627 msgstr ""
    1628 
    1629 #: widgets/widgets.php:779
    1630 msgid "Link To"
    1631 msgstr ""
    1632 
    1633 #: widgets/widgets.php:781
    1634 msgid "Attachment Page"
    1635 msgstr ""
    1636 
    1637 #: widgets/widgets.php:782
    1638 msgid "File"
    1639 msgstr ""
    1640 
    1641 #: widgets/widgets.php:800
    1642 msgid "Image (PB)"
    1643 msgstr ""
    1644 
    1645 #: widgets/widgets.php:802
    1646 msgid "Displays a simple image."
    1647 msgstr ""
    1648 
    1649 #: widgets/widgets.php:835, widgets/widgets/animated-image/animated-image.php:15
    1650 msgid "Image URL"
    1651 msgstr ""
    1652 
    1653 #: widgets/widgets.php:839, widgets/widgets/button/button.php:19
    1654 msgid "Destination URL"
    1655 msgstr ""
    1656 
    1657 #: widgets/widgets.php:853
    1658 msgid "Embedded Video (PB)"
    1659 msgstr ""
    1660 
    1661 #: widgets/widgets.php:855
    1662 msgid "Embeds a video."
    1663 msgstr ""
    1664 
    1665 #: widgets/widgets.php:893
    1666 msgid "Video"
    1667 msgstr ""
    1668 
    1669 #: widgets/widgets.php:909
    1670 msgid "Self Hosted Video (PB)"
    1671 msgstr ""
    1672 
    1673 #: widgets/widgets.php:911
    1674 msgid "A self hosted video player."
    1675 msgstr ""
    1676 
    1677 #: widgets/widgets.php:953
    1678 msgid "Video URL"
    1679 msgstr ""
    1680 
    1681 #: widgets/widgets.php:957
    1682 msgid "Poster URL"
    1683 msgstr ""
    1684 
    1685 #: widgets/widgets.php:959
    1686 msgid "An image that displays before the video starts playing."
    1687 msgstr ""
    1688 
    1689 #: widgets/widgets.php:964
    1690 msgid "Auto Play Video"
    16911703msgstr ""
    16921704
  • siteorigin-panels/trunk/readme.txt

    r2104964 r2141880  
    22Tags: page builder, responsive, widget, widgets, builder, page, admin, gallery, content, cms, pages, post, css, layout, grid
    33Requires at least: 4.4
    4 Tested up to: 5.2
     4Tested up to: 5.2.2
    55Stable tag: 2.10.6
    6 Build time: 2019-06-12T11:06:03-07:00
     6Build time: 2019-08-19T14:07:29+02:00
    77License: GPLv3
    88License URI: http://www.gnu.org/licenses/gpl.html
     
    9696
    9797== Changelog ==
     98
     99= 2.10.7 - 20 August 2019 =
     100* Added setting for mobile specific margin.
     101* Prevent Welcome Page Redirect During Bulk Install and TGMPA
     102* Added support for password settings field.
     103* Layout Block: Add filter to control whether Add Layout Block button is shown or not.
     104* Fixed issue with widget duplication after moving a widget.
     105* Fixed Read More Custom Text issue.
    98106
    99107= 2.10.6 - 12 June 2019 =
  • siteorigin-panels/trunk/settings/admin-settings.min.js

    r2062540 r2141880  
    1 jQuery(function(o){o(".settings-banner img").hide().eq(0).one("load",function(){o.each([1,2,3],function(t,e){var i=o(".settings-banner img.layer-"+e),s=i.css("opacity");setTimeout(function(){i.show().css({"margin-top":-5,opacity:0}).animate({"margin-top":0,opacity:s},280+40*(4-e))},150+225*(4-e))})}).each(function(){this.complete&&o(this).load()}),o(".settings-nav li a").click(function(t){t.preventDefault();var e=o(this);o(".settings-nav li a").not(e).closest("li").removeClass("active"),e.closest("li").addClass("active");var i=e.attr("href").split("#")[1],s=o("#panels-settings-section-"+i);o("#panels-settings-sections .panels-settings-section").not(s).hide(),s.show(),o('#panels-settings-page input[type="submit"]').css({visibility:"welcome"===i?"hidden":"visible"}),setUserSetting("siteorigin_panels_setting_tab",i)}),window.location.hash&&o('.settings-nav li a[href="'+window.location.hash+'"]').click(),o("#panels-settings-section-welcome").fitVids();var t=getUserSetting("siteorigin_panels_setting_tab");""===t?o(".settings-nav li a").first().click():o('.settings-nav li a[href="#'+t+'"]').first().click();var e=function(){var t=o(this),i=o("#panels-settings-search .results"),a=t.val();if(""===a)return i.empty().hide(),!1;var r=[];o("#panels-settings-sections .panels-setting").each(function(){var t=o(this),e=0,i=t.find("label").html().toLowerCase().indexOf(a),s=t.find(".description").data("keywords").toLowerCase().indexOf(a),n=t.find(".description").html().toLowerCase().indexOf(a);0===i?e+=10:-1!==i&&(e+=7),0===s?e+=4:-1!==s&&(e+=3),0===n?e+=2:-1!==n&&(e+=1),0<e&&(r.push(t),t.data("isMatch",e))}),i.empty(),0<r.length?(i.show(),r.sort(function(t,e){return e.data("isMatch")-t.data("isMatch")}),r=r.slice(0,8),o.each(r,function(t,e){o("#panels-settings-search .results").append(o("<li></li>").html(e.find("label").html()).click(function(){var t;o('.settings-nav li a[href="#'+(t=e).closest(".panels-settings-section").data("section")+'"]').first().click(),t.addClass("highlighted"),t.find("label").css("border-left-width",0).animate({"border-left-width":5},"normal").delay(4e3).animate({"border-left-width":0},"normal",function(){t.removeClass("highlighted")}),t.find("input,textarea").focus(),i.fadeOut("fast"),o("#panels-settings-search input").blur()}))})):i.hide()};o("#panels-settings-search input").keyup(e).click(e).blur(function(){o("#panels-settings-search .results").fadeOut("fast")})}),function(n){"use strict";n.fn.fitVids=function(t){var i={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var e=document.head||document.getElementsByTagName("head")[0],s=document.createElement("div");s.innerHTML='<p>x</p><style id="fit-vids-style">.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>',e.appendChild(s.childNodes[1])}return t&&n.extend(i,t),this.each(function(){var t=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];i.customSelector&&t.push(i.customSelector);var s=".fitvidsignore";i.ignore&&(s=s+", "+i.ignore);var e=n(this).find(t.join(","));(e=(e=e.not("object object")).not(s)).each(function(){var t=n(this);if(!(0<t.parents(s).length||"embed"===this.tagName.toLowerCase()&&t.parent("object").length||t.parent(".fluid-width-video-wrapper").length)){t.css("height")||t.css("width")||!isNaN(t.attr("height"))&&!isNaN(t.attr("width"))||(t.attr("height",9),t.attr("width",16));var e=("object"===this.tagName.toLowerCase()||t.attr("height")&&!isNaN(parseInt(t.attr("height"),10))?parseInt(t.attr("height"),10):t.height())/(isNaN(parseInt(t.attr("width"),10))?t.width():parseInt(t.attr("width"),10));if(!t.attr("name")){var i="fitvid"+n.fn.fitVids._count;t.attr("name",i),n.fn.fitVids._count++}t.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*e+"%"),t.removeAttr("height").removeAttr("width")}})})},n.fn.fitVids._count=0}(window.jQuery||window.Zepto);
     1jQuery(function(o){o(".settings-banner img").hide().eq(0).one("load",function(){o.each([1,2,3],function(t,e){var i=o(".settings-banner img.layer-"+e),s=i.css("opacity");setTimeout(function(){i.show().css({"margin-top":-5,opacity:0}).animate({"margin-top":0,opacity:s},280+40*(4-e))},150+225*(4-e))})}).each(function(){this.complete&&o(this).load()}),o(".settings-nav li a").click(function(t){t.preventDefault();var e=o(this);o(".settings-nav li a").not(e).closest("li").removeClass("active"),e.closest("li").addClass("active");var i=e.attr("href").split("#")[1],s=o("#panels-settings-section-"+i);o("#panels-settings-sections .panels-settings-section").not(s).hide(),s.show(),o('#panels-settings-page input[type="submit"]').css({visibility:"welcome"===i?"hidden":"visible"}),setUserSetting("siteorigin_panels_setting_tab",i)}),window.location.hash&&o('.settings-nav li a[href="'+window.location.hash+'"]').click(),o("#panels-settings-section-welcome").fitVids();var t=getUserSetting("siteorigin_panels_setting_tab");""===t?o(".settings-nav li a").first().click():o('.settings-nav li a[href="#'+t+'"]').first().click();function e(){var t=o(this),i=o("#panels-settings-search .results"),a=t.val();if(""===a)return i.empty().hide(),!1;var r=[];o("#panels-settings-sections .panels-setting").each(function(){var t=o(this),e=0,i=t.find("label").html().toLowerCase().indexOf(a),s=t.find(".description").data("keywords").toLowerCase().indexOf(a),n=t.find(".description").html().toLowerCase().indexOf(a);0===i?e+=10:-1!==i&&(e+=7),0===s?e+=4:-1!==s&&(e+=3),0===n?e+=2:-1!==n&&(e+=1),0<e&&(r.push(t),t.data("isMatch",e))}),i.empty(),0<r.length?(i.show(),r.sort(function(t,e){return e.data("isMatch")-t.data("isMatch")}),r=r.slice(0,8),o.each(r,function(t,e){o("#panels-settings-search .results").append(o("<li></li>").html(e.find("label").html()).click(function(){!function(t){o('.settings-nav li a[href="#'+t.closest(".panels-settings-section").data("section")+'"]').first().click(),t.addClass("highlighted"),t.find("label").css("border-left-width",0).animate({"border-left-width":5},"normal").delay(4e3).animate({"border-left-width":0},"normal",function(){t.removeClass("highlighted")}),t.find("input,textarea").focus()}(e),i.fadeOut("fast"),o("#panels-settings-search input").blur()}))})):i.hide()}o("#panels-settings-search input").keyup(e).click(e).blur(function(){o("#panels-settings-search .results").fadeOut("fast")})}),function(n){"use strict";n.fn.fitVids=function(t){var i={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var e=document.head||document.getElementsByTagName("head")[0],s=document.createElement("div");s.innerHTML='<p>x</p><style id="fit-vids-style">.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>',e.appendChild(s.childNodes[1])}return t&&n.extend(i,t),this.each(function(){var t=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];i.customSelector&&t.push(i.customSelector);var s=".fitvidsignore";i.ignore&&(s=s+", "+i.ignore);var e=n(this).find(t.join(","));(e=(e=e.not("object object")).not(s)).each(function(){var t=n(this);if(!(0<t.parents(s).length||"embed"===this.tagName.toLowerCase()&&t.parent("object").length||t.parent(".fluid-width-video-wrapper").length)){t.css("height")||t.css("width")||!isNaN(t.attr("height"))&&!isNaN(t.attr("width"))||(t.attr("height",9),t.attr("width",16));var e=("object"===this.tagName.toLowerCase()||t.attr("height")&&!isNaN(parseInt(t.attr("height"),10))?parseInt(t.attr("height"),10):t.height())/(isNaN(parseInt(t.attr("width"),10))?t.width():parseInt(t.attr("width"),10));if(!t.attr("name")){var i="fitvid"+n.fn.fitVids._count;t.attr("name",i),n.fn.fitVids._count++}t.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*e+"%"),t.removeAttr("height").removeAttr("width")}})})},n.fn.fitVids._count=0}(window.jQuery||window.Zepto);
  • siteorigin-panels/trunk/siteorigin-panels.php

    r2104964 r2141880  
    44Plugin URI: https://siteorigin.com/page-builder/
    55Description: A drag and drop, responsive page builder that simplifies building your website.
    6 Version: 2.10.6
     6Version: 2.10.7
    77Author: SiteOrigin
    88Author URI: https://siteorigin.com
     
    1212*/
    1313
    14 define( 'SITEORIGIN_PANELS_VERSION', '2.10.6' );
     14define( 'SITEORIGIN_PANELS_VERSION', '2.10.7' );
    1515if ( ! defined( 'SITEORIGIN_PANELS_JS_SUFFIX' ) ) {
    1616    define( 'SITEORIGIN_PANELS_JS_SUFFIX', '.min' );
    1717}
    1818define( 'SITEORIGIN_PANELS_CSS_SUFFIX', '.min' );
    19 define( 'SITEORIGIN_PANELS_VERSION_SUFFIX', '-2106' );
     19define( 'SITEORIGIN_PANELS_VERSION_SUFFIX', '-2107' );
    2020
    2121require_once plugin_dir_path( __FILE__ ) . 'inc/functions.php';
     
    3939        add_filter( 'siteorigin_panels_widget_class', array( $this, 'fix_namespace_escaping' ), 5 );
    4040       
    41         add_action( 'activated_plugin', array($this, 'activation_redirect') );
     41        add_action( 'activated_plugin', array($this, 'activation_flag_redirect') );
     42        add_action( 'admin_init', array($this, 'activation_do_redirect') );
    4243
    4344        if (
     
    328329                        $content = $content[0];
    329330                        $content = force_balance_tags( $content );
    330                         if ( ! empty( $matches[1] ) && ! empty( $more_link_text ) ) {
     331                        if ( ! empty( $matches[1] ) ) {
    331332                            $more_link_text = strip_tags( wp_kses_no_null( trim( $matches[1] ) ) );
    332333                        } else {
     
    658659   
    659660    /**
     661     *  Flag redirect to welcome page after activation
     662     *
     663     * @param $plugin
     664     */
     665    public function activation_flag_redirect( $plugin ) {
     666        if ( $plugin == plugin_basename( __FILE__ ) ) {
     667            set_transient( 'siteorigin_panels_activation_welcome', true, 30 );
     668        }
     669    }
     670
     671    /**
    660672     * Redirect to a welcome page after activation.
    661      *
    662      * @param $plugin
    663      */
    664     public function activation_redirect( $plugin ){
    665         if( $plugin == plugin_basename( __FILE__ ) ) {
    666             exit( wp_redirect( admin_url( 'options-general.php?page=siteorigin_panels#welcome' ) ) );
     673     */
     674    public function activation_do_redirect() {
     675        if ( get_transient( 'siteorigin_panels_activation_welcome' ) ) {
     676            delete_transient( 'siteorigin_panels_activation_welcome' );
     677
     678            // Postpone redirect in certain situations
     679            if ( ! wp_doing_ajax() && ! is_network_admin() && ! isset( $_GET['activate-multi'] ) ) {
     680                delete_transient( 'siteorigin_panels_activation_welcome' );
     681                wp_safe_redirect( admin_url( 'options-general.php?page=siteorigin_panels#welcome' ) );
     682                exit();
     683            }
    667684        }
    668685    }
Note: See TracChangeset for help on using the changeset viewer.