-
Notifications
You must be signed in to change notification settings - Fork 1
/
page.php
65 lines (53 loc) · 1.95 KB
/
page.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
57
58
59
60
61
62
63
64
65
<?php
/**
* The template for displaying all pages
*
* This is the template that displays all pages by default.
* Please note that this is the WordPress construct of pages and that other
* 'pages' on your WordPress site will use a different template.
*
* @package WordPress
* @subpackage Twenty_Thirteen
* @since Twenty Thirteen 1.0
*/
get_header(); ?>
<div id="primary" class="content-area">
<div id="content" class="site-content" role="main">
<?php /* The loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<header class="entry-header">
<div class="subpage-entry-title">
<div class="subpage-entry-title-header">
<h2 class="single_post_subheader"><?php the_field('page_subheader'); ?></h2>
<h1><?php the_title(); ?></h1>
<button class="sub_menu_button"></button>
</div>
</div>
</header><!-- .entry-header -->
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div id="subpage_content_container">
<?php get_sidebar(); ?>
<div id="subpage_content">
<h2 class="underline"><?php the_field('content_subheader'); ?></h2>
<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
<div class="entry-thumbnail">
<?php the_post_thumbnail(); ?>
</div>
<?php endif; ?>
<div><?php the_field('page_content'); ?></div>
<?php the_field('one_care_practice_content'); ?>
<?php the_field('non_one_care_practice'); ?>
<?php the_content(); ?>
<?php if( get_field('login_end_note') ): ?>
<div id="login_end_note"><?php the_field('login_end_note'); ?></div>
<?php endif; ?>
</div>
<?php endwhile; ?>
<div id="subpage_sidebar">
<?php get_template_part('right-sidebar'); ?>
</div>
</div>
</article><!-- #post -->
</div><!-- #content -->
</div><!-- #primary -->
<?php get_footer(); ?>