Advertisement
Guest User

Content.page.php

a guest
Aug 27th, 2012
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. <?php
  2. /**
  3. * The template used for displaying page content in page.php
  4. */
  5. ?>
  6. <div class="article-wrap">
  7. <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  8. <?php if( 'hide' != get_post_meta( $post->ID, '_tb_title', true ) ) : ?>
  9. <header class="entry-header">
  10. <h1 class="entry-title"><?php the_title(); ?></h1>
  11. </header><!-- .entry-header -->
  12. <?php endif; ?>
  13. <div class="entry-content">
  14. <?php the_content(); ?>
  15. <div class="clear"></div>
  16. <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', TB_GETTEXT_DOMAIN ), 'after' => '</div>' ) ); ?>
  17. <?php edit_post_link( __( 'Edit', TB_GETTEXT_DOMAIN ), '<span class="edit-link">', '</span>' ); ?>
  18. </div><!-- .entry-content -->
  19. </article><!-- #post-<?php the_ID(); ?> -->
  20. </div><!-- .article-wrap (end) -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement