Changeset 2760220
- Timestamp:
- 07/22/2022 11:04:46 AM (4 years ago)
- Location:
- makestories-helper/trunk
- Files:
-
- 12 edited
-
assets/css/ms-style.css (modified) (37 diffs)
-
assets/js/ms-script.js (modified) (7 diffs)
-
hooks.php (modified) (1 diff)
-
makestories.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
shortcode.php (modified) (3 diffs)
-
taxonomy-ms_story_category.php (modified) (1 diff)
-
templates/archive-stories.php (modified) (3 diffs)
-
templates/listing-story-grid.php (modified) (3 diffs)
-
templates/ms-post-by-category.php (modified) (1 diff)
-
templates/ms-single-post.php (modified) (3 diffs)
-
templates/single-story.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
makestories-helper/trunk/assets/css/ms-style.css
r2673324 r2760220 3 3 } */ 4 4 5 .story { 6 width: 90%; 7 max-width: 90%; 8 /* padding: 15px 0;*/9 background: #fff; 10 /* box-shadow: 0 0 10px #ddd;*/11 } 12 13 .story-inner { 14 /* max-width: 85%;*/15 margin: 0 auto; 16 } 17 18 .story .story-inner h3 { 19 padding: 0 0 20px; 20 margin-top: 3rem; 21 border-bottom: 1px solid #eee; 22 font: 500 1.8rem sans-serif; 23 letter-spacing: .3px; 24 text-transform: uppercase; 25 font-weight: 700; 26 } 5 /*.story {*/ 6 /* width: 90%;*/ 7 /* max-width: 90%;*/ 8 /* !* padding: 15px 0; *!*/ 9 /* background: #fff;*/ 10 /* !* box-shadow: 0 0 10px #ddd; *!*/ 11 /*}*/ 12 13 /*.story-inner {*/ 14 /* !* max-width: 85%; *!*/ 15 /* margin: 0 auto;*/ 16 /*}*/ 17 18 /*.story .story-inner h3 {*/ 19 /* padding: 0 0 20px;*/ 20 /* margin-top: 3rem;*/ 21 /* border-bottom: 1px solid #eee;*/ 22 /* font: 500 1.8rem sans-serif;*/ 23 /* letter-spacing: .3px;*/ 24 /* text-transform: uppercase;*/ 25 /* font-weight: 700;*/ 26 /*}*/ 27 27 28 28 .ms-publish-story-list { … … 144 144 145 145 /* Category section */ 146 .category-wrap { 147 padding-left: 200px; 148 } 146 /*.category-wrap {*/ 147 /* padding-left: 200px;*/ 148 /*}*/ 149 149 150 150 /* Story listing page */ 151 . stories-group {151 .ms-stories-group { 152 152 display: flex; 153 153 justify-content: space-around; … … 156 156 } 157 157 158 . default-stories {158 .ms-default-stories { 159 159 width: 80%; 160 160 margin: 0 auto; … … 162 162 } 163 163 164 . default-stories .no-stories {164 .ms-default-stories .no-stories { 165 165 text-align: center; 166 166 font-size: 24px; 167 167 } 168 168 169 . grid .container h2 {169 .ms-grid .ms-container h2 { 170 170 color: #202124; 171 171 } 172 172 173 . grid .container p {173 .ms-grid .ms-container p { 174 174 color: #757575; 175 175 } 176 176 177 . container .default-stories {177 .ms-container .ms-default-stories { 178 178 width: 100%; 179 179 } 180 180 181 . default-stories h3 {181 .ms-default-stories h3 { 182 182 margin-bottom: 10px; 183 183 margin-top: 15px; … … 192 192 } 193 193 194 . default-stories p {194 .ms-default-stories p { 195 195 margin-bottom: 0; 196 196 margin-top: 0; … … 199 199 } 200 200 201 . story-thumb {201 .ms-story-thumb { 202 202 margin: 0 15px; 203 203 margin-bottom: 20px; … … 210 210 } 211 211 212 . story-thumb a {212 .ms-story-thumb a { 213 213 text-decoration: none; 214 214 } 215 215 216 . story-thumb figure {216 .ms-story-thumb figure { 217 217 position: relative; 218 218 padding-bottom: 133%; 219 219 } 220 220 221 . story-thumb:hover {222 box-shadow: rgb (45 45 45 / 5%) 0px 2px 2px, rgb(49 49 49 / 5%) 0px 4px 4px, rgb(42 42 42 / 5%) 0px 8px 8px, rgb(32 32 32 / 5%) 0px 16px 16px, rgb(49 49 49 / 5%) 0px 22px 22px, rgb(35 35 35 / 2%) 0px64px 64px;221 .ms-story-thumb:hover { 222 box-shadow: rgba(45,45,45,0.05) 0 2px 2px, rgba(49,49,49,0.05) 0 4px 4px, rgba(42,42,42,0.05) 0 8px 8px, rgba(32,32,32,0.05) 0 16px 16px, rgba(49,49,49,0.05) 0 22px 22px, rgba(35,35,35,0.02) 0 64px 64px; 223 223 transform: translate(0, -4px); 224 224 } 225 225 226 . story-thumb img {226 .ms-story-thumb img { 227 227 width: 100%; 228 228 border-radius: 4px; … … 234 234 } 235 235 236 . load-more-wrap {236 .ms-load-more-wrap { 237 237 text-align: center; 238 238 } 239 239 240 . load-more-wrap a {240 .ms-load-more-wrap a { 241 241 width: 220px; 242 242 padding: 10px; … … 256 256 257 257 @media screen and (max-width: 995px) { 258 . story-thumb {258 .ms-story-thumb { 259 259 flex-basis: 225px; 260 260 max-width: 225px; 261 261 } 262 262 263 . default-stories {263 .ms-default-stories { 264 264 width: 90%; 265 265 } … … 267 267 268 268 @media screen and (max-width: 550px) { 269 . story-thumb {269 .ms-story-thumb { 270 270 flex-basis: 40vw; 271 271 max-width: 40vw; 272 272 } 273 273 274 . default-stories {274 .ms-default-stories { 275 275 width: 94%; 276 276 } 277 277 } 278 278 279 # loading-spinner {279 #ms-loading-spinner { 280 280 width: 30px; 281 281 height: 30px; … … 283 283 } 284 284 285 body.ms_loading # loading-spinner {285 body.ms_loading #ms-loading-spinner { 286 286 margin-top: 8px; 287 287 background: url('../images/load.gif'); … … 292 292 } 293 293 294 body.ms_loading # loading-spinner img {294 body.ms_loading #ms-loading-spinner img { 295 295 width: auto; 296 296 } … … 309 309 overflow: hidden; 310 310 } */ 311 . grid {311 .ms-grid { 312 312 padding-top: 1.5rem; 313 313 } 314 314 315 . grid:last-child {315 .ms-grid:last-child { 316 316 margin-bottom: 1.5rem; 317 317 } 318 318 319 . card {319 .ms-card { 320 320 background: #fff; 321 321 border: 1px solid #dedede; … … 327 327 328 328 329 . story-img {329 .ms-story-img { 330 330 border-radius: 5px 5px 0 0; 331 331 width: 100%; 332 332 } 333 333 334 . cardimage {334 .ms-cardimage { 335 335 position: relative; 336 336 height: 100%; … … 341 341 } 342 342 343 . container {343 .ms-container { 344 344 padding: 1.5rem; 345 345 position: relative; … … 347 347 } 348 348 349 . story-img {349 .ms-story-img { 350 350 display: block; 351 351 width: 100%; … … 358 358 } 359 359 360 . cardin {360 .ms-cardin { 361 361 display: block; 362 362 width: 100%; … … 377 377 378 378 @media (min-width: 1024px) { 379 . grid {379 .ms-grid { 380 380 display: grid; 381 381 grid-gap: 1.5rem; … … 383 383 } 384 384 385 . card {385 .ms-card { 386 386 margin-bottom: 0; 387 387 } … … 391 391 @media ( max-width: 1023.98px ) { 392 392 393 .largestory .container p, .replaceStory .container p { 394 font-size: 0.875rem; 395 margin-bottom: 1rem; 396 } 397 398 .largestory .container h2, .replaceStory .container h2 { 399 font-size: 1.25rem; 400 font-family: Circular Std Bold; 393 .largestory .ms-container p, .replaceStory .ms-container p { 394 font-size: 0.875rem; 395 margin-bottom: 1rem; 396 } 397 398 .largestory .ms-container h2, .replaceStory .ms-container h2 { 399 font-size: 1.25rem; 401 400 line-height: 1.5625rem; 402 401 } … … 413 412 } 414 413 415 .smallStory . cardin, .mobilesmallStory .cardin, .bigmiddleStory .cardin {414 .smallStory .ms-cardin, .mobilesmallStory .ms-cardin, .bigmiddleStory .ms-cardin { 416 415 display: flex; 417 416 height: auto; 418 417 } 419 418 420 .smallStory . cardimage, .mobilesmallStory .cardimage, .bigmiddleStory .cardimage {419 .smallStory .ms-cardimage, .mobilesmallStory .ms-cardimage, .bigmiddleStory .ms-cardimage { 421 420 height: auto; 422 421 width: 95px; … … 425 424 } 426 425 427 .smallStory . cardimage .story-img, .mobilesmallStory .cardimage .story-img, .bigmiddleStory .cardimage .story-img {426 .smallStory .ms-cardimage .ms-story-img, .mobilesmallStory .ms-cardimage .ms-story-img, .bigmiddleStory .ms-cardimage .ms-story-img { 428 427 border-radius: 5px; 429 428 } 430 429 431 .smallStory . container, .mobilesmallStory .container, .bigmiddleStory .container {430 .smallStory .ms-container, .mobilesmallStory .ms-container, .bigmiddleStory .ms-container { 432 431 padding: 1.5rem 0.5rem; 433 432 } 434 433 435 .smallStory . container p, .mobilesmallStory .container p, .bigmiddleStory .container p {436 font-size: 0.875rem; 437 margin-bottom: 1rem; 438 } 439 440 .smallStory . container h2, .mobilesmallStory .container h2, .bigmiddleStory .container h2 {434 .smallStory .ms-container p, .mobilesmallStory .ms-container p, .bigmiddleStory .ms-container p { 435 font-size: 0.875rem; 436 margin-bottom: 1rem; 437 } 438 439 .smallStory .ms-container h2, .mobilesmallStory .ms-container h2, .bigmiddleStory .ms-container h2 { 441 440 font-size: 1rem; 442 font-family: Circular Std Bold;443 441 line-height: 22px; 444 442 } … … 447 445 448 446 @media (min-width: 768px) and (max-width: 1023.98px) { 449 . grid {447 .ms-grid { 450 448 display: grid; 451 449 grid-gap: 1.5rem; … … 453 451 } 454 452 455 . card {453 .ms-card { 456 454 margin-bottom: 0; 457 455 } … … 461 459 @media (min-width: 1024px) { 462 460 463 . grid {461 .ms-grid { 464 462 display: grid; 465 463 grid-gap: 1.5rem; … … 473 471 } 474 472 475 .largestory . cardin {473 .largestory .ms-cardin { 476 474 display: flex; 477 475 flex-direction: row-reverse; 478 476 } 479 477 480 .largestory . container {478 .largestory .ms-container { 481 479 display: flex; 482 480 flex-direction: column; … … 486 484 } 487 485 488 .largestory . cardimage {486 .largestory .ms-cardimage { 489 487 height: 100%; 490 488 width: 66.66667%; … … 492 490 } 493 491 494 .largestory . cardimage .story-img {492 .largestory .ms-cardimage .ms-story-img { 495 493 height: auto; 496 494 display: flex; … … 498 496 } 499 497 500 .replaceStory . cardimage {498 .replaceStory .ms-cardimage { 501 499 height: 565px; 502 500 } 503 501 504 .largestory . cardimage .story-img {502 .largestory .ms-cardimage .ms-story-img { 505 503 border-radius: 0 5px 5px 0 506 504 } 507 505 508 .largestory . container p {509 font-size: 0.875rem; 510 margin-bottom: 1rem; 511 } 512 513 .largestory . container h2 {514 font-size: 1.25rem; 515 font-family: Circular Std Bold;516 line-height: 1.5625rem; 517 } 518 519 .replaceStory . container p {520 font-size: 0.875rem; 521 margin-bottom: 1rem; 522 } 523 524 .replaceStory . container h2 {525 font-size: 1.25rem; 526 font-family: Circular Std Bold;527 line-height: 1.5625rem; 528 } 529 530 .smallStory . container p, .mobilesmallStory .container p {531 font-size: 0.875rem; 532 margin-bottom: 1rem; 533 } 534 535 .smallStory . container h2, .mobilesmallStory .container h2 {536 font-size: 1.25rem; 537 font-family: Circular Std Bold;538 line-height: 1.5625rem; 539 } 540 541 .bigmiddleStory . container p {542 font-size: 0.875rem; 543 margin-bottom: 1rem; 544 } 545 546 .bigmiddleStory . container h2 {547 font-size: 1.25rem; 548 font-family: Circular Std Bold;506 .largestory .ms-container p { 507 font-size: 0.875rem; 508 margin-bottom: 1rem; 509 } 510 511 .largestory .ms-container h2 { 512 font-size: 1.25rem; 513 514 line-height: 1.5625rem; 515 } 516 517 .replaceStory .ms-container p { 518 font-size: 0.875rem; 519 margin-bottom: 1rem; 520 } 521 522 .replaceStory .ms-container h2 { 523 font-size: 1.25rem; 524 525 line-height: 1.5625rem; 526 } 527 528 .smallStory .ms-container p, .mobilesmallStory .ms-container p { 529 font-size: 0.875rem; 530 margin-bottom: 1rem; 531 } 532 533 .smallStory .ms-container h2, .mobilesmallStory .ms-container h2 { 534 font-size: 1.25rem; 535 536 line-height: 1.5625rem; 537 } 538 539 .bigmiddleStory .ms-container p { 540 font-size: 0.875rem; 541 margin-bottom: 1rem; 542 } 543 544 .bigmiddleStory .ms-container h2 { 545 font-size: 1.25rem; 546 549 547 line-height: 1.5625rem; 550 548 } … … 553 551 554 552 @media (min-width: 1200px) { 555 . grid {553 .ms-grid { 556 554 display: grid; 557 555 grid-gap: 1.5rem; … … 560 558 } 561 559 562 . card {560 .ms-card { 563 561 margin-bottom: 0; 564 562 } … … 568 566 height: 100%; 569 567 grid-column: span 3; 570 font-family: 'Circular Std Book'; 571 } 572 573 .largestory .cardin { 568 } 569 570 .largestory .ms-cardin { 574 571 display: flex; 575 572 flex-direction: row-reverse; 576 573 } 577 574 578 .largestory . cardimage {575 .largestory .ms-cardimage { 579 576 height: 100%; 580 577 width: 66.66667%; … … 584 581 } 585 582 586 .largestory . story-img {583 .largestory .ms-story-img { 587 584 border-radius: 0 5px 5px 0; 588 585 } 589 586 590 .largestory . container {587 .largestory .ms-container { 591 588 display: flex; 592 589 flex-direction: column; … … 597 594 } 598 595 599 .largestory . container p {600 font-size: 0.875rem; 601 margin-bottom: 1rem; 602 } 603 604 .largestory . container h2 {605 font-size: 1.25rem; 606 font-family: Circular Std Bold;607 line-height: 1.5625rem; 608 } 609 610 .replaceStory . cardimage {596 .largestory .ms-container p { 597 font-size: 0.875rem; 598 margin-bottom: 1rem; 599 } 600 601 .largestory .ms-container h2 { 602 font-size: 1.25rem; 603 604 line-height: 1.5625rem; 605 } 606 607 .replaceStory .ms-cardimage { 611 608 height: 420px; 612 609 } 613 610 614 .replaceStory .container p { 615 font-size: 0.875rem; 616 margin-bottom: 1rem; 617 } 618 619 .replaceStory .container h2 { 620 font-size: 1.25rem; 621 font-family: Circular Std Bold; 622 line-height: 1.5625rem; 623 } 624 625 .smallStory .story-img { 611 .replaceStory .ms-container p { 612 font-size: 0.875rem; 613 margin-bottom: 1rem; 614 } 615 616 .replaceStory .ms-container h2 { 617 font-size: 1.25rem; 618 line-height: 1.5625rem; 619 } 620 621 .smallStory .ms-story-img { 626 622 min-height: 115px; 627 623 height: auto; … … 630 626 } 631 627 632 .smallStory . cardin {633 display: flex; 634 } 635 636 .smallStory . cardimage {628 .smallStory .ms-cardin { 629 display: flex; 630 } 631 632 .smallStory .ms-cardimage { 637 633 /* min-height: 115px; 638 634 height: auto; … … 647 643 } 648 644 649 .smallStory . cardimage .story-img {645 .smallStory .ms-cardimage .ms-story-img { 650 646 border-radius: 5px; 651 647 } 652 648 653 .smallStory . container {649 .smallStory .ms-container { 654 650 padding: 1rem 1rem 1rem 0; 655 651 } 656 652 657 .smallStory .container p { 658 font-size: 0.875rem; 659 margin-bottom: 1rem; 660 } 661 662 .smallStory .container h2 { 663 font-size: 0.875rem; 664 font-family: Circular Std Bold; 653 .smallStory .ms-container p { 654 font-size: 0.875rem; 655 margin-bottom: 1rem; 656 } 657 658 .smallStory .ms-container h2 { 659 font-size: 0.875rem; 665 660 line-height: 22px; 666 661 } 667 662 668 .mobilesmallStory .container p { 669 font-size: 0.875rem; 670 margin-bottom: 1rem; 671 } 672 673 .mobilesmallStory .container h2 { 674 font-size: 1.25rem; 675 font-family: Circular Std Bold; 676 line-height: 1.5625rem; 677 } 678 679 .bigmiddleStory .container p { 680 font-size: 0.875rem; 681 margin-bottom: 1rem; 682 } 683 684 .bigmiddleStory .container h2 { 685 font-size: 1.25rem; 686 font-family: Circular Std Bold; 663 .mobilesmallStory .ms-container p { 664 font-size: 0.875rem; 665 margin-bottom: 1rem; 666 } 667 668 .mobilesmallStory .ms-container h2 { 669 font-size: 1.25rem; 670 line-height: 1.5625rem; 671 } 672 673 .bigmiddleStory .ms-container p { 674 font-size: 0.875rem; 675 margin-bottom: 1rem; 676 } 677 678 .bigmiddleStory .ms-container h2 { 679 font-size: 1.25rem; 687 680 line-height: 1.5625rem; 688 681 } … … 698 691 } 699 692 700 . card {693 .ms-card { 701 694 height: auto; 702 695 } -
makestories-helper/trunk/assets/js/ms-script.js
r2659092 r2760220 77 77 let currentDiv = mainArr[i]; 78 78 gridBlock = document.createElement("div"); 79 $(gridBlock).addClass(' grid');79 $(gridBlock).addClass('ms-grid'); 80 80 $(gridBlock).attr('id', 'listing-grid'); 81 81 for (let j = 0; j < currentDiv.length; j++) { … … 83 83 let mainElm = currentDiv[j]; 84 84 mainElm.removeClass(); 85 mainElm.addClass(" story-thumb-cardcard");85 mainElm.addClass("ms-story-thumb-card ms-card"); 86 86 mainElm.addClass(cssClass); 87 87 gridBlock.append(mainElm[0]); … … 94 94 } else { 95 95 let gridBlock = document.createElement("div"); 96 $(gridBlock).addClass(' grid');96 $(gridBlock).addClass('ms-grid'); 97 97 $(gridBlock).attr('id', 'listing-grid'); 98 98 for (let i = 0; i < data.length; i++) { … … 100 100 let mainElm = data[i]; 101 101 mainElm.removeClass(); 102 mainElm.addClass(" story-thumb-cardcard");102 mainElm.addClass("ms-story-thumb-card ms-card"); 103 103 mainElm.addClass(cssClass); 104 104 … … 147 147 page++; 148 148 let jelm = $(posts.htmlData); 149 let childElm = $(jelm).find(". story-thumb-card");150 let lastGrid = $('. grid:last-child');149 let childElm = $(jelm).find(".ms-story-thumb-card"); 150 let lastGrid = $('.ms-grid:last-child'); 151 151 let lastPostCount = lastGrid.children().length; 152 152 … … 162 162 let mainElm = $(childElm).eq(i); 163 163 mainElm.removeClass(); 164 mainElm.addClass(" story-thumb-cardcard");164 mainElm.addClass("ms-story-thumb-card ms-card"); 165 165 mainElm.addClass(cssClass); 166 166 domChild.push(mainElm); … … 199 199 200 200 // story player on click function 201 $('#ajax-posts').on('click', '. story-thumb-card', function(e){201 $('#ajax-posts').on('click', '.ms-story-thumb-card', function(e){ 202 202 203 203 let elm = $(this); -
makestories-helper/trunk/hooks.php
r2727228 r2760220 269 269 foreach($postChunks as $key=>$value) { 270 270 ?> 271 <div class=" grid" id="listing-grid">271 <div class="ms-grid" id="listing-grid"> 272 272 <?php 273 273 foreach($value as $index=>$post) { -
makestories-helper/trunk/makestories.php
r2727228 r2760220 4 4 Plugin URI: https://makestories.io/official-wordpress-webstories-plugin/ 5 5 Description: The leading Google Web Stories Editor is now available to create Stories in WordPress. It is easy to use, allows for extensive customization, and is adaptive for future changes. 6 Version: 2.6. 66 Version: 2.6.7 7 7 Author: MakeStories Team 8 8 Author URI: https://makestories.io -
makestories-helper/trunk/readme.txt
r2727228 r2760220 3 3 Tags: amp-story, makestories, web-stories, web stories, amp, stories, amp, storytelling 4 4 Requires at least: 4.0 5 Tested up to: 5.9.36 Stable tag: 2.6. 65 Tested up to: 6.0.1 6 Stable tag: 2.6.7 7 7 Requires PHP: 5.6 8 8 -
makestories-helper/trunk/shortcode.php
r2724522 r2760220 12 12 ob_start(); 13 13 ?> 14 <section class=" default-stories">14 <section class="ms-default-stories"> 15 15 <?php if ($postCount > 0) { ?> 16 <div id="ajax-posts" class=" stories-group" data-posts="<?php echo esc_attr($default_posts_per_page); ?>" data-ajax="<?php echo esc_attr($getAjaxUrl); ?>" class="row">16 <div id="ajax-posts" class="ms-stories-group" data-posts="<?php echo esc_attr($default_posts_per_page); ?>" data-ajax="<?php echo esc_attr($getAjaxUrl); ?>" class="row"> 17 17 <?php 18 18 $postsPerPage = $default_posts_per_page; … … 27 27 foreach($postChunks as $key=>$value) { 28 28 ?> 29 <div class=" grid" id="listing-grid">29 <div class="ms-grid" id="listing-grid"> 30 30 <?php 31 31 foreach($value as $index=>$post) { … … 41 41 <div id="d-one" style="display: none;"></div> 42 42 <?php if ($postCount > $postsPerPage) { ?> 43 <div class=" load-more-wrap">44 <span id=" loading-spinner"></span>43 <div class="ms-load-more-wrap"> 44 <span id="ms-loading-spinner"></span> 45 45 <a id="more_posts">Load More</a> 46 46 </div> -
makestories-helper/trunk/taxonomy-ms_story_category.php
r2724522 r2760220 19 19 $loop = new WP_Query($args); 20 20 ?> 21 <section class=" default-stories">21 <section class="ms-default-stories"> 22 22 <h3><?php $term = get_term($int_cat,MS_TAXONOMY); echo esc_html($term->name); ?></h3> 23 <div class=" stories-group">23 <div class="ms-stories-group"> 24 24 <?php 25 25 while ($loop->have_posts()) : $loop->the_post(); -
makestories-helper/trunk/templates/archive-stories.php
r2724522 r2760220 6 6 7 7 ?> 8 <section class=" default-stories">8 <section class="ms-default-stories"> 9 9 <?php if ($postCount > 0) { ?> 10 <div id="ajax-posts" class=" stories-group" data-posts="<?php echo esc_attr($default_posts_per_page); ?>" data-ajax="<?php echo esc_attr($getAjaxUrl); ?>" class="row">10 <div id="ajax-posts" class="ms-stories-group" data-posts="<?php echo esc_attr($default_posts_per_page); ?>" data-ajax="<?php echo esc_attr($getAjaxUrl); ?>" class="row"> 11 11 <?php 12 12 $postsPerPage = $default_posts_per_page; … … 21 21 foreach($postChunks as $key=>$value) { 22 22 ?> 23 <div class=" grid" id="listing-grid">23 <div class="ms-grid" id="listing-grid"> 24 24 <?php 25 25 foreach($value as $index=>$post) { … … 35 35 <div id="d-one" style="display: none;"></div> 36 36 <?php if ($postCount > $postsPerPage) { ?> 37 <div class=" load-more-wrap">38 <span id=" loading-spinner"></span>37 <div class="ms-load-more-wrap"> 38 <span id="ms-loading-spinner"></span> 39 39 <a id="more_posts">Load More</a> 40 40 </div> -
makestories-helper/trunk/templates/listing-story-grid.php
r2724522 r2760220 15 15 } 16 16 ?> 17 <div class=" story-thumb-cardcard <?php echo esc_attr($getClassNames[$index]); ?>" data-story-url="<?php echo esc_attr($permalink); ?>">18 <div class=" cardin">19 <div class=" cardimage">17 <div class="ms-story-thumb-card ms-card <?php echo esc_attr($getClassNames[$index]); ?>" data-story-url="<?php echo esc_attr($permalink); ?>"> 18 <div class="ms-cardin"> 19 <div class="ms-cardimage"> 20 20 <?php if ($index%8<=1) { ?> 21 21 <?php if ($posterLandscape) { ?> 22 <img src="<?php echo esc_attr($posterLandscape) ?>" alt="Avatar" class=" story-img" />22 <img src="<?php echo esc_attr($posterLandscape) ?>" alt="Avatar" class="ms-story-img" /> 23 23 <?php } else { ?> 24 <img src="<?php echo MS_PLUGIN_BASE_FILE_PATH."assets/images/default-poster.jpeg" ?>" alt="Poster Image" class=" story-img" />24 <img src="<?php echo MS_PLUGIN_BASE_FILE_PATH."assets/images/default-poster.jpeg" ?>" alt="Poster Image" class="ms-story-img" /> 25 25 <?php 26 26 } … … 30 30 <?php if ($index%8 > 1 && $index%8 < 8) { ?> 31 31 <?php if ($posterLandscape) { ?> 32 <img src="<?php echo esc_attr($posterLandscape) ?>" alt="Avatar" class=" story-img" />32 <img src="<?php echo esc_attr($posterLandscape) ?>" alt="Avatar" class="ms-story-img" /> 33 33 <?php } else { ?> 34 <img src="<?php echo MS_PLUGIN_BASE_FILE_PATH."assets/images/default-poster.jpeg" ?>" alt="Poster Image" class=" story-img" />34 <img src="<?php echo MS_PLUGIN_BASE_FILE_PATH."assets/images/default-poster.jpeg" ?>" alt="Poster Image" class="ms-story-img" /> 35 35 <?php 36 36 } … … 38 38 ?> 39 39 </div> 40 <div class=" container">40 <div class="ms-container"> 41 41 <p><?php echo esc_html($publishDate); ?></p> 42 42 <h2><?php echo esc_html($title); ?></h2> -
makestories-helper/trunk/templates/ms-post-by-category.php
r2659092 r2760220 1 <section class=" default-stories">1 <section class="ms-default-stories"> 2 2 <h3><?php echo $term->name; ?></h3> 3 <div class=" stories-group">3 <div class="ms-stories-group"> 4 4 <?php 5 5 foreach($postChunks as $key=>$value) { 6 6 ?> 7 <div class=" grid" id="listing-grid">7 <div class="ms-grid" id="listing-grid"> 8 8 <?php 9 9 foreach($value as $index=>$post) { -
makestories-helper/trunk/templates/ms-single-post.php
r2724522 r2760220 6 6 </div> --> 7 7 <?php $index = 0; ?> 8 <div class=" story-thumb-cardcard bigmiddleStory" data-story-url="<?php echo esc_url($permalink); ?>">9 <div class=" cardin">10 <div class=" cardimage">8 <div class="ms-story-thumb-card ms-card bigmiddleStory" data-story-url="<?php echo esc_url($permalink); ?>"> 9 <div class="ms-cardin"> 10 <div class="ms-cardimage"> 11 11 <?php if ($index%8<=1) { ?> 12 12 <?php if ($posterLandscape) { ?> 13 <img src="<?php echo esc_attr($posterLandscape) ?>" alt="Avatar" class=" story-img" />13 <img src="<?php echo esc_attr($posterLandscape) ?>" alt="Avatar" class="ms-story-img" /> 14 14 <?php } else { ?> 15 <img src="<?php echo MS_PLUGIN_BASE_FILE_PATH."assets/images/default-poster.jpeg" ?>" alt="Poster Image" class=" story-img" />15 <img src="<?php echo MS_PLUGIN_BASE_FILE_PATH."assets/images/default-poster.jpeg" ?>" alt="Poster Image" class="ms-story-img" /> 16 16 <?php 17 17 } … … 21 21 <?php if ($index%8 > 1 && $index%8 < 8) { ?> 22 22 <?php if ($posterLandscape) { ?> 23 <img src="<?php echo esc_attr($posterLandscape) ?>" alt="Avatar" class=" story-img" />23 <img src="<?php echo esc_attr($posterLandscape) ?>" alt="Avatar" class="ms-story-img" /> 24 24 <?php } else { ?> 25 <img src="<?php echo MS_PLUGIN_BASE_FILE_PATH."assets/images/default-poster.jpeg" ?>" alt="Poster Image" class=" story-img" />25 <img src="<?php echo MS_PLUGIN_BASE_FILE_PATH."assets/images/default-poster.jpeg" ?>" alt="Poster Image" class="ms-story-img" /> 26 26 <?php 27 27 } … … 29 29 ?> 30 30 </div> 31 <div class=" container">31 <div class="ms-container"> 32 32 <p><?php echo esc_html($publishDate); ?></p> 33 33 <h2><?php echo esc_html($title); ?></h2> -
makestories-helper/trunk/templates/single-story.php
r2724522 r2760220 1 <div class=" story-thumb">1 <div class="ms-story-thumb"> 2 2 <a href="<?php echo esc_url($permalink); ?>" target="_blank"> 3 3 <figure>
Note: See TracChangeset
for help on using the changeset viewer.