-
Notifications
You must be signed in to change notification settings - Fork 3
/
page.php
45 lines (40 loc) · 1.79 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
<?php
/*
================================================================================================
The template for displaying all pages. This is the template that displays all pages by default.
and that other 'pages' on your WordPress site may use a different template.
================================================================================================
@package Arlene
@link https://codex.wordpress.org/Template_Hierarchy
@copyright Copyright (C) 2017. Samuel Guebo
@license GNU General Public License v2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
@author Samuel Guebo (http://samuelguebo.co/)
================================================================================================
*/
get_header(); ?>
<section class="single-cover"
style="background-image:url(<?php echo esc_url(get_header_image());?>); background-position:center center;">
<div class="overlay">
<h3 class="center title columns large-10 large-centered">
<?php the_title();?>
<section class="clearfix"></section>
</h3>
</div>
</section>
<section class="row single-row">
<section id="breadcrumbs" class="clearfix">
<div class="breadcrumbs">
<?php if (function_exists('arlene_custom_breadcrumbs')) arlene_custom_breadcrumbs(); ?>
</div>
</section>
<section class="large-8 columns main-column">
<?php
while ( have_posts() ) : the_post();
// Include the single post content template.
get_template_part( 'template-parts/content', 'page' );
endwhile; // End of the loop.
?>
</section>
<?php get_sidebar();?>
</section>
<?php get_footer();?>