/blog/wp-content/themes/duotone/post.php
PHP | 37 lines | 30 code | 7 blank | 0 comment | 2 complexity | 42d80c8f1691a637db2488984646a2c8 MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0, AGPL-1.0, LGPL-2.1
- <div id="container">
- <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
- <div id="postmetadata">
- <div class="sleeve">
- <?php if ( ! is_page() ) : ?>
- <p><?php _e( 'By:', 'duotone' ); ?> <cite><?php the_author(); ?></cite></p>
- <p><small><a href="<?php echo get_month_link( get_the_time( 'Y' ), get_the_time( 'm' ) ); ?>"><?php the_time( 'M d Y' ); ?></a></small></p>
- <p><?php the_tags( __( 'Tags: ' ), ', ', '<br />' ); ?></p>
-
- <p><?php _e( 'Category:', 'duotone' ); ?> <?php the_category(', ') ?></p>
- <p><?php edit_post_link( __( 'Edit This Post' ), '', '' ); ?></p>
- <p><?php comments_popup_link( __( 'Leave a Comment »' ), __( '1 Comment »' ), __( '% Comments »' ) ); ?></p>
-
- <?php else: ?>
- <p><?php edit_post_link( __( 'Edit This Page' ), '', '' ); ?></p>
-
- <?php endif; ?>
-
- <?php post_exif(); ?>
- </div>
- </div>
- <div id="post">
- <div class="sleeve">
- <?php the_content( __( 'Read the rest of this entry »' ) ); ?>
- <?php wp_link_pages(); ?>
- </div>
- </div>
- <?php if ( is_single() ) { ?>
- <div class="navigation">
- <div class="prev"><?php next_post_link( '%link', '‹' ); ?></div>
- <div class="next"><?php previous_post_link( '%link', '›' ); ?></div>
- </div>
- <?php comments_template(); } ?>
- </div>