-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsingle.php
41 lines (31 loc) · 912 Bytes
/
single.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
<?php get_header();
bt_set_post_views( get_the_ID() ); ?>
<div class="xl:container mx-auto mt-14 mb-8 px-4">
<div class="flex justify-center flex-col lg:flex-row gap-x-16">
<div class="max-w-3xl w-full">
<?php
if ( have_posts() ) :
while ( have_posts() ) : the_post();
get_template_part( 'template-parts/content', 'single' );
endwhile;
endif;
?>
<?php if( get_field('affdisclaimer_fmcoptions', 'option') ): ?>
<cite class="block mt-10 text-[#9ca3af]">
<?php the_field('affdisclaimer_fmcoptions', 'option'); ?>
</cite>
<?php endif; ?>
</div>
<div class="lg:w-[24rem] w-full mb-5 lg:mb-0">
<?php
if( !is_singular('podcasts') ) {
get_sidebar('single');
}
?>
</div>
</div>
</div>
<?php
get_template_part('template-parts/section/content', 'related_posts');
get_template_part('template-parts/section/content', 'as_seen_on');
get_footer();