-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle-fullwidth.php
More file actions
executable file
·51 lines (34 loc) · 1.42 KB
/
single-fullwidth.php
File metadata and controls
executable file
·51 lines (34 loc) · 1.42 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
<?php
/**
* Template Name: Full-width article
* Template Post Type: post
*
* The template for displaying full-width single posts (no sidebar)
*
* @package Reactor
* @subpackge Templates
* @since 1.0.0
*/
?>
<?php get_header(); ?>
<div id="primary" class="site-content">
<?php reactor_content_before(); ?>
<div id="content" role="main">
<div class="row">
<?php reactor_inner_content_before(); ?>
<div class="<?php reactor_columns(12,12,12); ?>">
<?php // start the loop
while ( have_posts() ) : the_post(); ?>
<?php reactor_post_before(); ?>
<?php // get post format and display code for that format
if ( !get_post_format() ) : get_template_part('post-formats/format', 'single');
else : get_template_part('post-formats/format', get_post_format() ); endif; ?>
<?php reactor_post_after(); ?>
<?php endwhile; // end of the loop ?>
<?php reactor_inner_content_after(); ?>
</div><!-- .columns -->
</div><!-- .row -->
</div><!-- #content -->
<?php reactor_content_after(); ?>
</div><!-- #primary -->
<?php get_footer(); ?>