?>
</h<?php 
    echo is_singular() ? '1' : '2';
    ?>
>
<?php 
}
?>

<?php 
if (!is_page_template('template.fullwidth.php') && ('post' == get_post_type() || 'page' == get_post_type()) && get_the_title() != '') {
    ?>
	<?php 
    if (!(get_post_type() == 'page' && get_option($gk_tpl->name . '_template_show_details_on_pages', 'Y') == 'N')) {
        ?>
		<?php 
        if (!('post' == get_post_type() && get_option($gk_tpl->name . '_post_aside_state', 'Y') == 'N')) {
            ?>
			<?php 
            gk_post_meta();
            ?>
		<?php 
        }
        ?>
	<?php 
    }
}
?>

<?php 
do_action('gavernwp_before_post_content');
Example #2
0
gk_load('header');
gk_load('before');
?>

<section id="gk-mainbody">
<?php 
while (have_posts()) {
    the_post();
    ?>
	<article class="attachment-page">
		<header>
			<?php 
    if (get_option($gk_tpl->name . '_details_on_attachment_page', 'Y') == 'Y') {
        ?>
			<?php 
        gk_post_meta(true);
        ?>
			<?php 
    }
    ?>
			
			<h2><?php 
    the_title();
    ?>
</h2>
		</header>
	
		<?php 
    if (is_search() || is_archive() || is_tag()) {
        ?>
		<div class="summary">