Exemplo n.º 1
0
    function post_single($post, $showmeta = true)
    {
        ?>
<div class="post" id="post-<?php 
        the_ID();
        ?>
">
	<?php 
        edit_post_link('<img src="' . get_bloginfo('template_url') . '/image/edit.png" width="16" height="16" alt="edit" style="margin-right: 5px"/>', '<div class="info">', '</div>');
        ?>
	<h2><a href="<?php 
        echo get_permalink();
        ?>
" rel="bookmark"><?php 
        the_title();
        ?>
</a></h2>

	<div class="entry">
		<?php 
        the_content('');
        ?>
	</div>

	<?php 
        wp_link_pages(array('before' => '<div class="tablenav"><div class="tablenav-pages">' . GZ::previous_page('', ''), 'after' => GZ::next_page('', '') . '</div></div>', 'next_or_number' => 'number'));
        ?>
	<div class="clear"></div>
</div>
		<?php 
    }