forked from devinsays/portfolio-press
/
content.php
executable file
·30 lines (25 loc) · 973 Bytes
/
content.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/**
* General post content template
*
* @package Portfolio Press
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<h1 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
<?php if ( 'page' != $post->post_type ) : ?>
<div class="entry-meta">
<?php portfoliopress_postby_meta(); ?>
</div><!-- .entry-meta -->
<?php endif; ?>
</header><!-- .entry-header -->
<div class="entry-content">
<?php if ( portfoliopress_get_option( 'portfolio_images', true ) ) {
portfoliopress_display_image();
} ?>
<?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'portfolio-press' ) ); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'portfolio-press' ), 'after' => '</div>' ) ); ?>
</div><!-- .entry-content -->
<?php portfoliopress_footer_meta( $post ); ?>
</article><!-- #post-<?php the_ID(); ?> -->