File: /home/mmickelson/theflexguy.com/wp-content/themes/storefront/inc/structure/page.php
<?php
/**
* Template functions used for pages.
*
* @package storefront
*/
if ( ! function_exists( 'storefront_page_header' ) ) {
/**
* Display the post header with a link to the single post
* @since 1.0.0
*/
function storefront_page_header() {
?>
<header class="entry-header">
<?php
storefront_post_thumbnail( 'full' );
the_title( '<h1 class="entry-title" itemprop="name">', '</h1>' );
?>
</header><!-- .entry-header -->
<?php
}
}
if ( ! function_exists( 'storefront_page_content' ) ) {
/**
* Display the post content with a link to the single post
* @since 1.0.0
*/
function storefront_page_content() {
?>
<div class="entry-content" itemprop="mainContentOfPage">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'storefront' ),
'after' => '</div>',
) );
?>
</div><!-- .entry-content -->
<?php
}
}