forked from ArrayHQ/paperback
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfull-width.php
More file actions
33 lines (24 loc) · 713 Bytes
/
full-width.php
File metadata and controls
33 lines (24 loc) · 713 Bytes
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
<?php
/**
* Template Name: Full Width
* Template Post Type: post, page
*
* @package Paperback
*/
get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php while ( have_posts() ) : the_post();
// Move Jetpack share links below author box
if ( function_exists( 'sharing_display' ) ) {
remove_filter( 'the_content', 'sharing_display', 19 );
remove_filter( 'the_excerpt', 'sharing_display', 19 );
}
// Page content template
get_template_part( 'template-parts/content-page' );
// Comments template
comments_template();
endwhile; ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php get_footer(); ?>