forked from N-Jaro/iguide-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle-convergent_curr.php
56 lines (52 loc) · 2.37 KB
/
single-convergent_curr.php
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
<?php
get_header();
?>
<div class="page-title tw-w-full tw-block tw-relative tw--mt-[200px] tw-pt-[200px]" >
<div class="tw-container tw-mx-auto tw-px-4 tw-h-min-[200px] tw-pb-[80px] tw-pt-12">
<div class="tw-border-l-8 tw-pl-3 tw-border-ig-orange tw-text-white tw-font-semibold tw-text-2xl">
<h1><?php the_title();?></h1>
</div>
<p class="tw-text-light tw-text-sm tw-text-white tw-pt-2 tw-pl-5"><?php my_post_time_ago(); ?></p>
</div>
<div class="custom-shape-divider-bottom-1675786129">
<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"
preserveAspectRatio="none">
<path d="M1200 120L0 16.48 0 0 1200 0 1200 120z" class="shape-fill"></path>
</svg>
</div>
</div>
<div class="page-content tw-w-full tw-flex tw-relative tw-bg-white tw-mt-5 tw-mb-16">
<div class="tw-container tw-mx-auto tw-px-4 tw-py-6">
<?php
/* Start the Loop */
while ( have_posts() ) :
the_post();
$attachment_id = get_post_meta(get_the_ID(), 'curr_image', true);
$attachment_src = wp_get_attachment_image_src($attachment_id, 'full');
// the_content();
// If comments are open or we have at least one comment, load up the comment template.
// if ( comments_open() || get_comments_number() ) {
// comments_template();
// }
?>
<h3>3 Sentences</h3>
<hr>
<?php
echo get_field('3_sentences') ;
?>
<h3 class="mt-5">3 slides</h3>
<hr>
<?php
echo get_field('google_slide_embed') ;
?>
<h3 class="mt-5">3 hour module</h3>
<hr>
<?php
echo get_field('3_hours_module') ;
endwhile; // End of the loop.
?>
</div>
</div>
<?php
get_footer();
?>