Exemplo n.º 1
0
    ?>
		<div class="entry-content">
			<?php 
    the_content(__('read more  <span class="meta-nav">&rarr;</span>', 'twentyeleven'));
    ?>
			<?php 
    wp_link_pages(array('before' => '<div class="page-link"><span>' . __('Pages:', 'twentyeleven') . '</span>', 'after' => '</div>'));
    ?>
		</div><!-- .entry-content -->
		<?php 
}
?>

		<footer class="entry-meta">
			<?php 
twentyeleven_posted_on();
?>
			<?php 
if (comments_open()) {
    ?>
			<span class="sep"> | </span>
			<span class="comments-link"><?php 
    comments_popup_link('<span class="leave-reply">' . __('Leave a reply', 'twentyeleven') . '</span>', __('<b>1</b> Reply', 'twentyeleven'), __('<b>%</b> Replies', 'twentyeleven'));
    ?>
</span>
			<?php 
}
?>
			<?php 
edit_post_link(__('Edit', 'twentyeleven'), '<span class="edit-link">', '</span>');
?>
Exemplo n.º 2
0
 *
 * @package WordPress
 * @subpackage Bootstrap from Twitter
 * @since Twenty Eleven 1.0
 */
?>

<!--content-single.php-->

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<header class="entry-header">
		<h1 class="entry-title"><?php the_title(); ?></h1>

		<?php if ( 'post' == get_post_type() ) : ?>
		<div class="entry-meta">
			<?php twentyeleven_posted_on(); ?>
		</div><!-- .entry-meta -->
		<?php endif; ?>
	</header><!-- .entry-header -->

	<div class="entry-content">
		<?php the_content(); ?>
		<?php 
        if(function_exists('enhanced_link_pages')) {
          enhanced_link_pages(array('blink'=>'<li>', 'alink'=>'</li>', 'before' => '<div class="pagination"><ul><li><a>' . __( 'Pages:', 'twentyeleven' ) . '</a></li>', 'after' => '</ul></div>', 'next_or_number' => 'number'));
        }
        elseif(get_bloginfo('version') >=2.7) {
          wp_link_pages('before=<div class="pagelist">Pages:&after=</div>&link_before=&link_after=&pagelink=%');
        }
        else wp_link_pages('before=<div class="pagelist">Pages:&after=</div>&pagelink=%');
    ?>