Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.62 KB | None | 0 0
  1. <div class="home-panel container no-margin panel-full">
  2. <div class="row">
  3. <div class = "reg-container">
  4. <div style="<?php echo sb_img(cfs_get('event_image')); ?>" class="reg-image background-img">
  5. <h1 class="reg-year"><?php echo cfs_get('event_year') ?></h1>
  6. </div>
  7. <h2 class="res-des"><?php echo cfs_get('event_description') ?></h2>
  8. <?php $reg_link = cfs_get('event_button');?>
  9. <a href="<?php echo $reg_link['url']?>" target="<?php echo $reg_link['target']?>" class="reg-btn btn"><?php echo $reg_link['text']?></a>
  10. </div>
  11. <!-- h1 is specific edited title in CFS -->
  12. <!-- paragraph is specific WYSIWYG in CFS -->
  13. <!-- button is specific link, target, and text in CFS -->
  14. <div class="section-divider divider-2"></div>
  15. <div class = "spons-container">
  16. <h1 class="sponsor-heading"><?php echo cfs_get('sponsor_heading') ?></h1>
  17. <a href="<?php echo cfs_get('sponsor_callout_link'); ?>">
  18. <div style="<?php echo sb_img(cfs_get('sponsor_callout_image')); ?>" class="sponsor-image background-img"></div>
  19. <?php
  20. $sponsor_link_1 = cfs_get('sponsor_links_1');
  21. $sponsor_link_2 = cfs_get('sponsor_link_2');
  22. ?>
  23. <div class="spons-links">
  24. <a href="<?php echo $sponsor_link_1['url']?>" target="<?php echo $sponsor_link_1['target']?>" class="spons-link"><?php echo $sponsor_link_1['text']?></a>
  25. <h2>|</h2>
  26. <a href="<?php echo $sponsor_link_2['url']?>" target="<?php echo $sponsor_link_2['target']?>" class="spons-link"><?php echo $sponsor_link_2['text']?></a>
  27. </div>
  28. <div id="sponsor-slider">
  29. <?php
  30. $pitch_sponsor_images = cfs_get( 'sponsor_slider' );
  31. foreach ( $pitch_sponsor_images as $pitch_sponsor_image ) :
  32. $pitch_sponsor_img = $pitch_sponsor_image['sponsor_image'];
  33. $pitch_sponsor_link = $pitch_sponsor_image['sponsor_link'];
  34. ?>
  35. <div class="slide1">
  36. <a href="<?php echo $pitch_sponsor_link ?>">
  37. <div style="<?php echo sb_img($pitch_sponsor_img); ?>" class="spon-logo background-img"></div>
  38. </a>
  39. </div>
  40. <?php
  41. endforeach;
  42. ?>
  43. </div>
  44. </div>
  45. </div>
  46. <div class="section-divider"></div>
  47. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement