-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
52 lines (46 loc) · 1.56 KB
/
Copy pathindex.php
File metadata and controls
52 lines (46 loc) · 1.56 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
<?php
/**
* Index template
*
* @package patientsineducation
*/
?>
<?php get_header(); ?>
<?php
if (have_posts()):
while (have_posts()): the_post();
/* Display the page title and under-navbar styling only if it's not the home page */
if (!is_front_page()): ?>
<div class="pie-under-navbar text-dark">
<div class="container py-4">
<div class="row">
<div class="col-12 text-center px-5">
<h2><?php the_title(); ?></h2>
<h5><?php echo strip_tags(get_the_content(),'<br><em><strong><b><i>'); ?></h5>
</div>
</div>
</div>
</div>
<?php endif; ?>
<?php endwhile; ?>
<?php endif; ?>
<?php get_template_part('template-parts/carousel')?>
<?php get_template_part('template-parts/paragraph')?>
<?php get_template_part('template-parts/help-section')?>
<?php get_template_part('template-parts/outreach'); ?>
<?php get_template_part('template-parts/four-icon-section'); ?>
<?php get_template_part('template-parts/more-about-pie'); ?>
<?php get_template_part('template-parts/member-sign-up')?>
<?php get_template_part('template-parts/directors')?>
<?php get_template_part('template-parts/organizations-section')?>
<?php get_template_part('template-parts/contact-forms')?>
<?php
global $post;
$post_slug = $post->post_name;
if ($post_slug == 'engagements'):
get_template_part('template-parts/engagements-grid');
endif;
?>
<?php get_template_part('template-parts/committees-section')?>
<?php get_template_part('template-parts/opportunities-section')?>
<?php get_footer(); ?>