-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
53 lines (39 loc) · 1.11 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
<?php
/**
* Page template
*
* @since 0.1.0
* @package automated-logistics-systems
*/
// Don't load directly
if ( ! defined( 'ABSPATH' ) ) {
die;
}
get_header();
the_post();
?>
<section id="page-<?php the_ID(); ?>" <?php body_class( array( 'page-content' ) ); ?>>
<div class="row">
<div class="small-12 medium-9 columns">
<?php if ( has_post_thumbnail() ) : ?>
<div class="page-image">
<?php the_post_thumbnail( 'full' ); ?>
</div>
<?php endif; ?>
<h1 class="page-title"><?php the_title(); ?></h1>
<div class="page-copy">
<?php the_content(); ?>
</div>
</div>
<div class="small-12 medium-3 columns sidebar">
<?php dynamic_sidebar( 'main-sidebar' ); ?>
</div>
</div>
<div class="row">
<div id="after-content-text" class="small-12 columns text-center">
<?php echo apply_filters( 'the_content', get_field( 'after_content_text' ) ); ?>
</div>
</div>
</section>
<?php
get_footer();