neilgee
11/3/2014 - 4:17 AM

Genesis Blank Page - Just some head data

Genesis Blank Page - Just some head data

<?php
/*
Template Name:Title and Content Page
Template Post Type: post, page
*/

/** Add unique custom body class to the head */
add_filter( 'body_class', 'add_body_class' );
function add_body_class( $classes ) {
    if ( is_single( 'blank-title-and-content-page-template-in-genesis-theme' ))
    $classes[] = 'bare-bones';
    return $classes;
}


do_action( 'genesis_doctype' );
do_action( 'genesis_title' );
do_action( 'genesis_meta' ); 
wp_head(); 
?>
</head>
 
<?php
	genesis_markup( array(
		'html5'   => '<body %s">',
		'context' => 'body',//Body Markup
	) );


	genesis_markup( array(
		'html5'   => '<div %s>',
		'context' => 'site-container',//Site Container Markup
	) );
	
	genesis_markup( array(
		'html5'   => '<div %s>',
		'context' => 'site-inner', //Site Inner Markup
	) );
	genesis_structural_wrap( 'site-inner' ); //Site Inner wrap


// Display Heading and Content
the_title( '<h3>', '</h3>' );
the_content();


echo '</div>'; //* end .wrap
echo '</div>'; //* end .site-inner 
echo '</div>'; //* end .site-container
 
wp_footer();
?>
</body>
</html>