Changeset 3407965
- Timestamp:
- 12/02/2025 12:16:04 PM (4 months ago)
- Location:
- magical-posts-display/trunk
- Files:
-
- 18 added
- 14 deleted
- 39 edited
-
README.txt (modified) (1 diff)
-
admin/admin-page/welcome-page.php (modified) (8 diffs)
-
admin/mp-display-admin-role.php (deleted)
-
admin/mp-display-column-set.php (deleted)
-
admin/mp-display-meta-tab.php (deleted)
-
admin/mp-display-post.php (deleted)
-
admin/mp-display-update-massage.php (deleted)
-
admin/src (deleted)
-
assets/css/admin-style.css (modified) (2 diffs)
-
assets/css/bootstrap.min.css (deleted)
-
assets/css/fontello.css (modified) (1 diff)
-
assets/css/mgblock-admin.css (modified) (1 diff)
-
assets/css/mp-style.css (modified) (16 diffs)
-
assets/css/news-magazine-grid.css (modified) (6 diffs)
-
assets/css/news-magazine-img-grid.css (modified) (3 diffs)
-
assets/css/widget-style/mp-accordion.css (modified) (7 diffs)
-
assets/css/widget-style/mp-tabs.css (modified) (22 diffs)
-
assets/js/bootstrap.bundle.min.js (deleted)
-
assets/js/bootstrap.min.js (deleted)
-
assets/js/cmb2-conditional-logic.js (deleted)
-
assets/js/mgp-bootstrap.js (added)
-
composer.json (modified) (1 diff)
-
composer.lock (modified) (2 diffs)
-
file-include.php (modified) (6 diffs)
-
includes/blocks (deleted)
-
includes/card-post (deleted)
-
includes/class-assets-manager.php (modified) (3 diffs)
-
includes/elementor/extra.php (modified) (3 diffs)
-
includes/elementor/widgets/advanced-posts-grid1.php (modified) (3 diffs)
-
includes/elementor/widgets/advanced-posts-grid2.php (modified) (3 diffs)
-
includes/elementor/widgets/advanced-posts-img-grid.php (modified) (2 diffs)
-
includes/elementor/widgets/awesome-posts-list.php (modified) (6 diffs)
-
includes/elementor/widgets/magical-loop-grid.php (added)
-
includes/elementor/widgets/news-magazine-img-grid.php (modified) (4 diffs)
-
includes/elementor/widgets/posts-accordion.php (modified) (19 diffs)
-
includes/elementor/widgets/posts-carousel.php (modified) (2 diffs)
-
includes/elementor/widgets/posts-cat.php (modified) (3 diffs)
-
includes/elementor/widgets/posts-grid.php (modified) (15 diffs)
-
includes/elementor/widgets/posts-list.php (modified) (3 diffs)
-
includes/elementor/widgets/posts-tab.php (modified) (15 diffs)
-
includes/mp-display-shortcode.php (deleted)
-
includes/mp-posts-meta.php (modified) (2 diffs)
-
includes/widgets/recent-posts-widget.php (modified) (1 diff)
-
lib/custom-template/mgp-template.php (modified) (1 diff)
-
magical-posts-display.php (modified) (8 diffs)
-
vendor/appsero/client/src/Insights.php (modified) (2 diffs)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/bin/phpstan (added)
-
vendor/bin/phpstan.bat (added)
-
vendor/bin/phpstan.phar (added)
-
vendor/bin/phpstan.phar.bat (added)
-
vendor/composer/InstalledVersions.php (modified) (3 diffs)
-
vendor/composer/autoload_files.php (added)
-
vendor/composer/autoload_psr4.php (modified) (1 diff)
-
vendor/composer/autoload_real.php (modified) (2 diffs)
-
vendor/composer/autoload_static.php (modified) (3 diffs)
-
vendor/composer/installed.json (modified) (3 diffs)
-
vendor/composer/installed.php (modified) (3 diffs)
-
vendor/composer/platform_check.php (modified) (1 diff)
-
vendor/htmlburger (deleted)
-
vendor/phpstan (added)
-
vendor/phpstan/phpstan (added)
-
vendor/phpstan/phpstan/LICENSE (added)
-
vendor/phpstan/phpstan/README.md (added)
-
vendor/phpstan/phpstan/bootstrap.php (added)
-
vendor/phpstan/phpstan/composer.json (added)
-
vendor/phpstan/phpstan/conf (added)
-
vendor/phpstan/phpstan/conf/bleedingEdge.neon (added)
-
vendor/phpstan/phpstan/phpstan (added)
-
vendor/phpstan/phpstan/phpstan.phar (added)
-
vendor/phpstan/phpstan/phpstan.phar.asc (added)
Legend:
- Unmodified
- Added
- Removed
-
magical-posts-display/trunk/README.txt
r3380394 r3407965 139 139 140 140 == Changelog == 141 142 = 1.2.55 = 143 * Fixed security issue 144 * Removed Bootstrap dependency 145 * Removed cmb2 dependency 146 * Removed carbon fields dependency 141 147 142 148 = 1.2.54 = -
magical-posts-display/trunk/admin/admin-page/welcome-page.php
r3380394 r3407965 9 9 10 10 <div id="mgpdp1" class="magical-post-display mgpdp1"> 11 <div class="mg -cols">11 <div class="mgp-welcome"> 12 12 <section class="sec-wel" <?php if (!class_exists('magicalPostDisplayPro')) : ?> style="background-image: url(<?php echo esc_url(MAGICAL_POSTS_DISPLAY_ASSETS . 'img/blue.svg'); ?>);" <?php else : ?>style="background-image: url(<?php echo esc_url(MAGICAL_POSTS_DISPLAY_ASSETS . 'img/purple.svg'); ?>);" <?php endif; ?>> 13 13 <div class="wel-center-text"> … … 29 29 </section> 30 30 <section class="mgfeature mgf1"> 31 <div class=" cols">32 <div class=" col-2">31 <div class="mgp-row"> 32 <div class="mgp-col-2"> 33 33 <div class="mgfimg"> 34 34 <img src="<?php echo esc_url(MAGICAL_POSTS_DISPLAY_ASSETS . 'img/blocks-intro.svg'); ?>"> 35 35 </div> 36 36 </div> 37 <div class=" col-2">37 <div class="mgp-col-2"> 38 38 <div class="mgftext"> 39 39 <h2><?php esc_html_e('WordPress Elementor Posts Display Addons', 'magical-posts-display'); ?></h2> … … 50 50 <h5><?php esc_html_e('How to use Magical Posts Display WordPress plugin in your site? ', 'magical-posts-display'); ?></h5> 51 51 </div> 52 <div class=" cols">53 <div class=" col-4">52 <div class="mgp-row"> 53 <div class="mgp-col-4"> 54 54 <div class="mgvideo"> 55 <a class=" btn btn-danger venoboxvidbtn-lg vbox-item mgyouvideo" data-autoplay="true" data-vbtype="video" href="https://www.youtube.com/watch?v=Dta4CwqvILI">55 <a class="mgp-btn mgp-btn-danger venoboxvid mgp-btn-lg vbox-item mgyouvideo" data-autoplay="true" data-vbtype="video" href="https://www.youtube.com/watch?v=Dta4CwqvILI"> 56 56 <img src="https://img.youtube.com/vi/Dta4CwqvILI/0.jpg" alt="<?php echo esc_attr__('Video tutorial', 'magical-posts-display'); ?>"> 57 57 </a> … … 59 59 </div> 60 60 </div> 61 <div class=" col-4">61 <div class="mgp-col-4"> 62 62 <div class="mgvideo"> 63 <a class=" btn btn-danger venoboxvidbtn-lg vbox-item mgyouvideo" data-autoplay="true" data-vbtype="video" href="https://www.youtube.com/watch?v=cGGZjLLFTao">63 <a class="mgp-btn mgp-btn-danger venoboxvid mgp-btn-lg vbox-item mgyouvideo" data-autoplay="true" data-vbtype="video" href="https://www.youtube.com/watch?v=cGGZjLLFTao"> 64 64 <img src="https://img.youtube.com/vi/cGGZjLLFTao/0.jpg" alt="<?php echo esc_attr__('Video tutorial', 'magical-posts-display'); ?>"> 65 65 </a> … … 67 67 </div> 68 68 </div> 69 <div class=" col-4">69 <div class="mgp-col-4"> 70 70 <div class="mgvideo"> 71 <a class=" btn btn-danger venoboxvidbtn-lg vbox-item mgyouvideo" data-autoplay="true" data-vbtype="video" href="https://www.youtube.com/watch?v=EurYISxEtec">71 <a class="mgp-btn mgp-btn-danger venoboxvid mgp-btn-lg vbox-item mgyouvideo" data-autoplay="true" data-vbtype="video" href="https://www.youtube.com/watch?v=EurYISxEtec"> 72 72 <img src="https://img.youtube.com/vi/EurYISxEtec/0.jpg" alt="<?php echo esc_attr__('Video tutorial', 'magical-posts-display'); ?>"> 73 73 </a> … … 75 75 </div> 76 76 </div> 77 <div class=" col-4">77 <div class="mgp-col-4"> 78 78 <div class="mgvideo"> 79 <a class=" btn btn-danger venoboxvidbtn-lg vbox-item mgyouvideo" data-autoplay="true" data-vbtype="video" href="https://www.youtube.com/watch?v=bsXWQ9y79Ew">79 <a class="mgp-btn mgp-btn-danger venoboxvid mgp-btn-lg vbox-item mgyouvideo" data-autoplay="true" data-vbtype="video" href="https://www.youtube.com/watch?v=bsXWQ9y79Ew"> 80 80 <img src="https://img.youtube.com/vi/bsXWQ9y79Ew/0.jpg" alt="<?php echo esc_attr__('Video tutorial', 'magical-posts-display'); ?>"> 81 81 </a> … … 83 83 </div> 84 84 </div> 85 <div class=" col-4">85 <div class="mgp-col-4"> 86 86 <div class="mgvideo"> 87 <a class=" btn btn-danger venoboxvidbtn-lg vbox-item mgyouvideo" data-autoplay="true" data-vbtype="video" href="https://www.youtube.com/watch?v=R-aOHV5EPpU">87 <a class="mgp-btn mgp-btn-danger venoboxvid mgp-btn-lg vbox-item mgyouvideo" data-autoplay="true" data-vbtype="video" href="https://www.youtube.com/watch?v=R-aOHV5EPpU"> 88 88 <img src="https://img.youtube.com/vi/R-aOHV5EPpU/0.jpg" alt="<?php echo esc_attr__('Video tutorial', 'magical-posts-display'); ?>"> 89 89 </a> … … 91 91 </div> 92 92 </div> 93 <div class=" col-4">93 <div class="mgp-col-4"> 94 94 <div class="mgvideo"> 95 <a class=" btn btn-danger venoboxvidbtn-lg vbox-item mgyouvideo" data-autoplay="true" data-vbtype="video" href="https://www.youtube.com/watch?v=rj3gZ62Wtxo">95 <a class="mgp-btn mgp-btn-danger venoboxvid mgp-btn-lg vbox-item mgyouvideo" data-autoplay="true" data-vbtype="video" href="https://www.youtube.com/watch?v=rj3gZ62Wtxo"> 96 96 <img src="https://img.youtube.com/vi/rj3gZ62Wtxo/0.jpg" alt="<?php echo esc_attr__('Video tutorial', 'magical-posts-display'); ?>"> 97 97 </a> -
magical-posts-display/trunk/assets/css/admin-style.css
r3380394 r3407965 5 5 * 6 6 */ 7 .cmb2-wrap input{ 8 padding: 5px 1px !important; 9 } 10 ul.cmb2-radio-list.cmb2-list li label { 11 background: #0073AA; 12 color: #fff; 13 padding: 10px; 14 } 7 8 /* CMB2 styles removed - no longer needed */ 9 15 10 .select2-container--default .select2-selection--single .select2-selection__arrow { 16 11 height: 26px; … … 28 23 } 29 24 span.select2-selection__clear, 30 .cmb-repeatable-grouping .cmbhandle,31 .cmb-repeatable-grouping h3.cmb-group-title.cmbhandle-title,32 25 input.select2-search__field{ 33 26 display: none; 34 27 } 35 .cmb-repeatable-grouping { 36 padding: 20px 0 !important; 37 } 38 .cmb-type-radio-image .cmb2-radio-list input[type="radio"] + label:hover, 39 .cmb-type-radio-image .cmb2-radio-list input[type="radio"]:checked + label { 40 border-color: forestgreen; 41 } 42 43 .cf-field__body input { 44 max-width: 400px; 45 } 46 .cf-block__fields { 47 padding: 0 2%; 48 } 28 29 /* Carbon Fields and CMB2 styles removed - no longer needed */ 30 49 31 /*Posts style css*/ 50 32 ul.mgpdl-list { 51 33 margin: 0; 52 34 padding: 0; 35 } 36 37 /* Row and Column Grid System */ 38 .mg-cols, 39 .mgp-row, 40 .cols { 41 display: flex; 42 flex-wrap: wrap; 43 margin: 0 -15px; 44 } 45 46 .mg-cols > [class*="mgp-col"], 47 .mgp-row > [class*="mgp-col"], 48 .cols > [class*="mgp-col"] { 49 padding: 0 15px; 50 box-sizing: border-box; 51 } 52 53 /* Column Widths - 12 Column Grid */ 54 .mgp-col-1 { 55 flex: 0 0 8.333333%; 56 max-width: 8.333333%; 57 } 58 59 .mgp-col-2 { 60 flex: 0 0 50%; 61 max-width: 50%; 62 } 63 64 .mgp-col-3 { 65 flex: 0 0 25%; 66 max-width: 25%; 67 } 68 69 .mgp-col-4 { 70 flex: 0 0 33.333333%; 71 max-width: 33.333333%; 72 } 73 74 .mgp-col-5 { 75 flex: 0 0 41.666667%; 76 max-width: 41.666667%; 77 } 78 79 .mgp-col-6 { 80 flex: 0 0 50%; 81 max-width: 50%; 82 } 83 84 .mgp-col-7 { 85 flex: 0 0 58.333333%; 86 max-width: 58.333333%; 87 } 88 89 .mgp-col-8 { 90 flex: 0 0 66.666667%; 91 max-width: 66.666667%; 92 } 93 94 .mgp-col-9 { 95 flex: 0 0 75%; 96 max-width: 75%; 97 } 98 99 .mgp-col-10 { 100 flex: 0 0 83.333333%; 101 max-width: 83.333333%; 102 } 103 104 .mgp-col-11 { 105 flex: 0 0 91.666667%; 106 max-width: 91.666667%; 107 } 108 109 .mgp-col-12 { 110 flex: 0 0 100%; 111 max-width: 100%; 112 } 113 114 .mgp-col-auto { 115 flex: 0 0 auto; 116 width: auto; 117 max-width: 100%; 118 } 119 120 /* Alignment Utilities */ 121 .mgp-row.align-items-center, 122 .cols.align-items-center, 123 .mg-cols.align-items-center { 124 align-items: center; 125 } 126 127 .mgp-row.align-items-start, 128 .cols.align-items-start, 129 .mg-cols.align-items-start { 130 align-items: flex-start; 131 } 132 133 .mgp-row.align-items-end, 134 .cols.align-items-end, 135 .mg-cols.align-items-end { 136 align-items: flex-end; 137 } 138 139 .mgp-row.justify-content-center, 140 .cols.justify-content-center, 141 .mg-cols.justify-content-center { 142 justify-content: center; 143 } 144 145 .mgp-row.justify-content-between, 146 .cols.justify-content-between, 147 .mg-cols.justify-content-between { 148 justify-content: space-between; 149 } 150 151 .mgp-row.justify-content-around, 152 .cols.justify-content-around, 153 .mg-cols.justify-content-around { 154 justify-content: space-around; 155 } 156 157 .mgp-row.justify-content-end, 158 .cols.justify-content-end, 159 .mg-cols.justify-content-end { 160 justify-content: flex-end; 161 } 162 163 /* Text Alignment */ 164 .mgp-text-left { 165 text-align: left; 166 } 167 168 .mgp-text-center { 169 text-align: center; 170 } 171 172 .mgp-text-right { 173 text-align: right; 174 } 175 176 /* Margin Utilities */ 177 .mgp-mt-1 { margin-top: 0.25rem; } 178 .mgp-mt-2 { margin-top: 0.5rem; } 179 .mgp-mt-3 { margin-top: 1rem; } 180 .mgp-mt-4 { margin-top: 1.5rem; } 181 .mgp-mt-5 { margin-top: 3rem; } 182 183 .mgp-mb-1 { margin-bottom: 0.25rem; } 184 .mgp-mb-2 { margin-bottom: 0.5rem; } 185 .mgp-mb-3 { margin-bottom: 1rem; } 186 .mgp-mb-4 { margin-bottom: 1.5rem; } 187 .mgp-mb-5 { margin-bottom: 3rem; } 188 189 .mgp-ml-1 { margin-left: 0.25rem; } 190 .mgp-ml-2 { margin-left: 0.5rem; } 191 .mgp-ml-3 { margin-left: 1rem; } 192 .mgp-ml-4 { margin-left: 1.5rem; } 193 .mgp-ml-5 { margin-left: 3rem; } 194 195 .mgp-mr-1 { margin-right: 0.25rem; } 196 .mgp-mr-2 { margin-right: 0.5rem; } 197 .mgp-mr-3 { margin-right: 1rem; } 198 .mgp-mr-4 { margin-right: 1.5rem; } 199 .mgp-mr-5 { margin-right: 3rem; } 200 201 .mgp-mx-auto { 202 margin-left: auto; 203 margin-right: auto; 204 } 205 206 .mgp-my-auto { 207 margin-top: auto; 208 margin-bottom: auto; 209 } 210 211 .mgp-ml-auto { margin-left: auto; } 212 .mgp-mr-auto { margin-right: auto; } 213 214 .mgp-ms-2 { margin-left: 0.5rem; } 215 .mgp-ms-3 { margin-left: 1rem; } 216 217 /* Padding Utilities */ 218 .mgp-pt-1 { padding-top: 0.25rem; } 219 .mgp-pt-2 { padding-top: 0.5rem; } 220 .mgp-pt-3 { padding-top: 1rem; } 221 .mgp-pt-4 { padding-top: 1.5rem; } 222 .mgp-pt-5 { padding-top: 3rem; } 223 224 .mgp-pb-1 { padding-bottom: 0.25rem; } 225 .mgp-pb-2 { padding-bottom: 0.5rem; } 226 .mgp-pb-3 { padding-bottom: 1rem; } 227 .mgp-pb-4 { padding-bottom: 1.5rem; } 228 .mgp-pb-5 { padding-bottom: 3rem; } 229 230 .mgp-pl-1 { padding-left: 0.25rem; } 231 .mgp-pl-2 { padding-left: 0.5rem; } 232 .mgp-pl-3 { padding-left: 1rem; } 233 .mgp-pl-4 { padding-left: 1.5rem; } 234 .mgp-pl-5 { padding-left: 3rem; } 235 236 .mgp-pr-1 { padding-right: 0.25rem; } 237 .mgp-pr-2 { padding-right: 0.5rem; } 238 .mgp-pr-3 { padding-right: 1rem; } 239 .mgp-pr-4 { padding-right: 1.5rem; } 240 .mgp-pr-5 { padding-right: 3rem; } 241 242 .mgp-p-1 { padding: 0.25rem; } 243 .mgp-p-2 { padding: 0.5rem; } 244 .mgp-p-3 { padding: 1rem; } 245 .mgp-p-4 { padding: 1.5rem; } 246 .mgp-p-5 { padding: 3rem; } 247 248 /* Display Utilities */ 249 .mgp-d-none { display: none; } 250 .mgp-d-block { display: block; } 251 .mgp-d-inline { display: inline; } 252 .mgp-d-inline-block { display: inline-block; } 253 .mgp-d-flex { display: flex; } 254 .mgp-d-inline-flex { display: inline-flex; } 255 256 /* Flex Utilities */ 257 .mgp-flex-row { flex-direction: row; } 258 .mgp-flex-column { flex-direction: column; } 259 .mgp-flex-wrap { flex-wrap: wrap; } 260 .mgp-flex-nowrap { flex-wrap: nowrap; } 261 .mgp-flex-grow-1 { flex-grow: 1; } 262 .mgp-flex-shrink-0 { flex-shrink: 0; } 263 264 /* Width Utilities */ 265 .mgp-w-25 { width: 25%; } 266 .mgp-w-50 { width: 50%; } 267 .mgp-w-75 { width: 75%; } 268 .mgp-w-100 { width: 100%; } 269 .mgp-w-auto { width: auto; } 270 271 /* Height Utilities */ 272 .mgp-h-25 { height: 25%; } 273 .mgp-h-50 { height: 50%; } 274 .mgp-h-75 { height: 75%; } 275 .mgp-h-100 { height: 100%; } 276 .mgp-h-auto { height: auto; } 277 278 /* Gap Utilities */ 279 .mgp-gap-1 { gap: 0.25rem; } 280 .mgp-gap-2 { gap: 0.5rem; } 281 .mgp-gap-3 { gap: 1rem; } 282 .mgp-gap-4 { gap: 1.5rem; } 283 .mgp-gap-5 { gap: 3rem; } 284 285 /* Alert Styles */ 286 .mgp-alert { 287 padding: 15px 20px; 288 border-radius: 6px; 289 margin-bottom: 1rem; 290 } 291 292 .mgp-alert-danger { 293 background-color: #f8d7da; 294 border: 1px solid #f5c6cb; 295 color: #721c24; 296 } 297 298 .mgp-alert-success { 299 background-color: #d4edda; 300 border: 1px solid #c3e6cb; 301 color: #155724; 302 } 303 304 .mgp-alert-warning { 305 background-color: #fff3cd; 306 border: 1px solid #ffeeba; 307 color: #856404; 308 } 309 310 .mgp-alert-info { 311 background-color: #d1ecf1; 312 border: 1px solid #bee5eb; 313 color: #0c5460; 314 } 315 316 /* Shadow Utilities */ 317 .mg-shadow { 318 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); 319 } 320 321 .mg-shadow-sm { 322 box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); 323 } 324 325 .mg-shadow-lg { 326 box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12); 327 } 328 329 /* Border Utilities */ 330 .mgp-border { border: 1px solid #dee2e6; } 331 .mgp-border-0 { border: 0; } 332 .mgp-rounded { border-radius: 0.25rem; } 333 .mgp-rounded-lg { border-radius: 0.5rem; } 334 .mgp-rounded-circle { border-radius: 50%; } 335 336 /* Responsive Columns */ 337 @media (max-width: 991px) { 338 .mgp-col-2, 339 .mgp-col-3, 340 .mgp-col-4 { 341 flex: 0 0 50%; 342 max-width: 50%; 343 } 344 345 .mgp-col-md-12 { 346 flex: 0 0 100%; 347 max-width: 100%; 348 } 349 350 .mgp-col-md-6 { 351 flex: 0 0 50%; 352 max-width: 50%; 353 } 354 } 355 356 @media (max-width: 767px) { 357 .mgp-col-1, 358 .mgp-col-2, 359 .mgp-col-3, 360 .mgp-col-4, 361 .mgp-col-5, 362 .mgp-col-6, 363 .mgp-col-7, 364 .mgp-col-8, 365 .mgp-col-9, 366 .mgp-col-10, 367 .mgp-col-11, 368 .mgp-col-12 { 369 flex: 0 0 100%; 370 max-width: 100%; 371 margin-bottom: 20px; 372 } 373 374 .mg-cols, 375 .mgp-row, 376 .cols { 377 margin: 0; 378 } 379 380 .mg-cols > [class*="mgp-col"], 381 .mgp-row > [class*="mgp-col"], 382 .cols > [class*="mgp-col"] { 383 padding: 0; 384 } 385 386 .mgp-d-sm-none { display: none; } 387 .mgp-d-sm-block { display: block; } 388 .mgp-d-sm-flex { display: flex; } 389 390 .mgp-text-sm-center { text-align: center; } 53 391 } 54 392 -
magical-posts-display/trunk/assets/css/fontello.css
r2608250 r3407965 75 75 .icon-mp-tag:before { content: '\2548'; } /* '╈' */ 76 76 .icon-mp-twitter:before { content: '\3256'; } /* '㉖' */ 77 /* X (formerly Twitter) icon using SVG background */ 78 .icon-mp-x { 79 display: inline-block; 80 width: 1em; 81 height: 1em; 82 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z'/%3E%3C/svg%3E"); 83 background-size: contain; 84 background-repeat: no-repeat; 85 background-position: center; 86 vertical-align: middle; 87 margin-right: .2em; 88 margin-left: .2em; 89 } 90 .icon-mp-x:before { content: ''; } /* Override default icon behavior */ 77 91 .icon-mp-play-c:before { content: '\9568'; } /* '镨' */ 78 92 .icon-mp-aright:before { content: '\a652'; } /* 'Ꙓ' */ -
magical-posts-display/trunk/assets/css/mgblock-admin.css
r2318278 r3407965 42 42 } 43 43 44 .mp-display-gird . card {44 .mp-display-gird .mgp-card { 45 45 padding: 0 !important; 46 46 } -
magical-posts-display/trunk/assets/css/mp-style.css
r3380394 r3407965 5 5 * 6 6 */ 7 8 /* =================================== 9 CUSTOM GRID SYSTEM (Bootstrap Replacement) 10 =================================== */ 11 12 /* Container */ 13 .mgp-container { 14 width: 100%; 15 padding-right: 15px; 16 padding-left: 15px; 17 margin-right: auto; 18 margin-left: auto; 19 } 20 21 /* Row */ 22 .mgp-row { 23 display: flex; 24 flex-wrap: wrap; 25 margin-right: -15px; 26 margin-left: -15px; 27 } 28 29 /* Base Column */ 30 [class*="mgp-col-"] { 31 position: relative; 32 width: 100%; 33 padding-right: 15px; 34 padding-left: 15px; 35 } 36 37 /* Extra Large Devices (1200px and up) */ 38 .mgp-col-lg-1 { flex: 0 0 8.333333%; max-width: 8.333333%; } 39 .mgp-col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; } 40 .mgp-col-lg-3 { flex: 0 0 25%; max-width: 25%; } 41 .mgp-col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; } 42 .mgp-col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; } 43 .mgp-col-lg-6 { flex: 0 0 50%; max-width: 50%; } 44 .mgp-col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; } 45 .mgp-col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; } 46 .mgp-col-lg-9 { flex: 0 0 75%; max-width: 75%; } 47 .mgp-col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; } 48 .mgp-col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; } 49 .mgp-col-lg-12 { flex: 0 0 100%; max-width: 100%; } 50 51 /* Medium Devices (768px and up) */ 52 @media (max-width: 991px) { 53 .mgp-col-md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; } 54 .mgp-col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; } 55 .mgp-col-md-3 { flex: 0 0 25%; max-width: 25%; } 56 .mgp-col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; } 57 .mgp-col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; } 58 .mgp-col-md-6 { flex: 0 0 50%; max-width: 50%; } 59 .mgp-col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; } 60 .mgp-col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; } 61 .mgp-col-md-9 { flex: 0 0 75%; max-width: 75%; } 62 .mgp-col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; } 63 .mgp-col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; } 64 .mgp-col-md-12 { flex: 0 0 100%; max-width: 100%; } 65 } 66 67 /* Small Devices (576px and up) */ 68 @media (max-width: 767px) { 69 .mgp-col-sm-1 { flex: 0 0 8.333333%; max-width: 8.333333%; } 70 .mgp-col-sm-2 { flex: 0 0 16.666667%; max-width: 16.666667%; } 71 .mgp-col-sm-3 { flex: 0 0 25%; max-width: 25%; } 72 .mgp-col-sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; } 73 .mgp-col-sm-5 { flex: 0 0 41.666667%; max-width: 41.666667%; } 74 .mgp-col-sm-6 { flex: 0 0 50%; max-width: 50%; } 75 .mgp-col-sm-7 { flex: 0 0 58.333333%; max-width: 58.333333%; } 76 .mgp-col-sm-8 { flex: 0 0 66.666667%; max-width: 66.666667%; } 77 .mgp-col-sm-9 { flex: 0 0 75%; max-width: 75%; } 78 .mgp-col-sm-10 { flex: 0 0 83.333333%; max-width: 83.333333%; } 79 .mgp-col-sm-11 { flex: 0 0 91.666667%; max-width: 91.666667%; } 80 .mgp-col-sm-12 { flex: 0 0 100%; max-width: 100%; } 81 } 82 83 /* Extra Small Devices (below 576px) - All full width */ 84 @media (max-width: 575px) { 85 [class*="mgp-col-"] { 86 flex: 0 0 100%; 87 max-width: 100%; 88 } 89 } 90 91 /* Card Styles (Bootstrap card replacement) */ 92 .mgp-card { 93 position: relative; 94 display: flex; 95 flex-direction: column; 96 min-width: 0; 97 word-wrap: break-word; 98 background-color: #fff; 99 background-clip: border-box; 100 border: 1px solid rgba(0,0,0,.125); 101 border-radius: 0.25rem; 102 } 103 104 .mgp-card-body { 105 flex: 1 1 auto; 106 padding: 1.25rem; 107 } 108 109 .mgp-card-text { 110 margin-top: 0; 111 margin-bottom: 1rem; 112 } 113 114 /* Margin Bottom Utility */ 115 .mgp-mb-0 { margin-bottom: 0 !important; } 116 .mgp-mb-1 { margin-bottom: 0.25rem !important; } 117 .mgp-mb-2 { margin-bottom: 0.5rem !important; } 118 .mgp-mb-3 { margin-bottom: 1rem !important; } 119 .mgp-mb-4 { margin-bottom: 1.5rem !important; } 120 .mgp-mb-5 { margin-bottom: 3rem !important; } 121 122 /* Margin Top Utility */ 123 .mgp-mt-0 { margin-top: 0 !important; } 124 .mgp-mt-1 { margin-top: 0.25rem !important; } 125 .mgp-mt-2 { margin-top: 0.5rem !important; } 126 .mgp-mt-3 { margin-top: 1rem !important; } 127 .mgp-mt-4 { margin-top: 1.5rem !important; } 128 .mgp-mt-5 { margin-top: 3rem !important; } 129 130 /* Margin Left/Right Utility */ 131 .mgp-ml-0 { margin-left: 0 !important; } 132 .mgp-ml-1 { margin-left: 0.25rem !important; } 133 .mgp-ml-2 { margin-left: 0.5rem !important; } 134 .mgp-ml-3 { margin-left: 1rem !important; } 135 .mgp-ml-auto { margin-left: auto !important; } 136 .mgp-mr-0 { margin-right: 0 !important; } 137 .mgp-mr-1 { margin-right: 0.25rem !important; } 138 .mgp-mr-2 { margin-right: 0.5rem !important; } 139 .mgp-mr-3 { margin-right: 1rem !important; } 140 .mgp-mr-auto { margin-right: auto !important; } 141 .mgp-mx-auto { margin-left: auto !important; margin-right: auto !important; } 142 143 /* Padding Utilities */ 144 .mgp-p-0 { padding: 0 !important; } 145 .mgp-p-1 { padding: 0.25rem !important; } 146 .mgp-p-2 { padding: 0.5rem !important; } 147 .mgp-p-3 { padding: 1rem !important; } 148 .mgp-p-4 { padding: 1.5rem !important; } 149 .mgp-p-5 { padding: 3rem !important; } 150 151 .mgp-pt-0 { padding-top: 0 !important; } 152 .mgp-pt-1 { padding-top: 0.25rem !important; } 153 .mgp-pt-2 { padding-top: 0.5rem !important; } 154 .mgp-pt-3 { padding-top: 1rem !important; } 155 .mgp-pt-4 { padding-top: 1.5rem !important; } 156 .mgp-pt-5 { padding-top: 3rem !important; } 157 158 .mgp-pb-0 { padding-bottom: 0 !important; } 159 .mgp-pb-1 { padding-bottom: 0.25rem !important; } 160 .mgp-pb-2 { padding-bottom: 0.5rem !important; } 161 .mgp-pb-3 { padding-bottom: 1rem !important; } 162 .mgp-pb-4 { padding-bottom: 1.5rem !important; } 163 .mgp-pb-5 { padding-bottom: 3rem !important; } 164 165 .mgp-pl-0 { padding-left: 0 !important; } 166 .mgp-pl-1 { padding-left: 0.25rem !important; } 167 .mgp-pl-2 { padding-left: 0.5rem !important; } 168 .mgp-pl-3 { padding-left: 1rem !important; } 169 .mgp-pr-0 { padding-right: 0 !important; } 170 .mgp-pr-1 { padding-right: 0.25rem !important; } 171 .mgp-pr-2 { padding-right: 0.5rem !important; } 172 .mgp-pr-3 { padding-right: 1rem !important; } 173 174 .mgp-py-0 { padding-top: 0 !important; padding-bottom: 0 !important; } 175 .mgp-py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; } 176 .mgp-py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; } 177 .mgp-py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; } 178 .mgp-py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; } 179 .mgp-py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; } 180 181 .mgp-px-0 { padding-left: 0 !important; padding-right: 0 !important; } 182 .mgp-px-1 { padding-left: 0.25rem !important; padding-right: 0.25rem !important; } 183 .mgp-px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; } 184 .mgp-px-3 { padding-left: 1rem !important; padding-right: 1rem !important; } 185 .mgp-px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; } 186 .mgp-px-5 { padding-left: 3rem !important; padding-right: 3rem !important; } 187 188 /* Text Alignment */ 189 .mgp-text-center { text-align: center !important; } 190 .mgp-text-left { text-align: left !important; } 191 .mgp-text-right { text-align: right !important; } 192 .mgp-text-justify { text-align: justify !important; } 193 194 /* Text Colors */ 195 .mgp-text-primary { color: #007bff !important; } 196 .mgp-text-secondary { color: #6c757d !important; } 197 .mgp-text-success { color: #28a745 !important; } 198 .mgp-text-danger { color: #dc3545 !important; } 199 .mgp-text-warning { color: #ffc107 !important; } 200 .mgp-text-info { color: #17a2b8 !important; } 201 .mgp-text-light { color: #f8f9fa !important; } 202 .mgp-text-dark { color: #343a40 !important; } 203 .mgp-text-white { color: #fff !important; } 204 .mgp-text-muted { color: #6c757d !important; } 205 206 /* Background Colors */ 207 .mgp-bg-primary { background-color: #007bff !important; } 208 .mgp-bg-secondary { background-color: #6c757d !important; } 209 .mgp-bg-success { background-color: #28a745 !important; } 210 .mgp-bg-danger { background-color: #dc3545 !important; color: #fff; } 211 .mgp-bg-warning { background-color: #ffc107 !important; } 212 .mgp-bg-info { background-color: #17a2b8 !important; color: #fff; } 213 .mgp-bg-light { background-color: #f8f9fa !important; } 214 .mgp-bg-dark { background-color: #343a40 !important; color: #fff; } 215 .mgp-bg-white { background-color: #fff !important; } 216 .mgp-bg-transparent { background-color: transparent !important; } 217 218 /* Display Utilities */ 219 .mgp-d-none { display: none !important; } 220 .mgp-d-inline { display: inline !important; } 221 .mgp-d-inline-block { display: inline-block !important; } 222 .mgp-d-block { display: block !important; } 223 .mgp-d-flex { display: flex !important; } 224 .mgp-d-inline-flex { display: inline-flex !important; } 225 226 /* Flexbox Utilities */ 227 .mgp-flex-row { flex-direction: row !important; } 228 .mgp-flex-column { flex-direction: column !important; } 229 .mgp-flex-wrap { flex-wrap: wrap !important; } 230 .mgp-flex-nowrap { flex-wrap: nowrap !important; } 231 .mgp-justify-content-start { justify-content: flex-start !important; } 232 .mgp-justify-content-end { justify-content: flex-end !important; } 233 .mgp-justify-content-center { justify-content: center !important; } 234 .mgp-justify-content-between { justify-content: space-between !important; } 235 .mgp-justify-content-around { justify-content: space-around !important; } 236 .mgp-align-items-start { align-items: flex-start !important; } 237 .mgp-align-items-end { align-items: flex-end !important; } 238 .mgp-align-items-center { align-items: center !important; } 239 .mgp-align-items-stretch { align-items: stretch !important; } 240 241 /* Width/Height Utilities */ 242 .mgp-w-25 { width: 25% !important; } 243 .mgp-w-50 { width: 50% !important; } 244 .mgp-w-75 { width: 75% !important; } 245 .mgp-w-100 { width: 100% !important; } 246 .mgp-w-auto { width: auto !important; } 247 .mgp-h-100 { height: 100% !important; } 248 .mgp-h-auto { height: auto !important; } 249 250 /* Border Utilities */ 251 .mgp-border { border: 1px solid #dee2e6 !important; } 252 .mgp-border-0 { border: 0 !important; } 253 .mgp-border-top { border-top: 1px solid #dee2e6 !important; } 254 .mgp-border-bottom { border-bottom: 1px solid #dee2e6 !important; } 255 .mgp-border-left { border-left: 1px solid #dee2e6 !important; } 256 .mgp-border-right { border-right: 1px solid #dee2e6 !important; } 257 .mgp-rounded { border-radius: 0.25rem !important; } 258 .mgp-rounded-0 { border-radius: 0 !important; } 259 .mgp-rounded-circle { border-radius: 50% !important; } 260 .mgp-rounded-pill { border-radius: 50rem !important; } 261 262 /* Shadow Utilities */ 263 .mgp-shadow-sm { box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075) !important; } 264 .mgp-shadow { box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15) !important; } 265 .mgp-shadow-lg { box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important; } 266 .mgp-shadow-none { box-shadow: none !important; } 267 268 /* Position Utilities */ 269 .mgp-position-relative { position: relative !important; } 270 .mgp-position-absolute { position: absolute !important; } 271 .mgp-position-fixed { position: fixed !important; } 272 .mgp-position-static { position: static !important; } 273 274 /* Overflow Utilities */ 275 .mgp-overflow-auto { overflow: auto !important; } 276 .mgp-overflow-hidden { overflow: hidden !important; } 277 .mgp-overflow-visible { overflow: visible !important; } 278 .mgp-overflow-scroll { overflow: scroll !important; } 279 280 /* Alert Styles */ 281 .mgp-alert { 282 position: relative; 283 padding: 0.75rem 1.25rem; 284 margin-bottom: 1rem; 285 border: 1px solid transparent; 286 border-radius: 0.25rem; 287 } 288 .mgp-alert-primary { 289 color: #004085; 290 background-color: #cce5ff; 291 border-color: #b8daff; 292 } 293 .mgp-alert-secondary { 294 color: #383d41; 295 background-color: #e2e3e5; 296 border-color: #d6d8db; 297 } 298 .mgp-alert-success { 299 color: #155724; 300 background-color: #d4edda; 301 border-color: #c3e6cb; 302 } 303 .mgp-alert-danger { 304 color: #721c24; 305 background-color: #f8d7da; 306 border-color: #f5c6cb; 307 } 308 .mgp-alert-warning { 309 color: #856404; 310 background-color: #fff3cd; 311 border-color: #ffeeba; 312 } 313 .mgp-alert-info { 314 color: #0c5460; 315 background-color: #d1ecf1; 316 border-color: #bee5eb; 317 } 318 .mgp-alert-light { 319 color: #818182; 320 background-color: #fefefe; 321 border-color: #fdfdfe; 322 } 323 .mgp-alert-dark { 324 color: #1b1e21; 325 background-color: #d6d8d9; 326 border-color: #c6c8ca; 327 } 328 329 /* Button Styles */ 330 .mgp-btn { 331 display: inline-block; 332 font-weight: 400; 333 text-align: center; 334 vertical-align: middle; 335 user-select: none; 336 border: 1px solid transparent; 337 padding: 0.375rem 0.75rem; 338 font-size: 1rem; 339 line-height: 1.5; 340 border-radius: 0.25rem; 341 text-decoration: none; 342 cursor: pointer; 343 transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; 344 } 345 .mgp-btn:hover { 346 text-decoration: none; 347 } 348 .mgp-btn:focus { 349 outline: 0; 350 box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25); 351 } 352 .mgp-btn-primary { 353 color: #fff; 354 background-color: #007bff; 355 border-color: #007bff; 356 } 357 .mgp-btn-primary:hover { 358 color: #fff; 359 background-color: #0069d9; 360 border-color: #0062cc; 361 } 362 .mgp-btn-secondary { 363 color: #fff; 364 background-color: #6c757d; 365 border-color: #6c757d; 366 } 367 .mgp-btn-secondary:hover { 368 color: #fff; 369 background-color: #5a6268; 370 border-color: #545b62; 371 } 372 .mgp-btn-success { 373 color: #fff; 374 background-color: #28a745; 375 border-color: #28a745; 376 } 377 .mgp-btn-success:hover { 378 color: #fff; 379 background-color: #218838; 380 border-color: #1e7e34; 381 } 382 .mgp-btn-danger { 383 color: #fff; 384 background-color: #dc3545; 385 border-color: #dc3545; 386 } 387 .mgp-btn-danger:hover { 388 color: #fff; 389 background-color: #c82333; 390 border-color: #bd2130; 391 } 392 .mgp-btn-warning { 393 color: #212529; 394 background-color: #ffc107; 395 border-color: #ffc107; 396 } 397 .mgp-btn-warning:hover { 398 color: #212529; 399 background-color: #e0a800; 400 border-color: #d39e00; 401 } 402 .mgp-btn-info { 403 color: #fff; 404 background-color: #17a2b8; 405 border-color: #17a2b8; 406 } 407 .mgp-btn-info:hover { 408 color: #fff; 409 background-color: #138496; 410 border-color: #117a8b; 411 } 412 .mgp-btn-light { 413 color: #212529; 414 background-color: #f8f9fa; 415 border-color: #f8f9fa; 416 } 417 .mgp-btn-light:hover { 418 color: #212529; 419 background-color: #e2e6ea; 420 border-color: #dae0e5; 421 } 422 .mgp-btn-dark { 423 color: #fff; 424 background-color: #343a40; 425 border-color: #343a40; 426 } 427 .mgp-btn-dark:hover { 428 color: #fff; 429 background-color: #23272b; 430 border-color: #1d2124; 431 } 432 .mgp-btn-outline-primary { 433 color: #007bff; 434 border-color: #007bff; 435 background-color: transparent; 436 } 437 .mgp-btn-outline-primary:hover { 438 color: #fff; 439 background-color: #007bff; 440 border-color: #007bff; 441 } 442 .mgp-btn-outline-secondary { 443 color: #6c757d; 444 border-color: #6c757d; 445 background-color: transparent; 446 } 447 .mgp-btn-outline-secondary:hover { 448 color: #fff; 449 background-color: #6c757d; 450 border-color: #6c757d; 451 } 452 .mgp-btn-outline-danger { 453 color: #dc3545; 454 border-color: #dc3545; 455 background-color: transparent; 456 } 457 .mgp-btn-outline-danger:hover { 458 color: #fff; 459 background-color: #dc3545; 460 border-color: #dc3545; 461 } 462 .mgp-btn-sm { 463 padding: 0.25rem 0.5rem; 464 font-size: 0.875rem; 465 line-height: 1.5; 466 border-radius: 0.2rem; 467 } 468 .mgp-btn-lg { 469 padding: 0.5rem 1rem; 470 font-size: 1.25rem; 471 line-height: 1.5; 472 border-radius: 0.3rem; 473 } 474 .mgp-btn-block { 475 display: block; 476 width: 100%; 477 } 478 479 /* Nav/Tabs Styles */ 480 .mgp-nav { 481 display: flex; 482 flex-wrap: wrap; 483 padding-left: 0; 484 margin-bottom: 0; 485 list-style: none; 486 } 487 .mgp-nav-item { 488 margin-bottom: -1px; 489 } 490 .mgp-nav-link { 491 display: block; 492 padding: 0.5rem 1rem; 493 text-decoration: none; 494 background-color: transparent; 495 transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out; 496 } 497 .mgp-nav-link:hover, 498 .mgp-nav-link:focus { 499 text-decoration: none; 500 } 501 .mgp-nav-link.mgp-disabled { 502 color: #6c757d; 503 pointer-events: none; 504 cursor: default; 505 } 506 .mgp-nav-tabs { 507 border-bottom: 1px solid #dee2e6; 508 } 509 .mgp-nav-tabs .mgp-nav-item { 510 margin-bottom: -1px; 511 } 512 .mgp-nav-tabs .mgp-nav-link { 513 border: 1px solid transparent; 514 border-top-left-radius: 0.25rem; 515 border-top-right-radius: 0.25rem; 516 } 517 .mgp-nav-tabs .mgp-nav-link:hover, 518 .mgp-nav-tabs .mgp-nav-link:focus { 519 border-color: #e9ecef #e9ecef #dee2e6; 520 } 521 .mgp-nav-tabs .mgp-nav-link.mgp-active, 522 .mgp-nav-tabs .mgp-nav-link.active { 523 color: #495057; 524 background-color: #fff; 525 border-color: #dee2e6 #dee2e6 #fff; 526 } 527 .mgp-nav-pills .mgp-nav-link { 528 border-radius: 0.25rem; 529 } 530 .mgp-nav-pills .mgp-nav-link.mgp-active, 531 .mgp-nav-pills .mgp-nav-link.active { 532 color: #fff; 533 background-color: #007bff; 534 } 535 .mgp-nav-fill .mgp-nav-item { 536 flex: 1 1 auto; 537 text-align: center; 538 } 539 .mgp-nav-justified .mgp-nav-item { 540 flex-basis: 0; 541 flex-grow: 1; 542 text-align: center; 543 } 544 545 /* Tab Content */ 546 .mgp-tab-content > .mgp-tab-pane { 547 display: none; 548 } 549 .mgp-tab-content > .mgp-tab-pane.mgp-active, 550 .mgp-tab-content > .mgp-tab-pane.active, 551 .mgp-tab-content > .mgp-tab-pane.mgp-show, 552 .mgp-tab-content > .mgp-tab-pane.show { 553 display: block; 554 } 555 556 /* Fade Animation */ 557 .mgp-fade { 558 transition: opacity 0.15s linear; 559 } 560 .mgp-fade:not(.mgp-show):not(.show) { 561 opacity: 0; 562 } 563 564 /* Show/Hide */ 565 .mgp-show { 566 display: block !important; 567 } 568 .mgp-hide { 569 display: none !important; 570 } 571 572 /* Collapse */ 573 .mgp-collapse:not(.mgp-show):not(.show) { 574 display: none; 575 } 576 .mgp-collapse.mgp-show, 577 .mgp-collapse.show { 578 display: block; 579 } 580 .mgp-collapsing { 581 position: relative; 582 height: 0; 583 overflow: hidden; 584 transition: height 0.35s ease; 585 } 586 587 /* Card Header (for accordion) */ 588 .mgp-card-header { 589 padding: 0.75rem 1.25rem; 590 margin-bottom: 0; 591 background-color: rgba(0,0,0,.03); 592 border-bottom: 1px solid rgba(0,0,0,.125); 593 } 594 .mgp-card-header:first-child { 595 border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0; 596 } 597 598 /* Accordion Styles */ 599 .mgp-accordion .mgp-card { 600 overflow: hidden; 601 } 602 .mgp-accordion .mgp-card:not(:last-of-type) { 603 border-bottom: 0; 604 border-bottom-right-radius: 0; 605 border-bottom-left-radius: 0; 606 } 607 .mgp-accordion .mgp-card:not(:first-of-type) { 608 border-top-left-radius: 0; 609 border-top-right-radius: 0; 610 } 611 .mgp-accordion .mgp-card-header { 612 border-radius: 0; 613 margin-bottom: -1px; 614 } 615 616 /* Collapsed State */ 617 .collapsed .mgp-icon-rotate { 618 transform: rotate(-90deg); 619 } 620 [aria-expanded="true"] .mgp-icon-rotate { 621 transform: rotate(0deg); 622 } 623 .mgp-icon-rotate { 624 transition: transform 0.2s ease-in-out; 625 } 626 627 /* Image Utilities */ 628 .mgp-img-fluid { 629 max-width: 100%; 630 height: auto; 631 } 632 .mgp-img-thumbnail { 633 padding: 0.25rem; 634 background-color: #fff; 635 border: 1px solid #dee2e6; 636 border-radius: 0.25rem; 637 max-width: 100%; 638 height: auto; 639 } 640 641 /* Clearfix */ 642 .mgp-clearfix::after { 643 display: block; 644 clear: both; 645 content: ""; 646 } 647 648 /* Float Utilities */ 649 .mgp-float-left { float: left !important; } 650 .mgp-float-right { float: right !important; } 651 .mgp-float-none { float: none !important; } 652 653 /* Visibility */ 654 .mgp-visible { visibility: visible !important; } 655 .mgp-invisible { visibility: hidden !important; } 656 657 /* Screen Reader Only */ 658 .mgp-sr-only { 659 position: absolute; 660 width: 1px; 661 height: 1px; 662 padding: 0; 663 margin: -1px; 664 overflow: hidden; 665 clip: rect(0, 0, 0, 0); 666 white-space: nowrap; 667 border: 0; 668 } 669 670 /* Auto Column */ 671 .mgp-col-auto { 672 flex: 0 0 auto; 673 width: auto; 674 max-width: 100%; 675 } 676 677 /* =================================== 678 END CUSTOM GRID SYSTEM 679 =================================== */ 7 680 8 681 /*Error style */ … … 102 775 } 103 776 .mg-shadow, 104 .mgpd . card {777 .mgpd .mgp-card { 105 778 border-radius: 2px; 106 779 box-shadow: 0 0.2rem 2.8rem rgba(36, 36, 36, 0.1); 107 780 } 108 . card.mgpdl-card {781 .mgp-card.mgpdl-card { 109 782 display: flex; 110 783 align-items: center; … … 117 790 118 791 @media (max-width: 767px) { 119 . card.mgpdl-card {792 .mgp-card.mgpdl-card { 120 793 flex-flow: row wrap; 121 794 } 122 . card.mgpdl-card.no-wrap {795 .mgp-card.mgpdl-card.no-wrap { 123 796 flex-wrap: nowrap; 124 797 } … … 143 816 padding-right: 0; 144 817 } 145 .mgpd . card-title {818 .mgpd .mgp-card-title { 146 819 margin: 0 0 10px 0; 147 820 } 148 . card-title.mgpd-title {821 .mgp-card-title.mgpd-title { 149 822 padding: 0; 150 823 margin: 0 0 10px 0; … … 154 827 overflow: hidden; 155 828 } 156 . card-title.mgpd-title a:hover,157 . card-title.mgpd-title a {829 .mgp-card-title.mgpd-title a:hover, 830 .mgp-card-title.mgpd-title a { 158 831 text-decoration: none !important; 159 832 } … … 164 837 background: #ccc; 165 838 } 166 . card-body.mgpdl-text {839 .mgp-card-body.mgpdl-text { 167 840 height: 100%; 168 841 display: flex; … … 170 843 justify-content: center; 171 844 } 172 .mgladp1-all . card-body.mgpdl-text {845 .mgladp1-all .mgp-card-body.mgpdl-text { 173 846 padding: 0 1rem; 174 847 } … … 242 915 height: 40px; 243 916 } 244 .mgpdl-hasimg . card-footer {917 .mgpdl-hasimg .mgp-card-footer { 245 918 background-color: transparent; 246 919 border-top: none; … … 321 994 width: 100%; 322 995 } 323 .mgpdc2 . card {996 .mgpdc2 .mgp-card { 324 997 position: relative; 325 998 overflow: hidden; 326 999 width: 100%; 327 1000 } 328 .mgpdc2 . card .mp-meta.cat-list {1001 .mgpdc2 .mgp-card .mp-meta.cat-list { 329 1002 position: absolute; 330 1003 top: 5px; … … 336 1009 opacity: 0; 337 1010 } 338 .mgpdc2 . card:hover .mp-meta.cat-list {1011 .mgpdc2 .mgp-card:hover .mp-meta.cat-list { 339 1012 visibility: visible; 340 1013 opacity: 1; … … 344 1017 overflow: hidden; 345 1018 } 346 .mgpdc2 . card img {1019 .mgpdc2 .mgp-card img { 347 1020 transform: scale(1); 348 1021 transition: 0.5s; 349 1022 } 350 .mgpdc2 . card:hover img {1023 .mgpdc2 .mgp-card:hover img { 351 1024 transform: scale(1.1); 352 1025 } … … 390 1063 } 391 1064 /*Posts style css*/ 392 . card.mgpdl-card figure img {1065 .mgp-card.mgpdl-card figure img { 393 1066 width: 100%; 394 1067 } … … 502 1175 line-height: 14px; 503 1176 } 504 li.mpdw-recent-item . col-sm-4 {1177 li.mpdw-recent-item .mgp-col-sm-4 { 505 1178 padding: 0 !important; 506 1179 } 507 1180 508 li.mpdw-recent-item . col-sm-8 {1181 li.mpdw-recent-item .mgp-col-sm-8 { 509 1182 padding-right: 5px !important; 510 1183 } 511 ul.mpdw-recent-posts.twostyle . row {1184 ul.mpdw-recent-posts.twostyle .mgp-row { 512 1185 flex-direction: column; 513 1186 } 514 1187 515 ul.mpdw-recent-posts.twostyle . row .col-sm-4,516 ul.mpdw-recent-posts.twostyle . row .col-sm-8 {1188 ul.mpdw-recent-posts.twostyle .mgp-row .mgp-col-sm-4, 1189 ul.mpdw-recent-posts.twostyle .mgp-row .mgp-col-sm-8 { 517 1190 width: 100%; 518 1191 } … … 522 1195 } 523 1196 /* Accordion style*/ 524 1197 .card-header.mg-accordion-title { 1198 position: relative; 1199 } 525 1200 a.mgbaccordion-title-link:hover { 526 1201 text-decoration: none !important; … … 544 1219 display: none; 545 1220 } 546 1221 .mpdac-post-details { 1222 padding: 15px 10px; 1223 } 547 1224 i.mba-up { 548 1225 display: none; … … 879 1556 font-weight: 700; 880 1557 color: #fff; 1558 } 1559 .mgps-main .mgs-title{ 1560 color: #fff; 1561 font-size: 2rem; 1562 line-height: 1.2; 881 1563 } 882 1564 .mgs-subtitle { -
magical-posts-display/trunk/assets/css/news-magazine-grid.css
r3325763 r3407965 63 63 position: relative; 64 64 overflow: hidden; 65 height: 250px;65 min-height: 250px; 66 66 } 67 67 … … 109 109 110 110 .mgp-grid-grid_style_1 .mgp-big-post .mgp-post-title a { 111 color: # 333;111 color: #ffffff; 112 112 text-decoration: none; 113 113 font-weight: 600; … … 120 120 .mgp-grid-grid_style_1 .mgp-big-post .mgp-post-excerpt { 121 121 font-size: 15px; 122 color: # 666;122 color: #e9e9e9; 123 123 line-height: 1.5; 124 124 margin: 10px 0; … … 129 129 padding-bottom: 5px; 130 130 font-size: 13px; 131 color: # 666;131 color: #e9e9e9; 132 132 display: flex; 133 133 align-items: center; 134 gap: 15px;135 134 } 136 135 … … 195 194 196 195 .mgp-grid-grid_style_1 .mgp-small-post .mgp-post-title a { 197 color: # 333;196 color: #ffffff; 198 197 text-decoration: none; 199 198 font-weight: 600; … … 214 213 margin-top: 8px; 215 214 font-size: 11px; 216 color: # 999;215 color: #f1f1f1; 217 216 } 218 217 -
magical-posts-display/trunk/assets/css/news-magazine-img-grid.css
r3325763 r3407965 151 151 } 152 152 153 .mgp-big-post .mgp-post-category {154 position: absolute;155 top: 20px;156 left: 20px;157 z-index: 3;158 }159 160 153 .mgp-big-post .mgp-post-category a { 161 154 background: rgba(255, 255, 255, 0.95); … … 339 332 .mgp-small-post .mgp-post-content { 340 333 position: absolute; 341 bottom: 0;334 bottom: 10px; 342 335 left: 0; 343 336 right: 0; … … 566 559 left: 0; 567 560 width: 100%; 568 height: 100% ;561 height: 100% !important; 569 562 } 570 563 -
magical-posts-display/trunk/assets/css/widget-style/mp-accordion.css
r3116993 r3407965 1 .accordion.mgaccordion{ 2 overflow: hidden; 3 } 4 5 .card-header.mg-accordion-title { 1 /* =================================== 2 Collapse/Accordion Animation Styles 3 =================================== */ 4 5 /* Base collapse styles - hidden by default */ 6 .collapse, 7 .mgp-collapse { 8 display: none; 9 overflow: hidden; 10 } 11 12 /* Show state */ 13 .collapse.show, 14 .collapse.mgp-show, 15 .mgp-collapse.show, 16 .mgp-collapse.mgp-show { 17 display: block; 18 } 19 20 /* Collapsing animation state */ 21 .mgp-collapsing { 22 display: block !important; 23 height: 0; 24 overflow: hidden; 25 transition: height 0.3s ease; 26 } 27 28 /* Accordion wrapper */ 29 .accordion.mgaccordion, 30 .mgaccordion { 31 overflow: hidden; 32 } 33 34 /* Accordion card spacing */ 35 .mgaccordion .mgp-card { 36 margin-bottom: 10px; 37 } 38 39 /* Clickable title cursor */ 40 .mgrc-title { 41 cursor: pointer; 42 } 43 44 .mgp-card-header.mg-accordion-title { 6 45 padding: 0; 7 46 position: relative; … … 18 57 margin-bottom: 1rem; 19 58 } 20 .mg-curve-shape . card {59 .mg-curve-shape .mgp-card { 21 60 border: none; 22 61 box-shadow: inherit; … … 30 69 border-radius: 20px 20px 0 0; 31 70 } 32 .eacolor . card-header.mg-accordion-title .mgrc-title{71 .eacolor .mgp-card-header.mg-accordion-title .mgrc-title{ 33 72 background: linear-gradient(190deg, #130D6F 0%, #952598 80%); 34 73 color: #fff; … … 77 116 align-items: center; 78 117 justify-content: center; 79 height: 100%; 118 height: 100%; 119 position: absolute; 120 right: 50%; 121 top: 0; 80 122 } 81 123 .mgaccordion .mgrc-title .mgc-icon svg { … … 83 125 fill: #fff; 84 126 } 85 .collapsed .mgc-icon.mgc-icon-top { 86 display: flex; 87 } 127 128 /* Icon toggle for collapsed/expanded states */ 88 129 .mgc-icon.mgc-icon-top { 89 130 display: none; 90 131 } 132 .collapsed .mgc-icon.mgc-icon-top, 133 .mgp-collapsed .mgc-icon.mgc-icon-top { 134 display: flex; 135 } 136 .collapsed .mgc-icon.mgc-icon-bottom, 137 .mgp-collapsed .mgc-icon.mgc-icon-bottom { 138 display: none; 139 } 140 .mgc-icon.mgc-icon-bottom { 141 display: flex; 142 } 143 91 144 .mgc-left-icon .mgc-icon { 92 145 position: absolute; … … 104 157 } 105 158 106 .mgrc-title.collapsed .mgc-close { 107 opacity: 1; 108 } 159 /* Open/Close icon transitions */ 109 160 .mgrc-title .mgc-close { 110 161 opacity: 0; 111 transition: 0.2s 112 } 113 .mgrc-title.collapsed .mgc-open { 114 opacity: 0; 162 transition: opacity 0.2s ease; 115 163 } 116 164 .mgrc-title .mgc-open { 117 165 opacity: 1; 118 transition: 0.2s 119 } 166 transition: opacity 0.2s ease; 167 } 168 .mgrc-title.collapsed .mgc-close, 169 .mgrc-title.mgp-collapsed .mgc-close { 170 opacity: 1; 171 } 172 .mgrc-title.collapsed .mgc-open, 173 .mgrc-title.mgp-collapsed .mgc-open { 174 opacity: 0; 175 } 176 120 177 .mgrc-item-right-right .mgrc-title { 121 178 padding-right: 75px; … … 143 200 } 144 201 145 . card-body.mgac-content.mgac-effect1 {202 .mgp-card-body.mgac-content.mgac-effect1 { 146 203 transform: rotateY(90deg); 147 transition: 0.5s; 148 } 149 150 .show .card-body.mgac-content.mgac-effect1 { 204 transition: transform 0.5s ease; 205 } 206 207 .show .mgp-card-body.mgac-content.mgac-effect1, 208 .mgp-show .mgp-card-body.mgac-content.mgac-effect1, 209 .mgp-card-body.mgac-content.mgac-effect1.show, 210 .mgp-card-body.mgac-content.mgac-effect1.mgp-show { 151 211 transform: rotateY(0); 152 212 } 153 .card-body.mgac-content.mgac-effect2 { 213 214 .mgp-card-body.mgac-content.mgac-effect2 { 154 215 transform: rotateX(90deg); 155 transition: 0.5s; 156 } 157 158 .show .card-body.mgac-content.mgac-effect2 { 216 transition: transform 0.5s ease; 217 } 218 219 .show .mgp-card-body.mgac-content.mgac-effect2, 220 .mgp-show .mgp-card-body.mgac-content.mgac-effect2, 221 .mgp-card-body.mgac-content.mgac-effect2.show, 222 .mgp-card-body.mgac-content.mgac-effect2.mgp-show { 159 223 transform: rotateX(0); 160 224 } 161 .card-body.mgac-content.mgac-effect3 { 225 226 .mgp-card-body.mgac-content.mgac-effect3 { 162 227 transform: scale(0); 163 transition: 0.5s; 164 } 165 166 .show .card-body.mgac-content.mgac-effect3 { 228 transition: transform 0.5s ease; 229 } 230 231 .show .mgp-card-body.mgac-content.mgac-effect3, 232 .mgp-show .mgp-card-body.mgac-content.mgac-effect3, 233 .mgp-card-body.mgac-content.mgac-effect3.show, 234 .mgp-card-body.mgac-content.mgac-effect3.mgp-show { 167 235 transform: scale(1); 168 236 } -
magical-posts-display/trunk/assets/css/widget-style/mp-tabs.css
r2598735 r3407965 5 5 * 6 6 */ 7 .mpdtab-nav-wrap ul.nav { 7 8 /* Core Tab Functionality - Required for tabs to work */ 9 .mgp-tab-content > .mgp-tab-pane, 10 .tab-content > .tab-pane { 11 display: none; 12 opacity: 0; 13 } 14 .mgp-tab-content > .mgp-active, 15 .mgp-tab-content > .active, 16 .tab-content > .active { 17 display: block; 18 } 19 20 /* Fade Animation for Tabs */ 21 .mgp-fade, 22 .fade { 23 opacity: 0; 24 transition: opacity 0.3s ease-in-out; 25 } 26 .mgp-fade.mgp-show, 27 .mgp-fade.show, 28 .fade.show, 29 .mgp-tab-pane.mgp-active.mgp-show, 30 .mgp-tab-pane.active.show, 31 .tab-pane.active.show { 32 opacity: 1; 33 } 34 35 /* Ensure active tabs are visible */ 36 .mgp-tab-content > .mgp-tab-pane.mgp-active, 37 .mgp-tab-content > .mgp-tab-pane.active, 38 .tab-content > .tab-pane.active { 39 display: block; 40 } 41 42 /* Nav Base Styles */ 43 .mgp-nav, 44 .nav { 45 display: flex; 46 flex-wrap: wrap; 47 padding-left: 0; 48 margin-bottom: 0; 49 list-style: none; 50 } 51 .mgp-nav-link, 52 .nav-link { 53 display: block; 54 padding: 0.5rem 1rem; 55 text-decoration: none; 56 transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out; 57 cursor: pointer; 58 } 59 .mgp-nav-tabs, 60 .nav-tabs { 61 border-bottom: 1px solid #dee2e6; 62 } 63 .mgp-nav-tabs .mgp-nav-link, 64 .mgp-nav-tabs .nav-link, 65 .nav-tabs .nav-link { 66 margin-bottom: -1px; 67 background: none; 68 border: 1px solid transparent; 69 border-top-left-radius: 0.25rem; 70 border-top-right-radius: 0.25rem; 71 } 72 .mgp-nav-tabs .mgp-nav-link.mgp-active, 73 .mgp-nav-tabs .mgp-nav-link.active, 74 .mgp-nav-tabs .nav-link.active, 75 .nav-tabs .nav-link.active { 76 color: #495057; 77 background-color: #fff; 78 border-color: #dee2e6 #dee2e6 #fff; 79 } 80 81 /* Nav Item */ 82 .mgp-nav-item, 83 .nav-item { 84 margin: 0; 85 } 86 87 /* Plugin Specific Styles */ 88 .mpdtab-nav-wrap ul.nav, 89 .mpdtab-nav-wrap ul.mgp-nav { 8 90 margin: 0; 9 91 padding: 0; 10 92 list-style: none; 11 93 } 12 .tab-content.mpdtab-content { 94 .tab-content.mpdtab-content, 95 .mgp-tab-content.mpdtab-content { 13 96 padding: 15px; 14 97 overflow: hidden; 15 }16 .mpdtabs-style1 .nav-tabs{17 position: relative;18 border-bottom: none;19 }20 .tab-content.mpdtab-content {21 98 margin-top: 0; 22 } 23 ul.nav.nav-tabs { 99 margin-left: auto; 100 margin-right: auto; 101 } 102 ul.nav.nav-tabs, 103 ul.mgp-nav.mgp-nav-tabs, 104 .mpdtab-nav-wrap ul.mgp-nav-tabs { 24 105 display: flex; 25 106 width: 100%; … … 29 110 box-shadow: 0px 3px 40px rgb(0 0 0 / 20%); 30 111 } 31 .mpdtabs-style1 .nav-tabs li{ 112 113 /* Tab style one */ 114 .mpdtabs-style1 .nav-tabs, 115 .mpdtabs-style1 .mgp-nav-tabs { 116 position: relative; 117 border-bottom: none; 118 } 119 .mpdtabs-style1 .nav-tabs li, 120 .mpdtabs-style1 .mgp-nav-tabs li { 32 121 margin: 0; 33 122 } 34 .mpdtabs-style1 .nav-tabs li a{ 123 .mpdtabs-style1 .nav-tabs li a, 124 .mpdtabs-style1 .mgp-nav-tabs li a { 35 125 display: block; 36 126 padding: 20px 15px; … … 49 139 transition: all 0.3s ease 0s; 50 140 } 51 .tab-content.mpdtab-content { 52 margin-left: auto; 53 margin-right: auto; 54 } 55 .mpdtabs-style1 .nav-tabs li a:after{ 141 .mpdtabs-style1 .nav-tabs li a:after, 142 .mpdtabs-style1 .mgp-nav-tabs li a:after { 56 143 content: ""; 57 144 width: 100%; … … 67 154 transition: transform 0.3s ease 0s, background-color 0.3s ease 0s; 68 155 } 69 .mpdtabs-style1 .nav-tabs li a.active:after{ 156 .mpdtabs-style1 .nav-tabs li a.active:after, 157 .mpdtabs-style1 .nav-tabs li a.mgp-active:after, 158 .mpdtabs-style1 .mgp-nav-tabs li a.active:after, 159 .mpdtabs-style1 .mgp-nav-tabs li a.mgp-active:after { 70 160 background: #eee6d2; 71 161 transform: perspective(900px) rotate3d(1, 0, 0, 0deg); 72 162 } 73 163 .mpdtabs-style1 .nav-tabs li a.active, 74 .mpdtabs-style1 .nav-tabs li a:hover{ 164 .mpdtabs-style1 .nav-tabs li a.mgp-active, 165 .mpdtabs-style1 .nav-tabs li a:hover, 166 .mpdtabs-style1 .mgp-nav-tabs li a.active, 167 .mpdtabs-style1 .mgp-nav-tabs li a.mgp-active, 168 .mpdtabs-style1 .mgp-nav-tabs li a:hover { 75 169 color: #4b489b; 76 170 border: none; 77 171 } 78 .mpdtabs-style1 .tab-content{ 172 .mpdtabs-style1 .tab-content, 173 .mpdtabs-style1 .mgp-tab-content { 79 174 padding: 20px; 80 175 color: #757575; 81 176 } 82 .mpdtabs-style1 {177 .mpdtabs-style1 { 83 178 background: #ededed; 84 179 } 85 180 86 @media only screen and (max-width: 479px){ 87 .mpdtabs-style1 .nav-tabs li{ 181 @media only screen and (max-width: 479px) { 182 .mpdtabs-style1 .nav-tabs li, 183 .mpdtabs-style1 .mgp-nav-tabs li { 88 184 width: 100%; 89 185 text-align: center; … … 91 187 } 92 188 93 /* Tab style two*/94 95 .mpdtabs-style2 . nav-tabs{189 /* Tab style two */ 190 .mpdtabs-style2 .nav-tabs, 191 .mpdtabs-style2 .mgp-nav-tabs { 96 192 background: #fff; 97 193 border-top: 3px solid #303335; 98 194 } 99 .mpdtabs-style2 .nav-tabs li{ 195 .mpdtabs-style2 .nav-tabs li, 196 .mpdtabs-style2 .mgp-nav-tabs li { 100 197 margin: 0; 101 198 } 102 .mpdtabs-style2 .nav-tabs li a{ 199 .mpdtabs-style2 .nav-tabs li a, 200 .mpdtabs-style2 .mgp-nav-tabs li a { 103 201 font-size: 14px; 104 202 color: #999898; … … 111 209 text-transform: uppercase; 112 210 } 113 .mpdtabs-style2 .nav-tabs li a:hover{ 211 .mpdtabs-style2 .nav-tabs li a:hover, 212 .mpdtabs-style2 .mgp-nav-tabs li a:hover { 114 213 border-top: none; 115 214 border-bottom: none; … … 117 216 } 118 217 .mpdtabs-style2 .nav-tabs li a.active, 119 .mpdtabs-style2 .nav-tabs li a.active:hover{ 218 .mpdtabs-style2 .nav-tabs li a.mgp-active, 219 .mpdtabs-style2 .nav-tabs li a.active:hover, 220 .mpdtabs-style2 .mgp-nav-tabs li a.active, 221 .mpdtabs-style2 .mgp-nav-tabs li a.mgp-active, 222 .mpdtabs-style2 .mgp-nav-tabs li a.active:hover { 120 223 color: #000; 121 224 border-top: 3px solid #a5658b; … … 124 227 margin: -3px 0 0 0; 125 228 } 126 .mpdtabs-style2 .nav-tabs li a.active:hover{ 229 .mpdtabs-style2 .nav-tabs li a.active:hover, 230 .mpdtabs-style2 .mgp-nav-tabs li a.active:hover { 127 231 border-right-color: #c2c2c2; 128 232 } 129 .mpdtabs-style2 .tab-content{ 233 .mpdtabs-style2 .tab-content, 234 .mpdtabs-style2 .mgp-tab-content { 130 235 font-size: 13px; 131 236 color: #999898; … … 134 239 padding: 20px; 135 240 } 136 .mpdtabs-style2 .tab-content h3{ 241 .mpdtabs-style2 .tab-content h3, 242 .mpdtabs-style2 .mgp-tab-content h3 { 137 243 font-size: 24px; 138 244 color: #999898; 139 245 margin-top: 0; 140 246 } 141 @media only screen and (max-width: 480px){ 142 .mpdtabs-style2 .nav-tabs{ 247 248 @media only screen and (max-width: 480px) { 249 .mpdtabs-style2 .nav-tabs, 250 .mpdtabs-style2 .mgp-nav-tabs { 143 251 border-top: none; 144 252 } 145 .mpdtabs-style2 .nav-tabs li{ width:100%; } 146 .mpdtabs-style2 .nav-tabs li a{ 253 .mpdtabs-style2 .nav-tabs li, 254 .mpdtabs-style2 .mgp-nav-tabs li { 255 width: 100%; 256 } 257 .mpdtabs-style2 .nav-tabs li a, 258 .mpdtabs-style2 .mgp-nav-tabs li a { 147 259 border: none; 148 260 border-bottom: 1px solid #c2c2c2; 149 261 } 150 .mpdtabs-style2 .nav-tabs li a:hover{ 262 .mpdtabs-style2 .nav-tabs li a:hover, 263 .mpdtabs-style2 .mgp-nav-tabs li a:hover { 151 264 border-bottom: 1px solid #c2c2c2; 152 265 } 153 .mpdtabs-style2 .nav-tabs li:last-child a{ 266 .mpdtabs-style2 .nav-tabs li:last-child a, 267 .mpdtabs-style2 .mgp-nav-tabs li:last-child a { 154 268 border-bottom: none; 155 269 } 156 270 .mpdtabs-style2 .nav-tabs li a.active:hover, 157 .mpdtabs-style2 .nav-tabs li a.active{ 271 .mpdtabs-style2 .nav-tabs li a.active, 272 .mpdtabs-style2 .mgp-nav-tabs li a.active:hover, 273 .mpdtabs-style2 .mgp-nav-tabs li a.active { 158 274 border-bottom: 1px solid #c2c2c2; 159 275 border-right: none; … … 161 277 } 162 278 163 /* Style three*/164 165 .mpdtabs-style3 .nav-tabs{279 /* Tab style three */ 280 .mpdtabs-style3 .nav-tabs, 281 .mpdtabs-style3 .mgp-nav-tabs { 166 282 box-shadow: -1px 0 2px #6676ff; 167 283 border-bottom: 0 none; 168 284 background: #333; 169 285 } 170 /* .mpdtabs-style3 .nav-tabs li{ 171 width: 25%; 172 } */ 173 .mpdtabs-style3 .nav-tabs li a{ 286 .mpdtabs-style3 .nav-tabs li a, 287 .mpdtabs-style3 .mgp-nav-tabs li a { 174 288 display: block; 175 289 font-size: 14px; … … 184 298 transition: all 0.3s ease 0s; 185 299 } 186 .mpdtabs-style3 .nav-tabs li a:hover{ 300 .mpdtabs-style3 .nav-tabs li a:hover, 301 .mpdtabs-style3 .mgp-nav-tabs li a:hover { 187 302 background: #6676ff; 188 303 } 189 .mpdtabs-style3 .nav-tabs li a.active, 190 .mpdtabs-style3 .nav-tabs li a.active:focus, 191 .mpdtabs-style3 .nav-tabs li a.active:hover{ 304 .mpdtabs-style3 .nav-tabs li a.active, 305 .mpdtabs-style3 .nav-tabs li a.mgp-active, 306 .mpdtabs-style3 .nav-tabs li a.active:focus, 307 .mpdtabs-style3 .nav-tabs li a.active:hover, 308 .mpdtabs-style3 .mgp-nav-tabs li a.active, 309 .mpdtabs-style3 .mgp-nav-tabs li a.mgp-active, 310 .mpdtabs-style3 .mgp-nav-tabs li a.active:focus, 311 .mpdtabs-style3 .mgp-nav-tabs li a.active:hover { 192 312 border: none; 193 313 background: #6676ff; … … 195 315 transition: all 0.20s ease 0s; 196 316 } 197 198 .mpdtabs-style3 .nav-tabs li a.active:after { 317 .mpdtabs-style3 .nav-tabs li a.active:after, 318 .mpdtabs-style3 .nav-tabs li a.mgp-active:after, 319 .mpdtabs-style3 .mgp-nav-tabs li a.active:after, 320 .mpdtabs-style3 .mgp-nav-tabs li a.mgp-active:after { 199 321 content: ""; 200 322 position: absolute; … … 204 326 border-top-color: #6676ff; 205 327 } 206 .mpdtabs-style3 .tab-content{ 328 .mpdtabs-style3 .tab-content, 329 .mpdtabs-style3 .mgp-tab-content { 207 330 font-size: 14px; 208 331 color: #fff; … … 211 334 padding: 20px; 212 335 } 213 .mpdtabs-style3 .tab-content h3{ 336 .mpdtabs-style3 .tab-content h3, 337 .mpdtabs-style3 .mgp-tab-content h3 { 214 338 font-size: 20px; 215 339 color: #6676ff; 216 340 } 217 @media only screen and (max-width: 480px){ 218 .mpdtabs-style3 .nav-tabs li{ 341 342 @media only screen and (max-width: 480px) { 343 .mpdtabs-style3 .nav-tabs li, 344 .mpdtabs-style3 .mgp-nav-tabs li { 219 345 width: 100%; 220 346 margin-bottom: 2px; 221 347 } 222 .mpdtabs-style3 .nav-tabs li a.active:after{ 348 .mpdtabs-style3 .nav-tabs li a.active:after, 349 .mpdtabs-style3 .mgp-nav-tabs li a.active:after { 223 350 border: none; 224 351 } 225 352 } 226 353 227 /*Style four*/ 228 229 230 .mpdtabs-style4 .nav-tabs{ 354 /* Tab style four */ 355 .mpdtabs-style4 .nav-tabs, 356 .mpdtabs-style4 .mgp-nav-tabs { 231 357 border-bottom: 0 none; 232 358 } 233 .mpdtabs-style4 .nav-tabs li{ 359 .mpdtabs-style4 .nav-tabs li, 360 .mpdtabs-style4 .mgp-nav-tabs li { 234 361 margin-right: 2px; 235 362 } 236 .mpdtabs-style4 .nav-tabs li a{ 363 .mpdtabs-style4 .nav-tabs li a, 364 .mpdtabs-style4 .mgp-nav-tabs li a { 237 365 font-size: 14px; 238 366 color: #333; … … 244 372 position: relative; 245 373 } 246 .mpdtabs-style4 .nav-tabs li a.active:after{ 374 .mpdtabs-style4 .nav-tabs li a.active:after, 375 .mpdtabs-style4 .nav-tabs li a.mgp-active:after, 376 .mpdtabs-style4 .mgp-nav-tabs li a.active:after, 377 .mpdtabs-style4 .mgp-nav-tabs li a.mgp-active:after { 247 378 content: ""; 248 379 position: absolute; … … 253 384 } 254 385 .mpdtabs-style4 .nav-tabs li a.active, 386 .mpdtabs-style4 .nav-tabs li a.mgp-active, 255 387 .mpdtabs-style4 .nav-tabs li a.active:focus, 256 .mpdtabs-style4 .nav-tabs li a.active:hover{ 388 .mpdtabs-style4 .nav-tabs li a.active:hover, 389 .mpdtabs-style4 .mgp-nav-tabs li a.active, 390 .mpdtabs-style4 .mgp-nav-tabs li a.mgp-active, 391 .mpdtabs-style4 .mgp-nav-tabs li a.active:focus, 392 .mpdtabs-style4 .mgp-nav-tabs li a.active:hover { 257 393 border: none; 258 394 background: #4aaaa5; … … 260 396 transition: all 0.20s linear 0s; 261 397 } 262 .mpdtabs-style4 .tab-content{ 398 .mpdtabs-style4 .tab-content, 399 .mpdtabs-style4 .mgp-tab-content { 263 400 font-size: 15px; 264 401 color: #808080; … … 267 404 margin-top: 15px; 268 405 } 269 .mpdtabs-style4 .tab-content h3{ 406 .mpdtabs-style4 .tab-content h3, 407 .mpdtabs-style4 .mgp-tab-content h3 { 270 408 margin-top: 10px; 271 409 font-size: 24px; 272 410 } 273 @media only screen and (max-width: 479px){ 274 .mpdtabs-style4 .nav-tabs li{ 411 412 @media only screen and (max-width: 479px) { 413 .mpdtabs-style4 .nav-tabs li, 414 .mpdtabs-style4 .mgp-nav-tabs li { 275 415 width: 100%; 276 416 margin-bottom: 5px; 277 417 } 278 .mpdtabs-style4 .nav-tabs li a{ 418 .mpdtabs-style4 .nav-tabs li a, 419 .mpdtabs-style4 .mgp-nav-tabs li a { 279 420 padding: 20px; 280 421 } 281 .mpdtabs-style4 .nav-tabs li a.active:after{ 422 .mpdtabs-style4 .nav-tabs li a.active:after, 423 .mpdtabs-style4 .mgp-nav-tabs li a.active:after { 282 424 border: none; 283 425 } 284 .mpdtabs-style4 .tab-content{ 426 .mpdtabs-style4 .tab-content, 427 .mpdtabs-style4 .mgp-tab-content { 285 428 margin-top: 5px; 286 429 } 287 430 } 288 431 289 .tab-pane.slideDown.active { 432 /* Tab Animation Styles */ 433 .tab-pane.slideDown.active, 434 .mgp-tab-pane.slideDown.active, 435 .mgp-tab-pane.slideDown.mgp-active { 290 436 animation: slideDown 0.5s ease-out; 291 437 } 292 .tab-pane.slideUp.active { 438 .tab-pane.slideUp.active, 439 .mgp-tab-pane.slideUp.active, 440 .mgp-tab-pane.slideUp.mgp-active { 293 441 animation: slideUp 0.5s ease-out; 294 442 } 295 .tab-pane.slideRight.active { 443 .tab-pane.slideRight.active, 444 .mgp-tab-pane.slideRight.active, 445 .mgp-tab-pane.slideRight.mgp-active { 296 446 animation: slideRight 0.5s ease-out; 297 447 } 298 .tab-pane.slideLeft.active { 448 .tab-pane.slideLeft.active, 449 .mgp-tab-pane.slideLeft.active, 450 .mgp-tab-pane.slideLeft.mgp-active { 299 451 animation: slideLeft 0.5s ease-out; 300 452 } … … 317 469 } 318 470 471 /* Tab Icon Styles */ 319 472 .mpdtabs-icon-top { 320 473 text-align: center; … … 337 490 display: inline-block; 338 491 } 339 .mpdtab-nav-wrap{ 492 493 /* Tab Nav Wrapper */ 494 .mpdtab-nav-wrap { 340 495 border-bottom: 1px solid #ededed; 341 496 } … … 343 498 display: -webkit-inline-box; 344 499 display: -ms-inline-flexbox; 345 display: inline-flex; 346 } 347 .navalign-center ul.nav-tabs{ 500 display: inline-flex; 501 } 502 503 /* Nav Alignment */ 504 .navalign-center ul.nav-tabs, 505 .navalign-center ul.mgp-nav-tabs { 348 506 justify-content: center; 349 507 } 350 .navalign-right ul.nav-tabs{ 508 .navalign-right ul.nav-tabs, 509 .navalign-right ul.mgp-nav-tabs { 351 510 justify-content: flex-end; 352 511 } 353 512 354 /*vartical tab sytle*/ 355 .mpt-tab-vertical .nav-tabs li.nav-item { 513 /* Vertical Tab Styles */ 514 .mpt-tab-vertical .nav-tabs li.nav-item, 515 .mpt-tab-vertical .nav-tabs li.mgp-nav-item, 516 .mpt-tab-vertical .mgp-nav-tabs li.nav-item, 517 .mpt-tab-vertical .mgp-nav-tabs li.mgp-nav-item { 356 518 display: block; 357 519 width: 100%; 358 520 } 359 .mpdtabs-style2.mpt-tab-vertical .nav-tabs li.nav-item { 521 .mpdtabs-style2.mpt-tab-vertical .nav-tabs li.nav-item, 522 .mpdtabs-style2.mpt-tab-vertical .nav-tabs li.mgp-nav-item, 523 .mpdtabs-style2.mpt-tab-vertical .mgp-nav-tabs li.nav-item, 524 .mpdtabs-style2.mpt-tab-vertical .mgp-nav-tabs li.mgp-nav-item { 360 525 border-bottom: 1px solid #ededed; 361 526 } 362 363 .mpdtabs-style3.mpt-tab-vertical .nav-tabs li a.active:after { 527 .mpdtabs-style3.mpt-tab-vertical .nav-tabs li a.active:after, 528 .mpdtabs-style3.mpt-tab-vertical .nav-tabs li a.mgp-active:after, 529 .mpdtabs-style3.mpt-tab-vertical .mgp-nav-tabs li a.active:after, 530 .mpdtabs-style3.mpt-tab-vertical .mgp-nav-tabs li a.mgp-active:after { 364 531 left: inherit; 365 532 right: -36px; … … 368 535 bottom: 0; 369 536 } 370 .mpdtabs-style4.mpt-tab-vertical .nav-tabs li a.active:after { 537 .mpdtabs-style4.mpt-tab-vertical .nav-tabs li a.active:after, 538 .mpdtabs-style4.mpt-tab-vertical .nav-tabs li a.mgp-active:after, 539 .mpdtabs-style4.mpt-tab-vertical .mgp-nav-tabs li a.active:after, 540 .mpdtabs-style4.mpt-tab-vertical .mgp-nav-tabs li a.mgp-active:after { 371 541 right: -12px; 372 542 left: inherit; -
magical-posts-display/trunk/composer.json
r3380394 r3407965 6 6 "require": { 7 7 "php": ">=7.4", 8 "appsero/client": "^2.0.4", 9 "htmlburger/carbon-fields": "^3.6" 8 "appsero/client": "^2.0.5" 10 9 }, 11 10 "require-dev": { -
magical-posts-display/trunk/composer.lock
r3235168 r3407965 5 5 "This file is @generated automatically" 6 6 ], 7 "content-hash": " 5d2833a49ae56178e3918a28624ae451",7 "content-hash": "f31f6578ca9c7ce157b61993857c8afc", 8 8 "packages": [ 9 9 { 10 10 "name": "appsero/client", 11 "version": "v2.0. 4",11 "version": "v2.0.5", 12 12 "source": { 13 13 "type": "git", 14 14 "url": "https://github.com/Appsero/client.git", 15 "reference": " 12ff65b9770286d21edf314e7acfcd26fdde3315"15 "reference": "b7766ee150cc8e28125a818a11e770feb9899a71" 16 16 }, 17 17 "dist": { 18 18 "type": "zip", 19 "url": "https://api.github.com/repos/Appsero/client/zipball/ 12ff65b9770286d21edf314e7acfcd26fdde3315",20 "reference": " 12ff65b9770286d21edf314e7acfcd26fdde3315",19 "url": "https://api.github.com/repos/Appsero/client/zipball/b7766ee150cc8e28125a818a11e770feb9899a71", 20 "reference": "b7766ee150cc8e28125a818a11e770feb9899a71", 21 21 "shasum": "" 22 22 }, … … 57 57 "support": { 58 58 "issues": "https://github.com/Appsero/client/issues", 59 "source": "https://github.com/Appsero/client/tree/v2.0. 4"59 "source": "https://github.com/Appsero/client/tree/v2.0.5" 60 60 }, 61 "time": "2024-11-25T05:58:23+00:00" 62 }, 61 "time": "2025-11-24T10:14:59+00:00" 62 } 63 ], 64 "packages-dev": [ 63 65 { 64 "name": "htmlburger/carbon-fields", 65 "version": "v3.6.5", 66 "source": { 67 "type": "git", 68 "url": "https://github.com/htmlburger/carbon-fields.git", 69 "reference": "b18f8e2a2cc4cc976306eb867ad1d740a8e7c1d9" 70 }, 66 "name": "phpstan/phpstan", 67 "version": "1.12.32", 71 68 "dist": { 72 69 "type": "zip", 73 "url": "https://api.github.com/repos/ htmlburger/carbon-fields/zipball/b18f8e2a2cc4cc976306eb867ad1d740a8e7c1d9",74 "reference": " b18f8e2a2cc4cc976306eb867ad1d740a8e7c1d9",70 "url": "https://api.github.com/repos/phpstan/phpstan/zipball/2770dcdf5078d0b0d53f94317e06affe88419aa8", 71 "reference": "2770dcdf5078d0b0d53f94317e06affe88419aa8", 75 72 "shasum": "" 76 73 }, 77 74 "require": { 78 "php": " >=5.6.20"75 "php": "^7.2|^8.0" 79 76 }, 80 "require-dev": { 81 "mockery/mockery": "1.3.6", 82 "phpunit/phpunit": "7.5.20|9.6.3", 83 "yoast/phpunit-polyfills": "^1.0" 77 "conflict": { 78 "phpstan/phpstan-shim": "*" 84 79 }, 80 "bin": [ 81 "phpstan", 82 "phpstan.phar" 83 ], 85 84 "type": "library", 86 85 "autoload": { 87 " psr-4": {88 " Carbon_Fields\\": "core/"89 }86 "files": [ 87 "bootstrap.php" 88 ] 90 89 }, 91 90 "notification-url": "https://packagist.org/downloads/", 92 91 "license": [ 93 " GPL-2.0-only"92 "MIT" 94 93 ], 95 "authors": [ 94 "description": "PHPStan - PHP Static Analysis Tool", 95 "keywords": [ 96 "dev", 97 "static analysis" 98 ], 99 "support": { 100 "docs": "https://phpstan.org/user-guide/getting-started", 101 "forum": "https://github.com/phpstan/phpstan/discussions", 102 "issues": "https://github.com/phpstan/phpstan/issues", 103 "security": "https://github.com/phpstan/phpstan/security/policy", 104 "source": "https://github.com/phpstan/phpstan-src" 105 }, 106 "funding": [ 96 107 { 97 "name": "htmlBurger", 98 "email": "wordpress@htmlburger.com", 99 "homepage": "https://htmlburger.com/", 100 "role": "Developer" 108 "url": "https://github.com/ondrejmirtes", 109 "type": "github" 101 110 }, 102 111 { 103 "name": "Miroslav Mitev", 104 "email": "mmitev.2create@gmail.com", 105 "role": "Developer" 106 }, 107 { 108 "name": "Atanas Angelov", 109 "email": "atanas.angelov.dev@gmail.com", 110 "role": "Developer" 111 }, 112 { 113 "name": "Georgi Stoyanov", 114 "email": "stoyanov.gs@gmail.com", 115 "role": "Developer" 116 }, 117 { 118 "name": "Plamen Kostadinov", 119 "email": "pkostadinov.2create@gmail.com", 120 "homepage": "http://plasmen.info/", 121 "role": "Developer" 122 }, 123 { 124 "name": "Stanimir Panchev", 125 "email": "Stan4omir@gmail.com", 126 "role": "Developer" 127 }, 128 { 129 "name": "Marin Atanasov", 130 "email": "contact@marinatanasov.com", 131 "homepage": "http://marinatanasov.com/", 132 "role": "Developer" 133 }, 134 { 135 "name": "Siyan Panayotov", 136 "homepage": "http://siyanpanayotov.com/", 137 "role": "Developer" 138 }, 139 { 140 "name": "Peter Petrov", 141 "email": "peter.petrov89@gmail.com", 142 "role": "Developer" 143 }, 144 { 145 "name": "Stanimir Stoyanov", 146 "email": "stanimir.k.stoyanov@gmail.com", 147 "role": "Developer" 148 }, 149 { 150 "name": "Kaloyan Ivanov", 151 "email": "kaloyanxivanov@gmail.com", 152 "homepage": "http://vilepixels.com/", 153 "role": "Developer" 154 }, 155 { 156 "name": "Georgi Popov", 157 "homepage": "http://magadanski.com/", 158 "role": "Developer" 159 }, 160 { 161 "name": "German Velchev", 162 "email": "germozy@gmail.com", 163 "role": "Developer" 164 }, 165 { 166 "name": "Rashko Petrov", 167 "email": "brutalenemy666@gmail.com", 168 "homepage": "http://errorfactory.com/", 169 "role": "Developer" 170 }, 171 { 172 "name": "Alexander Panayotov", 173 "email": "alexander.panayotov@gmail.com", 174 "homepage": "http://alexanderpanayotov.com/", 175 "role": "Developer" 176 }, 177 { 178 "name": "Viktor Vasilev", 179 "email": "liberalcho@gmail.com", 180 "role": "Developer" 181 }, 182 { 183 "name": "Georgi Georgiev", 184 "email": "george.georgiev96@gmail.com", 185 "role": "Developer" 186 }, 187 { 188 "name": "Atanas Vasilev", 189 "email": "atanasvasilev91@gmail.com", 190 "role": "Developer" 112 "url": "https://github.com/phpstan", 113 "type": "github" 191 114 } 192 115 ], 193 "description": "WordPress developer-friendly custom fields for post types, taxonomy terms, users, comments, widgets, options and more.", 194 "homepage": "http://carbonfields.net/", 195 "support": { 196 "docs": "http://carbonfields.net/docs/", 197 "email": "wordpress@htmlburger.com", 198 "issues": "https://github.com/htmlburger/carbon-fields/issues", 199 "source": "https://github.com/htmlburger/carbon-fields" 200 }, 201 "time": "2024-07-31T08:17:38+00:00" 116 "time": "2025-09-30T10:16:31+00:00" 202 117 } 203 118 ], 204 "packages-dev": [],205 119 "aliases": [], 206 120 "minimum-stability": "stable", 207 "stability-flags": [],121 "stability-flags": {}, 208 122 "prefer-stable": false, 209 123 "prefer-lowest": false, 210 "platform": [], 211 "platform-dev": [], 212 "plugin-api-version": "2.3.0" 124 "platform": { 125 "php": ">=7.4" 126 }, 127 "platform-dev": {}, 128 "plugin-api-version": "2.6.0" 213 129 } -
magical-posts-display/trunk/file-include.php
r3380394 r3407965 2 2 3 3 /** 4 * File Include Manager5 *6 * Manages all file inclusions for the plugin7 * Organized by functionality and context8 *9 * REORGANIZATION SUMMARY:10 * - Admin notices moved to admin/admin-page/admin-info.php11 * - Assets (CSS/JS) handling moved to includes/class-assets-manager.php12 * - AJAX handlers moved to includes/class-ajax-handler.php13 * - WordPress hooks moved to includes/class-hooks-handler.php14 * - Main plugin class cleaned up to focus on core initialization15 4 * 16 5 * @package Magical Posts Display … … 22 11 } 23 12 24 // Initialize plugin data 25 $mg_args = array( 26 'posts_per_page' => -1, 27 'ignore_sticky_posts' => 1, 28 'post_type' => 'mp-display', 29 ); 30 31 $mgposts = get_posts($mg_args); 32 $install_date = gmdate("Y-m-d", strtotime(get_option('mgposte_install_date'))); 33 $compare_date = '2023-03-07'; 13 // Load Composer autoloader 14 if (file_exists(MAGICAL_POSTS_DISPLAY_DIR . 'vendor/autoload.php')) { 15 require_once MAGICAL_POSTS_DISPLAY_DIR . 'vendor/autoload.php'; 16 } 34 17 35 18 // Include core classes … … 52 35 53 36 if (is_admin()) { 54 // We are in admin mode55 56 if ($mgposts || class_exists('magicalPostDisplayPro')) {57 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'admin/src/cmb2/init.php');58 }59 if ($mgposts) {60 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'admin/mp-display-post.php');61 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'admin/mp-display-admin-role.php');62 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'admin/mp-display-column-set.php');63 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'admin/mp-display-update-massage.php');64 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'admin/src/cmb2-tabs/cmb2-tabs.php');65 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'admin/src/cmb-field-select2/cmb-field-select2.php');66 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'admin/src/cmb2-slider/slider-field.php');67 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'admin/src/cmb2-radio-image.php');68 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'admin/src/cmb2-switch-button.php');69 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'admin/mp-display-meta-tab.php');70 }71 72 73 37 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'admin/extra-function.php'); 74 38 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'admin/admin-page/class.settings-api.php'); … … 76 40 } // check is admin 77 41 78 if ($mgposts) { 79 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'includes/mp-display-shortcode.php'); 80 } 42 81 43 82 44 … … 103 65 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'includes/mp-posts-meta.php'); 104 66 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'includes/widgets/recent-posts-widget.php'); 105 106 107 108 109 if ($compare_date > $install_date) {110 if (!did_action('elementor/loaded')) {111 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'includes/blocks/posts-slider.php');112 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'includes/blocks/posts-carousel.php');113 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'includes/blocks/posts-grid.php');114 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'includes/blocks/posts-list-card.php');115 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'includes/blocks/awesome-posts-lists.php');116 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'includes/blocks/posts-accordion.php');117 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'includes/blocks/posts-tab.php');118 require_once(MAGICAL_POSTS_DISPLAY_DIR . 'includes/blocks/posts-ticker.php');119 }120 }121 122 123 124 125 126 127 128 // Plugin activation and deactivation hooks are now handled by MPD_Hooks_Handler class129 130 131 67 132 68 … … 185 121 } 186 122 } 187 188 // Post visit counting is now handled by MPD_Hooks_Handler class -
magical-posts-display/trunk/includes/class-assets-manager.php
r3380394 r3407965 43 43 ); 44 44 45 if (in_array($pagenow, array('post-new.php', 'post.php'))) { 46 wp_enqueue_script( 47 'cmb2-conditional-logic', 48 MAGICAL_POSTS_DISPLAY_URL . '/assets/js/cmb2-conditional-logic.js', 49 array('jquery'), 50 '2.5.1', 51 true 52 ); 53 } 45 // CMB2 conditional logic removed - no longer needed without CMB2 54 46 55 47 if (isset($_GET['page']) && sanitize_text_field($_GET['page']) === 'mgpd-page') { … … 107 99 ); 108 100 109 wp_enqueue_style( 110 'bootstrap', 111 MAGICAL_POSTS_DISPLAY_URL . '/assets/css/bootstrap.min.css', 112 array(), 113 '5.1.1', 114 'all' 115 ); 101 // Bootstrap removed - using custom grid system in mp-style.css 116 102 117 103 wp_enqueue_style( … … 165 151 166 152 wp_enqueue_script( 167 ' bootstrap.bundle.min',168 MAGICAL_POSTS_DISPLAY_URL . '/assets/js/ bootstrap.bundle.min.js',153 'mgp-bootstrap', 154 MAGICAL_POSTS_DISPLAY_URL . '/assets/js/mgp-bootstrap.js', 169 155 array('jquery'), 170 '5.1.1',171 false156 MAGICAL_POSTS_DISPLAY_VERSION, 157 true 172 158 ); 173 159 -
magical-posts-display/trunk/includes/elementor/extra.php
r3225752 r3407965 11 11 12 12 if (!class_exists('mpd_posts_meta_author_date')) { 13 function mpd_posts_meta_author_date($author = '', $date = '', $class = 'm t-3text-right')13 function mpd_posts_meta_author_date($author = '', $date = '', $class = 'mgp-mt-3 mgp-text-right') 14 14 { 15 15 ?> 16 16 <div class="mp-meta mgp-ms2 <?php echo esc_attr($class); ?>"> 17 <div class=" row">17 <div class="mgp-row"> 18 18 <?php if ($author) : ?> 19 <div class=" col-auto">19 <div class="mgp-col-auto"> 20 20 <?php mp_display_posted_by(); ?> 21 21 </div> 22 22 <?php endif; ?> 23 23 <?php if ($date) : ?> 24 <div class=" col-auto ml-autotext-right">24 <div class="mgp-col-auto mgp-ml-auto mgp-text-right"> 25 25 <span class="mgp-time"> 26 26 <i class="icon-mp-clock"></i> … … 48 48 49 49 if (!class_exists('mpd_posts_meta')) { 50 function mpd_posts_meta($author = '', $date = '', $comment = '', $class = 'm b-2')50 function mpd_posts_meta($author = '', $date = '', $comment = '', $class = 'mgp-mb-2') 51 51 { 52 52 ?> … … 420 420 if ($settings == 'post' || $settings == 'page') : 421 421 ?> 422 <div class=" alert alert-danger text-center mt-5mb-5" role="alert">422 <div class="mgp-alert mgp-alert-danger mgp-text-center mgp-mt-5 mgp-mb-5" role="alert"> 423 423 <?php echo esc_html('No Posts found this query. Please try another way!!', 'magical-posts-display'); ?> 424 424 </div> 425 425 <?php else : ?> 426 <div class=" alert alert-danger text-center mt-5mb-5" role="alert">426 <div class="mgp-alert mgp-alert-danger mgp-text-center mgp-mt-5 mgp-mb-5" role="alert"> 427 427 <?php printf(esc_html('Get The Post Type Access and More - %s', 'magical-posts-display'), '<a href="https://wpthemespace.com/product/magical-posts-display-pro/" target="_blank">' . esc_html__('Upgrade Now', 'magical-posts-display') . '</a>'); ?> 428 428 </div> -
magical-posts-display/trunk/includes/elementor/widgets/advanced-posts-grid1.php
r3380394 r3407965 505 505 'classes' => 'flex-{{VALUE}}', 506 506 'selectors' => [ 507 '{{WRAPPER}} .mgpdl-item . card-body.mgpdl-text' => 'text-align: {{VALUE}};',507 '{{WRAPPER}} .mgpdl-item .mgp-card-body.mgpdl-text' => 'text-align: {{VALUE}};', 508 508 ], 509 509 ] … … 1879 1879 </div> 1880 1880 <?php else : ?> 1881 <div class="mgpdl-item mgpd-list mgladp1-all m b-4 <?php if (has_post_thumbnail() && $mgpla_post_img_show) : ?>mgpdl-hasimg<?php endif; ?>">1881 <div class="mgpdl-item mgpd-list mgladp1-all mgp-mb-4 <?php if (has_post_thumbnail() && $mgpla_post_img_show) : ?>mgpdl-hasimg<?php endif; ?>"> 1882 1882 <div class="mgpdl-card <?php if ($mgpla_wrap) : ?>no-wrap<?php endif; ?>"> 1883 1883 <?php if (has_post_thumbnail() && $mgpla_post_img_show) : ?> … … 1890 1890 </div> 1891 1891 <?php endif; ?> 1892 <div class=" card-body mgpdl-text">1892 <div class="mgp-card-body mgpdl-text"> 1893 1893 <?php 1894 1894 if ($mgpla_post_type == 'post') { -
magical-posts-display/trunk/includes/elementor/widgets/advanced-posts-grid2.php
r3380394 r3407965 505 505 'classes' => 'flex-{{VALUE}}', 506 506 'selectors' => [ 507 '{{WRAPPER}} .mgladp2-item . card-body.mgpdl-text' => 'text-align: {{VALUE}};',507 '{{WRAPPER}} .mgladp2-item .mgp-card-body.mgpdl-text' => 'text-align: {{VALUE}};', 508 508 ], 509 509 ] … … 1947 1947 </div> 1948 1948 <?php else : ?> 1949 <div class="mgladp2-item mgpd-list mgladp1-all m b-4 <?php if (has_post_thumbnail() && $mgpla_post_img_show) : ?>mgpdl-hasimg<?php endif; ?>">1949 <div class="mgladp2-item mgpd-list mgladp1-all mgp-mb-4 <?php if (has_post_thumbnail() && $mgpla_post_img_show) : ?>mgpdl-hasimg<?php endif; ?>"> 1950 1950 <div class="mgpdl-card <?php if ($mgpla_wrap) : ?>no-wrap<?php endif; ?>"> 1951 1951 <?php if (has_post_thumbnail() && $mgpla_post_img_show) : ?> … … 1958 1958 </div> 1959 1959 <?php endif; ?> 1960 <div class=" card-body mgpdl-text">1960 <div class="mgp-card-body mgpdl-text"> 1961 1961 <?php 1962 1962 // display category -
magical-posts-display/trunk/includes/elementor/widgets/advanced-posts-img-grid.php
r3380394 r3407965 1974 1974 <div class="mgomg-items mgomg-style<?php echo esc_attr($mgpla_gpost_style); ?> "> 1975 1975 <?php if ($mgpla_gpost_style == 1) : ?> 1976 <div class=" row" data-masonry='{"percentPosition": true }'>1976 <div class="mgp-row" data-masonry='{"percentPosition": true }'> 1977 1977 <?php endif; ?> 1978 1978 <?php … … 2012 2012 { 2013 2013 if ($settings['mgpla_rownumber'] == '12') { 2014 $column_set = ' col-lg-12';2014 $column_set = 'mgp-col-lg-12'; 2015 2015 } else { 2016 $column_set = ' col-lg-' . $settings['mgpla_rownumber'] . 'col-md-6';2016 $column_set = 'mgp-col-lg-' . $settings['mgpla_rownumber'] . ' mgp-col-md-6'; 2017 2017 } 2018 2018 $mgpg_post_type = !empty($settings['mgpg_post_type']) ? $settings['mgpg_post_type'] : 'post'; 2019 2019 2020 2020 ?> 2021 <div class="<?php echo esc_attr($column_set); ?> bsgrid-item m b-4">2021 <div class="<?php echo esc_attr($column_set); ?> bsgrid-item mgp-mb-4"> 2022 2022 <div class="mgomg-pimg"> 2023 2023 <?php -
magical-posts-display/trunk/includes/elementor/widgets/awesome-posts-list.php
r3116993 r3407965 517 517 'selectors' => [ 518 518 '{{WRAPPER}} .mgpdl-list-item .mpdl-img img' => 'width: {{SIZE}}{{UNIT}};', 519 '{{WRAPPER}} .row.mgpo-yes . col-sm-auto:first-child' => 'flex: 0 0 {{SIZE}}{{UNIT}};'519 '{{WRAPPER}} .row.mgpo-yes .mgp-col-sm-auto:first-child' => 'flex: 0 0 {{SIZE}}{{UNIT}};' 520 520 ], 521 521 ] … … 650 650 ], 651 651 'selectors' => [ 652 '{{WRAPPER}} .row.mgpo-yes . col-sm-auto:first-child' => 'flex: 0 0 {{SIZE}}{{UNIT}};',652 '{{WRAPPER}} .row.mgpo-yes .mgp-col-sm-auto:first-child' => 'flex: 0 0 {{SIZE}}{{UNIT}};', 653 653 '{{WRAPPER}} .mpdl-img,{{WRAPPER}} .mpdl-date' => 'width: {{SIZE}}{{UNIT}};' 654 654 ], … … 1256 1256 $mpdl_column_meta = 'auto'; 1257 1257 ?> 1258 <li class="mgpdl-list-item mgbb m b-1pb-1 text-<?php if ($mgpl_post_img_position == 'right') : ?>right<?php else : ?>left<?php endif; ?>">1259 <div class=" row mgpo-<?php echo esc_attr($settings['mgpl_post_inline']);1258 <li class="mgpdl-list-item mgbb mgp-mb-1 mgp-pb-1 text-<?php if ($mgpl_post_img_position == 'right') : ?>right<?php else : ?>left<?php endif; ?>"> 1259 <div class="mgp-row mgpo-<?php echo esc_attr($settings['mgpl_post_inline']); 1260 1260 if ($mgpl_post_img_position == 'right') : ?> mgpdl-hright<?php endif; ?>"> 1261 1261 <?php if ($mgpl_post_style != 'hide') : ?> 1262 1262 <?php if ($mgpl_post_style == 'show_date' || !has_post_thumbnail()) : ?> 1263 <div class=" col-sm-<?php echo esc_attr($mpdl_column_meta); ?>">1264 <div class="mpdl-date bg-infotext-center">1263 <div class="mgp-col-sm-<?php echo esc_attr($mpdl_column_meta); ?>"> 1264 <div class="mpdl-date mgp-bg-info mgp-text-center"> 1265 1265 <span class="mp-day"><?php echo esc_html(get_the_date('l')); ?></span> 1266 1266 <span class="mp-month"><?php echo esc_html(get_the_date('M j')); ?></span> … … 1271 1271 else : 1272 1272 ?> 1273 <div class=" col-sm-<?php echo esc_attr($mpdl_column_meta); ?>">1273 <div class="mgp-col-sm-<?php echo esc_attr($mpdl_column_meta); ?>"> 1274 1274 <div class="mpdl-img"> 1275 1275 <a href="<?php the_permalink(); ?>"> … … 1282 1282 ?> 1283 1283 <?php endif; ?> 1284 <div class=" col-sm-<?php echo esc_attr($mpdl_column); ?>">1284 <div class="mgp-col-sm-<?php echo esc_attr($mpdl_column); ?>"> 1285 1285 <div class="mpdl-text"> 1286 1286 <?php if ($settings['mgpl_post_catshow'] && $mgpg_post_type == 'post') : ?> … … 1305 1305 <?php endif; ?> 1306 1306 <?php if ($settings['mgpl_show_author'] || $settings['mgpl_date_show']) : ?> 1307 <div class="mp-meta bottom-meta m b-2">1307 <div class="mp-meta bottom-meta mgp-mb-2"> 1308 1308 <?php 1309 1309 if ($settings['mgpl_show_author']) { -
magical-posts-display/trunk/includes/elementor/widgets/news-magazine-img-grid.php
r3334686 r3407965 240 240 ); 241 241 242 $this->add_responsive_control(242 $this->add_responsive_control( 243 243 'mgpnig_big_post_height', 244 244 [ … … 1148 1148 $layout_class = 'mgp-layout-' . esc_attr($settings['mgpnig_layout_style']); 1149 1149 $columns_class = ''; 1150 1150 1151 1151 if (in_array($settings['mgpnig_layout_style'], ['style2', 'style3', 'style5'])) { 1152 1152 $columns_class = 'mgp-' . esc_attr($settings['mgpnig_small_posts_columns']) . '-columns'; 1153 1153 } 1154 1154 1155 ?>1155 ?> 1156 1156 <div class="mgp-news-magazine-img-grid <?php echo esc_attr($layout_class . ' ' . $columns_class); ?>"> 1157 1157 <?php if ($big_post) : ?> … … 1171 1171 <?php endif; ?> 1172 1172 </div> 1173 <?php1173 <?php 1174 1174 1175 1175 wp_reset_postdata(); … … 1265 1265 $title_tag = esc_attr($settings['mgpnig_' . $size . '_title_tag']); 1266 1266 1267 ?>1267 ?> 1268 1268 <div class="mgp-post-item"> 1269 < ?php if ($show_image && has_post_thumbnail($post->ID)) : ?>1270 < div class="mgp-post-image">1269 <div class="mgp-post-image"> 1270 <?php if ($show_image && has_post_thumbnail($post->ID)) : ?> 1271 1271 <a href="<?php echo esc_url(get_permalink($post->ID)); ?>"> 1272 1272 <?php echo get_the_post_thumbnail($post->ID, $size === 'big' ? 'large' : 'medium', ['class' => 'img-fluid']); ?> 1273 1273 </a> 1274 <?php if ($show_category) : ?> 1275 <div class="mgp-post-category"> 1276 <?php 1277 $categories = get_the_category($post->ID); 1278 if (!empty($categories)) { 1279 echo '<a href="' . esc_url(get_category_link($categories[0]->term_id)) . '">' . esc_html($categories[0]->name) . '</a>'; 1280 } 1281 ?> 1274 <?php endif; ?> 1275 <?php if ($show_category) : ?> 1276 <div class="mgp-post-category"> 1277 <?php 1278 $categories = get_the_category($post->ID); 1279 if (!empty($categories)) { 1280 echo '<a href="' . esc_url(get_category_link($categories[0]->term_id)) . '">' . esc_html($categories[0]->name) . '</a>'; 1281 } 1282 ?> 1283 </div> 1284 <?php endif; ?> 1285 <div class="mgp-post-content"> 1286 <?php if ($show_title) : 1287 $title = get_the_title($post->ID); 1288 if ($title_word_limit > 0) { 1289 $title = wp_trim_words($title, $title_word_limit, '...'); 1290 } 1291 ?> 1292 <<?php echo mpd_validate_html_tag($title_tag); ?> class="mgp-post-title"> 1293 <a href="<?php echo esc_url(get_permalink($post->ID)); ?>"> 1294 <?php echo esc_html($title); ?> 1295 </a> 1296 </<?php echo mpd_validate_html_tag($title_tag); ?>> 1297 <?php endif; ?> 1298 1299 <?php if ($show_excerpt) : 1300 $excerpt = get_the_excerpt($post->ID); 1301 if ($excerpt_word_limit > 0) { 1302 $excerpt = wp_trim_words($excerpt, $excerpt_word_limit, '...'); 1303 } 1304 ?> 1305 <div class="mgp-post-excerpt"> 1306 <?php echo esc_html($excerpt); ?> 1307 </div> 1308 <?php endif; ?> 1309 1310 <?php if ($show_meta) : ?> 1311 <div class="mgp-post-meta"> 1312 <span class="mgp-post-date"><?php echo esc_html(get_the_date('', $post->ID)); ?></span> 1313 <span class="mgp-meta-separator"> • </span> 1314 <span class="mgp-post-author"> 1315 <a href="<?php echo esc_url(get_author_posts_url(get_post_field('post_author', $post->ID))); ?>"> 1316 <?php echo esc_html(get_the_author_meta('display_name', get_post_field('post_author', $post->ID))); ?> 1317 </a> 1318 </span> 1282 1319 </div> 1283 1320 <?php endif; ?> 1284 1321 </div> 1285 <?php endif; ?>1286 1287 <div class="mgp-post-content">1288 <?php if ($show_title) :1289 $title = get_the_title($post->ID);1290 if ($title_word_limit > 0) {1291 $title = wp_trim_words($title, $title_word_limit, '...');1292 }1293 ?>1294 <<?php echo mpd_validate_html_tag($title_tag); ?> class="mgp-post-title">1295 <a href="<?php echo esc_url(get_permalink($post->ID)); ?>">1296 <?php echo esc_html($title); ?>1297 </a>1298 </<?php echo mpd_validate_html_tag($title_tag); ?>>1299 <?php endif; ?>1300 1301 <?php if ($show_excerpt) :1302 $excerpt = get_the_excerpt($post->ID);1303 if ($excerpt_word_limit > 0) {1304 $excerpt = wp_trim_words($excerpt, $excerpt_word_limit, '...');1305 }1306 ?>1307 <div class="mgp-post-excerpt">1308 <?php echo esc_html($excerpt); ?>1309 </div>1310 <?php endif; ?>1311 1312 <?php if ($show_meta) : ?>1313 <div class="mgp-post-meta">1314 <span class="mgp-post-date"><?php echo esc_html(get_the_date('', $post->ID)); ?></span>1315 <span class="mgp-meta-separator"> • </span>1316 <span class="mgp-post-author">1317 <a href="<?php echo esc_url(get_author_posts_url(get_post_field('post_author', $post->ID))); ?>">1318 <?php echo esc_html(get_the_author_meta('display_name', get_post_field('post_author', $post->ID))); ?>1319 </a>1320 </span>1321 </div>1322 <?php endif; ?>1323 1322 </div> 1323 1324 1325 1324 1326 </div> 1325 <?php1327 <?php 1326 1328 } 1327 1329 } -
magical-posts-display/trunk/includes/elementor/widgets/posts-accordion.php
r3116993 r3407965 369 369 'separator' => 'before', 370 370 'default' => [ 371 'value' => 'fas fa- plus',371 'value' => 'fas fa-chevron-down', 372 372 'library' => 'fa-solid', 373 373 ], … … 419 419 'type' => \Elementor\Controls_Manager::ICONS, 420 420 'default' => [ 421 'value' => 'fas fa- minus',421 'value' => 'fas fa-chevron-up', 422 422 'library' => 'fa-solid', 423 423 ], … … 811 811 'label' => esc_html__('Background', 'magical-posts-display'), 812 812 'types' => ['classic', 'gradient'], 813 'selector' => '{{WRAPPER}} . card-header.mg-accordion-title .mgrc-title',813 'selector' => '{{WRAPPER}} .mgp-card-header.mg-accordion-title .mgrc-title', 814 814 ] 815 815 ); … … 820 820 'name' => 'mpac_title_border_open', 821 821 'label' => esc_html__('Border', 'magical-posts-display'), 822 'selector' => '{{WRAPPER}} . card-header.mg-accordion-title .mgrc-title',822 'selector' => '{{WRAPPER}} .mgp-card-header.mg-accordion-title .mgrc-title', 823 823 ] 824 824 ); … … 831 831 'size_units' => ['px', '%', 'em'], 832 832 'selectors' => [ 833 '{{WRAPPER}} . card-header.mg-accordion-title .mgrc-title' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',833 '{{WRAPPER}} .mgp-card-header.mg-accordion-title .mgrc-title' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 834 834 ], 835 835 ] … … 840 840 'name' => 'mpac_box_shadow_open', 841 841 'label' => esc_html__('Box Shadow', 'magical-posts-display'), 842 'selector' => '{{WRAPPER}} . card-header.mg-accordion-title .mgrc-title',842 'selector' => '{{WRAPPER}} .mgp-card-header.mg-accordion-title .mgrc-title', 843 843 ] 844 844 ); … … 868 868 'label' => esc_html__('Background', 'magical-posts-display'), 869 869 'types' => ['classic', 'gradient'], 870 'selector' => '{{WRAPPER}} . card-header.mg-accordion-title .mgrc-title.collapsed',870 'selector' => '{{WRAPPER}} .mgp-card-header.mg-accordion-title .mgrc-title.collapsed', 871 871 872 872 ] … … 882 882 'mpac_style!' => ['curve-shape'] 883 883 ], 884 'selector' => '{{WRAPPER}} . card-header.mg-accordion-title .mgrc-title.collapsed',884 'selector' => '{{WRAPPER}} .mgp-card-header.mg-accordion-title .mgrc-title.collapsed', 885 885 ] 886 886 ); … … 892 892 'size_units' => ['px', '%', 'em'], 893 893 'selectors' => [ 894 '{{WRAPPER}} . card-header.mg-accordion-title .mgrc-title.collapsed' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',894 '{{WRAPPER}} .mgp-card-header.mg-accordion-title .mgrc-title.collapsed' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 895 895 ], 896 896 ] … … 902 902 'name' => 'mpac_box_shadow_close', 903 903 'label' => esc_html__('Box Shadow', 'magical-posts-display'), 904 'selector' => '{{WRAPPER}} . card-header.mg-accordion-title .mgrc-title.collapsed',904 'selector' => '{{WRAPPER}} .mgp-card-header.mg-accordion-title .mgrc-title.collapsed', 905 905 ] 906 906 ); … … 925 925 'size_units' => ['px'], 926 926 'selectors' => [ 927 '{{WRAPPER}} . card-header.mg-accordion-title .mgrc-title' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',927 '{{WRAPPER}} .mgp-card-header.mg-accordion-title .mgrc-title' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 928 928 ], 929 929 ] … … 948 948 'size_units' => ['px'], 949 949 'selectors' => [ 950 '{{WRAPPER}} . card-header.mg-accordion-title .mgrc-title' => 'margin-bottom: {{SIZE}}{{UNIT}};',950 '{{WRAPPER}} .mgp-card-header.mg-accordion-title .mgrc-title' => 'margin-bottom: {{SIZE}}{{UNIT}};', 951 951 ], 952 952 ] … … 1798 1798 while ($mpac_loop->have_posts()) : $mpac_loop->the_post(); 1799 1799 ?> 1800 <div class=" card mgrc-item mgrc-item-<?php echo esc_attr($settings['mpac_text_align']); ?>-<?php echo esc_attr($settings['mpac_icon_position']); ?> text-<?php echo esc_attr($settings['mpac_text_align']); ?>">1801 <div class=" card-header mg-accordion-title" id="heading<?php echo esc_attr($index); ?><?php echo esc_attr($mpac_rand); ?>">1802 <div class="mgrc-title <?php if ($item['mpac_is_open'] != 'yes') : ?>collapsed<?php endif; ?> <?php if ($settings['mpac_icon_position'] == 'left') : ?>mgrc-left<?php endif; ?>" data- bs-toggle="collapse" data-bs-target="#mgc-item<?php echo esc_attr($index); ?><?php echo esc_attr($mpac_rand); ?>" aria-expanded="<?php if ($item['mpac_is_open'] == 'yes') : ?>true<?php else : ?>false<?php endif; ?>" aria-controls="mgc-item<?php echo esc_attr($index); ?><?php echo esc_attr($mpac_rand); ?>">1800 <div class="mgp-card mgrc-item mgrc-item-<?php echo esc_attr($settings['mpac_text_align']); ?>-<?php echo esc_attr($settings['mpac_icon_position']); ?> text-<?php echo esc_attr($settings['mpac_text_align']); ?>"> 1801 <div class="mgp-card-header mg-accordion-title" id="heading<?php echo esc_attr($index); ?><?php echo esc_attr($mpac_rand); ?>"> 1802 <div class="mgrc-title <?php if ($item['mpac_is_open'] != 'yes') : ?>collapsed<?php endif; ?> <?php if ($settings['mpac_icon_position'] == 'left') : ?>mgrc-left<?php endif; ?>" data-mgbs-toggle="collapse" data-mgbs-target="#mgc-item<?php echo esc_attr($index); ?><?php echo esc_attr($mpac_rand); ?>" aria-expanded="<?php if ($item['mpac_is_open'] == 'yes') : ?>true<?php else : ?>false<?php endif; ?>" aria-controls="mgc-item<?php echo esc_attr($index); ?><?php echo esc_attr($mpac_rand); ?>"> 1803 1803 <?php if ($settings['mpac_icon_position'] == 'left' && $settings['mpac_icon_show'] == 'yes') : ?> 1804 1804 <div class="mgc-icons mgc-left-icon"> … … 1815 1815 <?php 1816 1816 // Ensure the title tag is properly escaped to prevent any invalid HTML tags or XSS attacks 1817 echo '<' . tag_escape($settings['mpac_title_tag']) . '>';1817 echo '<' . mpd_validate_html_tag($settings['mpac_title_tag']) . '>'; 1818 1818 1819 1819 // Trim the post title to the specified number of words and escape it for safe output … … 1821 1821 1822 1822 // Close the title tag with the escaped tag name 1823 echo '</' . tag_escape($settings['mpac_title_tag']) . '>';1823 echo '</' . mpd_validate_html_tag($settings['mpac_title_tag']) . '>'; 1824 1824 ?> 1825 1825 … … 1840 1840 </div> 1841 1841 1842 <div id="mgc-item<?php echo esc_attr($index); ?><?php echo esc_attr($mpac_rand); ?>" class=" collapse mgac-mcontent mgaccont <?php if ($item['mpac_is_open'] == 'yes') : ?>show<?php endif; ?>" aria-labelledby="heading<?php echo esc_attr($index); ?><?php echo esc_attr($mpac_rand); ?>" data-bs-parent="#mpdAccordion<?php echo esc_attr($mpac_rand); ?>">1843 <div class=" card-body mgac-content mgac-<?php echo esc_attr($settings['mpac_effect']); ?>">1844 1845 <div class=" row">1842 <div id="mgc-item<?php echo esc_attr($index); ?><?php echo esc_attr($mpac_rand); ?>" class="mgp-collapse mgac-mcontent mgaccont <?php if ($item['mpac_is_open'] == 'yes') : ?>mgp-show<?php endif; ?>" aria-labelledby="heading<?php echo esc_attr($index); ?><?php echo esc_attr($mpac_rand); ?>" data-mgbs-parent="#mpdAccordion<?php echo esc_attr($mpac_rand); ?>"> 1843 <div class="mgp-card-body mgac-content mgac-<?php echo esc_attr($settings['mpac_effect']); ?>"> 1844 1845 <div class="mgp-row"> 1846 1846 <?php if ($settings['mpac_show_img']) : ?> 1847 <div class=" col-lg-5">1847 <div class="mgp-col-lg-5"> 1848 1848 <div class="mpdac-post-image"> 1849 1849 <figure> … … 1854 1854 </div> 1855 1855 </div> 1856 <div class=" col-lg-7">1856 <div class="mgp-col-lg-7"> 1857 1857 <?php else : ?> 1858 <div class=" col-lg-12">1858 <div class="mgp-col-lg-12"> 1859 1859 <?php endif; ?> 1860 1860 <div class="mpdac-post-details"> … … 1899 1899 <?php endwhile; ?> 1900 1900 <?php else : ?> 1901 <div class=" alert alert-warning text-center mt-5mb-5" role="alert">1901 <div class="mgp-alert mgp-alert-warning mgp-text-center mgp-mt-5 mgp-mb-5" role="alert"> 1902 1902 <?php echo esc_html('No posts found. Please add posts for display the accordion.', 'magical-posts-display'); ?> 1903 1903 </div> … … 1905 1905 <?php endforeach; ?> 1906 1906 <?php else : ?> 1907 <div class=" alert alert-danger text-center mt-5mb-5" role="alert">1907 <div class="mgp-alert mgp-alert-danger mgp-text-center mgp-mt-5 mgp-mb-5" role="alert"> 1908 1908 <?php echo esc_html('No posts found. Please add posts for display the accordion.', 'magical-posts-display'); ?> 1909 1909 </div> -
magical-posts-display/trunk/includes/elementor/widgets/posts-carousel.php
r3380394 r3407965 574 574 'classes' => 'flex-{{VALUE}}', 575 575 'selectors' => [ 576 '{{WRAPPER}} .mgp-card .mg-card-text. card-body' => 'text-align: {{VALUE}};',576 '{{WRAPPER}} .mgp-card .mg-card-text.mgp-card-body' => 'text-align: {{VALUE}};', 577 577 ], 578 578 ] … … 2339 2339 2340 2340 ?> 2341 <div class=" card mg-card mg-shadow mgp-cardmb-4">2341 <div class="mgp-card mg-card mg-shadow mgp-card mgp-mb-4"> 2342 2342 <?php mp_post_thumbnail($mgpcar_post_img_show, $mgpcar_img_size); ?> 2343 <div class="mg-card-text card-body">2343 <div class="mg-card-text mgp-card-body"> 2344 2344 <?php 2345 2345 if ($settings['mgpla_post_type'] == 'post') { -
magical-posts-display/trunk/includes/elementor/widgets/posts-cat.php
r3380394 r3407965 830 830 ?> 831 831 <div class="mgpckit-cat-grid mpdc-catg-<?php echo esc_attr($settings['mgpd_cats_style']); ?>"> 832 <div class=" row">832 <div class="mgp-row"> 833 833 <?php 834 834 foreach ($cat_list as $item) : … … 846 846 $cat_link = get_category_link($catid);; 847 847 ?> 848 <div class=" col-lg-<?php echo esc_attr($mgpd_cats_column); ?>">848 <div class="mgp-col-lg-<?php echo esc_attr($mgpd_cats_column); ?>"> 849 849 <div class="mgpckit-cat-item <?php if ($settings['content_grid_boxshadow'] == 'yes') : ?>mgpdi-shadow<?php endif; ?>"> 850 850 … … 881 881 </div> 882 882 <?php else : ?> 883 <div class=" alertalert-danger">883 <div class="mgp-alert mgp-alert-danger"> 884 884 <?php echo esc_html('Please select posts categories for display this section.'); ?> 885 885 </div> -
magical-posts-display/trunk/includes/elementor/widgets/posts-grid.php
r3380394 r3407965 468 468 'classes' => 'flex-{{VALUE}}', 469 469 'selectors' => [ 470 '{{WRAPPER}} .mgp-card .mg-card-text. card-body' => 'text-align: {{VALUE}};',470 '{{WRAPPER}} .mgp-card .mg-card-text.mgp-card-body' => 'text-align: {{VALUE}};', 471 471 ], 472 472 ] … … 1550 1550 'size_units' => ['px', 'em', '%'], 1551 1551 'selectors' => [ 1552 '{{WRAPPER}} .mgp-card .mg-card-text. card-body p' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',1552 '{{WRAPPER}} .mgp-card .mg-card-text.mgp-card-body p' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 1553 1553 ], 1554 1554 ] … … 1562 1562 'size_units' => ['px', 'em', '%'], 1563 1563 'selectors' => [ 1564 '{{WRAPPER}} .mgp-card .mg-card-text. card-body p' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',1564 '{{WRAPPER}} .mgp-card .mg-card-text.mgp-card-body p' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 1565 1565 ], 1566 1566 ] … … 1573 1573 'type' => \Elementor\Controls_Manager::COLOR, 1574 1574 'selectors' => [ 1575 '{{WRAPPER}} .mgp-card .mg-card-text. card-body p' => 'color: {{VALUE}};',1575 '{{WRAPPER}} .mgp-card .mg-card-text.mgp-card-body p' => 'color: {{VALUE}};', 1576 1576 ], 1577 1577 ] … … 1584 1584 'type' => \Elementor\Controls_Manager::COLOR, 1585 1585 'selectors' => [ 1586 '{{WRAPPER}} .mgp-card .mg-card-text. card-body p' => 'background-color: {{VALUE}};',1586 '{{WRAPPER}} .mgp-card .mg-card-text.mgp-card-body p' => 'background-color: {{VALUE}};', 1587 1587 ], 1588 1588 ] … … 1596 1596 'size_units' => ['px', '%'], 1597 1597 'selectors' => [ 1598 '{{WRAPPER}} .mgp-card .mg-card-text. card-body p' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',1598 '{{WRAPPER}} .mgp-card .mg-card-text.mgp-card-body p' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 1599 1599 ], 1600 1600 ] … … 1617 1617 'type' => \Elementor\Controls_Manager::COLOR, 1618 1618 'selectors' => [ 1619 '{{WRAPPER}} .mgp-card .mg-card-text. card-body p:hover' => 'color: {{VALUE}};',1619 '{{WRAPPER}} .mgp-card .mg-card-text.mgp-card-body p:hover' => 'color: {{VALUE}};', 1620 1620 ], 1621 1621 ] … … 1628 1628 'type' => \Elementor\Controls_Manager::COLOR, 1629 1629 'selectors' => [ 1630 '{{WRAPPER}} .mgp-card .mg-card-text. card-body p:hover' => 'background-color: {{VALUE}};',1630 '{{WRAPPER}} .mgp-card .mg-card-text.mgp-card-body p:hover' => 'background-color: {{VALUE}};', 1631 1631 ], 1632 1632 ] … … 1646 1646 ], 1647 1647 'selectors' => [ 1648 '{{WRAPPER}} .mgp-card .mg-card-text. card-body p' => 'transition: all {{SIZE}}s ease;',1648 '{{WRAPPER}} .mgp-card .mg-card-text.mgp-card-body p' => 'transition: all {{SIZE}}s ease;', 1649 1649 ], 1650 1650 ] … … 1660 1660 'name' => 'mgpg_description_typography', 1661 1661 'label' => __('Typography', 'magical-posts-display'), 1662 'selector' => '{{WRAPPER}} .mgp-card .mg-card-text. card-body p',1662 'selector' => '{{WRAPPER}} .mgp-card .mg-card-text.mgp-card-body p', 1663 1663 ] 1664 1664 ); … … 3319 3319 ?> 3320 3320 <div class="<?php echo esc_attr($item_class); ?>"> 3321 <div class=" card mg-card mg-shadow mgp-cardmb-4">3321 <div class="mgp-card mg-card mg-shadow mgp-mb-4"> 3322 3322 <?php 3323 3323 if ($mgpg_post_img_show) { … … 3354 3354 } 3355 3355 ?> 3356 <div class="mg-card-text card-body">3356 <div class="mg-card-text mgp-card-body"> 3357 3357 <?php 3358 3358 if ($mgpg_post_style == '3') { … … 3581 3581 3582 3582 if ($mgpg_rownumber == '12') { 3583 $column_set = ' col-lg-12';3583 $column_set = 'mgp-col-lg-12'; 3584 3584 } else { 3585 $column_set = ' col-lg-' . $mgpg_rownumber . 'col-md-6';3585 $column_set = 'mgp-col-lg-' . $mgpg_rownumber . ' mgp-col-md-6'; 3586 3586 } 3587 3587 3588 3588 // Add masonry specific classes 3589 3589 $container_class = 'mgpd mgp-items style' . esc_attr($mgpg_post_style); 3590 $row_class = ' row';3590 $row_class = 'mgp-row'; 3591 3591 $item_class = $column_set; 3592 3592 … … 3794 3794 3795 3795 if ($mgpg_rownumber == '12') { 3796 $item_class = ' col-lg-12';3796 $item_class = 'mgp-col-lg-12'; 3797 3797 } else { 3798 $item_class = ' col-lg-' . $mgpg_rownumber . 'col-md-6';3798 $item_class = 'mgp-col-lg-' . $mgpg_rownumber . ' mgp-col-md-6'; 3799 3799 } 3800 3800 … … 3856 3856 3857 3857 if ($mgpg_rownumber == '12') { 3858 $item_class = ' col-lg-12';3858 $item_class = 'mgp-col-lg-12'; 3859 3859 } else { 3860 $item_class = ' col-lg-' . $mgpg_rownumber . 'col-md-6';3860 $item_class = 'mgp-col-lg-' . $mgpg_rownumber . ' mgp-col-md-6'; 3861 3861 } 3862 3862 -
magical-posts-display/trunk/includes/elementor/widgets/posts-list.php
r3380394 r3407965 394 394 'classes' => 'flex-{{VALUE}}', 395 395 'selectors' => [ 396 '{{WRAPPER}} .mgpdl-item . card-body.mgpdl-text' => 'text-align: {{VALUE}};',396 '{{WRAPPER}} .mgpdl-item .mgp-card-body.mgpdl-text' => 'text-align: {{VALUE}};', 397 397 ], 398 398 ] … … 1819 1819 <div class="mgpdl-items"> 1820 1820 <?php while ($mgpl_posts->have_posts()) : $mgpl_posts->the_post(); ?> 1821 <div class="mgpdl-item mgpd-list m b-4 <?php if (has_post_thumbnail() && $mgpl_post_img_show) : ?>mgpdl-hasimg<?php endif; ?>">1822 <div class=" card mgpdl-card <?php if ($mgpl_wrap) : ?>no-wrap<?php endif; ?>">1821 <div class="mgpdl-item mgpd-list mgp-mb-4 <?php if (has_post_thumbnail() && $mgpl_post_img_show) : ?>mgpdl-hasimg<?php endif; ?>"> 1822 <div class="mgp-card mgpdl-card <?php if ($mgpl_wrap) : ?>no-wrap<?php endif; ?>"> 1823 1823 <?php if (has_post_thumbnail() && $mgpl_post_img_show) : ?> 1824 1824 <div class="mgpdl-img"> … … 1830 1830 </div> 1831 1831 <?php endif; ?> 1832 <div class=" card-body mgpdl-text">1832 <div class="mgp-card-body mgpdl-text"> 1833 1833 <?php 1834 1834 // display category -
magical-posts-display/trunk/includes/elementor/widgets/posts-tab.php
r3380394 r3407965 444 444 'classes' => 'flex-{{VALUE}}', 445 445 'selectors' => [ 446 '{{WRAPPER}} .mgp-card .mg-card-text. card-body' => 'text-align: {{VALUE}};',446 '{{WRAPPER}} .mgp-card .mg-card-text.mgp-card-body' => 'text-align: {{VALUE}};', 447 447 ], 448 448 ] … … 1361 1361 'size_units' => ['px', 'em', '%'], 1362 1362 'selectors' => [ 1363 '{{WRAPPER}} .mgp-card .mg-card-text. card-body p' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',1363 '{{WRAPPER}} .mgp-card .mg-card-text.mgp-card-body p' => 'padding: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 1364 1364 ], 1365 1365 ] … … 1372 1372 'size_units' => ['px', 'em', '%'], 1373 1373 'selectors' => [ 1374 '{{WRAPPER}} .mgp-card .mg-card-text. card-body p' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',1374 '{{WRAPPER}} .mgp-card .mg-card-text.mgp-card-body p' => 'margin: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 1375 1375 ], 1376 1376 ] … … 1382 1382 'type' => \Elementor\Controls_Manager::COLOR, 1383 1383 'selectors' => [ 1384 '{{WRAPPER}} .mgp-card .mg-card-text. card-body p' => 'color: {{VALUE}};',1384 '{{WRAPPER}} .mgp-card .mg-card-text.mgp-card-body p' => 'color: {{VALUE}};', 1385 1385 ], 1386 1386 ] … … 1392 1392 'type' => \Elementor\Controls_Manager::COLOR, 1393 1393 'selectors' => [ 1394 '{{WRAPPER}} .mgp-card .mg-card-text. card-body p' => 'background-color: {{VALUE}};',1394 '{{WRAPPER}} .mgp-card .mg-card-text.mgp-card-body p' => 'background-color: {{VALUE}};', 1395 1395 ], 1396 1396 ] … … 1403 1403 'size_units' => ['px', '%'], 1404 1404 'selectors' => [ 1405 '{{WRAPPER}} .mgp-card .mg-card-text. card-body p' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};',1405 '{{WRAPPER}} .mgp-card .mg-card-text.mgp-card-body p' => 'border-radius: {{TOP}}{{UNIT}} {{RIGHT}}{{UNIT}} {{BOTTOM}}{{UNIT}} {{LEFT}}{{UNIT}};', 1406 1406 ], 1407 1407 ] … … 1413 1413 'name' => 'mapt_description_typography', 1414 1414 'label' => __('Typography', 'magical-posts-display'), 1415 'selector' => '{{WRAPPER}} .mgp-card .mg-card-text. card-body p',1415 'selector' => '{{WRAPPER}} .mgp-card .mg-card-text.mgp-card-body p', 1416 1416 ] 1417 1417 ); … … 1950 1950 <!-- Horijontal tab start --> 1951 1951 <?php if ($settings['mapt_type'] == 'vertical') : ?> 1952 <div class=" row">1953 <div class=" col-md-3 vertical-tab">1952 <div class="mgp-row"> 1953 <div class="mgp-col-md-3 vertical-tab"> 1954 1954 <!-- Horijontal tab end --> 1955 1955 <?php endif; ?> … … 1957 1957 1958 1958 <div class="mpdtab-nav-wrap bsknav-<?php if ($settings['mapt_full_width'] == 'yes') : ?>full<?php else : ?>fit navalign-<?php echo esc_attr($settings['mapt_nav_align']); ?><?php endif; ?>"> 1959 <ul class=" nav nav-tabs <?php if ($settings['mapt_full_width'] == 'yes' && $settings['mapt_type'] == 'horizontal') : ?>nav-justified<?php endif; ?>" id="myTab" role="tablist">1959 <ul class="mgp-nav mgp-nav-tabs <?php if ($settings['mapt_full_width'] == 'yes' && $settings['mapt_type'] == 'horizontal') : ?>mgp-nav-justified<?php endif; ?>" id="myTab" role="tablist"> 1960 1960 1961 1961 <?php … … 1964 1964 $cat_info = get_the_category_by_ID($cats_id); 1965 1965 if ($index == 0) { 1966 $bsklink_class = ' nav-linkactive';1966 $bsklink_class = 'mgp-nav-link mgp-active'; 1967 1967 } else { 1968 $bsklink_class = ' nav-link';1968 $bsklink_class = 'mgp-nav-link'; 1969 1969 } 1970 1970 $term_name = empty($cat_info) ? __('Select Category', 'magical-posts-display') : $cat_info; … … 1972 1972 ?> 1973 1973 1974 <li class=" nav-item" role="presentation">1975 <a class="<?php echo esc_attr($bsklink_class); ?>" id="tab-<?php echo esc_attr($mapt_rand . $index); ?>" data- bs-toggle="tab" data-bs-target="#mapt_<?php echo esc_attr($mapt_rand . $index); ?>" href="#" role="tab" aria-controls="mapt_<?php echo esc_attr($mapt_rand . $index); ?>" aria-selected="<?php if ($index == 0) : ?>true<?php else : ?>false<?php endif; ?>">1974 <li class="mgp-nav-item" role="presentation"> 1975 <a class="<?php echo esc_attr($bsklink_class); ?>" id="tab-<?php echo esc_attr($mapt_rand . $index); ?>" data-mgbs-toggle="tab" data-mgbs-target="#mapt_<?php echo esc_attr($mapt_rand . $index); ?>" href="#" role="tab" aria-controls="mapt_<?php echo esc_attr($mapt_rand . $index); ?>" aria-selected="<?php if ($index == 0) : ?>true<?php else : ?>false<?php endif; ?>"> 1976 1976 <?php /* if($settings['mapt_icon_show'] == 'yes' && ($settings['mapt_icon_position'] == 'left' || $settings['mapt_icon_position'] == 'top') ): ?> 1977 1977 <span class="mpdtabs-icon-<?php echo esc_attr( $settings['mapt_icon_position']); ?>"> … … 1996 1996 <?php if ($settings['mapt_type'] == 'vertical') : ?> 1997 1997 </div> 1998 <div class=" col-md-9 vertical-content">1998 <div class="mgp-col-md-9 vertical-content"> 1999 1999 <!-- Horijontal tab end --> 2000 2000 <?php endif; ?> 2001 2001 <?php $mgp_unque_num = wp_rand('8652397', '5832471'); ?> 2002 <div class=" tab-content mpdtab-content">2002 <div class="mgp-tab-content mpdtab-content"> 2003 2003 <?php if ($settings['mapt_custom_css']) : ?> 2004 2004 <style> … … 2011 2011 $pcat_slug = empty($pcat_obj->slug) ? null : $pcat_obj->slug; 2012 2012 ?> 2013 <div id="mapt_<?php echo esc_attr($mapt_rand . $index); ?>" class=" tab-pane fade in <?php if ($index == 0) : ?>showactive<?php endif; ?>" role="tabpanel" aria-labelledby="home-tab">2013 <div id="mapt_<?php echo esc_attr($mapt_rand . $index); ?>" class="mgp-tab-pane mgp-fade in <?php if ($index == 0) : ?>mgp-show mgp-active<?php endif; ?>" role="tabpanel" aria-labelledby="home-tab"> 2014 2014 <div <?php if ($settings['mapt_attr_id']) : ?> id="<?php echo esc_attr($settings['mapt_attr_id']); ?>" <?php endif; ?> class="mgp-unique<?php echo esc_attr($mgp_unque_num); ?> mgpostd mgpde-items style<?php echo esc_attr($mapt_post_style); ?> mgpostd-grid <?php echo esc_attr($settings['mapt_attr_calss']); ?>"> 2015 2015 2016 <div class=" row">2016 <div class="mgp-row"> 2017 2017 2018 2018 … … 2036 2036 while ($mgpteb_item_posts->have_posts()) : $mgpteb_item_posts->the_post(); 2037 2037 ?> 2038 <div class=" col-lg-<?php echo esc_attr($mapt_column); ?>">2039 <div class=" card mg-card mg-shadow mgp-cardmb-4">2038 <div class="mgp-col-lg-<?php echo esc_attr($mapt_column); ?>"> 2039 <div class="mgp-card mg-card mg-shadow mgp-card mgp-mb-4"> 2040 2040 <?php mp_post_thumbnail($mapt_post_img_show, $settings['mapt_img_size']); ?> 2041 <div class="mg-card-text card-body">2041 <div class="mg-card-text mgp-card-body"> 2042 2042 <?php 2043 2043 mp_post_cat_display($settings['mapt_category_show'], $settings['mapt_cat_type'], ', '); … … 2119 2119 </div> 2120 2120 <?php else : ?> 2121 <div class=" alert alert-dangertext-center">2121 <div class="mgp-alert mgp-alert-danger mgp-text-center"> 2122 2122 <?php echo esc_html('Please select posts categories for display the Tab.'); ?> 2123 2123 </div> -
magical-posts-display/trunk/includes/mp-posts-meta.php
r3116993 r3407965 98 98 { 99 99 if (!post_password_required() && (comments_open() && get_comments_number())) { 100 echo '<span class="single-comments-link m l-2">';100 echo '<span class="single-comments-link mgp-ml-2">'; 101 101 comments_popup_link( 102 102 sprintf( … … 112 112 get_the_title() 113 113 ), 114 '< i class="far fa-comments"></i> ' . __('1 ', 'magical-posts-display'),115 '< i class="far fa-comments"></i>' . __(' % ', 'magical-posts-display'),114 '<svg class="mgp-comment-icon" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg> ' . __('1 ', 'magical-posts-display'), 115 '<svg class="mgp-comment-icon" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"></path></svg>' . __(' % ', 'magical-posts-display'), 116 116 'comments-link', 117 117 ' ' -
magical-posts-display/trunk/includes/widgets/recent-posts-widget.php
r3170252 r3407965 102 102 $title = (!empty($post_title)) ? $post_title : __('no title', 'magical-posts-display'); 103 103 ?> 104 <li class="mpdw-recent-item m b-3">105 <div class=" row">104 <li class="mpdw-recent-item mgp-mb-3"> 105 <div class="mgp-row"> 106 106 <?php if (has_post_thumbnail($recent_post->ID)) : ?> 107 <div class=" col-sm-4">108 <div class="mpdw-recent-img m b-1">107 <div class="mgp-col-sm-4"> 108 <div class="mpdw-recent-img mgp-mb-1"> 109 109 <?php echo get_the_post_thumbnail($recent_post->ID, 'medium'); ?> 110 110 </div> 111 111 </div> 112 <div class=" col-sm-8">112 <div class="mgp-col-sm-8"> 113 113 <?php else : ?> 114 <div class=" col-sm-12">114 <div class="mgp-col-sm-12"> 115 115 <?php endif; ?> 116 116 <div class="mpdw-recent-text"> -
magical-posts-display/trunk/lib/custom-template/mgp-template.php
r2324395 r3407965 18 18 </div> 19 19 <?php endif; ?> 20 <div class=" container">20 <div class="mgp-container"> 21 21 <div class="entry-content"> 22 22 <?php -
magical-posts-display/trunk/magical-posts-display.php
r3380394 r3407965 5 5 * Plugin URI: http://wpthemespace.com/magical-posts-display 6 6 * Description: Show your site posts, Pages and Custom Post Types with many different styles by Elementor Widgets. 7 * Version: 1.2.5 47 * Version: 1.2.55 8 8 * Author: Noor Alam 9 9 * Author URI: http://wpthemespace.com … … 38 38 * @var string The plugin version. 39 39 */ 40 const version = '1.2.5 4';40 const version = '1.2.55'; 41 41 42 42 /** … … 143 143 $this->mgposts_new_user(); 144 144 145 // Handle Carbon Fields loading for older installations146 $install_date = gmdate("Y-m-d", strtotime(get_option('mgposte_install_date', current_time('mysql', true))));147 $compare_date = '2023-03-07';148 if ($compare_date > $install_date) {149 if (!did_action('elementor/loaded')) {150 require_once('vendor/autoload.php');151 \Carbon_Fields\Carbon_Fields::boot();152 }153 }154 155 145 // Check for required PHP version 156 146 if (version_compare(PHP_VERSION, self::MINIMUM_PHP_VERSION, '<')) { … … 166 156 $this->track_plugin_usage(); 167 157 168 // Initialize Appsero tracking after 2 days 169 $mgposte_install_date = get_option('mgposte_install_date'); 170 if (!empty($mgposte_install_date)) { 171 $install_day = round((time() - strtotime($mgposte_install_date)) / 24 / 60 / 60); 172 if ($install_day > 2) { 173 //$this->appsero_init_tracker_magical_posts_display(); 174 } 175 } 158 // Appsero tracking removed with vendor dependencies 176 159 } 177 160 … … 190 173 update_option('mgposte_install_date', current_time('mysql')); 191 174 } 175 176 // Initialize Appsero tracking 177 $this->appsero_init_tracker_magical_posts_display(); 192 178 } 193 179 … … 204 190 } 205 191 206 207 208 192 // Appsero tracker function removed with vendor dependencies 209 193 /** 210 194 * Initialize the plugin tracker … … 220 204 221 205 if (!class_exists('Appsero\Client')) { 222 re quire_once __DIR__ . '/vendor/appsero/client/src/Client.php';206 return; // Autoloader should have loaded this, if not available, skip 223 207 } 224 208 … … 228 212 $client->insights()->init(); 229 213 } 214 230 215 } 231 216 magicalPostDisplay::instance(); -
magical-posts-display/trunk/vendor/appsero/client/src/Insights.php
r3196996 r3407965 435 435 $notice .= ' (<a class="' . $this->client->slug . '-insights-data-we-collect" href="#">' . $this->client->__trans( 'what we collect' ) . '</a>)'; 436 436 $notice .= '<p class="description" style="display:none;">' . implode( ', ', $this->data_we_collect() ) . '. '; 437 $notice .= 'We are using Appsero to collect your data. <a href="' . $policy_url . '" target="_blank">Learn more</a> about how Appsero collects and handle your data.</p>';437 $notice .= 'We are using Appsero to collect your data. <a href="' . $policy_url . '" target="_blank">Learn more</a> ↗</p>'; 438 438 439 439 echo '<div class="updated"><p>'; … … 925 925 <?php 926 926 echo sprintf( 927 $this->client->__trans( 'We share your data with <a href="%1$s" target="_blank">Appsero</a> to troubleshoot problems & make product improvements. <a href="%2$s" target="_blank">Learn more</a> about how Appsero handles your data.' ),927 $this->client->__trans( 'We share your data with <a href="%1$s" target="_blank">Appsero</a> to troubleshoot problems & make product improvements. <a href="%2$s" target="_blank">Learn more</a> ↗' ), 928 928 esc_url( 'https://appsero.com/' ), 929 929 esc_url( 'https://appsero.com/privacy-policy' ) -
magical-posts-display/trunk/vendor/autoload.php
r3004274 r3407965 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit b08bd5d3acd39cec2ae5415713ba3c31::getLoader();25 return ComposerAutoloaderInitf31f6578ca9c7ce157b61993857c8afc::getLoader(); -
magical-posts-display/trunk/vendor/composer/InstalledVersions.php
r3004274 r3407965 323 323 324 324 $installed = array(); 325 $copiedLocalDir = false; 325 326 326 327 if (self::$canGetVendors) { … … 331 332 /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */ 332 333 $required = require $vendorDir.'/composer/installed.php'; 333 $installed[] = self::$installedByVendor[$vendorDir] = $required; 334 if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { 335 self::$installed = $installed[count($installed) - 1]; 334 self::$installedByVendor[$vendorDir] = $required; 335 $installed[] = $required; 336 if (strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { 337 self::$installed = $required; 338 $copiedLocalDir = true; 336 339 } 337 340 } … … 351 354 } 352 355 353 if (self::$installed !== array() ) {356 if (self::$installed !== array() && !$copiedLocalDir) { 354 357 $installed[] = self::$installed; 355 358 } -
magical-posts-display/trunk/vendor/composer/autoload_psr4.php
r3004274 r3407965 7 7 8 8 return array( 9 ' Carbon_Fields\\' => array($vendorDir . '/htmlburger/carbon-fields/core'),9 'MagicalPostsDisplay\\' => array($baseDir . '/includes'), 10 10 'Appsero\\' => array($vendorDir . '/appsero/client/src'), 11 11 ); -
magical-posts-display/trunk/vendor/composer/autoload_real.php
r3004274 r3407965 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit b08bd5d3acd39cec2ae5415713ba3c315 class ComposerAutoloaderInitf31f6578ca9c7ce157b61993857c8afc 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit b08bd5d3acd39cec2ae5415713ba3c31', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInitf31f6578ca9c7ce157b61993857c8afc', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit b08bd5d3acd39cec2ae5415713ba3c31', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInitf31f6578ca9c7ce157b61993857c8afc', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit b08bd5d3acd39cec2ae5415713ba3c31::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInitf31f6578ca9c7ce157b61993857c8afc::getInitializer($loader)); 33 33 34 34 $loader->register(true); 35 36 $filesToLoad = \Composer\Autoload\ComposerStaticInitf31f6578ca9c7ce157b61993857c8afc::$files; 37 $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { 38 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { 39 $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; 40 41 require $file; 42 } 43 }, null, null); 44 foreach ($filesToLoad as $fileIdentifier => $file) { 45 $requireFile($fileIdentifier, $file); 46 } 35 47 36 48 return $loader; -
magical-posts-display/trunk/vendor/composer/autoload_static.php
r2830613 r3407965 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit b08bd5d3acd39cec2ae5415713ba3c317 class ComposerStaticInitf31f6578ca9c7ce157b61993857c8afc 8 8 { 9 public static $files = array ( 10 '9b38cf48e83f5d8f60375221cd213eee' => __DIR__ . '/..' . '/phpstan/phpstan/bootstrap.php', 11 ); 12 9 13 public static $prefixLengthsPsr4 = array ( 10 ' C' =>14 'M' => 11 15 array ( 12 ' Carbon_Fields\\' => 14,16 'MagicalPostsDisplay\\' => 20, 13 17 ), 14 18 'A' => … … 19 23 20 24 public static $prefixDirsPsr4 = array ( 21 ' Carbon_Fields\\' =>25 'MagicalPostsDisplay\\' => 22 26 array ( 23 0 => __DIR__ . '/.. ' . '/htmlburger/carbon-fields/core',27 0 => __DIR__ . '/../..' . '/includes', 24 28 ), 25 29 'Appsero\\' => … … 36 40 { 37 41 return \Closure::bind(function () use ($loader) { 38 $loader->prefixLengthsPsr4 = ComposerStaticInit b08bd5d3acd39cec2ae5415713ba3c31::$prefixLengthsPsr4;39 $loader->prefixDirsPsr4 = ComposerStaticInit b08bd5d3acd39cec2ae5415713ba3c31::$prefixDirsPsr4;40 $loader->classMap = ComposerStaticInit b08bd5d3acd39cec2ae5415713ba3c31::$classMap;42 $loader->prefixLengthsPsr4 = ComposerStaticInitf31f6578ca9c7ce157b61993857c8afc::$prefixLengthsPsr4; 43 $loader->prefixDirsPsr4 = ComposerStaticInitf31f6578ca9c7ce157b61993857c8afc::$prefixDirsPsr4; 44 $loader->classMap = ComposerStaticInitf31f6578ca9c7ce157b61993857c8afc::$classMap; 41 45 42 46 }, null, ClassLoader::class); -
magical-posts-display/trunk/vendor/composer/installed.json
r3196996 r3407965 3 3 { 4 4 "name": "appsero/client", 5 "version": "v2.0. 4",6 "version_normalized": "2.0. 4.0",5 "version": "v2.0.5", 6 "version_normalized": "2.0.5.0", 7 7 "source": { 8 8 "type": "git", 9 9 "url": "https://github.com/Appsero/client.git", 10 "reference": " 12ff65b9770286d21edf314e7acfcd26fdde3315"10 "reference": "b7766ee150cc8e28125a818a11e770feb9899a71" 11 11 }, 12 12 "dist": { 13 13 "type": "zip", 14 "url": "https://api.github.com/repos/Appsero/client/zipball/ 12ff65b9770286d21edf314e7acfcd26fdde3315",15 "reference": " 12ff65b9770286d21edf314e7acfcd26fdde3315",14 "url": "https://api.github.com/repos/Appsero/client/zipball/b7766ee150cc8e28125a818a11e770feb9899a71", 15 "reference": "b7766ee150cc8e28125a818a11e770feb9899a71", 16 16 "shasum": "" 17 17 }, … … 27 27 "wp-coding-standards/wpcs": "dev-develop" 28 28 }, 29 "time": "202 4-11-25T05:58:23+00:00",29 "time": "2025-11-24T10:14:59+00:00", 30 30 "type": "library", 31 31 "installation-source": "dist", … … 54 54 "support": { 55 55 "issues": "https://github.com/Appsero/client/issues", 56 "source": "https://github.com/Appsero/client/tree/v2.0. 4"56 "source": "https://github.com/Appsero/client/tree/v2.0.5" 57 57 }, 58 58 "install-path": "../appsero/client" 59 59 }, 60 60 { 61 "name": "htmlburger/carbon-fields", 62 "version": "v3.6.5", 63 "version_normalized": "3.6.5.0", 64 "source": { 65 "type": "git", 66 "url": "https://github.com/htmlburger/carbon-fields.git", 67 "reference": "b18f8e2a2cc4cc976306eb867ad1d740a8e7c1d9" 68 }, 61 "name": "phpstan/phpstan", 62 "version": "1.12.32", 63 "version_normalized": "1.12.32.0", 69 64 "dist": { 70 65 "type": "zip", 71 "url": "https://api.github.com/repos/ htmlburger/carbon-fields/zipball/b18f8e2a2cc4cc976306eb867ad1d740a8e7c1d9",72 "reference": " b18f8e2a2cc4cc976306eb867ad1d740a8e7c1d9",66 "url": "https://api.github.com/repos/phpstan/phpstan/zipball/2770dcdf5078d0b0d53f94317e06affe88419aa8", 67 "reference": "2770dcdf5078d0b0d53f94317e06affe88419aa8", 73 68 "shasum": "" 74 69 }, 75 70 "require": { 76 "php": " >=5.6.20"71 "php": "^7.2|^8.0" 77 72 }, 78 "require-dev": { 79 "mockery/mockery": "1.3.6", 80 "phpunit/phpunit": "7.5.20|9.6.3", 81 "yoast/phpunit-polyfills": "^1.0" 73 "conflict": { 74 "phpstan/phpstan-shim": "*" 82 75 }, 83 "time": "2024-07-31T08:17:38+00:00", 76 "time": "2025-09-30T10:16:31+00:00", 77 "bin": [ 78 "phpstan", 79 "phpstan.phar" 80 ], 84 81 "type": "library", 85 82 "installation-source": "dist", 86 83 "autoload": { 87 " psr-4": {88 " Carbon_Fields\\": "core/"89 }84 "files": [ 85 "bootstrap.php" 86 ] 90 87 }, 91 88 "notification-url": "https://packagist.org/downloads/", 92 89 "license": [ 93 " GPL-2.0-only"90 "MIT" 94 91 ], 95 "authors": [ 92 "description": "PHPStan - PHP Static Analysis Tool", 93 "keywords": [ 94 "dev", 95 "static analysis" 96 ], 97 "support": { 98 "docs": "https://phpstan.org/user-guide/getting-started", 99 "forum": "https://github.com/phpstan/phpstan/discussions", 100 "issues": "https://github.com/phpstan/phpstan/issues", 101 "security": "https://github.com/phpstan/phpstan/security/policy", 102 "source": "https://github.com/phpstan/phpstan-src" 103 }, 104 "funding": [ 96 105 { 97 "name": "htmlBurger", 98 "email": "wordpress@htmlburger.com", 99 "homepage": "https://htmlburger.com/", 100 "role": "Developer" 106 "url": "https://github.com/ondrejmirtes", 107 "type": "github" 101 108 }, 102 109 { 103 "name": "Miroslav Mitev", 104 "email": "mmitev.2create@gmail.com", 105 "role": "Developer" 106 }, 107 { 108 "name": "Atanas Angelov", 109 "email": "atanas.angelov.dev@gmail.com", 110 "role": "Developer" 111 }, 112 { 113 "name": "Georgi Stoyanov", 114 "email": "stoyanov.gs@gmail.com", 115 "role": "Developer" 116 }, 117 { 118 "name": "Plamen Kostadinov", 119 "email": "pkostadinov.2create@gmail.com", 120 "homepage": "http://plasmen.info/", 121 "role": "Developer" 122 }, 123 { 124 "name": "Stanimir Panchev", 125 "email": "Stan4omir@gmail.com", 126 "role": "Developer" 127 }, 128 { 129 "name": "Marin Atanasov", 130 "email": "contact@marinatanasov.com", 131 "homepage": "http://marinatanasov.com/", 132 "role": "Developer" 133 }, 134 { 135 "name": "Siyan Panayotov", 136 "homepage": "http://siyanpanayotov.com/", 137 "role": "Developer" 138 }, 139 { 140 "name": "Peter Petrov", 141 "email": "peter.petrov89@gmail.com", 142 "role": "Developer" 143 }, 144 { 145 "name": "Stanimir Stoyanov", 146 "email": "stanimir.k.stoyanov@gmail.com", 147 "role": "Developer" 148 }, 149 { 150 "name": "Kaloyan Ivanov", 151 "email": "kaloyanxivanov@gmail.com", 152 "homepage": "http://vilepixels.com/", 153 "role": "Developer" 154 }, 155 { 156 "name": "Georgi Popov", 157 "homepage": "http://magadanski.com/", 158 "role": "Developer" 159 }, 160 { 161 "name": "German Velchev", 162 "email": "germozy@gmail.com", 163 "role": "Developer" 164 }, 165 { 166 "name": "Rashko Petrov", 167 "email": "brutalenemy666@gmail.com", 168 "homepage": "http://errorfactory.com/", 169 "role": "Developer" 170 }, 171 { 172 "name": "Alexander Panayotov", 173 "email": "alexander.panayotov@gmail.com", 174 "homepage": "http://alexanderpanayotov.com/", 175 "role": "Developer" 176 }, 177 { 178 "name": "Viktor Vasilev", 179 "email": "liberalcho@gmail.com", 180 "role": "Developer" 181 }, 182 { 183 "name": "Georgi Georgiev", 184 "email": "george.georgiev96@gmail.com", 185 "role": "Developer" 186 }, 187 { 188 "name": "Atanas Vasilev", 189 "email": "atanasvasilev91@gmail.com", 190 "role": "Developer" 110 "url": "https://github.com/phpstan", 111 "type": "github" 191 112 } 192 113 ], 193 "description": "WordPress developer-friendly custom fields for post types, taxonomy terms, users, comments, widgets, options and more.", 194 "homepage": "http://carbonfields.net/", 195 "support": { 196 "docs": "http://carbonfields.net/docs/", 197 "email": "wordpress@htmlburger.com", 198 "issues": "https://github.com/htmlburger/carbon-fields/issues", 199 "source": "https://github.com/htmlburger/carbon-fields" 200 }, 201 "install-path": "../htmlburger/carbon-fields" 114 "install-path": "../phpstan/phpstan" 202 115 } 203 116 ], 204 117 "dev": true, 205 "dev-package-names": [] 118 "dev-package-names": [ 119 "phpstan/phpstan" 120 ] 206 121 } -
magical-posts-display/trunk/vendor/composer/installed.php
r3196996 r3407965 1 1 <?php return array( 2 2 'root' => array( 3 'name' => ' __root__',3 'name' => 'magical-posts-display/wordpress-plugin', 4 4 'pretty_version' => '1.0.0+no-version-set', 5 5 'version' => '1.0.0.0', 6 'reference' => NULL,7 'type' => ' library',6 'reference' => null, 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', 9 9 'aliases' => array(), … … 11 11 ), 12 12 'versions' => array( 13 '__root__' => array(14 'pretty_version' => '1.0.0+no-version-set',15 'version' => '1.0.0.0',16 'reference' => NULL,17 'type' => 'library',18 'install_path' => __DIR__ . '/../../',19 'aliases' => array(),20 'dev_requirement' => false,21 ),22 13 'appsero/client' => array( 23 'pretty_version' => 'v2.0. 4',24 'version' => '2.0. 4.0',25 'reference' => ' 12ff65b9770286d21edf314e7acfcd26fdde3315',14 'pretty_version' => 'v2.0.5', 15 'version' => '2.0.5.0', 16 'reference' => 'b7766ee150cc8e28125a818a11e770feb9899a71', 26 17 'type' => 'library', 27 18 'install_path' => __DIR__ . '/../appsero/client', … … 29 20 'dev_requirement' => false, 30 21 ), 31 ' htmlburger/carbon-fields' => array(32 'pretty_version' => ' v3.6.5',33 'version' => ' 3.6.5.0',34 'reference' => 'b18f8e2a2cc4cc976306eb867ad1d740a8e7c1d9',35 'type' => ' library',36 'install_path' => __DIR__ . '/../ htmlburger/carbon-fields',22 'magical-posts-display/wordpress-plugin' => array( 23 'pretty_version' => '1.0.0+no-version-set', 24 'version' => '1.0.0.0', 25 'reference' => null, 26 'type' => 'wordpress-plugin', 27 'install_path' => __DIR__ . '/../../', 37 28 'aliases' => array(), 38 29 'dev_requirement' => false, 39 30 ), 31 'phpstan/phpstan' => array( 32 'pretty_version' => '1.12.32', 33 'version' => '1.12.32.0', 34 'reference' => '2770dcdf5078d0b0d53f94317e06affe88419aa8', 35 'type' => 'library', 36 'install_path' => __DIR__ . '/../phpstan/phpstan', 37 'aliases' => array(), 38 'dev_requirement' => true, 39 ), 40 40 ), 41 41 ); -
magical-posts-display/trunk/vendor/composer/platform_check.php
r3004274 r3407965 5 5 $issues = array(); 6 6 7 if (!(PHP_VERSION_ID >= 50620)) {8 $issues[] = 'Your Composer dependencies require a PHP version ">= 5.6.20". You are running ' . PHP_VERSION . '.';7 if (!(PHP_VERSION_ID >= 70400)) { 8 $issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.'; 9 9 } 10 10
Note: See TracChangeset
for help on using the changeset viewer.