reportaprod /blog/wp-content/themes/traction/single.php

Language PHP Lines 44
MD5 Hash 42da148f8a4752ce9916e2230849a610 Estimated Cost $468 (why?)
Repository https://bitbucket.org/sergiohzlz/reportaprod View Raw File View Project SPDX
 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/**
 * @package WordPress
 * @subpackage Traction
 */

get_header(); ?>
	<?php if (have_posts()) : ?>
		<div id="main-top">
			<div class="main-top-left">
				<h4><?php the_time( get_option( 'date_format' ) ); ?></h4>
				<div class="single-comments">
					<a href="#comments"><?php comments_number( '', '1', '%' ); ?></a>
				</div>
			</div>
			<?php get_template_part( 'subscribe' ); ?>
		</div>
		<div id="main" class="clear">
			<div id="content">
				<?php while (have_posts()) : the_post(); ?>
					<div id="post-<?php the_ID(); ?>" <?php post_class( 'clear single' ); ?>>
						<h1 class="title"><?php the_title(); ?></h1>
						<div class="entry single">
							<?php the_post_thumbnail( 'index-thumb', array( 'class' => 'single-post-thm alignright border' ) ); ?>
							<?php the_content(); ?>
							<?php edit_post_link( __( 'Edit', 'traction' ) ); ?>
							<?php wp_link_pages(); ?>
						</div><!--end entry-->
						<div class="meta clear">
							<div class="cats"><?php _e( '<em>Read more from</em>', 'traction' ); ?> <?php the_category( ', ' ); ?></div>
							<div class="tags"><?php the_tags( '' ); ?></div>
						</div><!--end meta-->
					</div><!--end post-->
				<?php endwhile; /* rewind or continue if all posts have been fetched */ ?>
					<div class="navigation post single clear">
						<div class="alignleft"><?php previous_post_link( '%link', _x( '&larr;', 'Previous post link', 'paperpunch' ) . ' %title' ); ?></div>
						<div class="alignright" ><?php next_post_link( '%link', _x( '%title ', 'Next post link', 'paperpunch' ) . '&rarr;' ); ?></div>
					</div><!--end navigation-->
					<?php comments_template( '', true); ?>
				<?php else : ?>
				<?php endif; ?>
			</div><!--end content-->
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Back to Top