Esempio n. 1
0
?>

<div id="main">
	<div class="pagewrap">
		<div id="content" class="full">
		<?php 
if (have_posts()) {
    $x = 0;
    ?>
			<div class="latest" id="single">
				<?php 
    while (have_posts()) {
        the_post();
        ?>
					<?php 
        GZ::post_single($post, false);
        ?>
				<?php 
        $x++;
        if ($x == $gz_theme->latest) {
            break;
        }
    }
    ?>
			</div>
		<?php 
}
?>

		</div>
Esempio n. 2
0
get_header();
?>

<div id="main">
	<div class="pagewrap">
		<?php 
do_action('the_sniplet_place', 'guangzhou/before single post');
?>
		<div id="content">
			<div class="latest" id="single">
				<?php 
the_post();
?>
				<?php 
GZ::post_single($post);
?>
			</div>

			<?php 
do_action('the_sniplet_place', 'guangzhou/after single post');
?>
		</div>

		<?php 
get_sidebar();
?>

		<div style="clear: both"></div>
	</div>
</div>