Changeset 3014851
- Timestamp:
- 12/27/2023 09:32:27 PM (2 years ago)
- Location:
- elemailer-lite
- Files:
-
- 24 edited
- 1 copied
-
tags/2.1 (copied) (copied from elemailer-lite/trunk)
-
tags/2.1/app/form-template/view/default-elementor-style.php (modified) (1 diff)
-
tags/2.1/core/global.php (modified) (1 diff)
-
tags/2.1/elemailer-lite.php (modified) (1 diff)
-
tags/2.1/integrations/elementor/assets/css/editor.css (modified) (1 diff)
-
tags/2.1/integrations/elementor/assets/js/editor.js (modified) (13 diffs)
-
tags/2.1/integrations/elementor/widgets/latest-posts/latest-posts.php (modified) (5 diffs)
-
tags/2.1/integrations/elementor/widgets/selected-posts/selected-posts.php (modified) (4 diffs)
-
tags/2.1/languages/elemailer-lite.pot (modified) (22 diffs)
-
tags/2.1/plugin.php (modified) (1 diff)
-
tags/2.1/public/assets/css/elemailer-mail.css (modified) (3 diffs)
-
tags/2.1/public/assets/css/style.css (modified) (1 diff)
-
tags/2.1/readme.txt (modified) (3 diffs)
-
trunk/app/form-template/view/default-elementor-style.php (modified) (1 diff)
-
trunk/core/global.php (modified) (1 diff)
-
trunk/elemailer-lite.php (modified) (1 diff)
-
trunk/integrations/elementor/assets/css/editor.css (modified) (1 diff)
-
trunk/integrations/elementor/assets/js/editor.js (modified) (13 diffs)
-
trunk/integrations/elementor/widgets/latest-posts/latest-posts.php (modified) (5 diffs)
-
trunk/integrations/elementor/widgets/selected-posts/selected-posts.php (modified) (4 diffs)
-
trunk/languages/elemailer-lite.pot (modified) (22 diffs)
-
trunk/plugin.php (modified) (1 diff)
-
trunk/public/assets/css/elemailer-mail.css (modified) (3 diffs)
-
trunk/public/assets/css/style.css (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
elemailer-lite/tags/2.1/app/form-template/view/default-elementor-style.php
r2957801 r3014851 1 <style>h1,h2,h3,h4,h5,h6,p,div,a,span{font-family: Arial, Helvetica, sans-serif;margin: 0px;}h1 {font-size: 36px;line-height: 70px;font-weight: 600;letter-spacing: 1px;margin-bottom: 0px;}h2 {font-size: 24px;line-height: 30px;font-weight: 600;margin-bottom: 0px;}h3 {font-size: 22px;line-height: 24px;font-weight: 600;margin-bottom: 0px;}h4 {font-size: 20px;line-height: 27px;font-weight: 600;}h5 {font-size: 16px;line-height: 24px;font-weight: 600;}h6 {font-size: 14px;line-height: 24px;font-weight: 600;}p {font-size: 14px;line-height: 24px;}img {width: 100%;}a{text-decoration: unset;text-decoration: none;font-weight: 600;line-height: initial;box-shadow: none;cursor: pointer;}.void-section-text p,.void-section-text h1,.void-section-text h2,.void-section-text h3,.void-section-text h4,.void-section-text h5,.void-section-text h6 {margin: 0px auto;display: block;font-family: Arial,Helvetica,sans-serif;color: #000;}h1:before,h2:before {display: none !important;}.elementor *, .elementor {-webkit-box-sizing: border-box;box-sizing: border-box; overflow: auto;}ul li,ol li,ul,ol{font-family: Arial, Helvetica, sans-serif;font-size: 14px;line-height: 20px;margin-left: 0px;overflow: visible!important;}.elementor .elementor-inner, .elementor-section,.elementor-section-wrap{max-width: 600px;margin: 0 auto;}.elementor-widget:not(:last-child) {margin: 0px !important;}.elementor-section .elementor-container {margin-right: auto;margin-left: auto;}.elementor-column-wrap {width: 100%;}.elementor-column-gap-default>.elementor-row>.elementor-column>.elementor-element-populated {padding: 0px;}.elementor-column .elementor-element-populated .elementor-widget-wrap,.elementor-column .elementor-element-populated.elementor-widget-wrap{padding: 10px;}.elementor-widget-wrap {width: 100%;}.elementor:not(.elementor-bc-flex-widget) .elementor-widget-wrap {width: 100%;}.elementor-widget {width: 100%;}.elementor-widget-wrap>.elementor-element {width: 100%;}.elementor-col-100 {width: 100%;}.elementor-col-50 {width: 50%;}.elementor-col-33{width: 33.333%;}.elementor-col-25{width: 25%;}.elementor-col-66{width: 66.666%;}.elementor-col-20{width: 20%;}.elementor-column {float: left;display: inline-block;}.elementor-row {width: 100%;display: block;}.elemailer-play-icon{height: 100%;width: 100%;}.void-email-image-box h3,.void-email-image-box p, .ele-footer-text p, .ele-unsubscribe a{line-height: initial;}.ele-unsubscribe a{text-decoration: underline;}1 <style>h1,h2,h3,h4,h5,h6,p,div,a,span{font-family: Arial, Helvetica, sans-serif;margin: 0px;}h1 {font-size: 36px;line-height: 70px;font-weight: 600;letter-spacing: 1px;margin-bottom: 0px;}h2 {font-size: 24px;line-height: 30px;font-weight: 600;margin-bottom: 0px;}h3 {font-size: 22px;line-height: 24px;font-weight: 600;margin-bottom: 0px;}h4 {font-size: 20px;line-height: 27px;font-weight: 600;}h5 {font-size: 16px;line-height: 24px;font-weight: 600;}h6 {font-size: 14px;line-height: 24px;font-weight: 600;}p {font-size: 14px;line-height: 24px;}img {width: 100%;}a{text-decoration: unset;text-decoration: none;font-weight: 600;line-height: initial;box-shadow: none;cursor: pointer;}.void-section-text p,.void-section-text h1,.void-section-text h2,.void-section-text h3,.void-section-text h4,.void-section-text h5,.void-section-text h6 {margin: 0px auto;display: block;font-family: Arial,Helvetica,sans-serif;color: #000;}h1:before,h2:before {display: none !important;}.elementor *, .elementor {-webkit-box-sizing: border-box;box-sizing: border-box;}ul li,ol li,ul,ol{font-family: Arial, Helvetica, sans-serif;font-size: 14px;line-height: 20px;margin-left: 0px;overflow: visible!important;}.elementor .elementor-inner, .elementor-section,.elementor-section-wrap{max-width: 600px;margin: 0 auto;}.elementor-widget:not(:last-child) {margin: 0px !important;}.elementor-section .elementor-container {margin-right: auto;margin-left: auto;}.elementor-column-wrap {width: 100%;}.elementor-column-gap-default>.elementor-row>.elementor-column>.elementor-element-populated {padding: 0px;}.elementor-column .elementor-element-populated .elementor-widget-wrap,.elementor-column .elementor-element-populated.elementor-widget-wrap{padding: 10px;}.elementor-widget-wrap {width: 100%;}.elementor:not(.elementor-bc-flex-widget) .elementor-widget-wrap {width: 100%;}.elementor-widget {width: 100%;}.elementor-widget-wrap>.elementor-element {width: 100%;}.elementor-col-100 {width: 100%;}.elementor-col-50 {width: 50%;}.elementor-col-33{width: 33.333%;}.elementor-col-25{width: 25%;}.elementor-col-66{width: 66.666%;}.elementor-col-20{width: 20%;}.elementor-column {float: left;display: inline-block;}.elementor-row {width: 100%;display: block;overflow: auto;}.elemailer-play-icon{height: 100%;width: 100%;}.void-email-image-box h3,.void-email-image-box p, .ele-footer-text p, .ele-unsubscribe a{line-height: initial;}.ele-unsubscribe a{text-decoration: underline;}@media screen and (max-width:600px) {.elementor-column {display: block !important;width: 100% !important;}} -
elemailer-lite/tags/2.1/core/global.php
r2716849 r3014851 68 68 wp_die('You are not allowed!'); 69 69 } 70 $taxonomy_type = sanitize_text_field(isset($_POST['taxonomy_type']) ? $_POST['taxonomy_type'] : '');70 //$taxonomy_type = sanitize_text_field(isset($_POST['taxonomy_type']) ? $_POST['taxonomy_type'] : ''); 71 71 $post_type = sanitize_text_field(isset($_POST['post_type']) ? $_POST['post_type'] : ''); 72 72 73 73 $posts = array(); 74 $obj_terms = get_terms(array('taxonomy' => $taxonomy_type));75 $terms = wp_list_pluck($obj_terms, 'slug');74 //$obj_terms = get_terms(array('taxonomy' => $taxonomy_type)); 75 //$terms = wp_list_pluck($obj_terms, 'slug'); 76 76 77 77 $args = array( 78 78 'post_type' => $post_type, 79 79 'posts_per_page' => -1, 80 'tax_query' => array( 81 array( 82 'taxonomy' => $taxonomy_type, 83 'field' => 'slug', 84 'terms' => $terms, 85 ), 86 ), 80 'no_found_rows' => true, 81 'update_post_meta_cache' => false, 82 'update_post_term_cache' => false, 87 83 ); 84 85 // Append our tax-query if we have terms. Make sure it is a valid string or array 86 // if ( $taxonomy_type ) { 87 // $args['tax_query'] = array( 88 // array( 89 // 'taxonomy' => $taxonomy_type, 90 // 'field' => 'slug', 91 // 'terms' => $terms, 92 // ), 93 // ); 94 // } 95 88 96 89 97 $loop = new WP_Query($args); -
elemailer-lite/tags/2.1/elemailer-lite.php
r2957801 r3014851 6 6 * Plugin URI: https://elemailer.com/ 7 7 * Description: Elementor Email template & campaign builder for WordPress 8 * Version: 2. 08 * Version: 2.1 9 9 * Author: elemailer 10 10 * Author URI: https://elemailer.com/ 11 11 * Text Domain: elemailer-lite 12 * Elementor tested up to: 3.1 713 * Elementor Pro tested up to: 3.1 712 * Elementor tested up to: 3.19 13 * Elementor Pro tested up to: 3.19 14 14 * License: GPL-2.0+ 15 15 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt -
elemailer-lite/tags/2.1/integrations/elementor/assets/css/editor.css
r2957801 r3014851 78 78 } 79 79 80 input:disabled{ 81 cursor: not-allowed; 82 } 83 select:disabled,.select2-container--disabled * span{ 84 cursor: not-allowed!important; 85 } 86 .select2-container--disabled ul li{ 87 color: transparent!important; 88 } 89 90 /* CSS for dark mode */ 91 92 .select2-selection ul:not(.select2-selection__rendered){ 93 background: red; 94 } 95 80 96 #elementor-panel-get-pro-elements{ 81 97 background: #93003c; -
elemailer-lite/tags/2.1/integrations/elementor/assets/js/editor.js
r2957801 r3014851 1 1 (function ($) { 2 "use strict"; 2 3 3 4 // call the the functionality of add, edit form when elementor editor panel is open for edit … … 6 7 elemailer_get_taxonomy_for_selected_posts(); 7 8 9 elemailer_addControlSpinner('taxonomy_type'); //add spinner while loading 10 elemailer_addControlSpinner('post_select'); //add spinner while loading 11 8 12 //function to get taxonomy based on post type 9 13 function elemailer_get_taxonomy_for_selected_posts(onload = true) { 10 // console.log('get taxonomy'); 14 15 elemailer_addControlSpinner('taxonomy_type'); //add spinner while loading 16 11 17 var elTaxonomy = $('[data-setting="taxonomy_type"]'); 12 18 13 elTaxonomy.empty();19 $('[data-setting="taxonomy_type"]').empty(); 14 20 //only trigger change to reset selected taxonomy option when post type is actively changed 15 21 if (onload == false && event.type == 'change') { 16 22 //this is needed to reset the selected taxonomy 17 elTaxonomy.trigger('change');23 $('[data-setting="taxonomy_type"]').trigger('change'); 18 24 } 19 25 var post_type = $('[data-setting="post_type"]').val() || model.attributes.settings.attributes.post_type || []; … … 27 33 $.post(elemailer_lite.ajaxUrl, data, function (response) { 28 34 var taxonomy_name = JSON.parse(response); 29 $.each(taxonomy_name, function () { 30 if (this.name == 'post_format') { 31 return; 32 } 33 34 // console.log('taxonomy loop: '+(i++)); 35 elTaxonomy.append('<option value="' + this.name + '">' + this.name + '</option>'); 36 37 }); 38 //set already selected value 39 elTaxonomy.val(model.attributes.settings.attributes.taxonomy_type); 40 elemailer_get_posts_for_selected_posts(elTaxonomy); 41 42 if (elTaxonomy.has('option').length == 0) { 43 elTaxonomy.attr('disabled', 'disabled'); 35 $('[data-setting="taxonomy_type"]').empty(); 36 37 if(Object.keys(taxonomy_name).length!==0){ 38 $.each(taxonomy_name, function () { 39 if (this.name == 'post_format') { 40 return; 41 } 42 43 // console.log('taxonomy loop: '+(i++)); 44 $('[data-setting="taxonomy_type"]').append('<option value="' + this.name + '">' + this.name + '</option>'); 45 46 }); 47 //set already selected value 48 $('[data-setting="taxonomy_type"]').val(model.attributes.settings.attributes.taxonomy_type); 49 50 }else{ 51 $('[data-setting="taxonomy_type"]').val(0).trigger('change'); 52 } 53 54 55 56 elemailer_get_posts_for_selected_posts($('[data-setting="taxonomy_type"]')); 57 58 elemailer_removeControlSpinner('taxonomy_type'); //add spinner while loading 59 60 if ($('[data-setting="taxonomy_type"]').has('option').length == 0) { 61 $('[data-setting="taxonomy_type"]').attr('disabled', 'disabled'); 44 62 } else { 45 elTaxonomy.removeAttr('disabled');63 $('[data-setting="taxonomy_type"]').removeAttr('disabled'); 46 64 } 47 65 });//$.post … … 50 68 //function to get posts based on taxonomy 51 69 function elemailer_get_posts_for_selected_posts(onload = true) { 52 // console.log('get posts'); 70 71 elemailer_addControlSpinner('post_select'); //add spinner while loading 72 73 setTimeout(function () { 74 75 // console.log('get posts'); 53 76 var elPostSelect = $('[data-setting="post_select"]'); 54 //only trigger change to reset selected posts option when taxonomy is actively changed 55 if (event.type == 'change') { 56 elPostSelect.trigger('change'); 57 } 77 58 78 if (typeof (onload) !== 'object') { 59 79 //var taxonomy_type = $('[data-setting="taxonomy_type"]').val(); … … 61 81 } else { 62 82 var taxonomy_type = onload.val(); 63 elPostSelect.empty();83 $('[data-setting="post_select"]').empty(); 64 84 } 65 85 66 86 //if no taxonomy selected stop the function to avoid showing null value in posts 67 if (taxonomy_type == null) { 68 return; 69 } 87 // if (taxonomy_type == null) { 88 // return; 89 // } 90 70 91 var post_type = $('[data-setting="post_type"]').val() || model.attributes.settings.attributes.post_type || []; 71 92 var data = { … … 79 100 $.post(elemailer_lite.ajaxUrl, data, function (response) { 80 101 var posts = JSON.parse(response); 102 $('[data-setting="post_select"]').empty(); 81 103 $.each(posts, function (idx, value) { 82 104 // console.log('posts loop: '+(j++)); 83 elPostSelect.append('<option value="' + idx + '">' + value + '</option>');105 $('[data-setting="post_select"]').append('<option value="' + idx + '">' + value + '</option>'); 84 106 }); 107 108 console.log(typeof (onload)); 85 109 //set already selected value 86 110 if (typeof (onload) === 'object') { 87 elPostSelect.val(model.attributes.settings.attributes.post_select); 88 } 111 $('[data-setting="post_select"]').val(model.attributes.settings.attributes.post_select); 112 } 113 elemailer_removeControlSpinner('post_select'); //add spinner while loading 114 89 115 }); 116 117 }, 1); 118 119 120 121 90 122 91 123 }//elemailer_get_posts_for_selected_posts() … … 93 125 //when moving from Advanced tab to content model variable is null so to pass it's data 94 126 function elemailer_pass_around_model_for_selected_posts(panel, model, view) { 95 // console.log('pass around the model'); 96 // set timeout to load content tab's content 97 setTimeout(function () { 98 elemailer_get_taxonomy_for_selected_posts(); 99 }, 100); 127 128 elemailer_get_posts_for_selected_posts($('[data-setting="post_type"]')); 129 100 130 } 101 131 102 //get taxonomy 103 $('#elementor-controls').on('change', '[data-setting="post_type"]', function (event) { 104 // console.log('post change event'); 105 // pass onload value false, means the value was actively changed 106 elemailer_get_taxonomy_for_selected_posts(false); 107 $('[data-setting="taxonomy_type"]').selectedIndex = -1; 108 return true; 132 const settingsModel = model.get( 'settings' ); 133 134 settingsModel.on( 'change', ( changedModel ) => { 135 136 // if(changedModel.changed.post_type){ 137 // // pass onload value false, means the value was actively changed 138 // elemailer_get_taxonomy_for_selected_posts(false); 139 // $('[data-setting="taxonomy_type"]').selectedIndex = -1; 140 // } 141 if(changedModel.changed.post_type){ 142 //pass $this to keep the changes to each different taxonomy 143 elemailer_get_posts_for_selected_posts($('[data-setting="post_type"]')); 144 $('[data-setting="post_select"]').selectedIndex = -1; 145 } 146 147 } ); 148 149 //this ensures the data remains the same even after switching back from advanced tab to content tab 150 151 elementor.channels.editor.on('elemailer:selectedposts:clicked', function(panel, model, view) { 152 elemailer_pass_around_model_for_selected_posts(panel, model, view); 153 154 console.log('clicked!!!'); 155 }); 156 157 158 159 }); 160 161 elementor.channels.editor.on('editor:widget:elemailer-selected-posts:elemailer_sp_content_section:activated', (panelView)=>{ 162 163 164 165 elementor.channels.editor.trigger( 'elemailer:selectedposts:clicked', require ); 166 167 168 // console.log('outer one', panelView); 169 109 170 }); 110 //get posts 111 $('#elementor-controls').on('change', '[data-setting="taxonomy_type"]', function () { 112 // console.log('taxonomy change event'); 113 //pass $this to keep the changes to each different taxonomy 114 elemailer_get_posts_for_selected_posts($(this)); 115 $('[data-setting="post_select"]').selectedIndex = -1; 116 return true; 117 }); 118 119 //this ensures the data remains the same even after switching back from advanced tab to content tab 120 $(".elementor-panel").mouseenter(function () { 121 elemailer_pass_around_model_for_selected_posts(panel, model, view); 122 123 }); 124 125 }); 171 126 172 127 173 // call the the functionality of add, edit form when elementor editor panel is open for edit 128 174 elementor.hooks.addAction('panel/open_editor/widget/elemailer-latest-posts', function (panel, model, view) { 175 129 176 //call initially to set the already saved data 130 177 elemailer_get_taxonomy_for_latest_posts(); … … 132 179 //function to get taxonomy based on post type 133 180 function elemailer_get_taxonomy_for_latest_posts(onload = true) { 181 182 elemailer_addControlSpinner('taxonomy_type'); //add spinner while loading 183 elemailer_addControlSpinner('terms'); //add spinner while loading 184 134 185 var elTaxonomy = $('[data-setting="taxonomy_type"]'); 135 186 136 elTaxonomy.empty(); 137 //only trigger change to reset selected taxonomy option when post type is actively changed 138 if (onload == false && event.type == 'change') { 139 //this is needed to reset the selected taxonomy 140 elTaxonomy.trigger('change'); 141 } 187 $('[data-setting="taxonomy_type"]').empty(); 188 142 189 var post_type = $('[data-setting="post_type"]').val() || model.attributes.settings.attributes.post_type || []; 143 190 var data = { … … 149 196 $.post(elemailer_lite.ajaxUrl, data, function (response) { 150 197 var taxonomy_name = JSON.parse(response); 151 $.each(taxonomy_name, function () { 152 if (this.name == 'post_format') { 153 return; 154 } 155 156 elTaxonomy.append('<option value="' + this.name + '">' + this.name + '</option>'); 157 158 }); 198 $('[data-setting="taxonomy_type"]').empty(); 199 if(Object.keys(taxonomy_name).length!==0){ 200 $.each(taxonomy_name, function () { 201 if (this.name == 'post_format') { 202 return; 203 } 204 205 $('[data-setting="taxonomy_type"]').append('<option value="' + this.name + '">' + this.name + '</option>'); 206 207 $('[data-setting="taxonomy_type"]').val(model.attributes.settings.attributes.taxonomy_type); 208 209 }); 210 }else{ 211 $('[data-setting="taxonomy_type"]').val(0).trigger('change'); 212 } 213 159 214 //set already selected value 160 elTaxonomy.val(model.attributes.settings.attributes.taxonomy_type); 161 elemailer_get_terms_for_latest_posts(elTaxonomy); 162 163 if (elTaxonomy.has('option').length == 0) { 164 elTaxonomy.attr('disabled', 'disabled'); 215 elemailer_removeControlSpinner('taxonomy_type'); 216 217 elemailer_get_terms_for_latest_posts($('[data-setting="taxonomy_type"]')); 218 219 if ($('[data-setting="taxonomy_type"]').has('option').length == 0) { 220 $('[data-setting="taxonomy_type"]').attr('disabled', 'disabled'); 165 221 } else { 166 elTaxonomy.removeAttr('disabled');222 $('[data-setting="taxonomy_type"]').removeAttr('disabled'); 167 223 } 168 224 });//$.post … … 172 228 function elemailer_get_terms_for_latest_posts(onload = true) { 173 229 var elPostSelect = $('[data-setting="terms"]'); 174 //only trigger change to reset selected terms option when taxonomy is actively changed 175 if (event.type == 'change') { 176 elPostSelect.trigger('change'); 177 } 230 178 231 if (typeof (onload) !== 'object') { 179 232 //var taxonomy_type = $('[data-setting="taxonomy_type"]').val(); 180 233 var taxonomy_type = onload; 181 234 } else { 235 182 236 var taxonomy_type = onload.val(); 183 elPostSelect.empty();237 $('[data-setting="terms"]').empty(); 184 238 } 185 239 … … 198 252 $.post(elemailer_lite.ajaxUrl, data, function (response) { 199 253 var terms = JSON.parse(response); 254 $('[data-setting="terms"]').empty(); 200 255 $.each(terms, function (idx, value) { 201 elPostSelect.append('<option value="' + value.id + '">' + value.name + '</option>');256 $('[data-setting="terms"]').append('<option value="' + value.id + '">' + value.name + '</option>'); 202 257 }); 258 203 259 //set already selected value 204 260 if (typeof (onload) === 'object') { 205 elPostSelect.val(model.attributes.settings.attributes.terms); 206 } 261 $('[data-setting="terms"]').val(model.attributes.settings.attributes.terms); 262 } 263 elemailer_removeControlSpinner('terms'); 264 207 265 }); 208 266 … … 211 269 //when moving from Advanced tab to content model variable is null so to pass it's data 212 270 function elemailer_pass_around_model_for_latest_posts(panel, model, view) { 213 // set timeout to load content tab's content 214 setTimeout(function () { 271 215 272 elemailer_get_taxonomy_for_latest_posts(); 216 }, 100); 273 217 274 } 218 275 219 //get taxonomy 220 $('#elementor-controls').on('change', '[data-setting="post_type"]', function (event) { 221 // pass onload value false, means the value was actively changed 222 elemailer_get_taxonomy_for_latest_posts(false); 223 $('[data-setting="taxonomy_type"]').selectedIndex = -1; 224 return true; 225 }); 226 //get terms 227 $('#elementor-controls').on('change', '[data-setting="taxonomy_type"]', function () { 228 //pass $this to keep the changes to each different taxonomy 229 elemailer_get_terms_for_latest_posts($(this)); 230 $('[data-setting="post_select"]').selectedIndex = -1; 231 return true; 232 }); 276 277 const settingsModel = model.get( 'settings' ); 278 279 settingsModel.on( 'change', ( changedModel ) => { 280 281 console.log('Setting changed'); 282 if(changedModel.changed.post_type){ 283 // pass onload value false, means the value was actively changed 284 elemailer_get_taxonomy_for_latest_posts(false); 285 $('[data-setting="taxonomy_type"]').selectedIndex = -1; 286 } 287 if(changedModel.changed.taxonomy_type){ 288 //pass $this to keep the changes to each different taxonomy 289 elemailer_get_terms_for_latest_posts($('[data-setting="taxonomy_type"]')); 290 $('[data-setting="post_select"]').selectedIndex = -1; 291 } 292 293 } ); 233 294 234 295 //this ensures the data remains the same even after switching back from advanced tab to content tab 235 $(".elementor-panel").mouseenter(function () { 236 elemailer_pass_around_model_for_latest_posts(panel, model, view); 296 elementor.channels.editor.on('section:activated',function(){ 297 if(elementor.getPanelView().currentPageView.activeSection == 'elemailer_lp_content_section'){ 298 299 elemailer_pass_around_model_for_latest_posts(panel, model, view); 300 301 } 237 302 }); 238 303 … … 304 369 elementor.on('preview:loaded', change_exit_link_attr); 305 370 371 /** 372 * Add a spinner to a control inside its control title. 373 * @since 4.1.2 374 * @param {string} controlName - The control name to add the spinner to. 375 * 376 * @return {void} 377 */ 378 // add a preloader for options to load -> pass control name 379 function elemailer_addControlSpinner(controlName) { 380 const thecontrol= '.elementor-control-'+controlName; 381 setTimeout(() => { 382 383 //Exit if there is a spinner already. 384 if ($(thecontrol).find('.elementor-control-spinner').length) { 385 return; 386 } 387 388 const $input = $(thecontrol).find(':input')||$(thecontrol).find('select'); 389 $input.attr('disabled', true); 390 391 $(thecontrol).find('.elementor-control-title').after('<span class="elementor-control-spinner"><i class="eicon-spinner eicon-animation-spin"></i> </span>'); 392 }, "600"); 393 } 394 395 // remove preloader when loaded -> pass control name 396 function elemailer_removeControlSpinner(controlName) { 397 398 const thecontrol= '.elementor-control-'+controlName; 399 400 setTimeout(() => { 401 $(thecontrol).find('.elementor-control-spinner').remove(); 402 const $input = $(thecontrol).find(':input')||$(thecontrol).find('select'); 403 $input.attr('disabled', false); 404 405 }, "800"); 406 } 306 407 307 408 })(jQuery); -
elemailer-lite/tags/2.1/integrations/elementor/widgets/latest-posts/latest-posts.php
r2957801 r3014851 53 53 54 54 $this->start_controls_section( 55 ' content_section',55 'elemailer_lp_content_section', 56 56 [ 57 57 'label' => __('Content', 'elemailer-lite'), … … 83 83 'terms', 84 84 [ 85 'label' => __('Select Terms (usually categories/tags) * Must Select Taxonomy First', 'elemailer-lite'), 85 'label' => __('Select Terms', 'elemailer-lite'), 86 'description' => __('Terms usually mean categories/tags/product tag etc. Important: Select Taxonomy First','elemailer'), 86 87 'type' => Controls_Manager::SELECT2, 87 88 'label_block' => true, … … 94 95 ); 95 96 97 96 98 $this->end_controls_section(); 97 99 … … 109 111 'label' => __('Posts per page', 'elemailer-lite'), 110 112 'type' => Controls_Manager::NUMBER, 111 'min' => 1,112 'max' => 30,113 113 'step' => 1, 114 114 'default' => 5, … … 284 284 'type' => Controls_Manager::NUMBER, 285 285 'min' => 1, 286 'max' => 30,287 286 'step' => 1, 288 287 'default' => 15, -
elemailer-lite/tags/2.1/integrations/elementor/widgets/selected-posts/selected-posts.php
r2957801 r3014851 49 49 50 50 $this->start_controls_section( 51 ' content_section',51 'elemailer_sp_content_section', 52 52 [ 53 53 'label' => __('Content', 'elemailer-lite'), … … 72 72 'type' => Controls_Manager::SELECT, 73 73 'label_block' => true, 74 'classes' => 'elementor-panel-alert elementor-panel-alert-warning', 75 'description' => __('Select Taxonomy is kept for future use to allow users to select Taxonomy type and then select term to narrow down their selected post list below. For now Skip this','elemailer'), 74 76 'options' => (object) array(), 75 77 'condition' => [ 76 'post_type!' => '',77 78 //'post_type!' => '', 79 'taxonomy_type' => 'hidden', 78 80 ], 79 81 … … 84 86 'post_select', 85 87 [ 86 'label' => __(' Post select', 'elemailer-lite'),88 'label' => __('Selected Posts', 'elemailer-lite'), 87 89 'type' => Controls_Manager::SELECT2, 88 90 'label_block' => true, 89 91 'options' => '', 90 92 'multiple' => true, 91 'condition' => [ 92 'taxonomy_type!' => '', 93 94 ], 95 ] 96 ); 93 // 'condition' => [ 94 // 'taxonomy_type!' => '', 95 96 // ], 97 ] 98 ); 99 97 100 98 101 $this->end_controls_section(); … … 242 245 'type' => Controls_Manager::NUMBER, 243 246 'min' => 1, 244 'max' => 30,245 247 'step' => 1, 246 248 'default' => 15, -
elemailer-lite/tags/2.1/languages/elemailer-lite.pot
r2957801 r3014851 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Elemailer Lite 2. 0\n"5 "Project-Id-Version: Elemailer Lite 2.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/elemailer-lite\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2023- 08-24T10:21:37+00:00\n"12 "POT-Creation-Date: 2023-12-27T21:31:13+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2. 8.1\n"14 "X-Generator: WP-CLI 2.9.0\n" 15 15 "X-Domain: elemailer-lite\n" 16 16 … … 186 186 #: integrations/elementor/widgets/image-box/image-box.php:384 187 187 #: integrations/elementor/widgets/image/image.php:185 188 #: integrations/elementor/widgets/latest-posts/latest-posts.php:58 9189 #: integrations/elementor/widgets/selected-posts/selected-posts.php:5 48188 #: integrations/elementor/widgets/latest-posts/latest-posts.php:588 189 #: integrations/elementor/widgets/selected-posts/selected-posts.php:550 190 190 #: integrations/elementor/widgets/shortcode/shortcode.php:287 191 191 #: integrations/elementor/widgets/social/social.php:303 … … 208 208 #: integrations/elementor/widgets/image-box/image-box.php:388 209 209 #: integrations/elementor/widgets/image/image.php:189 210 #: integrations/elementor/widgets/latest-posts/latest-posts.php:37 3211 #: integrations/elementor/widgets/latest-posts/latest-posts.php:44 4212 #: integrations/elementor/widgets/latest-posts/latest-posts.php:51 6213 #: integrations/elementor/widgets/latest-posts/latest-posts.php:59 3214 #: integrations/elementor/widgets/selected-posts/selected-posts.php:33 0215 #: integrations/elementor/widgets/selected-posts/selected-posts.php:40 2216 #: integrations/elementor/widgets/selected-posts/selected-posts.php:47 4217 #: integrations/elementor/widgets/selected-posts/selected-posts.php:55 2210 #: integrations/elementor/widgets/latest-posts/latest-posts.php:372 211 #: integrations/elementor/widgets/latest-posts/latest-posts.php:443 212 #: integrations/elementor/widgets/latest-posts/latest-posts.php:515 213 #: integrations/elementor/widgets/latest-posts/latest-posts.php:592 214 #: integrations/elementor/widgets/selected-posts/selected-posts.php:332 215 #: integrations/elementor/widgets/selected-posts/selected-posts.php:404 216 #: integrations/elementor/widgets/selected-posts/selected-posts.php:476 217 #: integrations/elementor/widgets/selected-posts/selected-posts.php:554 218 218 #: integrations/elementor/widgets/shortcode/shortcode.php:171 219 219 #: integrations/elementor/widgets/shortcode/shortcode.php:215 … … 235 235 #: integrations/elementor/widgets/image/image.php:27 236 236 #: integrations/elementor/widgets/image/image.php:190 237 #: integrations/elementor/widgets/latest-posts/latest-posts.php:59 4238 #: integrations/elementor/widgets/selected-posts/selected-posts.php:55 3237 #: integrations/elementor/widgets/latest-posts/latest-posts.php:593 238 #: integrations/elementor/widgets/selected-posts/selected-posts.php:555 239 239 #: integrations/elementor/widgets/shortcode/shortcode.php:292 240 240 #: integrations/elementor/widgets/social/social.php:308 … … 252 252 #: integrations/elementor/widgets/image-box/image-box.php:397 253 253 #: integrations/elementor/widgets/image/image.php:198 254 #: integrations/elementor/widgets/latest-posts/latest-posts.php:60 2255 #: integrations/elementor/widgets/selected-posts/selected-posts.php:56 1254 #: integrations/elementor/widgets/latest-posts/latest-posts.php:601 255 #: integrations/elementor/widgets/selected-posts/selected-posts.php:563 256 256 #: integrations/elementor/widgets/shortcode/shortcode.php:300 257 257 #: integrations/elementor/widgets/social/social.php:316 … … 271 271 #: integrations/elementor/widgets/image/image.php:64 272 272 #: integrations/elementor/widgets/image/image.php:215 273 #: integrations/elementor/widgets/latest-posts/latest-posts.php:61 9274 #: integrations/elementor/widgets/selected-posts/selected-posts.php:5 78273 #: integrations/elementor/widgets/latest-posts/latest-posts.php:618 274 #: integrations/elementor/widgets/selected-posts/selected-posts.php:580 275 275 #: integrations/elementor/widgets/shortcode/shortcode.php:311 276 276 #: integrations/elementor/widgets/social/social.php:333 … … 454 454 #: integrations/elementor/widgets/image-box/image-box.php:120 455 455 #: integrations/elementor/widgets/image/image.php:95 456 #: integrations/elementor/widgets/latest-posts/latest-posts.php:33 7457 #: integrations/elementor/widgets/selected-posts/selected-posts.php:29 5456 #: integrations/elementor/widgets/latest-posts/latest-posts.php:336 457 #: integrations/elementor/widgets/selected-posts/selected-posts.php:297 458 458 #: integrations/elementor/widgets/shortcode/shortcode.php:115 459 459 #: integrations/elementor/widgets/social/social.php:175 … … 469 469 #: integrations/elementor/widgets/image/image.php:99 470 470 #: integrations/elementor/widgets/latest-posts/latest-posts.php:195 471 #: integrations/elementor/widgets/latest-posts/latest-posts.php:34 1472 #: integrations/elementor/widgets/selected-posts/selected-posts.php:15 3473 #: integrations/elementor/widgets/selected-posts/selected-posts.php: 299471 #: integrations/elementor/widgets/latest-posts/latest-posts.php:340 472 #: integrations/elementor/widgets/selected-posts/selected-posts.php:156 473 #: integrations/elementor/widgets/selected-posts/selected-posts.php:301 474 474 #: integrations/elementor/widgets/shortcode/shortcode.php:69 475 475 #: integrations/elementor/widgets/shortcode/shortcode.php:119 … … 484 484 #: integrations/elementor/widgets/image-box/image-box.php:128 485 485 #: integrations/elementor/widgets/image/image.php:103 486 #: integrations/elementor/widgets/latest-posts/latest-posts.php:34 5487 #: integrations/elementor/widgets/selected-posts/selected-posts.php:30 3486 #: integrations/elementor/widgets/latest-posts/latest-posts.php:344 487 #: integrations/elementor/widgets/selected-posts/selected-posts.php:305 488 488 #: integrations/elementor/widgets/shortcode/shortcode.php:123 489 489 #: integrations/elementor/widgets/social/social.php:183 … … 499 499 #: integrations/elementor/widgets/image/image.php:107 500 500 #: integrations/elementor/widgets/latest-posts/latest-posts.php:196 501 #: integrations/elementor/widgets/latest-posts/latest-posts.php:34 9502 #: integrations/elementor/widgets/selected-posts/selected-posts.php:15 4503 #: integrations/elementor/widgets/selected-posts/selected-posts.php:30 7501 #: integrations/elementor/widgets/latest-posts/latest-posts.php:348 502 #: integrations/elementor/widgets/selected-posts/selected-posts.php:157 503 #: integrations/elementor/widgets/selected-posts/selected-posts.php:309 504 504 #: integrations/elementor/widgets/shortcode/shortcode.php:127 505 505 #: integrations/elementor/widgets/social/social.php:187 … … 523 523 #: integrations/elementor/widgets/image-box/image-box.php:375 524 524 #: integrations/elementor/widgets/image/image.php:176 525 #: integrations/elementor/widgets/latest-posts/latest-posts.php:5 80526 #: integrations/elementor/widgets/selected-posts/selected-posts.php:5 39525 #: integrations/elementor/widgets/latest-posts/latest-posts.php:579 526 #: integrations/elementor/widgets/selected-posts/selected-posts.php:541 527 527 #: integrations/elementor/widgets/shortcode/shortcode.php:278 528 528 #: integrations/elementor/widgets/social/social.php:294 … … 542 542 #: integrations/elementor/widgets/image-box/image-box.php:242 543 543 #: integrations/elementor/widgets/image-box/image-box.php:329 544 #: integrations/elementor/widgets/latest-posts/latest-posts.php:38 9545 #: integrations/elementor/widgets/latest-posts/latest-posts.php:4 60546 #: integrations/elementor/widgets/latest-posts/latest-posts.php:53 2547 #: integrations/elementor/widgets/selected-posts/selected-posts.php:34 6548 #: integrations/elementor/widgets/selected-posts/selected-posts.php:4 18549 #: integrations/elementor/widgets/selected-posts/selected-posts.php:49 0544 #: integrations/elementor/widgets/latest-posts/latest-posts.php:388 545 #: integrations/elementor/widgets/latest-posts/latest-posts.php:459 546 #: integrations/elementor/widgets/latest-posts/latest-posts.php:531 547 #: integrations/elementor/widgets/selected-posts/selected-posts.php:348 548 #: integrations/elementor/widgets/selected-posts/selected-posts.php:420 549 #: integrations/elementor/widgets/selected-posts/selected-posts.php:492 550 550 #: integrations/elementor/widgets/shortcode/shortcode.php:186 551 551 #: integrations/elementor/widgets/shortcode/shortcode.php:230 … … 559 559 #: integrations/elementor/widgets/image-box/image-box.php:351 560 560 #: integrations/elementor/widgets/image/image.php:152 561 #: integrations/elementor/widgets/latest-posts/latest-posts.php:55 6562 #: integrations/elementor/widgets/selected-posts/selected-posts.php:51 5561 #: integrations/elementor/widgets/latest-posts/latest-posts.php:555 562 #: integrations/elementor/widgets/selected-posts/selected-posts.php:517 563 563 #: integrations/elementor/widgets/shortcode/shortcode.php:254 564 564 #: integrations/elementor/widgets/social/social.php:270 … … 575 575 #: integrations/elementor/widgets/image-box/image-box.php:359 576 576 #: integrations/elementor/widgets/image/image.php:160 577 #: integrations/elementor/widgets/latest-posts/latest-posts.php:56 4578 #: integrations/elementor/widgets/selected-posts/selected-posts.php:52 3577 #: integrations/elementor/widgets/latest-posts/latest-posts.php:563 578 #: integrations/elementor/widgets/selected-posts/selected-posts.php:525 579 579 #: integrations/elementor/widgets/shortcode/shortcode.php:262 580 580 #: integrations/elementor/widgets/social/social.php:278 … … 656 656 #: integrations/elementor/widgets/image-box/image-box.php:219 657 657 #: integrations/elementor/widgets/latest-posts/latest-posts.php:252 658 #: integrations/elementor/widgets/latest-posts/latest-posts.php:36 5659 #: integrations/elementor/widgets/selected-posts/selected-posts.php:21 0660 #: integrations/elementor/widgets/selected-posts/selected-posts.php:32 2658 #: integrations/elementor/widgets/latest-posts/latest-posts.php:364 659 #: integrations/elementor/widgets/selected-posts/selected-posts.php:213 660 #: integrations/elementor/widgets/selected-posts/selected-posts.php:324 661 661 msgid "Title" 662 662 msgstr "" … … 672 672 673 673 #: integrations/elementor/widgets/heading/heading.php:156 674 #: integrations/elementor/widgets/latest-posts/latest-posts.php:41 2675 #: integrations/elementor/widgets/latest-posts/latest-posts.php:48 3676 #: integrations/elementor/widgets/selected-posts/selected-posts.php:3 69677 #: integrations/elementor/widgets/selected-posts/selected-posts.php:44 1674 #: integrations/elementor/widgets/latest-posts/latest-posts.php:411 675 #: integrations/elementor/widgets/latest-posts/latest-posts.php:482 676 #: integrations/elementor/widgets/selected-posts/selected-posts.php:371 677 #: integrations/elementor/widgets/selected-posts/selected-posts.php:443 678 678 msgid "Line Height (px)" 679 679 msgstr "" … … 711 711 #: integrations/elementor/widgets/image-box/image-box.php:104 712 712 #: integrations/elementor/widgets/latest-posts/latest-posts.php:194 713 #: integrations/elementor/widgets/selected-posts/selected-posts.php:15 2713 #: integrations/elementor/widgets/selected-posts/selected-posts.php:155 714 714 #: integrations/elementor/widgets/shortcode/shortcode.php:68 715 715 msgid "Top" … … 770 770 771 771 #: integrations/elementor/widgets/latest-posts/latest-posts.php:85 772 msgid "Select Terms (usually categories/tags) * Must Select Taxonomy First"773 msgstr "" 774 775 #: integrations/elementor/widgets/latest-posts/latest-posts.php:10 1776 #: integrations/elementor/widgets/selected-posts/selected-posts.php:10 3772 msgid "Select Terms" 773 msgstr "" 774 775 #: integrations/elementor/widgets/latest-posts/latest-posts.php:103 776 #: integrations/elementor/widgets/selected-posts/selected-posts.php:106 777 777 #: plugin.php:362 778 778 msgid "Settings" 779 779 msgstr "" 780 780 781 #: integrations/elementor/widgets/latest-posts/latest-posts.php:1 09781 #: integrations/elementor/widgets/latest-posts/latest-posts.php:111 782 782 msgid "Posts per page" 783 783 msgstr "" 784 784 785 785 #: integrations/elementor/widgets/latest-posts/latest-posts.php:124 786 #: integrations/elementor/widgets/selected-posts/selected-posts.php:11 1786 #: integrations/elementor/widgets/selected-posts/selected-posts.php:114 787 787 msgid "Posts Per Row" 788 788 msgstr "" … … 797 797 798 798 #: integrations/elementor/widgets/latest-posts/latest-posts.php:170 799 #: integrations/elementor/widgets/selected-posts/selected-posts.php:1 28799 #: integrations/elementor/widgets/selected-posts/selected-posts.php:131 800 800 msgid "Layout" 801 801 msgstr "" 802 802 803 803 #: integrations/elementor/widgets/latest-posts/latest-posts.php:178 804 #: integrations/elementor/widgets/selected-posts/selected-posts.php:13 6804 #: integrations/elementor/widgets/selected-posts/selected-posts.php:139 805 805 msgid "Display Thumbnail" 806 806 msgstr "" … … 809 809 #: integrations/elementor/widgets/latest-posts/latest-posts.php:254 810 810 #: integrations/elementor/widgets/latest-posts/latest-posts.php:273 811 #: integrations/elementor/widgets/latest-posts/latest-posts.php:30 7812 #: integrations/elementor/widgets/selected-posts/selected-posts.php:1 38813 #: integrations/elementor/widgets/selected-posts/selected-posts.php:21 2814 #: integrations/elementor/widgets/selected-posts/selected-posts.php:23 1815 #: integrations/elementor/widgets/selected-posts/selected-posts.php:26 5811 #: integrations/elementor/widgets/latest-posts/latest-posts.php:306 812 #: integrations/elementor/widgets/selected-posts/selected-posts.php:141 813 #: integrations/elementor/widgets/selected-posts/selected-posts.php:215 814 #: integrations/elementor/widgets/selected-posts/selected-posts.php:234 815 #: integrations/elementor/widgets/selected-posts/selected-posts.php:267 816 816 msgid "Show" 817 817 msgstr "" … … 820 820 #: integrations/elementor/widgets/latest-posts/latest-posts.php:255 821 821 #: integrations/elementor/widgets/latest-posts/latest-posts.php:274 822 #: integrations/elementor/widgets/latest-posts/latest-posts.php:308 823 #: integrations/elementor/widgets/selected-posts/selected-posts.php:139 824 #: integrations/elementor/widgets/selected-posts/selected-posts.php:213 822 #: integrations/elementor/widgets/latest-posts/latest-posts.php:307 823 #: integrations/elementor/widgets/selected-posts/selected-posts.php:142 824 #: integrations/elementor/widgets/selected-posts/selected-posts.php:216 825 #: integrations/elementor/widgets/selected-posts/selected-posts.php:235 826 #: integrations/elementor/widgets/selected-posts/selected-posts.php:268 827 msgid "Hide" 828 msgstr "" 829 830 #: integrations/elementor/widgets/latest-posts/latest-posts.php:190 831 #: integrations/elementor/widgets/selected-posts/selected-posts.php:151 832 msgid "Image position" 833 msgstr "" 834 835 #: integrations/elementor/widgets/latest-posts/latest-posts.php:209 836 #: integrations/elementor/widgets/selected-posts/selected-posts.php:170 837 msgid "Image size" 838 msgstr "" 839 840 #: integrations/elementor/widgets/latest-posts/latest-posts.php:222 841 #: integrations/elementor/widgets/selected-posts/selected-posts.php:183 842 msgid "Width(%)" 843 msgstr "" 844 845 #: integrations/elementor/widgets/latest-posts/latest-posts.php:271 846 #: integrations/elementor/widgets/latest-posts/latest-posts.php:435 825 847 #: integrations/elementor/widgets/selected-posts/selected-posts.php:232 826 #: integrations/elementor/widgets/selected-posts/selected-posts.php:266 827 msgid "Hide" 828 msgstr "" 829 830 #: integrations/elementor/widgets/latest-posts/latest-posts.php:190 831 #: integrations/elementor/widgets/selected-posts/selected-posts.php:148 832 msgid "Image position" 833 msgstr "" 834 835 #: integrations/elementor/widgets/latest-posts/latest-posts.php:209 836 #: integrations/elementor/widgets/selected-posts/selected-posts.php:167 837 msgid "Image size" 838 msgstr "" 839 840 #: integrations/elementor/widgets/latest-posts/latest-posts.php:222 841 #: integrations/elementor/widgets/selected-posts/selected-posts.php:180 842 msgid "Width(%)" 843 msgstr "" 844 845 #: integrations/elementor/widgets/latest-posts/latest-posts.php:271 846 #: integrations/elementor/widgets/latest-posts/latest-posts.php:436 847 #: integrations/elementor/widgets/selected-posts/selected-posts.php:229 848 #: integrations/elementor/widgets/selected-posts/selected-posts.php:394 848 #: integrations/elementor/widgets/selected-posts/selected-posts.php:396 849 849 msgid "Excerpt" 850 850 msgstr "" 851 851 852 852 #: integrations/elementor/widgets/latest-posts/latest-posts.php:283 853 #: integrations/elementor/widgets/selected-posts/selected-posts.php:24 1853 #: integrations/elementor/widgets/selected-posts/selected-posts.php:244 854 854 msgid "Excerpt Length" 855 855 msgstr "" 856 856 857 #: integrations/elementor/widgets/latest-posts/latest-posts.php:30 5858 #: integrations/elementor/widgets/latest-posts/latest-posts.php:50 8859 #: integrations/elementor/widgets/selected-posts/selected-posts.php:26 3860 #: integrations/elementor/widgets/selected-posts/selected-posts.php:46 6857 #: integrations/elementor/widgets/latest-posts/latest-posts.php:304 858 #: integrations/elementor/widgets/latest-posts/latest-posts.php:507 859 #: integrations/elementor/widgets/selected-posts/selected-posts.php:265 860 #: integrations/elementor/widgets/selected-posts/selected-posts.php:468 861 861 msgid "Read More" 862 862 msgstr "" 863 863 864 #: integrations/elementor/widgets/latest-posts/latest-posts.php:31 7865 #: integrations/elementor/widgets/selected-posts/selected-posts.php:27 5864 #: integrations/elementor/widgets/latest-posts/latest-posts.php:316 865 #: integrations/elementor/widgets/selected-posts/selected-posts.php:277 866 866 msgid "Read More Text" 867 867 msgstr "" 868 868 869 #: integrations/elementor/widgets/latest-posts/latest-posts.php:318 870 #: integrations/elementor/widgets/selected-posts/selected-posts.php:279 871 msgid "Read More »" 872 msgstr "" 873 869 874 #: integrations/elementor/widgets/latest-posts/latest-posts.php:319 870 #: integrations/elementor/widgets/selected-posts/selected-posts.php:277 871 msgid "Read More »" 872 msgstr "" 873 874 #: integrations/elementor/widgets/latest-posts/latest-posts.php:320 875 #: integrations/elementor/widgets/selected-posts/selected-posts.php:278 875 #: integrations/elementor/widgets/selected-posts/selected-posts.php:280 876 876 msgid "Type your read more text here" 877 877 msgstr "" 878 878 879 879 #: integrations/elementor/widgets/selected-posts/selected-posts.php:23 880 #: integrations/elementor/widgets/selected-posts/selected-posts.php:88 880 881 msgid "Selected Posts" 881 msgstr ""882 883 #: integrations/elementor/widgets/selected-posts/selected-posts.php:86884 msgid "Post select"885 882 msgstr "" 886 883 -
elemailer-lite/tags/2.1/plugin.php
r2957801 r3014851 43 43 public function define_constant() 44 44 { 45 define( 'ELE_MAILER_LITE_VERSION', '2. 0' );45 define( 'ELE_MAILER_LITE_VERSION', '2.1' ); 46 46 define( 'ELE_MAILER_LITE_PACKAGE', 'free' ); 47 47 define( 'ELE_MAILER_LITE_PLUGIN_URL', trailingslashit(plugin_dir_url(__FILE__ ) ) ); -
elemailer-lite/tags/2.1/public/assets/css/elemailer-mail.css
r2957801 r3014851 82 82 -webkit-box-sizing: border-box; 83 83 box-sizing: border-box; 84 overflow: auto;85 84 } 86 85 ul li,ol li,ul,ol{ … … 152 151 width: 100%; 153 152 display: block; 153 overflow: auto; 154 154 } 155 155 .elemailer-play-icon{ … … 164 164 } 165 165 166 @media screen and (max-width:600px) { 167 .elementor-column { 168 display: block !important; 169 width: 100% !important; 170 } 171 } 166 172 /* Default elementor CSS for layout and basic structures END */ -
elemailer-lite/tags/2.1/public/assets/css/style.css
r2957801 r3014851 161 161 } 162 162 /* hide admin bar elementor editor end */ 163 .elementor-row { 164 overflow: auto; 165 } -
elemailer-lite/tags/2.1/readme.txt
r3014812 r3014851 3 3 Tags: email, cf7, email template, elementor addons, email marketing, email template builder, elementor, contact form 7, email design, woocommerce email customizer, free email builder, ai 4 4 Requires at least: 4.5 5 Tested up to: 6. 35 Tested up to: 6.4.2 6 6 Requires PHP: 7.2 7 Stable tag: 2. 07 Stable tag: 2.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 147 147 148 148 == Changelog == 149 = 2.1 = 150 * Fix: Selected & Latest post widget flicker 151 * Fix: Some CSS fixes for emails overflow 152 * Fix: Limitation in Selected & Latest post widget for numbers 153 * Tewak: Removed confusing control from Selected posts widget 149 154 = 2.0 = 150 155 * Tweak: Compatibility with Latest Elementor & WordPress … … 184 189 * Fix: CSS fix for email 185 190 * Fix: 3rd party plugin panel and template library showing 186 * Fix: Elementor latest version compatibility191 * Fix: Elementor latest version Compatibility 187 192 * Fix: Removed container as it's not supported in email 188 193 = 1.0.10 = -
elemailer-lite/trunk/app/form-template/view/default-elementor-style.php
r2957801 r3014851 1 <style>h1,h2,h3,h4,h5,h6,p,div,a,span{font-family: Arial, Helvetica, sans-serif;margin: 0px;}h1 {font-size: 36px;line-height: 70px;font-weight: 600;letter-spacing: 1px;margin-bottom: 0px;}h2 {font-size: 24px;line-height: 30px;font-weight: 600;margin-bottom: 0px;}h3 {font-size: 22px;line-height: 24px;font-weight: 600;margin-bottom: 0px;}h4 {font-size: 20px;line-height: 27px;font-weight: 600;}h5 {font-size: 16px;line-height: 24px;font-weight: 600;}h6 {font-size: 14px;line-height: 24px;font-weight: 600;}p {font-size: 14px;line-height: 24px;}img {width: 100%;}a{text-decoration: unset;text-decoration: none;font-weight: 600;line-height: initial;box-shadow: none;cursor: pointer;}.void-section-text p,.void-section-text h1,.void-section-text h2,.void-section-text h3,.void-section-text h4,.void-section-text h5,.void-section-text h6 {margin: 0px auto;display: block;font-family: Arial,Helvetica,sans-serif;color: #000;}h1:before,h2:before {display: none !important;}.elementor *, .elementor {-webkit-box-sizing: border-box;box-sizing: border-box; overflow: auto;}ul li,ol li,ul,ol{font-family: Arial, Helvetica, sans-serif;font-size: 14px;line-height: 20px;margin-left: 0px;overflow: visible!important;}.elementor .elementor-inner, .elementor-section,.elementor-section-wrap{max-width: 600px;margin: 0 auto;}.elementor-widget:not(:last-child) {margin: 0px !important;}.elementor-section .elementor-container {margin-right: auto;margin-left: auto;}.elementor-column-wrap {width: 100%;}.elementor-column-gap-default>.elementor-row>.elementor-column>.elementor-element-populated {padding: 0px;}.elementor-column .elementor-element-populated .elementor-widget-wrap,.elementor-column .elementor-element-populated.elementor-widget-wrap{padding: 10px;}.elementor-widget-wrap {width: 100%;}.elementor:not(.elementor-bc-flex-widget) .elementor-widget-wrap {width: 100%;}.elementor-widget {width: 100%;}.elementor-widget-wrap>.elementor-element {width: 100%;}.elementor-col-100 {width: 100%;}.elementor-col-50 {width: 50%;}.elementor-col-33{width: 33.333%;}.elementor-col-25{width: 25%;}.elementor-col-66{width: 66.666%;}.elementor-col-20{width: 20%;}.elementor-column {float: left;display: inline-block;}.elementor-row {width: 100%;display: block;}.elemailer-play-icon{height: 100%;width: 100%;}.void-email-image-box h3,.void-email-image-box p, .ele-footer-text p, .ele-unsubscribe a{line-height: initial;}.ele-unsubscribe a{text-decoration: underline;}1 <style>h1,h2,h3,h4,h5,h6,p,div,a,span{font-family: Arial, Helvetica, sans-serif;margin: 0px;}h1 {font-size: 36px;line-height: 70px;font-weight: 600;letter-spacing: 1px;margin-bottom: 0px;}h2 {font-size: 24px;line-height: 30px;font-weight: 600;margin-bottom: 0px;}h3 {font-size: 22px;line-height: 24px;font-weight: 600;margin-bottom: 0px;}h4 {font-size: 20px;line-height: 27px;font-weight: 600;}h5 {font-size: 16px;line-height: 24px;font-weight: 600;}h6 {font-size: 14px;line-height: 24px;font-weight: 600;}p {font-size: 14px;line-height: 24px;}img {width: 100%;}a{text-decoration: unset;text-decoration: none;font-weight: 600;line-height: initial;box-shadow: none;cursor: pointer;}.void-section-text p,.void-section-text h1,.void-section-text h2,.void-section-text h3,.void-section-text h4,.void-section-text h5,.void-section-text h6 {margin: 0px auto;display: block;font-family: Arial,Helvetica,sans-serif;color: #000;}h1:before,h2:before {display: none !important;}.elementor *, .elementor {-webkit-box-sizing: border-box;box-sizing: border-box;}ul li,ol li,ul,ol{font-family: Arial, Helvetica, sans-serif;font-size: 14px;line-height: 20px;margin-left: 0px;overflow: visible!important;}.elementor .elementor-inner, .elementor-section,.elementor-section-wrap{max-width: 600px;margin: 0 auto;}.elementor-widget:not(:last-child) {margin: 0px !important;}.elementor-section .elementor-container {margin-right: auto;margin-left: auto;}.elementor-column-wrap {width: 100%;}.elementor-column-gap-default>.elementor-row>.elementor-column>.elementor-element-populated {padding: 0px;}.elementor-column .elementor-element-populated .elementor-widget-wrap,.elementor-column .elementor-element-populated.elementor-widget-wrap{padding: 10px;}.elementor-widget-wrap {width: 100%;}.elementor:not(.elementor-bc-flex-widget) .elementor-widget-wrap {width: 100%;}.elementor-widget {width: 100%;}.elementor-widget-wrap>.elementor-element {width: 100%;}.elementor-col-100 {width: 100%;}.elementor-col-50 {width: 50%;}.elementor-col-33{width: 33.333%;}.elementor-col-25{width: 25%;}.elementor-col-66{width: 66.666%;}.elementor-col-20{width: 20%;}.elementor-column {float: left;display: inline-block;}.elementor-row {width: 100%;display: block;overflow: auto;}.elemailer-play-icon{height: 100%;width: 100%;}.void-email-image-box h3,.void-email-image-box p, .ele-footer-text p, .ele-unsubscribe a{line-height: initial;}.ele-unsubscribe a{text-decoration: underline;}@media screen and (max-width:600px) {.elementor-column {display: block !important;width: 100% !important;}} -
elemailer-lite/trunk/core/global.php
r2716849 r3014851 68 68 wp_die('You are not allowed!'); 69 69 } 70 $taxonomy_type = sanitize_text_field(isset($_POST['taxonomy_type']) ? $_POST['taxonomy_type'] : '');70 //$taxonomy_type = sanitize_text_field(isset($_POST['taxonomy_type']) ? $_POST['taxonomy_type'] : ''); 71 71 $post_type = sanitize_text_field(isset($_POST['post_type']) ? $_POST['post_type'] : ''); 72 72 73 73 $posts = array(); 74 $obj_terms = get_terms(array('taxonomy' => $taxonomy_type));75 $terms = wp_list_pluck($obj_terms, 'slug');74 //$obj_terms = get_terms(array('taxonomy' => $taxonomy_type)); 75 //$terms = wp_list_pluck($obj_terms, 'slug'); 76 76 77 77 $args = array( 78 78 'post_type' => $post_type, 79 79 'posts_per_page' => -1, 80 'tax_query' => array( 81 array( 82 'taxonomy' => $taxonomy_type, 83 'field' => 'slug', 84 'terms' => $terms, 85 ), 86 ), 80 'no_found_rows' => true, 81 'update_post_meta_cache' => false, 82 'update_post_term_cache' => false, 87 83 ); 84 85 // Append our tax-query if we have terms. Make sure it is a valid string or array 86 // if ( $taxonomy_type ) { 87 // $args['tax_query'] = array( 88 // array( 89 // 'taxonomy' => $taxonomy_type, 90 // 'field' => 'slug', 91 // 'terms' => $terms, 92 // ), 93 // ); 94 // } 95 88 96 89 97 $loop = new WP_Query($args); -
elemailer-lite/trunk/elemailer-lite.php
r2957801 r3014851 6 6 * Plugin URI: https://elemailer.com/ 7 7 * Description: Elementor Email template & campaign builder for WordPress 8 * Version: 2. 08 * Version: 2.1 9 9 * Author: elemailer 10 10 * Author URI: https://elemailer.com/ 11 11 * Text Domain: elemailer-lite 12 * Elementor tested up to: 3.1 713 * Elementor Pro tested up to: 3.1 712 * Elementor tested up to: 3.19 13 * Elementor Pro tested up to: 3.19 14 14 * License: GPL-2.0+ 15 15 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt -
elemailer-lite/trunk/integrations/elementor/assets/css/editor.css
r2957801 r3014851 78 78 } 79 79 80 input:disabled{ 81 cursor: not-allowed; 82 } 83 select:disabled,.select2-container--disabled * span{ 84 cursor: not-allowed!important; 85 } 86 .select2-container--disabled ul li{ 87 color: transparent!important; 88 } 89 90 /* CSS for dark mode */ 91 92 .select2-selection ul:not(.select2-selection__rendered){ 93 background: red; 94 } 95 80 96 #elementor-panel-get-pro-elements{ 81 97 background: #93003c; -
elemailer-lite/trunk/integrations/elementor/assets/js/editor.js
r2957801 r3014851 1 1 (function ($) { 2 "use strict"; 2 3 3 4 // call the the functionality of add, edit form when elementor editor panel is open for edit … … 6 7 elemailer_get_taxonomy_for_selected_posts(); 7 8 9 elemailer_addControlSpinner('taxonomy_type'); //add spinner while loading 10 elemailer_addControlSpinner('post_select'); //add spinner while loading 11 8 12 //function to get taxonomy based on post type 9 13 function elemailer_get_taxonomy_for_selected_posts(onload = true) { 10 // console.log('get taxonomy'); 14 15 elemailer_addControlSpinner('taxonomy_type'); //add spinner while loading 16 11 17 var elTaxonomy = $('[data-setting="taxonomy_type"]'); 12 18 13 elTaxonomy.empty();19 $('[data-setting="taxonomy_type"]').empty(); 14 20 //only trigger change to reset selected taxonomy option when post type is actively changed 15 21 if (onload == false && event.type == 'change') { 16 22 //this is needed to reset the selected taxonomy 17 elTaxonomy.trigger('change');23 $('[data-setting="taxonomy_type"]').trigger('change'); 18 24 } 19 25 var post_type = $('[data-setting="post_type"]').val() || model.attributes.settings.attributes.post_type || []; … … 27 33 $.post(elemailer_lite.ajaxUrl, data, function (response) { 28 34 var taxonomy_name = JSON.parse(response); 29 $.each(taxonomy_name, function () { 30 if (this.name == 'post_format') { 31 return; 32 } 33 34 // console.log('taxonomy loop: '+(i++)); 35 elTaxonomy.append('<option value="' + this.name + '">' + this.name + '</option>'); 36 37 }); 38 //set already selected value 39 elTaxonomy.val(model.attributes.settings.attributes.taxonomy_type); 40 elemailer_get_posts_for_selected_posts(elTaxonomy); 41 42 if (elTaxonomy.has('option').length == 0) { 43 elTaxonomy.attr('disabled', 'disabled'); 35 $('[data-setting="taxonomy_type"]').empty(); 36 37 if(Object.keys(taxonomy_name).length!==0){ 38 $.each(taxonomy_name, function () { 39 if (this.name == 'post_format') { 40 return; 41 } 42 43 // console.log('taxonomy loop: '+(i++)); 44 $('[data-setting="taxonomy_type"]').append('<option value="' + this.name + '">' + this.name + '</option>'); 45 46 }); 47 //set already selected value 48 $('[data-setting="taxonomy_type"]').val(model.attributes.settings.attributes.taxonomy_type); 49 50 }else{ 51 $('[data-setting="taxonomy_type"]').val(0).trigger('change'); 52 } 53 54 55 56 elemailer_get_posts_for_selected_posts($('[data-setting="taxonomy_type"]')); 57 58 elemailer_removeControlSpinner('taxonomy_type'); //add spinner while loading 59 60 if ($('[data-setting="taxonomy_type"]').has('option').length == 0) { 61 $('[data-setting="taxonomy_type"]').attr('disabled', 'disabled'); 44 62 } else { 45 elTaxonomy.removeAttr('disabled');63 $('[data-setting="taxonomy_type"]').removeAttr('disabled'); 46 64 } 47 65 });//$.post … … 50 68 //function to get posts based on taxonomy 51 69 function elemailer_get_posts_for_selected_posts(onload = true) { 52 // console.log('get posts'); 70 71 elemailer_addControlSpinner('post_select'); //add spinner while loading 72 73 setTimeout(function () { 74 75 // console.log('get posts'); 53 76 var elPostSelect = $('[data-setting="post_select"]'); 54 //only trigger change to reset selected posts option when taxonomy is actively changed 55 if (event.type == 'change') { 56 elPostSelect.trigger('change'); 57 } 77 58 78 if (typeof (onload) !== 'object') { 59 79 //var taxonomy_type = $('[data-setting="taxonomy_type"]').val(); … … 61 81 } else { 62 82 var taxonomy_type = onload.val(); 63 elPostSelect.empty();83 $('[data-setting="post_select"]').empty(); 64 84 } 65 85 66 86 //if no taxonomy selected stop the function to avoid showing null value in posts 67 if (taxonomy_type == null) { 68 return; 69 } 87 // if (taxonomy_type == null) { 88 // return; 89 // } 90 70 91 var post_type = $('[data-setting="post_type"]').val() || model.attributes.settings.attributes.post_type || []; 71 92 var data = { … … 79 100 $.post(elemailer_lite.ajaxUrl, data, function (response) { 80 101 var posts = JSON.parse(response); 102 $('[data-setting="post_select"]').empty(); 81 103 $.each(posts, function (idx, value) { 82 104 // console.log('posts loop: '+(j++)); 83 elPostSelect.append('<option value="' + idx + '">' + value + '</option>');105 $('[data-setting="post_select"]').append('<option value="' + idx + '">' + value + '</option>'); 84 106 }); 107 108 console.log(typeof (onload)); 85 109 //set already selected value 86 110 if (typeof (onload) === 'object') { 87 elPostSelect.val(model.attributes.settings.attributes.post_select); 88 } 111 $('[data-setting="post_select"]').val(model.attributes.settings.attributes.post_select); 112 } 113 elemailer_removeControlSpinner('post_select'); //add spinner while loading 114 89 115 }); 116 117 }, 1); 118 119 120 121 90 122 91 123 }//elemailer_get_posts_for_selected_posts() … … 93 125 //when moving from Advanced tab to content model variable is null so to pass it's data 94 126 function elemailer_pass_around_model_for_selected_posts(panel, model, view) { 95 // console.log('pass around the model'); 96 // set timeout to load content tab's content 97 setTimeout(function () { 98 elemailer_get_taxonomy_for_selected_posts(); 99 }, 100); 127 128 elemailer_get_posts_for_selected_posts($('[data-setting="post_type"]')); 129 100 130 } 101 131 102 //get taxonomy 103 $('#elementor-controls').on('change', '[data-setting="post_type"]', function (event) { 104 // console.log('post change event'); 105 // pass onload value false, means the value was actively changed 106 elemailer_get_taxonomy_for_selected_posts(false); 107 $('[data-setting="taxonomy_type"]').selectedIndex = -1; 108 return true; 132 const settingsModel = model.get( 'settings' ); 133 134 settingsModel.on( 'change', ( changedModel ) => { 135 136 // if(changedModel.changed.post_type){ 137 // // pass onload value false, means the value was actively changed 138 // elemailer_get_taxonomy_for_selected_posts(false); 139 // $('[data-setting="taxonomy_type"]').selectedIndex = -1; 140 // } 141 if(changedModel.changed.post_type){ 142 //pass $this to keep the changes to each different taxonomy 143 elemailer_get_posts_for_selected_posts($('[data-setting="post_type"]')); 144 $('[data-setting="post_select"]').selectedIndex = -1; 145 } 146 147 } ); 148 149 //this ensures the data remains the same even after switching back from advanced tab to content tab 150 151 elementor.channels.editor.on('elemailer:selectedposts:clicked', function(panel, model, view) { 152 elemailer_pass_around_model_for_selected_posts(panel, model, view); 153 154 console.log('clicked!!!'); 155 }); 156 157 158 159 }); 160 161 elementor.channels.editor.on('editor:widget:elemailer-selected-posts:elemailer_sp_content_section:activated', (panelView)=>{ 162 163 164 165 elementor.channels.editor.trigger( 'elemailer:selectedposts:clicked', require ); 166 167 168 // console.log('outer one', panelView); 169 109 170 }); 110 //get posts 111 $('#elementor-controls').on('change', '[data-setting="taxonomy_type"]', function () { 112 // console.log('taxonomy change event'); 113 //pass $this to keep the changes to each different taxonomy 114 elemailer_get_posts_for_selected_posts($(this)); 115 $('[data-setting="post_select"]').selectedIndex = -1; 116 return true; 117 }); 118 119 //this ensures the data remains the same even after switching back from advanced tab to content tab 120 $(".elementor-panel").mouseenter(function () { 121 elemailer_pass_around_model_for_selected_posts(panel, model, view); 122 123 }); 124 125 }); 171 126 172 127 173 // call the the functionality of add, edit form when elementor editor panel is open for edit 128 174 elementor.hooks.addAction('panel/open_editor/widget/elemailer-latest-posts', function (panel, model, view) { 175 129 176 //call initially to set the already saved data 130 177 elemailer_get_taxonomy_for_latest_posts(); … … 132 179 //function to get taxonomy based on post type 133 180 function elemailer_get_taxonomy_for_latest_posts(onload = true) { 181 182 elemailer_addControlSpinner('taxonomy_type'); //add spinner while loading 183 elemailer_addControlSpinner('terms'); //add spinner while loading 184 134 185 var elTaxonomy = $('[data-setting="taxonomy_type"]'); 135 186 136 elTaxonomy.empty(); 137 //only trigger change to reset selected taxonomy option when post type is actively changed 138 if (onload == false && event.type == 'change') { 139 //this is needed to reset the selected taxonomy 140 elTaxonomy.trigger('change'); 141 } 187 $('[data-setting="taxonomy_type"]').empty(); 188 142 189 var post_type = $('[data-setting="post_type"]').val() || model.attributes.settings.attributes.post_type || []; 143 190 var data = { … … 149 196 $.post(elemailer_lite.ajaxUrl, data, function (response) { 150 197 var taxonomy_name = JSON.parse(response); 151 $.each(taxonomy_name, function () { 152 if (this.name == 'post_format') { 153 return; 154 } 155 156 elTaxonomy.append('<option value="' + this.name + '">' + this.name + '</option>'); 157 158 }); 198 $('[data-setting="taxonomy_type"]').empty(); 199 if(Object.keys(taxonomy_name).length!==0){ 200 $.each(taxonomy_name, function () { 201 if (this.name == 'post_format') { 202 return; 203 } 204 205 $('[data-setting="taxonomy_type"]').append('<option value="' + this.name + '">' + this.name + '</option>'); 206 207 $('[data-setting="taxonomy_type"]').val(model.attributes.settings.attributes.taxonomy_type); 208 209 }); 210 }else{ 211 $('[data-setting="taxonomy_type"]').val(0).trigger('change'); 212 } 213 159 214 //set already selected value 160 elTaxonomy.val(model.attributes.settings.attributes.taxonomy_type); 161 elemailer_get_terms_for_latest_posts(elTaxonomy); 162 163 if (elTaxonomy.has('option').length == 0) { 164 elTaxonomy.attr('disabled', 'disabled'); 215 elemailer_removeControlSpinner('taxonomy_type'); 216 217 elemailer_get_terms_for_latest_posts($('[data-setting="taxonomy_type"]')); 218 219 if ($('[data-setting="taxonomy_type"]').has('option').length == 0) { 220 $('[data-setting="taxonomy_type"]').attr('disabled', 'disabled'); 165 221 } else { 166 elTaxonomy.removeAttr('disabled');222 $('[data-setting="taxonomy_type"]').removeAttr('disabled'); 167 223 } 168 224 });//$.post … … 172 228 function elemailer_get_terms_for_latest_posts(onload = true) { 173 229 var elPostSelect = $('[data-setting="terms"]'); 174 //only trigger change to reset selected terms option when taxonomy is actively changed 175 if (event.type == 'change') { 176 elPostSelect.trigger('change'); 177 } 230 178 231 if (typeof (onload) !== 'object') { 179 232 //var taxonomy_type = $('[data-setting="taxonomy_type"]').val(); 180 233 var taxonomy_type = onload; 181 234 } else { 235 182 236 var taxonomy_type = onload.val(); 183 elPostSelect.empty();237 $('[data-setting="terms"]').empty(); 184 238 } 185 239 … … 198 252 $.post(elemailer_lite.ajaxUrl, data, function (response) { 199 253 var terms = JSON.parse(response); 254 $('[data-setting="terms"]').empty(); 200 255 $.each(terms, function (idx, value) { 201 elPostSelect.append('<option value="' + value.id + '">' + value.name + '</option>');256 $('[data-setting="terms"]').append('<option value="' + value.id + '">' + value.name + '</option>'); 202 257 }); 258 203 259 //set already selected value 204 260 if (typeof (onload) === 'object') { 205 elPostSelect.val(model.attributes.settings.attributes.terms); 206 } 261 $('[data-setting="terms"]').val(model.attributes.settings.attributes.terms); 262 } 263 elemailer_removeControlSpinner('terms'); 264 207 265 }); 208 266 … … 211 269 //when moving from Advanced tab to content model variable is null so to pass it's data 212 270 function elemailer_pass_around_model_for_latest_posts(panel, model, view) { 213 // set timeout to load content tab's content 214 setTimeout(function () { 271 215 272 elemailer_get_taxonomy_for_latest_posts(); 216 }, 100); 273 217 274 } 218 275 219 //get taxonomy 220 $('#elementor-controls').on('change', '[data-setting="post_type"]', function (event) { 221 // pass onload value false, means the value was actively changed 222 elemailer_get_taxonomy_for_latest_posts(false); 223 $('[data-setting="taxonomy_type"]').selectedIndex = -1; 224 return true; 225 }); 226 //get terms 227 $('#elementor-controls').on('change', '[data-setting="taxonomy_type"]', function () { 228 //pass $this to keep the changes to each different taxonomy 229 elemailer_get_terms_for_latest_posts($(this)); 230 $('[data-setting="post_select"]').selectedIndex = -1; 231 return true; 232 }); 276 277 const settingsModel = model.get( 'settings' ); 278 279 settingsModel.on( 'change', ( changedModel ) => { 280 281 console.log('Setting changed'); 282 if(changedModel.changed.post_type){ 283 // pass onload value false, means the value was actively changed 284 elemailer_get_taxonomy_for_latest_posts(false); 285 $('[data-setting="taxonomy_type"]').selectedIndex = -1; 286 } 287 if(changedModel.changed.taxonomy_type){ 288 //pass $this to keep the changes to each different taxonomy 289 elemailer_get_terms_for_latest_posts($('[data-setting="taxonomy_type"]')); 290 $('[data-setting="post_select"]').selectedIndex = -1; 291 } 292 293 } ); 233 294 234 295 //this ensures the data remains the same even after switching back from advanced tab to content tab 235 $(".elementor-panel").mouseenter(function () { 236 elemailer_pass_around_model_for_latest_posts(panel, model, view); 296 elementor.channels.editor.on('section:activated',function(){ 297 if(elementor.getPanelView().currentPageView.activeSection == 'elemailer_lp_content_section'){ 298 299 elemailer_pass_around_model_for_latest_posts(panel, model, view); 300 301 } 237 302 }); 238 303 … … 304 369 elementor.on('preview:loaded', change_exit_link_attr); 305 370 371 /** 372 * Add a spinner to a control inside its control title. 373 * @since 4.1.2 374 * @param {string} controlName - The control name to add the spinner to. 375 * 376 * @return {void} 377 */ 378 // add a preloader for options to load -> pass control name 379 function elemailer_addControlSpinner(controlName) { 380 const thecontrol= '.elementor-control-'+controlName; 381 setTimeout(() => { 382 383 //Exit if there is a spinner already. 384 if ($(thecontrol).find('.elementor-control-spinner').length) { 385 return; 386 } 387 388 const $input = $(thecontrol).find(':input')||$(thecontrol).find('select'); 389 $input.attr('disabled', true); 390 391 $(thecontrol).find('.elementor-control-title').after('<span class="elementor-control-spinner"><i class="eicon-spinner eicon-animation-spin"></i> </span>'); 392 }, "600"); 393 } 394 395 // remove preloader when loaded -> pass control name 396 function elemailer_removeControlSpinner(controlName) { 397 398 const thecontrol= '.elementor-control-'+controlName; 399 400 setTimeout(() => { 401 $(thecontrol).find('.elementor-control-spinner').remove(); 402 const $input = $(thecontrol).find(':input')||$(thecontrol).find('select'); 403 $input.attr('disabled', false); 404 405 }, "800"); 406 } 306 407 307 408 })(jQuery); -
elemailer-lite/trunk/integrations/elementor/widgets/latest-posts/latest-posts.php
r2957801 r3014851 53 53 54 54 $this->start_controls_section( 55 ' content_section',55 'elemailer_lp_content_section', 56 56 [ 57 57 'label' => __('Content', 'elemailer-lite'), … … 83 83 'terms', 84 84 [ 85 'label' => __('Select Terms (usually categories/tags) * Must Select Taxonomy First', 'elemailer-lite'), 85 'label' => __('Select Terms', 'elemailer-lite'), 86 'description' => __('Terms usually mean categories/tags/product tag etc. Important: Select Taxonomy First','elemailer'), 86 87 'type' => Controls_Manager::SELECT2, 87 88 'label_block' => true, … … 94 95 ); 95 96 97 96 98 $this->end_controls_section(); 97 99 … … 109 111 'label' => __('Posts per page', 'elemailer-lite'), 110 112 'type' => Controls_Manager::NUMBER, 111 'min' => 1,112 'max' => 30,113 113 'step' => 1, 114 114 'default' => 5, … … 284 284 'type' => Controls_Manager::NUMBER, 285 285 'min' => 1, 286 'max' => 30,287 286 'step' => 1, 288 287 'default' => 15, -
elemailer-lite/trunk/integrations/elementor/widgets/selected-posts/selected-posts.php
r2957801 r3014851 49 49 50 50 $this->start_controls_section( 51 ' content_section',51 'elemailer_sp_content_section', 52 52 [ 53 53 'label' => __('Content', 'elemailer-lite'), … … 72 72 'type' => Controls_Manager::SELECT, 73 73 'label_block' => true, 74 'classes' => 'elementor-panel-alert elementor-panel-alert-warning', 75 'description' => __('Select Taxonomy is kept for future use to allow users to select Taxonomy type and then select term to narrow down their selected post list below. For now Skip this','elemailer'), 74 76 'options' => (object) array(), 75 77 'condition' => [ 76 'post_type!' => '',77 78 //'post_type!' => '', 79 'taxonomy_type' => 'hidden', 78 80 ], 79 81 … … 84 86 'post_select', 85 87 [ 86 'label' => __(' Post select', 'elemailer-lite'),88 'label' => __('Selected Posts', 'elemailer-lite'), 87 89 'type' => Controls_Manager::SELECT2, 88 90 'label_block' => true, 89 91 'options' => '', 90 92 'multiple' => true, 91 'condition' => [ 92 'taxonomy_type!' => '', 93 94 ], 95 ] 96 ); 93 // 'condition' => [ 94 // 'taxonomy_type!' => '', 95 96 // ], 97 ] 98 ); 99 97 100 98 101 $this->end_controls_section(); … … 242 245 'type' => Controls_Manager::NUMBER, 243 246 'min' => 1, 244 'max' => 30,245 247 'step' => 1, 246 248 'default' => 15, -
elemailer-lite/trunk/languages/elemailer-lite.pot
r2957801 r3014851 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Elemailer Lite 2. 0\n"5 "Project-Id-Version: Elemailer Lite 2.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/elemailer-lite\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2023- 08-24T10:21:37+00:00\n"12 "POT-Creation-Date: 2023-12-27T21:31:13+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2. 8.1\n"14 "X-Generator: WP-CLI 2.9.0\n" 15 15 "X-Domain: elemailer-lite\n" 16 16 … … 186 186 #: integrations/elementor/widgets/image-box/image-box.php:384 187 187 #: integrations/elementor/widgets/image/image.php:185 188 #: integrations/elementor/widgets/latest-posts/latest-posts.php:58 9189 #: integrations/elementor/widgets/selected-posts/selected-posts.php:5 48188 #: integrations/elementor/widgets/latest-posts/latest-posts.php:588 189 #: integrations/elementor/widgets/selected-posts/selected-posts.php:550 190 190 #: integrations/elementor/widgets/shortcode/shortcode.php:287 191 191 #: integrations/elementor/widgets/social/social.php:303 … … 208 208 #: integrations/elementor/widgets/image-box/image-box.php:388 209 209 #: integrations/elementor/widgets/image/image.php:189 210 #: integrations/elementor/widgets/latest-posts/latest-posts.php:37 3211 #: integrations/elementor/widgets/latest-posts/latest-posts.php:44 4212 #: integrations/elementor/widgets/latest-posts/latest-posts.php:51 6213 #: integrations/elementor/widgets/latest-posts/latest-posts.php:59 3214 #: integrations/elementor/widgets/selected-posts/selected-posts.php:33 0215 #: integrations/elementor/widgets/selected-posts/selected-posts.php:40 2216 #: integrations/elementor/widgets/selected-posts/selected-posts.php:47 4217 #: integrations/elementor/widgets/selected-posts/selected-posts.php:55 2210 #: integrations/elementor/widgets/latest-posts/latest-posts.php:372 211 #: integrations/elementor/widgets/latest-posts/latest-posts.php:443 212 #: integrations/elementor/widgets/latest-posts/latest-posts.php:515 213 #: integrations/elementor/widgets/latest-posts/latest-posts.php:592 214 #: integrations/elementor/widgets/selected-posts/selected-posts.php:332 215 #: integrations/elementor/widgets/selected-posts/selected-posts.php:404 216 #: integrations/elementor/widgets/selected-posts/selected-posts.php:476 217 #: integrations/elementor/widgets/selected-posts/selected-posts.php:554 218 218 #: integrations/elementor/widgets/shortcode/shortcode.php:171 219 219 #: integrations/elementor/widgets/shortcode/shortcode.php:215 … … 235 235 #: integrations/elementor/widgets/image/image.php:27 236 236 #: integrations/elementor/widgets/image/image.php:190 237 #: integrations/elementor/widgets/latest-posts/latest-posts.php:59 4238 #: integrations/elementor/widgets/selected-posts/selected-posts.php:55 3237 #: integrations/elementor/widgets/latest-posts/latest-posts.php:593 238 #: integrations/elementor/widgets/selected-posts/selected-posts.php:555 239 239 #: integrations/elementor/widgets/shortcode/shortcode.php:292 240 240 #: integrations/elementor/widgets/social/social.php:308 … … 252 252 #: integrations/elementor/widgets/image-box/image-box.php:397 253 253 #: integrations/elementor/widgets/image/image.php:198 254 #: integrations/elementor/widgets/latest-posts/latest-posts.php:60 2255 #: integrations/elementor/widgets/selected-posts/selected-posts.php:56 1254 #: integrations/elementor/widgets/latest-posts/latest-posts.php:601 255 #: integrations/elementor/widgets/selected-posts/selected-posts.php:563 256 256 #: integrations/elementor/widgets/shortcode/shortcode.php:300 257 257 #: integrations/elementor/widgets/social/social.php:316 … … 271 271 #: integrations/elementor/widgets/image/image.php:64 272 272 #: integrations/elementor/widgets/image/image.php:215 273 #: integrations/elementor/widgets/latest-posts/latest-posts.php:61 9274 #: integrations/elementor/widgets/selected-posts/selected-posts.php:5 78273 #: integrations/elementor/widgets/latest-posts/latest-posts.php:618 274 #: integrations/elementor/widgets/selected-posts/selected-posts.php:580 275 275 #: integrations/elementor/widgets/shortcode/shortcode.php:311 276 276 #: integrations/elementor/widgets/social/social.php:333 … … 454 454 #: integrations/elementor/widgets/image-box/image-box.php:120 455 455 #: integrations/elementor/widgets/image/image.php:95 456 #: integrations/elementor/widgets/latest-posts/latest-posts.php:33 7457 #: integrations/elementor/widgets/selected-posts/selected-posts.php:29 5456 #: integrations/elementor/widgets/latest-posts/latest-posts.php:336 457 #: integrations/elementor/widgets/selected-posts/selected-posts.php:297 458 458 #: integrations/elementor/widgets/shortcode/shortcode.php:115 459 459 #: integrations/elementor/widgets/social/social.php:175 … … 469 469 #: integrations/elementor/widgets/image/image.php:99 470 470 #: integrations/elementor/widgets/latest-posts/latest-posts.php:195 471 #: integrations/elementor/widgets/latest-posts/latest-posts.php:34 1472 #: integrations/elementor/widgets/selected-posts/selected-posts.php:15 3473 #: integrations/elementor/widgets/selected-posts/selected-posts.php: 299471 #: integrations/elementor/widgets/latest-posts/latest-posts.php:340 472 #: integrations/elementor/widgets/selected-posts/selected-posts.php:156 473 #: integrations/elementor/widgets/selected-posts/selected-posts.php:301 474 474 #: integrations/elementor/widgets/shortcode/shortcode.php:69 475 475 #: integrations/elementor/widgets/shortcode/shortcode.php:119 … … 484 484 #: integrations/elementor/widgets/image-box/image-box.php:128 485 485 #: integrations/elementor/widgets/image/image.php:103 486 #: integrations/elementor/widgets/latest-posts/latest-posts.php:34 5487 #: integrations/elementor/widgets/selected-posts/selected-posts.php:30 3486 #: integrations/elementor/widgets/latest-posts/latest-posts.php:344 487 #: integrations/elementor/widgets/selected-posts/selected-posts.php:305 488 488 #: integrations/elementor/widgets/shortcode/shortcode.php:123 489 489 #: integrations/elementor/widgets/social/social.php:183 … … 499 499 #: integrations/elementor/widgets/image/image.php:107 500 500 #: integrations/elementor/widgets/latest-posts/latest-posts.php:196 501 #: integrations/elementor/widgets/latest-posts/latest-posts.php:34 9502 #: integrations/elementor/widgets/selected-posts/selected-posts.php:15 4503 #: integrations/elementor/widgets/selected-posts/selected-posts.php:30 7501 #: integrations/elementor/widgets/latest-posts/latest-posts.php:348 502 #: integrations/elementor/widgets/selected-posts/selected-posts.php:157 503 #: integrations/elementor/widgets/selected-posts/selected-posts.php:309 504 504 #: integrations/elementor/widgets/shortcode/shortcode.php:127 505 505 #: integrations/elementor/widgets/social/social.php:187 … … 523 523 #: integrations/elementor/widgets/image-box/image-box.php:375 524 524 #: integrations/elementor/widgets/image/image.php:176 525 #: integrations/elementor/widgets/latest-posts/latest-posts.php:5 80526 #: integrations/elementor/widgets/selected-posts/selected-posts.php:5 39525 #: integrations/elementor/widgets/latest-posts/latest-posts.php:579 526 #: integrations/elementor/widgets/selected-posts/selected-posts.php:541 527 527 #: integrations/elementor/widgets/shortcode/shortcode.php:278 528 528 #: integrations/elementor/widgets/social/social.php:294 … … 542 542 #: integrations/elementor/widgets/image-box/image-box.php:242 543 543 #: integrations/elementor/widgets/image-box/image-box.php:329 544 #: integrations/elementor/widgets/latest-posts/latest-posts.php:38 9545 #: integrations/elementor/widgets/latest-posts/latest-posts.php:4 60546 #: integrations/elementor/widgets/latest-posts/latest-posts.php:53 2547 #: integrations/elementor/widgets/selected-posts/selected-posts.php:34 6548 #: integrations/elementor/widgets/selected-posts/selected-posts.php:4 18549 #: integrations/elementor/widgets/selected-posts/selected-posts.php:49 0544 #: integrations/elementor/widgets/latest-posts/latest-posts.php:388 545 #: integrations/elementor/widgets/latest-posts/latest-posts.php:459 546 #: integrations/elementor/widgets/latest-posts/latest-posts.php:531 547 #: integrations/elementor/widgets/selected-posts/selected-posts.php:348 548 #: integrations/elementor/widgets/selected-posts/selected-posts.php:420 549 #: integrations/elementor/widgets/selected-posts/selected-posts.php:492 550 550 #: integrations/elementor/widgets/shortcode/shortcode.php:186 551 551 #: integrations/elementor/widgets/shortcode/shortcode.php:230 … … 559 559 #: integrations/elementor/widgets/image-box/image-box.php:351 560 560 #: integrations/elementor/widgets/image/image.php:152 561 #: integrations/elementor/widgets/latest-posts/latest-posts.php:55 6562 #: integrations/elementor/widgets/selected-posts/selected-posts.php:51 5561 #: integrations/elementor/widgets/latest-posts/latest-posts.php:555 562 #: integrations/elementor/widgets/selected-posts/selected-posts.php:517 563 563 #: integrations/elementor/widgets/shortcode/shortcode.php:254 564 564 #: integrations/elementor/widgets/social/social.php:270 … … 575 575 #: integrations/elementor/widgets/image-box/image-box.php:359 576 576 #: integrations/elementor/widgets/image/image.php:160 577 #: integrations/elementor/widgets/latest-posts/latest-posts.php:56 4578 #: integrations/elementor/widgets/selected-posts/selected-posts.php:52 3577 #: integrations/elementor/widgets/latest-posts/latest-posts.php:563 578 #: integrations/elementor/widgets/selected-posts/selected-posts.php:525 579 579 #: integrations/elementor/widgets/shortcode/shortcode.php:262 580 580 #: integrations/elementor/widgets/social/social.php:278 … … 656 656 #: integrations/elementor/widgets/image-box/image-box.php:219 657 657 #: integrations/elementor/widgets/latest-posts/latest-posts.php:252 658 #: integrations/elementor/widgets/latest-posts/latest-posts.php:36 5659 #: integrations/elementor/widgets/selected-posts/selected-posts.php:21 0660 #: integrations/elementor/widgets/selected-posts/selected-posts.php:32 2658 #: integrations/elementor/widgets/latest-posts/latest-posts.php:364 659 #: integrations/elementor/widgets/selected-posts/selected-posts.php:213 660 #: integrations/elementor/widgets/selected-posts/selected-posts.php:324 661 661 msgid "Title" 662 662 msgstr "" … … 672 672 673 673 #: integrations/elementor/widgets/heading/heading.php:156 674 #: integrations/elementor/widgets/latest-posts/latest-posts.php:41 2675 #: integrations/elementor/widgets/latest-posts/latest-posts.php:48 3676 #: integrations/elementor/widgets/selected-posts/selected-posts.php:3 69677 #: integrations/elementor/widgets/selected-posts/selected-posts.php:44 1674 #: integrations/elementor/widgets/latest-posts/latest-posts.php:411 675 #: integrations/elementor/widgets/latest-posts/latest-posts.php:482 676 #: integrations/elementor/widgets/selected-posts/selected-posts.php:371 677 #: integrations/elementor/widgets/selected-posts/selected-posts.php:443 678 678 msgid "Line Height (px)" 679 679 msgstr "" … … 711 711 #: integrations/elementor/widgets/image-box/image-box.php:104 712 712 #: integrations/elementor/widgets/latest-posts/latest-posts.php:194 713 #: integrations/elementor/widgets/selected-posts/selected-posts.php:15 2713 #: integrations/elementor/widgets/selected-posts/selected-posts.php:155 714 714 #: integrations/elementor/widgets/shortcode/shortcode.php:68 715 715 msgid "Top" … … 770 770 771 771 #: integrations/elementor/widgets/latest-posts/latest-posts.php:85 772 msgid "Select Terms (usually categories/tags) * Must Select Taxonomy First"773 msgstr "" 774 775 #: integrations/elementor/widgets/latest-posts/latest-posts.php:10 1776 #: integrations/elementor/widgets/selected-posts/selected-posts.php:10 3772 msgid "Select Terms" 773 msgstr "" 774 775 #: integrations/elementor/widgets/latest-posts/latest-posts.php:103 776 #: integrations/elementor/widgets/selected-posts/selected-posts.php:106 777 777 #: plugin.php:362 778 778 msgid "Settings" 779 779 msgstr "" 780 780 781 #: integrations/elementor/widgets/latest-posts/latest-posts.php:1 09781 #: integrations/elementor/widgets/latest-posts/latest-posts.php:111 782 782 msgid "Posts per page" 783 783 msgstr "" 784 784 785 785 #: integrations/elementor/widgets/latest-posts/latest-posts.php:124 786 #: integrations/elementor/widgets/selected-posts/selected-posts.php:11 1786 #: integrations/elementor/widgets/selected-posts/selected-posts.php:114 787 787 msgid "Posts Per Row" 788 788 msgstr "" … … 797 797 798 798 #: integrations/elementor/widgets/latest-posts/latest-posts.php:170 799 #: integrations/elementor/widgets/selected-posts/selected-posts.php:1 28799 #: integrations/elementor/widgets/selected-posts/selected-posts.php:131 800 800 msgid "Layout" 801 801 msgstr "" 802 802 803 803 #: integrations/elementor/widgets/latest-posts/latest-posts.php:178 804 #: integrations/elementor/widgets/selected-posts/selected-posts.php:13 6804 #: integrations/elementor/widgets/selected-posts/selected-posts.php:139 805 805 msgid "Display Thumbnail" 806 806 msgstr "" … … 809 809 #: integrations/elementor/widgets/latest-posts/latest-posts.php:254 810 810 #: integrations/elementor/widgets/latest-posts/latest-posts.php:273 811 #: integrations/elementor/widgets/latest-posts/latest-posts.php:30 7812 #: integrations/elementor/widgets/selected-posts/selected-posts.php:1 38813 #: integrations/elementor/widgets/selected-posts/selected-posts.php:21 2814 #: integrations/elementor/widgets/selected-posts/selected-posts.php:23 1815 #: integrations/elementor/widgets/selected-posts/selected-posts.php:26 5811 #: integrations/elementor/widgets/latest-posts/latest-posts.php:306 812 #: integrations/elementor/widgets/selected-posts/selected-posts.php:141 813 #: integrations/elementor/widgets/selected-posts/selected-posts.php:215 814 #: integrations/elementor/widgets/selected-posts/selected-posts.php:234 815 #: integrations/elementor/widgets/selected-posts/selected-posts.php:267 816 816 msgid "Show" 817 817 msgstr "" … … 820 820 #: integrations/elementor/widgets/latest-posts/latest-posts.php:255 821 821 #: integrations/elementor/widgets/latest-posts/latest-posts.php:274 822 #: integrations/elementor/widgets/latest-posts/latest-posts.php:308 823 #: integrations/elementor/widgets/selected-posts/selected-posts.php:139 824 #: integrations/elementor/widgets/selected-posts/selected-posts.php:213 822 #: integrations/elementor/widgets/latest-posts/latest-posts.php:307 823 #: integrations/elementor/widgets/selected-posts/selected-posts.php:142 824 #: integrations/elementor/widgets/selected-posts/selected-posts.php:216 825 #: integrations/elementor/widgets/selected-posts/selected-posts.php:235 826 #: integrations/elementor/widgets/selected-posts/selected-posts.php:268 827 msgid "Hide" 828 msgstr "" 829 830 #: integrations/elementor/widgets/latest-posts/latest-posts.php:190 831 #: integrations/elementor/widgets/selected-posts/selected-posts.php:151 832 msgid "Image position" 833 msgstr "" 834 835 #: integrations/elementor/widgets/latest-posts/latest-posts.php:209 836 #: integrations/elementor/widgets/selected-posts/selected-posts.php:170 837 msgid "Image size" 838 msgstr "" 839 840 #: integrations/elementor/widgets/latest-posts/latest-posts.php:222 841 #: integrations/elementor/widgets/selected-posts/selected-posts.php:183 842 msgid "Width(%)" 843 msgstr "" 844 845 #: integrations/elementor/widgets/latest-posts/latest-posts.php:271 846 #: integrations/elementor/widgets/latest-posts/latest-posts.php:435 825 847 #: integrations/elementor/widgets/selected-posts/selected-posts.php:232 826 #: integrations/elementor/widgets/selected-posts/selected-posts.php:266 827 msgid "Hide" 828 msgstr "" 829 830 #: integrations/elementor/widgets/latest-posts/latest-posts.php:190 831 #: integrations/elementor/widgets/selected-posts/selected-posts.php:148 832 msgid "Image position" 833 msgstr "" 834 835 #: integrations/elementor/widgets/latest-posts/latest-posts.php:209 836 #: integrations/elementor/widgets/selected-posts/selected-posts.php:167 837 msgid "Image size" 838 msgstr "" 839 840 #: integrations/elementor/widgets/latest-posts/latest-posts.php:222 841 #: integrations/elementor/widgets/selected-posts/selected-posts.php:180 842 msgid "Width(%)" 843 msgstr "" 844 845 #: integrations/elementor/widgets/latest-posts/latest-posts.php:271 846 #: integrations/elementor/widgets/latest-posts/latest-posts.php:436 847 #: integrations/elementor/widgets/selected-posts/selected-posts.php:229 848 #: integrations/elementor/widgets/selected-posts/selected-posts.php:394 848 #: integrations/elementor/widgets/selected-posts/selected-posts.php:396 849 849 msgid "Excerpt" 850 850 msgstr "" 851 851 852 852 #: integrations/elementor/widgets/latest-posts/latest-posts.php:283 853 #: integrations/elementor/widgets/selected-posts/selected-posts.php:24 1853 #: integrations/elementor/widgets/selected-posts/selected-posts.php:244 854 854 msgid "Excerpt Length" 855 855 msgstr "" 856 856 857 #: integrations/elementor/widgets/latest-posts/latest-posts.php:30 5858 #: integrations/elementor/widgets/latest-posts/latest-posts.php:50 8859 #: integrations/elementor/widgets/selected-posts/selected-posts.php:26 3860 #: integrations/elementor/widgets/selected-posts/selected-posts.php:46 6857 #: integrations/elementor/widgets/latest-posts/latest-posts.php:304 858 #: integrations/elementor/widgets/latest-posts/latest-posts.php:507 859 #: integrations/elementor/widgets/selected-posts/selected-posts.php:265 860 #: integrations/elementor/widgets/selected-posts/selected-posts.php:468 861 861 msgid "Read More" 862 862 msgstr "" 863 863 864 #: integrations/elementor/widgets/latest-posts/latest-posts.php:31 7865 #: integrations/elementor/widgets/selected-posts/selected-posts.php:27 5864 #: integrations/elementor/widgets/latest-posts/latest-posts.php:316 865 #: integrations/elementor/widgets/selected-posts/selected-posts.php:277 866 866 msgid "Read More Text" 867 867 msgstr "" 868 868 869 #: integrations/elementor/widgets/latest-posts/latest-posts.php:318 870 #: integrations/elementor/widgets/selected-posts/selected-posts.php:279 871 msgid "Read More »" 872 msgstr "" 873 869 874 #: integrations/elementor/widgets/latest-posts/latest-posts.php:319 870 #: integrations/elementor/widgets/selected-posts/selected-posts.php:277 871 msgid "Read More »" 872 msgstr "" 873 874 #: integrations/elementor/widgets/latest-posts/latest-posts.php:320 875 #: integrations/elementor/widgets/selected-posts/selected-posts.php:278 875 #: integrations/elementor/widgets/selected-posts/selected-posts.php:280 876 876 msgid "Type your read more text here" 877 877 msgstr "" 878 878 879 879 #: integrations/elementor/widgets/selected-posts/selected-posts.php:23 880 #: integrations/elementor/widgets/selected-posts/selected-posts.php:88 880 881 msgid "Selected Posts" 881 msgstr ""882 883 #: integrations/elementor/widgets/selected-posts/selected-posts.php:86884 msgid "Post select"885 882 msgstr "" 886 883 -
elemailer-lite/trunk/plugin.php
r2957801 r3014851 43 43 public function define_constant() 44 44 { 45 define( 'ELE_MAILER_LITE_VERSION', '2. 0' );45 define( 'ELE_MAILER_LITE_VERSION', '2.1' ); 46 46 define( 'ELE_MAILER_LITE_PACKAGE', 'free' ); 47 47 define( 'ELE_MAILER_LITE_PLUGIN_URL', trailingslashit(plugin_dir_url(__FILE__ ) ) ); -
elemailer-lite/trunk/public/assets/css/elemailer-mail.css
r2957801 r3014851 82 82 -webkit-box-sizing: border-box; 83 83 box-sizing: border-box; 84 overflow: auto;85 84 } 86 85 ul li,ol li,ul,ol{ … … 152 151 width: 100%; 153 152 display: block; 153 overflow: auto; 154 154 } 155 155 .elemailer-play-icon{ … … 164 164 } 165 165 166 @media screen and (max-width:600px) { 167 .elementor-column { 168 display: block !important; 169 width: 100% !important; 170 } 171 } 166 172 /* Default elementor CSS for layout and basic structures END */ -
elemailer-lite/trunk/public/assets/css/style.css
r2957801 r3014851 161 161 } 162 162 /* hide admin bar elementor editor end */ 163 .elementor-row { 164 overflow: auto; 165 } -
elemailer-lite/trunk/readme.txt
r3014812 r3014851 3 3 Tags: email, cf7, email template, elementor addons, email marketing, email template builder, elementor, contact form 7, email design, woocommerce email customizer, free email builder, ai 4 4 Requires at least: 4.5 5 Tested up to: 6. 35 Tested up to: 6.4.2 6 6 Requires PHP: 7.2 7 Stable tag: 2. 07 Stable tag: 2.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 147 147 148 148 == Changelog == 149 = 2.1 = 150 * Fix: Selected & Latest post widget flicker 151 * Fix: Some CSS fixes for emails overflow 152 * Fix: Limitation in Selected & Latest post widget for numbers 153 * Tewak: Removed confusing control from Selected posts widget 149 154 = 2.0 = 150 155 * Tweak: Compatibility with Latest Elementor & WordPress … … 184 189 * Fix: CSS fix for email 185 190 * Fix: 3rd party plugin panel and template library showing 186 * Fix: Elementor latest version compatibility191 * Fix: Elementor latest version Compatibility 187 192 * Fix: Removed container as it's not supported in email 188 193 = 1.0.10 =
Note: See TracChangeset
for help on using the changeset viewer.