Changeset 2141880
- Timestamp:
- 08/19/2019 12:18:56 PM (6 years ago)
- Location:
- siteorigin-panels/trunk
- Files:
-
- 4 added
- 18 deleted
- 12 edited
-
compat/js/siteorigin-panels-layout-block.min.js (modified) (1 diff)
-
compat/layout-block.php (modified) (1 diff)
-
compat/pb-icon.svg (deleted)
-
compat/pb-icon_white.svg (deleted)
-
css/front.css (deleted)
-
css/front.min.css (deleted)
-
css/icons/readme.txt (deleted)
-
css/mixins.less (deleted)
-
inc/admin-tutorials.php (deleted)
-
inc/renderer.php (modified) (5 diffs)
-
inc/settings.php (modified) (7 diffs)
-
inc/styles-admin.php (modified) (1 diff)
-
inc/styles.php (modified) (4 diffs)
-
js/siteorigin-panels-2106.js (deleted)
-
js/siteorigin-panels-2106.min.js (deleted)
-
js/siteorigin-panels-2107.js (added)
-
js/siteorigin-panels-2107.min.js (added)
-
js/siteorigin-parallax.min.js (modified) (1 diff)
-
js/styling-2106.js (deleted)
-
js/styling-2106.min.js (deleted)
-
js/styling-2107.js (added)
-
js/styling-2107.min.js (added)
-
js/yoast-compat.min.js (modified) (1 diff)
-
lang/siteorigin-panels.pot (modified) (8 diffs)
-
posters (deleted)
-
readme.md (deleted)
-
readme.txt (modified) (2 diffs)
-
settings/admin-settings.less (deleted)
-
settings/admin-settings.min.css (deleted)
-
settings/admin-settings.min.js (modified) (1 diff)
-
settings/settings.php (deleted)
-
siteorigin-panels.php (modified) (5 diffs)
-
widgets/widgets/button/styles/simple.css (deleted)
-
widgets/widgets/button/styles/simple.min.css (deleted)
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 60 60 'previewUrl' => wp_nonce_url( admin_url( 'admin-ajax.php' ), 'layout-block-preview', '_panelsnonce' ), 61 61 '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 ), 63 63 ) 64 64 ); -
siteorigin-panels/trunk/inc/renderer.php
r2062540 r2141880 65 65 $panels_tablet_width = $settings['tablet-width']; 66 66 $panels_mobile_width = $settings['mobile-width']; 67 $panels_margin_bottom = $settings['margin-bottom'];68 67 $panels_margin_bottom_last_row = $settings['margin-bottom-last-row']; 69 68 … … 72 71 $ci = 0; 73 72 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 74 78 if ( empty( $row['cells'] ) ) { 75 79 continue; … … 134 138 ! empty( $panels_margin_bottom_last_row ) 135 139 ) { 136 // Filter the bottom margin for this row with the arguments137 140 $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 139 142 ) ); 140 143 } … … 142 145 $collapse_order = ! empty( $row['style']['collapse_order'] ) ? $row['style']['collapse_order'] : ( ! is_rtl() ? 'left-top' : 'right-top' ); 143 146 144 if ( $settings['responsive'] ) { 145 147 if ( $settings['responsive'] && empty( $row['style']['collapse_behaviour'] ) ) { 146 148 // 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 201 156 $css->add_row_css( $post_id, $ri, array( 202 157 '.panel-no-style', 203 158 '.panel-has-style > .panel-row-style' 204 159 ), 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 ) ); 209 164 210 165 $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 214 198 } 215 199 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 217 216 foreach ( $row['cells'] as $ci => $cell ) { 218 217 if ( ( $collapse_order == 'left-top' && $ci != $cell_count - 1 ) || ( $collapse_order == 'right-top' && $ci !== 0 ) ) { 219 218 $css->add_cell_css( $post_id, $ri, $ci, '', array( 220 'margin-bottom' => $panels_m argin_bottom . 'px',219 'margin-bottom' => $panels_mobile_margin_bottom 221 220 ), $panels_mobile_width ); 222 221 } 223 222 } 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 225 233 226 234 } … … 228 236 // Add the bottom margins 229 237 $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 ) 231 239 ) ); 232 240 $css->add_widget_css( $post_id, false, false, false, ':last-child', array( -
siteorigin-panels/trunk/inc/settings.php
r2061744 r2141880 250 250 'description' => __( 'The post types on which to use Page Builder.', 'siteorigin-panels' ), 251 251 ); 252 252 253 253 $fields['general']['fields']['use-classic'] = array( 254 254 'type' => 'checkbox', … … 290 290 'description' => __( 'Page Builder will create an emulated sidebar, that contains all widgets in the page.', 'siteorigin-panels' ), 291 291 ); 292 292 293 293 $fields['general']['fields']['display-teaser'] = array( 294 294 'type' => 'checkbox', … … 296 296 'description' => sprintf( 297 297 __('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">', 299 299 '</a>' 300 300 ) … … 378 378 'description' => __( 'Collapses columns differently on tablet devices.', 'siteorigin-panels' ), 379 379 ); 380 380 381 381 $fields['layout']['fields']['legacy-layout'] = array( 382 382 'type' => 'select', … … 470 470 ?><input name="<?php echo esc_attr( $field_name ) ?>" 471 471 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" 472 478 value="<?php echo esc_attr( $value ) ?>" /> <?php 473 479 break; … … 617 623 // Don't let mobile width go below 320 618 624 $values[ 'mobile-width' ] = max( $values[ 'mobile-width' ], 320 ); 619 625 620 626 // Save the values to the database 621 627 update_option( 'siteorigin_panels_settings', $values ); … … 632 638 function get_post_types() { 633 639 $post_types = get_post_types( array( '_builtin' => false ) ); 634 640 635 641 $types = array( 636 642 'page' => 'page', 637 643 'post' => 'post' 638 644 ); 639 645 640 646 // Don't use `array_merge` here as it will break things if a post type has a numeric slug. 641 647 foreach ( $post_types as $key => $value ) { 642 648 $types[ $key ] = $value; 643 649 } 644 650 645 651 // These are post types we know we don't want to show Page Builder on 646 652 unset( $types['ml-slider'] ); -
siteorigin-panels/trunk/inc/styles-admin.php
r2013625 r2141880 88 88 'name' => __( 'Layout', 'siteorigin-panels' ), 89 89 'priority' => 10 90 ), 91 'mobile_layout' => array( 92 'name' => __( 'Mobile Layout', 'siteorigin-panels' ), 93 'priority' => 11 90 94 ), 91 95 'design' => array( -
siteorigin-panels/trunk/inc/styles.php
r2104964 r2141880 37 37 // Filtering specific attributes 38 38 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 ); 39 40 add_filter( 'siteorigin_panels_css_row_gutter', array( $this, 'filter_row_gutter' ), 10, 2 ); 40 41 add_filter( 'siteorigin_panels_css_widget_css', array( $this, 'filter_widget_style_css' ), 10, 2 ); … … 118 119 'multiple' => true 119 120 ); 121 122 // Mobile layout fields 120 123 121 124 $fields['mobile_padding'] = array( 122 125 'name' => __( 'Mobile Padding', 'siteorigin-panels' ), 123 126 'type' => 'measurement', 124 'group' => ' layout',127 'group' => 'mobile_layout', 125 128 'description' => __( 'Padding when on mobile devices.', 'siteorigin-panels' ), 126 129 'priority' => 8, … … 261 264 ); 262 265 } 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 264 277 return $fields; 265 278 } … … 665 678 return $css; 666 679 } 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 */ 668 689 static function filter_row_bottom_margin( $margin, $grid ) { 669 690 if ( ! empty( $grid['style']['bottom_margin'] ) ) { 670 691 $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']; 671 708 } 672 709 -
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}});1 jQuery(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 17 17 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 18 18 19 #: siteorigin-panels.php:3 20 msgid "Page Builder by SiteOrigin" 21 msgstr "" 22 23 #: siteorigin-panels.php:4 24 msgid "https://siteorigin.com/page-builder/" 25 msgstr "" 26 27 #: siteorigin-panels.php:5 28 msgid "A drag and drop, responsive page builder that simplifies building your website." 29 msgstr "" 30 31 #: siteorigin-panels.php:7 32 msgid "SiteOrigin" 33 msgstr "" 34 35 #: siteorigin-panels.php:8 36 msgid "https://siteorigin.com" 37 msgstr "" 38 39 #: siteorigin-panels.php:334 40 msgid "Read More" 41 msgstr "" 42 43 #: siteorigin-panels.php:482 44 msgid "Edit Home Page" 45 msgstr "" 46 47 #: siteorigin-panels.php:502, tpl/js-templates.php:34, tpl/js-templates.php:36 48 msgid "Live Editor" 49 msgstr "" 50 19 51 #: compat/layout-block.php:87 20 52 msgid "You need to add a widget, row, or prebuilt layout before you'll see anything here. :)" … … 375 407 msgstr "" 376 408 377 #: inc/admin.php:460, inc/admin.php:468, inc/styles.php:18 5, tpl/js-templates.php:62409 #: inc/admin.php:460, inc/admin.php:468, inc/styles.php:188, tpl/js-templates.php:62 378 410 msgid "Row" 379 411 msgstr "" … … 395 427 msgstr "" 396 428 397 #: inc/admin.php:467, inc/styles.php:3 19, tpl/js-templates.php:61429 #: inc/admin.php:467, inc/styles.php:332, tpl/js-templates.php:61 398 430 msgid "Widget" 399 431 msgstr "" … … 490 522 msgstr "" 491 523 524 #: inc/home.php:25 525 msgid "Custom Home Page Builder" 526 msgstr "" 527 528 #: inc/revisions.php:83 529 msgid "Page Builder Content" 530 msgstr "" 531 532 #: inc/settings.php:226 533 msgid "Page Builder Settings" 534 msgstr "" 535 536 #: inc/settings.php:242 537 msgid "General" 538 msgstr "" 539 540 #: inc/settings.php:248 541 msgid "Post Types" 542 msgstr "" 543 544 #: inc/settings.php:250 545 msgid "The post types on which to use Page Builder." 546 msgstr "" 547 548 #: inc/settings.php:255 549 msgid "Use Classic Editor for new posts" 550 msgstr "" 551 552 #: inc/settings.php:256 553 msgid "New posts of the above Post Types will be created using the Classic Editor." 554 msgstr "" 555 556 #: inc/settings.php:261 557 msgid "Live Editor Quick Link" 558 msgstr "" 559 560 #: inc/settings.php:262 561 msgid "Display a Live Editor button in the admin bar." 562 msgstr "" 563 564 #: inc/settings.php:267 565 msgid "Display Post State" 566 msgstr "" 567 568 #: inc/settings.php:269 569 msgid "Display a %sSiteOrigin Page Builder%s post state in the admin lists of posts/pages to indicate Page Builder is active." 570 msgstr "" 571 572 #: inc/settings.php:277 573 msgid "Display Widget Count" 574 msgstr "" 575 576 #: inc/settings.php:278 577 msgid "Display a widget count in the admin lists of posts/pages where you're using Page Builder." 578 msgstr "" 579 580 #: inc/settings.php:283 581 msgid "Limit Parallax Motion" 582 msgstr "" 583 584 #: inc/settings.php:284 585 msgid "How many pixels of scrolling result in a single pixel of parallax motion. 0 means automatic. Lower values give more noticeable effect." 586 msgstr "" 587 588 #: inc/settings.php:289 589 msgid "Sidebars Emulator" 590 msgstr "" 591 592 #: inc/settings.php:290 593 msgid "Page Builder will create an emulated sidebar, that contains all widgets in the page." 594 msgstr "" 595 596 #: inc/settings.php:295 597 msgid "Upgrade Teaser" 598 msgstr "" 599 600 #: inc/settings.php:297 601 msgid "Display the %sSiteOrigin Premium%s upgrade teaser in the Page Builder toolbar." 602 msgstr "" 603 604 #: inc/settings.php:305 605 msgid "Default To Page Builder Interface" 606 msgstr "" 607 608 #: inc/settings.php:307 609 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." 610 msgstr "" 611 612 #: inc/settings.php:314 613 msgid "Layout Block Default Mode" 614 msgstr "" 615 616 #: inc/settings.php:317, tpl/js-templates.php:141 617 msgid "Edit" 618 msgstr "" 619 620 #: inc/settings.php:318 621 msgid "Preview" 622 msgstr "" 623 624 #: inc/settings.php:320 625 msgid "Whether to display layout blocks in edit mode or preview mode in the block editor." 626 msgstr "" 627 628 #: inc/settings.php:326 629 msgid "Widgets" 630 msgstr "" 631 632 #: inc/settings.php:332 633 msgid "Widget Title HTML" 634 msgstr "" 635 636 #: inc/settings.php:333 637 msgid "The HTML used for widget titles. {{title}} is replaced with the widget title." 638 msgstr "" 639 640 #: inc/settings.php:338 641 msgid "Add Widget Class" 642 msgstr "" 643 644 #: inc/settings.php:339 645 msgid "Add the widget class to Page Builder widgets. Disable this if you're experiencing conflicts." 646 msgstr "" 647 648 #: inc/settings.php:344 649 msgid "Legacy Bundled Widgets" 650 msgstr "" 651 652 #: inc/settings.php:345 653 msgid "Load legacy widgets from Page Builder 1." 654 msgstr "" 655 656 #: inc/settings.php:351 657 msgid "Display recommend widgets in Page Builder add widget dialog." 658 msgstr "" 659 660 #: inc/settings.php:356 661 msgid "Instant Open Widgets" 662 msgstr "" 663 664 #: inc/settings.php:357 665 msgid "Open a widget form as soon as its added to a page." 666 msgstr "" 667 668 #: inc/settings.php:363, inc/styles-admin.php:88 669 msgid "Layout" 670 msgstr "" 671 672 #: inc/settings.php:371 673 msgid "Responsive Layout" 674 msgstr "" 675 676 #: inc/settings.php:372 677 msgid "Collapse widgets, rows and columns on mobile devices." 678 msgstr "" 679 680 #: inc/settings.php:377 681 msgid "Use Tablet Layout" 682 msgstr "" 683 684 #: inc/settings.php:378 685 msgid "Collapses columns differently on tablet devices." 686 msgstr "" 687 688 #: inc/settings.php:384 689 msgid "Detect older browsers" 690 msgstr "" 691 692 #: inc/settings.php:385 693 msgid "Never" 694 msgstr "" 695 696 #: inc/settings.php:386 697 msgid "Always" 698 msgstr "" 699 700 #: inc/settings.php:388 701 msgid "Use Legacy Layout Engine" 702 msgstr "" 703 704 #: inc/settings.php:389 705 msgid "The CSS and HTML uses floats instead of flexbox for compatibility with very old browsers." 706 msgstr "" 707 708 #: inc/settings.php:395 709 msgid "Tablet Width" 710 msgstr "" 711 712 #: inc/settings.php:396 713 msgid "Device width, in pixels, to collapse into a tablet view ." 714 msgstr "" 715 716 #: inc/settings.php:402 717 msgid "Mobile Width" 718 msgstr "" 719 720 #: inc/settings.php:403 721 msgid "Device width, in pixels, to collapse into a mobile view ." 722 msgstr "" 723 724 #: inc/settings.php:409 725 msgid "Row/Widget Bottom Margin" 726 msgstr "" 727 728 #: inc/settings.php:410 729 msgid "Default margin below rows and widgets." 730 msgstr "" 731 732 #: inc/settings.php:415 733 msgid "Last Row With Margin" 734 msgstr "" 735 736 #: inc/settings.php:416 737 msgid "Allow margin in last row." 738 msgstr "" 739 740 #: inc/settings.php:422 741 msgid "Row Gutter" 742 msgstr "" 743 744 #: inc/settings.php:423 745 msgid "Default spacing between columns in each row." 746 msgstr "" 747 748 #: inc/settings.php:429 749 msgid "Full Width Container" 750 msgstr "" 751 752 #: inc/settings.php:430 753 msgid "The container used for the full width layout." 754 msgstr "" 755 756 #: inc/settings.php:437 757 msgid "Content" 758 msgstr "" 759 760 #: inc/settings.php:443 761 msgid "Copy Content" 762 msgstr "" 763 764 #: inc/settings.php:444 765 msgid "Copy content from Page Builder to post content." 766 msgstr "" 767 768 #: inc/settings.php:449 769 msgid "Copy Styles" 770 msgstr "" 771 772 #: inc/settings.php:450 773 msgid "Include styles into your Post Content. This keeps page layouts, even when Page Builder is deactivated." 774 msgstr "" 775 776 #: inc/settings.php:503, inc/styles-admin.php:273 777 msgid "Enabled" 778 msgstr "" 779 780 #: inc/styles-admin.php:33 781 msgid "Please specify the type of style form to be rendered." 782 msgstr "" 783 784 #: inc/styles-admin.php:34 785 msgid "Missing style form type." 786 msgstr "" 787 788 #: inc/styles-admin.php:46 789 msgid "Row Styles" 790 msgstr "" 791 792 #: inc/styles-admin.php:51 793 msgid "Cell%s Styles" 794 msgstr "" 795 796 #: inc/styles-admin.php:55 797 msgid "Widget Styles" 798 msgstr "" 799 800 #: inc/styles-admin.php:84 801 msgid "Attributes" 802 msgstr "" 803 804 #: inc/styles-admin.php:92 805 msgid "Mobile Layout" 806 msgstr "" 807 808 #: inc/styles-admin.php:96 809 msgid "Design" 810 msgstr "" 811 812 #: inc/styles-admin.php:106 813 msgid "Theme" 814 msgstr "" 815 816 #: inc/styles-admin.php:191, inc/styles.php:258, inc/styles.php:297 817 msgid "Top" 818 msgstr "" 819 820 #: inc/styles-admin.php:195, widgets/widgets/button/button.php:30 821 msgid "Right" 822 msgstr "" 823 824 #: inc/styles-admin.php:199, inc/styles.php:260, inc/styles.php:299 825 msgid "Bottom" 826 msgstr "" 827 828 #: inc/styles-admin.php:203, widgets/widgets/button/button.php:29 829 msgid "Left" 830 msgstr "" 831 832 #: inc/styles-admin.php:248 833 msgid "Select Image" 834 msgstr "" 835 836 #: inc/styles-admin.php:253 837 msgid "Remove" 838 msgstr "" 839 840 #: inc/styles-admin.php:256 841 msgid "External URL" 842 msgstr "" 843 844 #: inc/styles.php:80 845 msgid "%s ID" 846 msgstr "" 847 848 #: inc/styles.php:83 849 msgid "A custom ID used for this %s." 850 msgstr "" 851 852 #: inc/styles.php:88 853 msgid "%s Class" 854 msgstr "" 855 856 #: inc/styles.php:91 857 msgid "A CSS class" 858 msgstr "" 859 860 #: inc/styles.php:96 861 msgid "CSS Styles" 862 msgstr "" 863 864 #: inc/styles.php:99 865 msgid "One style attribute per line." 866 msgstr "" 867 868 #: inc/styles.php:104 869 msgid "Mobile CSS Styles" 870 msgstr "" 871 872 #: inc/styles.php:107 873 msgid "CSS applied when in mobile view." 874 msgstr "" 875 876 #: inc/styles.php:114 877 msgid "Padding" 878 msgstr "" 879 880 #: inc/styles.php:117 881 msgid "Padding around the entire %s." 882 msgstr "" 883 884 #: inc/styles.php:125 885 msgid "Mobile Padding" 886 msgstr "" 887 888 #: inc/styles.php:128 889 msgid "Padding when on mobile devices." 890 msgstr "" 891 892 #: inc/styles.php:136 893 msgid "Background Color" 894 msgstr "" 895 896 #: inc/styles.php:139 897 msgid "Background color of the %s." 898 msgstr "" 899 900 #: inc/styles.php:144 901 msgid "Background Image" 902 msgstr "" 903 904 #: inc/styles.php:147 905 msgid "Background image of the %s." 906 msgstr "" 907 908 #: inc/styles.php:152 909 msgid "Background Image Display" 910 msgstr "" 911 912 #: inc/styles.php:156 913 msgid "Tiled Image" 914 msgstr "" 915 916 #: inc/styles.php:157 917 msgid "Cover" 918 msgstr "" 919 920 #: inc/styles.php:158 921 msgid "Centered, with original size" 922 msgstr "" 923 924 #: inc/styles.php:159 925 msgid "Contain" 926 msgstr "" 927 928 #: inc/styles.php:160 929 msgid "Fixed" 930 msgstr "" 931 932 #: inc/styles.php:161 933 msgid "Parallax" 934 msgstr "" 935 936 #: inc/styles.php:162 937 msgid "Parallax (Original Size)" 938 msgstr "" 939 940 #: inc/styles.php:164 941 msgid "How the background image is displayed." 942 msgstr "" 943 944 #: inc/styles.php:169 945 msgid "Border Color" 946 msgstr "" 947 948 #: inc/styles.php:172 949 msgid "Border color of the %s." 950 msgstr "" 951 952 #: inc/styles.php:191 953 msgid "Cell Class" 954 msgstr "" 955 956 #: inc/styles.php:194 957 msgid "Class added to all cells in this row." 958 msgstr "" 959 960 #: inc/styles.php:201 961 msgid "Bottom Margin" 962 msgstr "" 963 964 #: inc/styles.php:204 965 msgid "Space below the row. Default is %spx." 966 msgstr "" 967 968 #: inc/styles.php:209 969 msgid "Gutter" 970 msgstr "" 971 972 #: inc/styles.php:212 973 msgid "Amount of space between cells. Default is %spx." 974 msgstr "" 975 976 #: inc/styles.php:217 977 msgid "Row Layout" 978 msgstr "" 979 980 #: inc/styles.php:221, inc/styles.php:234 981 msgid "Standard" 982 msgstr "" 983 984 #: inc/styles.php:222 985 msgid "Full Width" 986 msgstr "" 987 988 #: inc/styles.php:223 989 msgid "Full Width Stretched" 990 msgstr "" 991 992 #: inc/styles.php:224 993 msgid "Full Width Stretched Padded" 994 msgstr "" 995 996 #: inc/styles.php:230 997 msgid "Collapse Behaviour" 998 msgstr "" 999 1000 #: inc/styles.php:235 1001 msgid "No Collapse" 1002 msgstr "" 1003 1004 #: inc/styles.php:241 1005 msgid "Collapse Order" 1006 msgstr "" 1007 1008 #: inc/styles.php:245, widgets/widgets.php:635, widgets/widgets.php:757, inc/widgets/post-loop.php:325 1009 msgid "Default" 1010 msgstr "" 1011 1012 #: inc/styles.php:246 1013 msgid "Left on Top" 1014 msgstr "" 1015 1016 #: inc/styles.php:247 1017 msgid "Right on Top" 1018 msgstr "" 1019 1020 #: inc/styles.php:254 1021 msgid "Cell Vertical Alignment" 1022 msgstr "" 1023 1024 #: inc/styles.php:259, inc/styles.php:298, widgets/widgets/button/button.php:31 1025 msgid "Center" 1026 msgstr "" 1027 1028 #: inc/styles.php:261, inc/styles.php:300 1029 msgid "Stretch" 1030 msgstr "" 1031 1032 #: inc/styles.php:270 1033 msgid "Mobile Bottom Margin" 1034 msgstr "" 1035 1036 #: inc/styles.php:273 1037 msgid "Space below the row on mobile devices. Default is %spx." 1038 msgstr "" 1039 1040 #: inc/styles.php:289 1041 msgid "Cell" 1042 msgstr "" 1043 1044 #: inc/styles.php:292 1045 msgid "Vertical Alignment" 1046 msgstr "" 1047 1048 #: inc/styles.php:296 1049 msgid "Use row setting" 1050 msgstr "" 1051 1052 #: inc/styles.php:306, inc/styles.php:346 1053 msgid "Font Color" 1054 msgstr "" 1055 1056 #: inc/styles.php:309 1057 msgid "Color of text inside this cell." 1058 msgstr "" 1059 1060 #: inc/styles.php:314, inc/styles.php:354 1061 msgid "Links Color" 1062 msgstr "" 1063 1064 #: inc/styles.php:317 1065 msgid "Color of links inside this cell." 1066 msgstr "" 1067 1068 #: inc/styles.php:335 1069 msgid "Margin" 1070 msgstr "" 1071 1072 #: inc/styles.php:338 1073 msgid "Margins around the widget." 1074 msgstr "" 1075 1076 #: inc/styles.php:349 1077 msgid "Color of text inside this widget." 1078 msgstr "" 1079 1080 #: inc/styles.php:357 1081 msgid "Color of links inside this widget." 1082 msgstr "" 1083 1084 #: tpl/admin-home-page.php:21 1085 msgid "On" 1086 msgstr "" 1087 1088 #: tpl/admin-home-page.php:21 1089 msgid "Off" 1090 msgstr "" 1091 1092 #: tpl/admin-home-page.php:25 1093 msgid "Custom Home Page" 1094 msgstr "" 1095 1096 #: tpl/admin-home-page.php:41 1097 msgid "Home page updated. 1{View page}." 1098 msgstr "" 1099 1100 #: tpl/admin-home-page.php:60 1101 msgid "Save Home Page" 1102 msgstr "" 1103 1104 #: tpl/admin-home-page.php:64 1105 msgid "This interface requires Javascript" 1106 msgstr "" 1107 1108 #: tpl/help.php:2 1109 msgid "You can use SiteOrigin Page Builder to create home and sub pages, filled your own widgets." 1110 msgstr "" 1111 1112 #: tpl/help.php:3 1113 msgid "The page layouts are responsive and fully customizable." 1114 msgstr "" 1115 1116 #: tpl/help.php:18 1117 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." 1118 msgstr "" 1119 1120 #: tpl/js-templates.php:12, tpl/js-templates.php:14 1121 msgid "Add Widget" 1122 msgstr "" 1123 1124 #: tpl/js-templates.php:22, tpl/js-templates.php:387 1125 msgid "Prebuilt Layouts" 1126 msgstr "" 1127 1128 #: tpl/js-templates.php:24 1129 msgid "Layouts" 1130 msgstr "" 1131 1132 #: tpl/js-templates.php:29 1133 msgid "Edit History" 1134 msgstr "" 1135 1136 #: tpl/js-templates.php:31 1137 msgid "History" 1138 msgstr "" 1139 1140 #: tpl/js-templates.php:42 1141 msgid "Page Builder Addons" 1142 msgstr "" 1143 1144 #: tpl/js-templates.php:48 1145 msgid "Revert to Editor" 1146 msgstr "" 1147 1148 #: tpl/js-templates.php:60 1149 msgid "Add a %s, %s or %s to get started. Read our %s if you need help." 1150 msgstr "" 1151 1152 #: tpl/js-templates.php:71 1153 msgid "Pro Tip" 1154 msgstr "" 1155 1156 #: tpl/js-templates.php:142, tpl/js-templates.php:268, tpl/js-templates.php:353 1157 msgid "Duplicate" 1158 msgstr "" 1159 1160 #: tpl/js-templates.php:143, tpl/js-templates.php:267, tpl/js-templates.php:352 1161 msgid "Delete" 1162 msgstr "" 1163 1164 #: tpl/js-templates.php:206, tpl/js-templates.php:271, tpl/js-templates.php:360 1165 msgid "Done" 1166 msgstr "" 1167 1168 #: tpl/js-templates.php:220 1169 msgid "Add New Widget %s" 1170 msgstr "" 1171 1172 #: tpl/js-templates.php:236, tpl/js-templates.php:556 1173 msgid "Close" 1174 msgstr "" 1175 1176 #: tpl/js-templates.php:321 1177 msgid "Left to Right" 1178 msgstr "" 1179 1180 #: tpl/js-templates.php:322 1181 msgid "Right to Left" 1182 msgstr "" 1183 1184 #: tpl/js-templates.php:333 1185 msgid "1{Set row layout}: %1$s columns with a ratio of %2$s going from %3$s" 1186 msgstr "" 1187 1188 #: tpl/js-templates.php:339 1189 msgid "Set" 1190 msgstr "" 1191 1192 #: tpl/js-templates.php:358, tpl/js-templates.php:416 1193 msgid "Insert" 1194 msgstr "" 1195 1196 #: tpl/js-templates.php:378 1197 msgid "Page Builder Layouts" 1198 msgstr "" 1199 1200 #: tpl/js-templates.php:382 1201 msgid "Search" 1202 msgstr "" 1203 1204 #: tpl/js-templates.php:397 1205 msgid "Import/Export" 1206 msgstr "" 1207 1208 #: tpl/js-templates.php:404 1209 msgid "Clone: %s" 1210 msgstr "" 1211 1212 #: tpl/js-templates.php:420 1213 msgid "Insert after" 1214 msgstr "" 1215 1216 #: tpl/js-templates.php:421 1217 msgid "Insert before" 1218 msgstr "" 1219 1220 #: tpl/js-templates.php:422 1221 msgid "Replace current" 1222 msgstr "" 1223 1224 #: tpl/js-templates.php:433 1225 msgid "Do you want to browse the Prebuilt Layouts directory?" 1226 msgstr "" 1227 1228 #: tpl/js-templates.php:434 1229 msgid "Enable" 1230 msgstr "" 1231 1232 #: tpl/js-templates.php:447 1233 msgid "Your search didn't return any results" 1234 msgstr "" 1235 1236 #: tpl/js-templates.php:475 1237 msgid "Previous" 1238 msgstr "" 1239 1240 #: tpl/js-templates.php:476 1241 msgid "Next" 1242 msgstr "" 1243 1244 #: tpl/js-templates.php:486 1245 msgid "Drop import file here" 1246 msgstr "" 1247 1248 #: tpl/js-templates.php:487 1249 msgid "Or" 1250 msgstr "" 1251 1252 #: tpl/js-templates.php:490 1253 msgid "Select Import File" 1254 msgstr "" 1255 1256 #: tpl/js-templates.php:504 1257 msgid "Download Layout" 1258 msgstr "" 1259 1260 #: tpl/js-templates.php:515 1261 msgid "Page Builder Change History" 1262 msgstr "" 1263 1264 #: tpl/js-templates.php:530 1265 msgid "Restore Version" 1266 msgstr "" 1267 1268 #: tpl/js-templates.php:553 1269 msgid "Save Draft" 1270 msgstr "" 1271 1272 #: tpl/js-templates.php:554, tpl/js-templates.php:555 1273 msgid "Update" 1274 msgstr "" 1275 1276 #: tpl/js-templates.php:558 1277 msgid "Toggle desktop mode" 1278 msgstr "" 1279 1280 #: tpl/js-templates.php:561 1281 msgid "Toggle tablet mode" 1282 msgstr "" 1283 1284 #: tpl/js-templates.php:564 1285 msgid "Toggle mobile mode" 1286 msgstr "" 1287 1288 #: tpl/js-templates.php:603 1289 msgid "No Results" 1290 msgstr "" 1291 1292 #: tpl/js-templates.php:613 1293 msgid "Add SiteOrigin Layout Block" 1294 msgstr "" 1295 1296 #: widgets/widgets.php:161 1297 msgid "This is a legacy widget. " 1298 msgstr "" 1299 1300 #: widgets/widgets.php:162 1301 msgid "Ideally you should move to using widgets from the SiteOrigin Widgets Bundle instead. " 1302 msgstr "" 1303 1304 #: widgets/widgets.php:163 1305 msgid "It'll be moved to a separate plugin after Page Builder 2.6 is released. " 1306 msgstr "" 1307 1308 #: widgets/widgets.php:220 1309 msgid "Style" 1310 msgstr "" 1311 1312 #: widgets/widgets.php:244 1313 msgid "%s Style" 1314 msgstr "" 1315 1316 #: widgets/widgets.php:594, inc/widgets/post-loop.php:283 1317 msgid "Post Type" 1318 msgstr "" 1319 1320 #: widgets/widgets.php:601, inc/widgets/post-loop.php:292 1321 msgid "Posts Per Page" 1322 msgstr "" 1323 1324 #: widgets/widgets.php:606, inc/widgets/post-loop.php:297 1325 msgid "Order By" 1326 msgstr "" 1327 1328 #: widgets/widgets.php:608, widgets/widgets.php:783, inc/widgets/post-content.php:60, inc/widgets/post-loop.php:299 1329 msgid "None" 1330 msgstr "" 1331 1332 #: widgets/widgets.php:609, inc/widgets/post-loop.php:300 1333 msgid "Post ID" 1334 msgstr "" 1335 1336 #: widgets/widgets.php:610, inc/widgets/post-loop.php:301 1337 msgid "Author" 1338 msgstr "" 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 1341 msgid "Name" 1342 msgstr "" 1343 1344 #: widgets/widgets.php:613, inc/widgets/post-loop.php:304 1345 msgid "Date" 1346 msgstr "" 1347 1348 #: widgets/widgets.php:614, inc/widgets/post-loop.php:305 1349 msgid "Modified" 1350 msgstr "" 1351 1352 #: widgets/widgets.php:615, inc/widgets/post-loop.php:306 1353 msgid "Parent" 1354 msgstr "" 1355 1356 #: widgets/widgets.php:616, inc/widgets/post-loop.php:307 1357 msgid "Random" 1358 msgstr "" 1359 1360 #: widgets/widgets.php:617, inc/widgets/post-loop.php:308 1361 msgid "Comment Count" 1362 msgstr "" 1363 1364 #: widgets/widgets.php:618, inc/widgets/post-loop.php:309 1365 msgid "Menu Order" 1366 msgstr "" 1367 1368 #: widgets/widgets.php:624, inc/widgets/post-loop.php:315 1369 msgid "Order" 1370 msgstr "" 1371 1372 #: widgets/widgets.php:626, inc/widgets/post-loop.php:318 1373 msgid "Ascending" 1374 msgstr "" 1375 1376 #: widgets/widgets.php:627, inc/widgets/post-loop.php:317 1377 msgid "Descending" 1378 msgstr "" 1379 1380 #: widgets/widgets.php:633, inc/widgets/post-loop.php:323 1381 msgid "Sticky Posts" 1382 msgstr "" 1383 1384 #: widgets/widgets.php:636, inc/widgets/post-loop.php:326 1385 msgid "Ignore Sticky" 1386 msgstr "" 1387 1388 #: widgets/widgets.php:637, inc/widgets/post-loop.php:327 1389 msgid "Exclude Sticky" 1390 msgstr "" 1391 1392 #: widgets/widgets.php:638, inc/widgets/post-loop.php:328 1393 msgid "Only Sticky" 1394 msgstr "" 1395 1396 #: widgets/widgets.php:644 1397 msgid "Additional Arguments" 1398 msgstr "" 1399 1400 #: widgets/widgets.php:648, inc/widgets/post-loop.php:340 1401 msgid "Additional query arguments. See 1{query_posts}." 1402 msgstr "" 1403 1404 #: widgets/widgets.php:705 1405 msgid "Gallery (PB)" 1406 msgstr "" 1407 1408 #: widgets/widgets.php:707 1409 msgid "Displays a gallery." 1410 msgstr "" 1411 1412 #: widgets/widgets.php:746 1413 msgid "Gallery Images" 1414 msgstr "" 1415 1416 #: widgets/widgets.php:747 1417 msgid "edit gallery" 1418 msgstr "" 1419 1420 #: widgets/widgets.php:751 1421 msgid "Comma separated attachment IDs. Defaults to all current page's attachments." 1422 msgstr "" 1423 1424 #: widgets/widgets.php:755 1425 msgid "Image Size" 1426 msgstr "" 1427 1428 #: widgets/widgets.php:758 1429 msgid "Large" 1430 msgstr "" 1431 1432 #: widgets/widgets.php:759 1433 msgid "Medium" 1434 msgstr "" 1435 1436 #: widgets/widgets.php:760 1437 msgid "Thumbnail" 1438 msgstr "" 1439 1440 #: widgets/widgets.php:761 1441 msgid "Full" 1442 msgstr "" 1443 1444 #: widgets/widgets.php:769 1445 msgid "Gallery Type" 1446 msgstr "" 1447 1448 #: widgets/widgets.php:774 1449 msgid "Columns" 1450 msgstr "" 1451 1452 #: widgets/widgets.php:779 1453 msgid "Link To" 1454 msgstr "" 1455 1456 #: widgets/widgets.php:781 1457 msgid "Attachment Page" 1458 msgstr "" 1459 1460 #: widgets/widgets.php:782 1461 msgid "File" 1462 msgstr "" 1463 1464 #: widgets/widgets.php:800 1465 msgid "Image (PB)" 1466 msgstr "" 1467 1468 #: widgets/widgets.php:802 1469 msgid "Displays a simple image." 1470 msgstr "" 1471 1472 #: widgets/widgets.php:835, widgets/widgets/animated-image/animated-image.php:15 1473 msgid "Image URL" 1474 msgstr "" 1475 1476 #: widgets/widgets.php:839, widgets/widgets/button/button.php:19 1477 msgid "Destination URL" 1478 msgstr "" 1479 1480 #: widgets/widgets.php:853 1481 msgid "Embedded Video (PB)" 1482 msgstr "" 1483 1484 #: widgets/widgets.php:855 1485 msgid "Embeds a video." 1486 msgstr "" 1487 1488 #: widgets/widgets.php:893 1489 msgid "Video" 1490 msgstr "" 1491 1492 #: widgets/widgets.php:909 1493 msgid "Self Hosted Video (PB)" 1494 msgstr "" 1495 1496 #: widgets/widgets.php:911 1497 msgid "A self hosted video player." 1498 msgstr "" 1499 1500 #: widgets/widgets.php:953 1501 msgid "Video URL" 1502 msgstr "" 1503 1504 #: widgets/widgets.php:957 1505 msgid "Poster URL" 1506 msgstr "" 1507 1508 #: widgets/widgets.php:959 1509 msgid "An image that displays before the video starts playing." 1510 msgstr "" 1511 1512 #: widgets/widgets.php:964 1513 msgid "Auto Play Video" 1514 msgstr "" 1515 492 1516 #: inc/data/widgets-bundle.php:7 493 1517 msgid "SiteOrigin Editor" … … 536 1560 #: inc/data/widgets-bundle.php:68 537 1561 msgid "Display your posts as a carousel." 538 msgstr ""539 540 #: inc/home.php:25541 msgid "Custom Home Page Builder"542 msgstr ""543 544 #: inc/revisions.php:83545 msgid "Page Builder Content"546 msgstr ""547 548 #: inc/settings.php:226549 msgid "Page Builder Settings"550 msgstr ""551 552 #: inc/settings.php:242553 msgid "General"554 msgstr ""555 556 #: inc/settings.php:248557 msgid "Post Types"558 msgstr ""559 560 #: inc/settings.php:250561 msgid "The post types on which to use Page Builder."562 msgstr ""563 564 #: inc/settings.php:255565 msgid "Use Classic Editor for new posts"566 msgstr ""567 568 #: inc/settings.php:256569 msgid "New posts of the above Post Types will be created using the Classic Editor."570 msgstr ""571 572 #: inc/settings.php:261573 msgid "Live Editor Quick Link"574 msgstr ""575 576 #: inc/settings.php:262577 msgid "Display a Live Editor button in the admin bar."578 msgstr ""579 580 #: inc/settings.php:267581 msgid "Display Post State"582 msgstr ""583 584 #: inc/settings.php:269585 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:277589 msgid "Display Widget Count"590 msgstr ""591 592 #: inc/settings.php:278593 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:283597 msgid "Limit Parallax Motion"598 msgstr ""599 600 #: inc/settings.php:284601 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:289605 msgid "Sidebars Emulator"606 msgstr ""607 608 #: inc/settings.php:290609 msgid "Page Builder will create an emulated sidebar, that contains all widgets in the page."610 msgstr ""611 612 #: inc/settings.php:295613 msgid "Upgrade Teaser"614 msgstr ""615 616 #: inc/settings.php:297617 msgid "Display the %sSiteOrigin Premium%s upgrade teaser in the Page Builder toolbar."618 msgstr ""619 620 #: inc/settings.php:305621 msgid "Default To Page Builder Interface"622 msgstr ""623 624 #: inc/settings.php:307625 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:314629 msgid "Layout Block Default Mode"630 msgstr ""631 632 #: inc/settings.php:317, tpl/js-templates.php:141633 msgid "Edit"634 msgstr ""635 636 #: inc/settings.php:318637 msgid "Preview"638 msgstr ""639 640 #: inc/settings.php:320641 msgid "Whether to display layout blocks in edit mode or preview mode in the block editor."642 msgstr ""643 644 #: inc/settings.php:326645 msgid "Widgets"646 msgstr ""647 648 #: inc/settings.php:332649 msgid "Widget Title HTML"650 msgstr ""651 652 #: inc/settings.php:333653 msgid "The HTML used for widget titles. {{title}} is replaced with the widget title."654 msgstr ""655 656 #: inc/settings.php:338657 msgid "Add Widget Class"658 msgstr ""659 660 #: inc/settings.php:339661 msgid "Add the widget class to Page Builder widgets. Disable this if you're experiencing conflicts."662 msgstr ""663 664 #: inc/settings.php:344665 msgid "Legacy Bundled Widgets"666 msgstr ""667 668 #: inc/settings.php:345669 msgid "Load legacy widgets from Page Builder 1."670 msgstr ""671 672 #: inc/settings.php:351673 msgid "Display recommend widgets in Page Builder add widget dialog."674 msgstr ""675 676 #: inc/settings.php:356677 msgid "Instant Open Widgets"678 msgstr ""679 680 #: inc/settings.php:357681 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:88685 msgid "Layout"686 msgstr ""687 688 #: inc/settings.php:371689 msgid "Responsive Layout"690 msgstr ""691 692 #: inc/settings.php:372693 msgid "Collapse widgets, rows and columns on mobile devices."694 msgstr ""695 696 #: inc/settings.php:377697 msgid "Use Tablet Layout"698 msgstr ""699 700 #: inc/settings.php:378701 msgid "Collapses columns differently on tablet devices."702 msgstr ""703 704 #: inc/settings.php:384705 msgid "Detect older browsers"706 msgstr ""707 708 #: inc/settings.php:385709 msgid "Never"710 msgstr ""711 712 #: inc/settings.php:386713 msgid "Always"714 msgstr ""715 716 #: inc/settings.php:388717 msgid "Use Legacy Layout Engine"718 msgstr ""719 720 #: inc/settings.php:389721 msgid "The CSS and HTML uses floats instead of flexbox for compatibility with very old browsers."722 msgstr ""723 724 #: inc/settings.php:395725 msgid "Tablet Width"726 msgstr ""727 728 #: inc/settings.php:396729 msgid "Device width, in pixels, to collapse into a tablet view ."730 msgstr ""731 732 #: inc/settings.php:402733 msgid "Mobile Width"734 msgstr ""735 736 #: inc/settings.php:403737 msgid "Device width, in pixels, to collapse into a mobile view ."738 msgstr ""739 740 #: inc/settings.php:409741 msgid "Row/Widget Bottom Margin"742 msgstr ""743 744 #: inc/settings.php:410745 msgid "Default margin below rows and widgets."746 msgstr ""747 748 #: inc/settings.php:415749 msgid "Last Row With Margin"750 msgstr ""751 752 #: inc/settings.php:416753 msgid "Allow margin in last row."754 msgstr ""755 756 #: inc/settings.php:422757 msgid "Row Gutter"758 msgstr ""759 760 #: inc/settings.php:423761 msgid "Default spacing between columns in each row."762 msgstr ""763 764 #: inc/settings.php:429765 msgid "Full Width Container"766 msgstr ""767 768 #: inc/settings.php:430769 msgid "The container used for the full width layout."770 msgstr ""771 772 #: inc/settings.php:437773 msgid "Content"774 msgstr ""775 776 #: inc/settings.php:443777 msgid "Copy Content"778 msgstr ""779 780 #: inc/settings.php:444781 msgid "Copy content from Page Builder to post content."782 msgstr ""783 784 #: inc/settings.php:449785 msgid "Copy Styles"786 msgstr ""787 788 #: inc/settings.php:450789 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:269793 msgid "Enabled"794 msgstr ""795 796 #: inc/styles-admin.php:33797 msgid "Please specify the type of style form to be rendered."798 msgstr ""799 800 #: inc/styles-admin.php:34801 msgid "Missing style form type."802 msgstr ""803 804 #: inc/styles-admin.php:46805 msgid "Row Styles"806 msgstr ""807 808 #: inc/styles-admin.php:51809 msgid "Cell%s Styles"810 msgstr ""811 812 #: inc/styles-admin.php:55813 msgid "Widget Styles"814 msgstr ""815 816 #: inc/styles-admin.php:84817 msgid "Attributes"818 msgstr ""819 820 #: inc/styles-admin.php:92821 msgid "Design"822 msgstr ""823 824 #: inc/styles-admin.php:102825 msgid "Theme"826 msgstr ""827 828 #: inc/styles-admin.php:187, inc/styles.php:255, inc/styles.php:284829 msgid "Top"830 msgstr ""831 832 #: inc/styles-admin.php:191, widgets/widgets/button/button.php:30833 msgid "Right"834 msgstr ""835 836 #: inc/styles-admin.php:195, inc/styles.php:257, inc/styles.php:286837 msgid "Bottom"838 msgstr ""839 840 #: inc/styles-admin.php:199, widgets/widgets/button/button.php:29841 msgid "Left"842 msgstr ""843 844 #: inc/styles-admin.php:244845 msgid "Select Image"846 msgstr ""847 848 #: inc/styles-admin.php:249849 msgid "Remove"850 msgstr ""851 852 #: inc/styles-admin.php:252853 msgid "External URL"854 msgstr ""855 856 #: inc/styles.php:79857 msgid "%s ID"858 msgstr ""859 860 #: inc/styles.php:82861 msgid "A custom ID used for this %s."862 msgstr ""863 864 #: inc/styles.php:87865 msgid "%s Class"866 msgstr ""867 868 #: inc/styles.php:90869 msgid "A CSS class"870 msgstr ""871 872 #: inc/styles.php:95873 msgid "CSS Styles"874 msgstr ""875 876 #: inc/styles.php:98877 msgid "One style attribute per line."878 msgstr ""879 880 #: inc/styles.php:103881 msgid "Mobile CSS Styles"882 msgstr ""883 884 #: inc/styles.php:106885 msgid "CSS applied when in mobile view."886 msgstr ""887 888 #: inc/styles.php:113889 msgid "Padding"890 msgstr ""891 892 #: inc/styles.php:116893 msgid "Padding around the entire %s."894 msgstr ""895 896 #: inc/styles.php:122897 msgid "Mobile Padding"898 msgstr ""899 900 #: inc/styles.php:125901 msgid "Padding when on mobile devices."902 msgstr ""903 904 #: inc/styles.php:133905 msgid "Background Color"906 msgstr ""907 908 #: inc/styles.php:136909 msgid "Background color of the %s."910 msgstr ""911 912 #: inc/styles.php:141913 msgid "Background Image"914 msgstr ""915 916 #: inc/styles.php:144917 msgid "Background image of the %s."918 msgstr ""919 920 #: inc/styles.php:149921 msgid "Background Image Display"922 msgstr ""923 924 #: inc/styles.php:153925 msgid "Tiled Image"926 msgstr ""927 928 #: inc/styles.php:154929 msgid "Cover"930 msgstr ""931 932 #: inc/styles.php:155933 msgid "Centered, with original size"934 msgstr ""935 936 #: inc/styles.php:156937 msgid "Contain"938 msgstr ""939 940 #: inc/styles.php:157941 msgid "Fixed"942 msgstr ""943 944 #: inc/styles.php:158945 msgid "Parallax"946 msgstr ""947 948 #: inc/styles.php:159949 msgid "Parallax (Original Size)"950 msgstr ""951 952 #: inc/styles.php:161953 msgid "How the background image is displayed."954 msgstr ""955 956 #: inc/styles.php:166957 msgid "Border Color"958 msgstr ""959 960 #: inc/styles.php:169961 msgid "Border color of the %s."962 msgstr ""963 964 #: inc/styles.php:188965 msgid "Cell Class"966 msgstr ""967 968 #: inc/styles.php:191969 msgid "Class added to all cells in this row."970 msgstr ""971 972 #: inc/styles.php:198973 msgid "Bottom Margin"974 msgstr ""975 976 #: inc/styles.php:201977 msgid "Space below the row. Default is %spx."978 msgstr ""979 980 #: inc/styles.php:206981 msgid "Gutter"982 msgstr ""983 984 #: inc/styles.php:209985 msgid "Amount of space between cells. Default is %spx."986 msgstr ""987 988 #: inc/styles.php:214989 msgid "Row Layout"990 msgstr ""991 992 #: inc/styles.php:218, inc/styles.php:231993 msgid "Standard"994 msgstr ""995 996 #: inc/styles.php:219997 msgid "Full Width"998 msgstr ""999 1000 #: inc/styles.php:2201001 msgid "Full Width Stretched"1002 msgstr ""1003 1004 #: inc/styles.php:2211005 msgid "Full Width Stretched Padded"1006 msgstr ""1007 1008 #: inc/styles.php:2271009 msgid "Collapse Behaviour"1010 msgstr ""1011 1012 #: inc/styles.php:2321013 msgid "No Collapse"1014 msgstr ""1015 1016 #: inc/styles.php:2381017 msgid "Collapse Order"1018 msgstr ""1019 1020 #: inc/styles.php:242, inc/widgets/post-loop.php:325, widgets/widgets.php:635, widgets/widgets.php:7571021 msgid "Default"1022 msgstr ""1023 1024 #: inc/styles.php:2431025 msgid "Left on Top"1026 msgstr ""1027 1028 #: inc/styles.php:2441029 msgid "Right on Top"1030 msgstr ""1031 1032 #: inc/styles.php:2511033 msgid "Cell Vertical Alignment"1034 msgstr ""1035 1036 #: inc/styles.php:256, inc/styles.php:285, widgets/widgets/button/button.php:311037 msgid "Center"1038 msgstr ""1039 1040 #: inc/styles.php:258, inc/styles.php:2871041 msgid "Stretch"1042 msgstr ""1043 1044 #: inc/styles.php:2761045 msgid "Cell"1046 msgstr ""1047 1048 #: inc/styles.php:2791049 msgid "Vertical Alignment"1050 msgstr ""1051 1052 #: inc/styles.php:2831053 msgid "Use row setting"1054 msgstr ""1055 1056 #: inc/styles.php:293, inc/styles.php:3331057 msgid "Font Color"1058 msgstr ""1059 1060 #: inc/styles.php:2961061 msgid "Color of text inside this cell."1062 msgstr ""1063 1064 #: inc/styles.php:301, inc/styles.php:3411065 msgid "Links Color"1066 msgstr ""1067 1068 #: inc/styles.php:3041069 msgid "Color of links inside this cell."1070 msgstr ""1071 1072 #: inc/styles.php:3221073 msgid "Margin"1074 msgstr ""1075 1076 #: inc/styles.php:3251077 msgid "Margins around the widget."1078 msgstr ""1079 1080 #: inc/styles.php:3361081 msgid "Color of text inside this widget."1082 msgstr ""1083 1084 #: inc/styles.php:3441085 msgid "Color of links inside this widget."1086 1562 msgstr "" 1087 1563 … … 1111 1587 msgstr "" 1112 1588 1113 #: inc/widgets/post-content.php:60, inc/widgets/post-loop.php:299, widgets/widgets.php:608, widgets/widgets.php:7831114 msgid "None"1115 msgstr ""1116 1117 1589 #: 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 1118 1590 msgid "Title" … … 1151 1623 msgstr "" 1152 1624 1153 #: inc/widgets/post-loop.php:283, widgets/widgets.php:5941154 msgid "Post Type"1155 msgstr ""1156 1157 #: inc/widgets/post-loop.php:292, widgets/widgets.php:6011158 msgid "Posts Per Page"1159 msgstr ""1160 1161 #: inc/widgets/post-loop.php:297, widgets/widgets.php:6061162 msgid "Order By"1163 msgstr ""1164 1165 #: inc/widgets/post-loop.php:300, widgets/widgets.php:6091166 msgid "Post ID"1167 msgstr ""1168 1169 #: inc/widgets/post-loop.php:301, widgets/widgets.php:6101170 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:151174 msgid "Name"1175 msgstr ""1176 1177 #: inc/widgets/post-loop.php:304, widgets/widgets.php:6131178 msgid "Date"1179 msgstr ""1180 1181 #: inc/widgets/post-loop.php:305, widgets/widgets.php:6141182 msgid "Modified"1183 msgstr ""1184 1185 #: inc/widgets/post-loop.php:306, widgets/widgets.php:6151186 msgid "Parent"1187 msgstr ""1188 1189 #: inc/widgets/post-loop.php:307, widgets/widgets.php:6161190 msgid "Random"1191 msgstr ""1192 1193 #: inc/widgets/post-loop.php:308, widgets/widgets.php:6171194 msgid "Comment Count"1195 msgstr ""1196 1197 #: inc/widgets/post-loop.php:309, widgets/widgets.php:6181198 msgid "Menu Order"1199 msgstr ""1200 1201 1625 #: inc/widgets/post-loop.php:310 1202 1626 msgid "Post In Order" 1203 1627 msgstr "" 1204 1628 1205 #: inc/widgets/post-loop.php:315, widgets/widgets.php:6241206 msgid "Order"1207 msgstr ""1208 1209 #: inc/widgets/post-loop.php:317, widgets/widgets.php:6271210 msgid "Descending"1211 msgstr ""1212 1213 #: inc/widgets/post-loop.php:318, widgets/widgets.php:6261214 msgid "Ascending"1215 msgstr ""1216 1217 #: inc/widgets/post-loop.php:323, widgets/widgets.php:6331218 msgid "Sticky Posts"1219 msgstr ""1220 1221 #: inc/widgets/post-loop.php:326, widgets/widgets.php:6361222 msgid "Ignore Sticky"1223 msgstr ""1224 1225 #: inc/widgets/post-loop.php:327, widgets/widgets.php:6371226 msgid "Exclude Sticky"1227 msgstr ""1228 1229 #: inc/widgets/post-loop.php:328, widgets/widgets.php:6381230 msgid "Only Sticky"1231 msgstr ""1232 1233 1629 #: inc/widgets/post-loop.php:333 1234 1630 msgid "Additional " 1235 1631 msgstr "" 1236 1632 1237 #: inc/widgets/post-loop.php:340, widgets/widgets.php:6481238 msgid "Additional query arguments. See 1{query_posts}."1239 msgstr ""1240 1241 1633 #: settings/tpl/help.php:6 1242 1634 msgid "Please read the 1{settings guide} of the Page Builder documentation for help." … … 1309 1701 #: settings/tpl/welcome.php:38 1310 1702 msgid "%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:31314 msgid "Page Builder by SiteOrigin"1315 msgstr ""1316 1317 #: siteorigin-panels.php:41318 msgid "https://siteorigin.com/page-builder/"1319 msgstr ""1320 1321 #: siteorigin-panels.php:51322 msgid "A drag and drop, responsive page builder that simplifies building your website."1323 msgstr ""1324 1325 #: siteorigin-panels.php:71326 msgid "SiteOrigin"1327 msgstr ""1328 1329 #: siteorigin-panels.php:81330 msgid "https://siteorigin.com"1331 msgstr ""1332 1333 #: siteorigin-panels.php:3331334 msgid "Read More"1335 msgstr ""1336 1337 #: siteorigin-panels.php:4811338 msgid "Edit Home Page"1339 msgstr ""1340 1341 #: siteorigin-panels.php:501, tpl/js-templates.php:34, tpl/js-templates.php:361342 msgid "Live Editor"1343 msgstr ""1344 1345 #: tpl/admin-home-page.php:211346 msgid "On"1347 msgstr ""1348 1349 #: tpl/admin-home-page.php:211350 msgid "Off"1351 msgstr ""1352 1353 #: tpl/admin-home-page.php:251354 msgid "Custom Home Page"1355 msgstr ""1356 1357 #: tpl/admin-home-page.php:411358 msgid "Home page updated. 1{View page}."1359 msgstr ""1360 1361 #: tpl/admin-home-page.php:601362 msgid "Save Home Page"1363 msgstr ""1364 1365 #: tpl/admin-home-page.php:641366 msgid "This interface requires Javascript"1367 msgstr ""1368 1369 #: tpl/help.php:21370 msgid "You can use SiteOrigin Page Builder to create home and sub pages, filled your own widgets."1371 msgstr ""1372 1373 #: tpl/help.php:31374 msgid "The page layouts are responsive and fully customizable."1375 msgstr ""1376 1377 #: tpl/help.php:181378 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:141382 msgid "Add Widget"1383 msgstr ""1384 1385 #: tpl/js-templates.php:22, tpl/js-templates.php:3871386 msgid "Prebuilt Layouts"1387 msgstr ""1388 1389 #: tpl/js-templates.php:241390 msgid "Layouts"1391 msgstr ""1392 1393 #: tpl/js-templates.php:291394 msgid "Edit History"1395 msgstr ""1396 1397 #: tpl/js-templates.php:311398 msgid "History"1399 msgstr ""1400 1401 #: tpl/js-templates.php:421402 msgid "Page Builder Addons"1403 msgstr ""1404 1405 #: tpl/js-templates.php:481406 msgid "Revert to Editor"1407 msgstr ""1408 1409 #: tpl/js-templates.php:601410 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:711414 msgid "Pro Tip"1415 msgstr ""1416 1417 #: tpl/js-templates.php:142, tpl/js-templates.php:268, tpl/js-templates.php:3531418 msgid "Duplicate"1419 msgstr ""1420 1421 #: tpl/js-templates.php:143, tpl/js-templates.php:267, tpl/js-templates.php:3521422 msgid "Delete"1423 msgstr ""1424 1425 #: tpl/js-templates.php:206, tpl/js-templates.php:271, tpl/js-templates.php:3601426 msgid "Done"1427 msgstr ""1428 1429 #: tpl/js-templates.php:2201430 msgid "Add New Widget %s"1431 msgstr ""1432 1433 #: tpl/js-templates.php:236, tpl/js-templates.php:5561434 msgid "Close"1435 msgstr ""1436 1437 #: tpl/js-templates.php:3211438 msgid "Left to Right"1439 msgstr ""1440 1441 #: tpl/js-templates.php:3221442 msgid "Right to Left"1443 msgstr ""1444 1445 #: tpl/js-templates.php:3331446 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:3391450 msgid "Set"1451 msgstr ""1452 1453 #: tpl/js-templates.php:358, tpl/js-templates.php:4161454 msgid "Insert"1455 msgstr ""1456 1457 #: tpl/js-templates.php:3781458 msgid "Page Builder Layouts"1459 msgstr ""1460 1461 #: tpl/js-templates.php:3821462 msgid "Search"1463 msgstr ""1464 1465 #: tpl/js-templates.php:3971466 msgid "Import/Export"1467 msgstr ""1468 1469 #: tpl/js-templates.php:4041470 msgid "Clone: %s"1471 msgstr ""1472 1473 #: tpl/js-templates.php:4201474 msgid "Insert after"1475 msgstr ""1476 1477 #: tpl/js-templates.php:4211478 msgid "Insert before"1479 msgstr ""1480 1481 #: tpl/js-templates.php:4221482 msgid "Replace current"1483 msgstr ""1484 1485 #: tpl/js-templates.php:4331486 msgid "Do you want to browse the Prebuilt Layouts directory?"1487 msgstr ""1488 1489 #: tpl/js-templates.php:4341490 msgid "Enable"1491 msgstr ""1492 1493 #: tpl/js-templates.php:4471494 msgid "Your search didn't return any results"1495 msgstr ""1496 1497 #: tpl/js-templates.php:4751498 msgid "Previous"1499 msgstr ""1500 1501 #: tpl/js-templates.php:4761502 msgid "Next"1503 msgstr ""1504 1505 #: tpl/js-templates.php:4861506 msgid "Drop import file here"1507 msgstr ""1508 1509 #: tpl/js-templates.php:4871510 msgid "Or"1511 msgstr ""1512 1513 #: tpl/js-templates.php:4901514 msgid "Select Import File"1515 msgstr ""1516 1517 #: tpl/js-templates.php:5041518 msgid "Download Layout"1519 msgstr ""1520 1521 #: tpl/js-templates.php:5151522 msgid "Page Builder Change History"1523 msgstr ""1524 1525 #: tpl/js-templates.php:5301526 msgid "Restore Version"1527 msgstr ""1528 1529 #: tpl/js-templates.php:5531530 msgid "Save Draft"1531 msgstr ""1532 1533 #: tpl/js-templates.php:554, tpl/js-templates.php:5551534 msgid "Update"1535 msgstr ""1536 1537 #: tpl/js-templates.php:5581538 msgid "Toggle desktop mode"1539 msgstr ""1540 1541 #: tpl/js-templates.php:5611542 msgid "Toggle tablet mode"1543 msgstr ""1544 1545 #: tpl/js-templates.php:5641546 msgid "Toggle mobile mode"1547 msgstr ""1548 1549 #: tpl/js-templates.php:6031550 msgid "No Results"1551 msgstr ""1552 1553 #: tpl/js-templates.php:6131554 msgid "Add SiteOrigin Layout Block"1555 msgstr ""1556 1557 #: widgets/widgets.php:1611558 msgid "This is a legacy widget. "1559 msgstr ""1560 1561 #: widgets/widgets.php:1621562 msgid "Ideally you should move to using widgets from the SiteOrigin Widgets Bundle instead. "1563 msgstr ""1564 1565 #: widgets/widgets.php:1631566 msgid "It'll be moved to a separate plugin after Page Builder 2.6 is released. "1567 msgstr ""1568 1569 #: widgets/widgets.php:2201570 msgid "Style"1571 msgstr ""1572 1573 #: widgets/widgets.php:2441574 msgid "%s Style"1575 msgstr ""1576 1577 #: widgets/widgets.php:6441578 msgid "Additional Arguments"1579 msgstr ""1580 1581 #: widgets/widgets.php:7051582 msgid "Gallery (PB)"1583 msgstr ""1584 1585 #: widgets/widgets.php:7071586 msgid "Displays a gallery."1587 msgstr ""1588 1589 #: widgets/widgets.php:7461590 msgid "Gallery Images"1591 msgstr ""1592 1593 #: widgets/widgets.php:7471594 msgid "edit gallery"1595 msgstr ""1596 1597 #: widgets/widgets.php:7511598 msgid "Comma separated attachment IDs. Defaults to all current page's attachments."1599 msgstr ""1600 1601 #: widgets/widgets.php:7551602 msgid "Image Size"1603 msgstr ""1604 1605 #: widgets/widgets.php:7581606 msgid "Large"1607 msgstr ""1608 1609 #: widgets/widgets.php:7591610 msgid "Medium"1611 msgstr ""1612 1613 #: widgets/widgets.php:7601614 msgid "Thumbnail"1615 msgstr ""1616 1617 #: widgets/widgets.php:7611618 msgid "Full"1619 msgstr ""1620 1621 #: widgets/widgets.php:7691622 msgid "Gallery Type"1623 msgstr ""1624 1625 #: widgets/widgets.php:7741626 msgid "Columns"1627 msgstr ""1628 1629 #: widgets/widgets.php:7791630 msgid "Link To"1631 msgstr ""1632 1633 #: widgets/widgets.php:7811634 msgid "Attachment Page"1635 msgstr ""1636 1637 #: widgets/widgets.php:7821638 msgid "File"1639 msgstr ""1640 1641 #: widgets/widgets.php:8001642 msgid "Image (PB)"1643 msgstr ""1644 1645 #: widgets/widgets.php:8021646 msgid "Displays a simple image."1647 msgstr ""1648 1649 #: widgets/widgets.php:835, widgets/widgets/animated-image/animated-image.php:151650 msgid "Image URL"1651 msgstr ""1652 1653 #: widgets/widgets.php:839, widgets/widgets/button/button.php:191654 msgid "Destination URL"1655 msgstr ""1656 1657 #: widgets/widgets.php:8531658 msgid "Embedded Video (PB)"1659 msgstr ""1660 1661 #: widgets/widgets.php:8551662 msgid "Embeds a video."1663 msgstr ""1664 1665 #: widgets/widgets.php:8931666 msgid "Video"1667 msgstr ""1668 1669 #: widgets/widgets.php:9091670 msgid "Self Hosted Video (PB)"1671 msgstr ""1672 1673 #: widgets/widgets.php:9111674 msgid "A self hosted video player."1675 msgstr ""1676 1677 #: widgets/widgets.php:9531678 msgid "Video URL"1679 msgstr ""1680 1681 #: widgets/widgets.php:9571682 msgid "Poster URL"1683 msgstr ""1684 1685 #: widgets/widgets.php:9591686 msgid "An image that displays before the video starts playing."1687 msgstr ""1688 1689 #: widgets/widgets.php:9641690 msgid "Auto Play Video"1691 1703 msgstr "" 1692 1704 -
siteorigin-panels/trunk/readme.txt
r2104964 r2141880 2 2 Tags: page builder, responsive, widget, widgets, builder, page, admin, gallery, content, cms, pages, post, css, layout, grid 3 3 Requires at least: 4.4 4 Tested up to: 5.2 4 Tested up to: 5.2.2 5 5 Stable tag: 2.10.6 6 Build time: 2019-0 6-12T11:06:03-07:006 Build time: 2019-08-19T14:07:29+02:00 7 7 License: GPLv3 8 8 License URI: http://www.gnu.org/licenses/gpl.html … … 96 96 97 97 == 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. 98 106 99 107 = 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);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();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 4 4 Plugin URI: https://siteorigin.com/page-builder/ 5 5 Description: A drag and drop, responsive page builder that simplifies building your website. 6 Version: 2.10. 66 Version: 2.10.7 7 7 Author: SiteOrigin 8 8 Author URI: https://siteorigin.com … … 12 12 */ 13 13 14 define( 'SITEORIGIN_PANELS_VERSION', '2.10. 6' );14 define( 'SITEORIGIN_PANELS_VERSION', '2.10.7' ); 15 15 if ( ! defined( 'SITEORIGIN_PANELS_JS_SUFFIX' ) ) { 16 16 define( 'SITEORIGIN_PANELS_JS_SUFFIX', '.min' ); 17 17 } 18 18 define( 'SITEORIGIN_PANELS_CSS_SUFFIX', '.min' ); 19 define( 'SITEORIGIN_PANELS_VERSION_SUFFIX', '-210 6' );19 define( 'SITEORIGIN_PANELS_VERSION_SUFFIX', '-2107' ); 20 20 21 21 require_once plugin_dir_path( __FILE__ ) . 'inc/functions.php'; … … 39 39 add_filter( 'siteorigin_panels_widget_class', array( $this, 'fix_namespace_escaping' ), 5 ); 40 40 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') ); 42 43 43 44 if ( … … 328 329 $content = $content[0]; 329 330 $content = force_balance_tags( $content ); 330 if ( ! empty( $matches[1] ) && ! empty( $more_link_text )) {331 if ( ! empty( $matches[1] ) ) { 331 332 $more_link_text = strip_tags( wp_kses_no_null( trim( $matches[1] ) ) ); 332 333 } else { … … 658 659 659 660 /** 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 /** 660 672 * 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 } 667 684 } 668 685 }
Note: See TracChangeset
for help on using the changeset viewer.