-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle-uxclinic_workshop.php
More file actions
62 lines (41 loc) · 1.38 KB
/
single-uxclinic_workshop.php
File metadata and controls
62 lines (41 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?php get_header(); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<section class="ws-hero" style="background-image: url(<?php the_field('w-hero-image'); ?>);">
<h1><?php the_title(); ?></h1>
<span><?php the_field('w-hero-tagline'); ?></span>
<div class="ws-description">
<p><?php the_field('w-description'); ?></p>
</div>
</section>
<section class="ws-benefits">
<h2>Benefits</h2>
<ol>
<?php if( have_rows('w-benefits') ) : while ( have_rows('w-benefits') ) : the_row(); ?>
<li><?php the_sub_field('w-benefit');?></li>
<?php endwhile; else : endif; ?>
</ol>
</section>
<section class="ws-who">
<ol>
<?php if( have_rows('w-images') ) : while ( have_rows('w-images') ) : the_row(); ?>
<li>
<div style="background: url(<?php the_sub_field('w-image');?>) no-repeat center center; background-size: cover;"></div>
</li>
<?php endwhile; else : endif; ?>
</ol>
<div class="forwho">
<h2>For Who</h2>
<span><?php the_field('w-for-who'); ?></span>
</div>
</section>
<section class="ws-benefits">
<h2>Agenda</h2>
<ol>
<?php if( have_rows('w-agenda') ) : while ( have_rows('w-agenda') ) : the_row(); ?>
<li><?php the_sub_field('w-agenda_item');?></li>
<?php endwhile; else : endif; ?>
</ol>
</section>
<?php include 'inc-wantwebinar.php'; ?>
<?php endwhile; ?><?php endif; ?>
<?php get_footer(); ?>