waynedunkley
8/4/2014 - 2:40 AM

Default Page Template

Default Page Template

<?php
/*
 * Template Name: Page Name
 *
 * @package WordPress
 * @subpackage Twenty_Fourteen
 * @since Twenty Fourteen 1.0
 */

// File Security Check
if ( ! function_exists( 'wp' ) && ! empty( $_SERVER['SCRIPT_FILENAME'] ) && basename( __FILE__ ) == basename( $_SERVER['SCRIPT_FILENAME'] ) ) {
    die ( 'You do not have sufficient permissions to access this page!' );
}

get_header(); ?>

<div class="container" id="pagename">
	<div id="content">
		<div class="row">
			<div class="col-md-12">
				<div>
					<h1>Header Title</h1>
				</div>
			</div>	
		</div>
		<div class="row">
			<div class="col-md-12">
				<p>This is all the content</p>
			</div>
		</div>
	</div>
</div>

<?php get_footer(); // Loads the footer.php template. ?>