testimonial.php 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. /**
  3. * Title: Testimonial
  4. * Slug: course/testimonial
  5. * Inserter: yes
  6. * Categories: sensei-lms
  7. */
  8. ?>
  9. <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"80px","bottom":"120px","right":"20px","left":"20px"},"blockGap":"0px"}},"backgroundColor":"foreground","textColor":"background","layout":{"type":"constrained","contentSize":"1000px"}} -->
  10. <div class="wp-block-group alignfull has-background-color has-foreground-background-color has-text-color has-background" style="padding-top:80px;padding-right:20px;padding-bottom:120px;padding-left:20px">
  11. <!-- wp:group {"style":{"spacing":{"padding":{"left":"20px","bottom":"0px"}},"border":{"top":{"width":"0px","style":"none"},"right":{"width":"0px","style":"none"},"bottom":{"width":"0px","style":"none"},"left":{"color":"var:preset|color|tertiary","width":"1px"}}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
  12. <div class="wp-block-group" style="border-top-style:none;border-top-width:0px;border-right-style:none;border-right-width:0px;border-bottom-style:none;border-bottom-width:0px;border-left-color:var(--wp--preset--color--tertiary);border-left-width:1px;padding-bottom:0px;padding-left:20px">
  13. <!-- wp:heading {"level":3,"style":{"typography":{"textTransform":"uppercase","lineHeight":"1","letterSpacing":"0.01em"},"spacing":{"padding":{"top":"0px"}}},"fontSize":"medium","fontFamily":"secondary"} -->
  14. <h3 class="has-secondary-font-family has-medium-font-size" style="padding-top:0px;letter-spacing:0.01em;line-height:1;text-transform:uppercase"><?php echo esc_html__( 'What students say', 'course' ); ?></h3>
  15. <!-- /wp:heading -->
  16. </div>
  17. <!-- /wp:group -->
  18. <!-- wp:columns {"style":{"spacing":{"blockGap":{"top":"35px","left":"35px"},"padding":{"top":"40px"}}}} -->
  19. <div class="wp-block-columns" style="padding-top:40px">
  20. <!-- wp:column {"verticalAlignment":"bottom","width":"41%"} -->
  21. <div class="wp-block-column is-vertically-aligned-bottom" style="flex-basis:41%">
  22. <!-- wp:image {"sizeSlug":"full","linkDestination":"none","style":{"border":{"radius":"8px","width":"1px"}}} -->
  23. <figure class="wp-block-image size-full has-custom-border"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/testimonial.png" alt="" style="border-width:1px;border-radius:8px" /></figure>
  24. <!-- /wp:image -->
  25. </div>
  26. <!-- /wp:column -->
  27. <!-- wp:column {"verticalAlignment":"bottom"} -->
  28. <div class="wp-block-column is-vertically-aligned-bottom">
  29. <!-- wp:heading {"style":{"spacing":{"margin":{"bottom":"40px"}},"typography":{"lineHeight":"1"}},"fontSize":"x-large","fontFamily":"secondary"} -->
  30. <h2 class="has-secondary-font-family has-x-large-font-size" style="margin-bottom:40px;line-height:1;"><?php
  31. echo esc_html__( '“I always wanted to write, and thanks to Course, I got it right. My writing is clearer, and I can finally get my message across.”', 'course' );
  32. ?></h2>
  33. <!-- /wp:heading -->
  34. <!-- wp:paragraph {"style":{"typography":{"fontStyle":"normal","fontWeight":"700","lineHeight":"1","letterSpacing":"0.02em"}},"fontSize":"x-small"} -->
  35. <p class="has-x-small-font-size" style="font-style:normal;font-weight:700;letter-spacing:0.02em;line-height:1">Christopher Brown</p>
  36. <!-- /wp:paragraph -->
  37. <!-- wp:paragraph {"style":{"typography":{"lineHeight":"1","letterSpacing":"0.02em"},"spacing":{"padding":{"top":"10px"},"margin":{"top":"0px"}}},"className":"has-x-small-font-size","fontSize":"x-small"} -->
  38. <p class="has-x-small-font-size" style="margin-top:0;padding-top:10px;letter-spacing:0.02em;line-height:1"><?php echo esc_html__( 'Founder at BeautifulWriting.com', 'course' ); ?></p>
  39. <!-- /wp:paragraph -->
  40. </div>
  41. <!-- /wp:column -->
  42. </div>
  43. <!-- /wp:columns -->
  44. </div>
  45. <!-- /wp:group -->