File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+ /**
3+ * Template Name: No Page Header - Wide
4+ *
5+ * @link https://codex.wordpress.org/Template_Hierarchy
6+ *
7+ * @package osi
8+ */
9+
10+ get_header (); ?>
11+
12+ <section class="content <?php echo ( osi_display_sidebar () ? 'has_sidebar ' : 'has_no_sidebar ' ); ?> " id="content">
13+
14+ <main class="content--body <?php echo esc_attr ( osi_main_class () ); ?> " role="main">
15+
16+ <section class="content--page" id="content-page">
17+ <?php get_template_part ( 'template-parts/breadcrumbs ' ); ?>
18+
19+ <?php
20+ while ( have_posts () ) :
21+ the_post ();
22+ get_template_part ( 'template-parts/content ' , 'page-no-header ' );
23+ endwhile ; // End of the loop.
24+ ?>
25+
26+ </section>
27+
28+ </main><!-- #primary -->
29+
30+ </section>
31+
32+ <?php
33+ get_footer ();
You can’t perform that action at this time.
0 commit comments