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

Language PHP Lines 71
MD5 Hash a452c58809d9a17aa7b3867608210c41 Estimated Cost $444 (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?php
/**
 * @package WordPress
 * @subpackage Notepad
 */
?>
<?php get_header(); ?>

	<div id="content">

		<p class="post-nav">
			<span class="previous">
				<?php previous_post_link('%link') ?>
			</span>
			<span class="next">
				<?php next_post_link('%link') ?>
			</span>
		</p>

	<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

		<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
			<h2 class="post-title">
				<a href="<?php the_permalink() ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a>
			</h2>
			<p class="post-date">
				<?php the_time( get_option( 'date_format' ) ) ?>
			</p>
			<p class="post-data">
				<span class="postauthor">
					<?php the_author_link(); ?>
				</span>
				<span class="postcategory">
					<?php the_category( ', ' ) ?>
				</span>
				<?php the_tags( '<span class="posttag">', ', ', '</span>' ); ?>
				<span class="postcomment">
					<?php comments_popup_link(__( 'Leave a comment','notepad-theme' ), __( '1 Comment','notepad-theme' ), __( '% Comments','notepad-theme' ) ); ?>
				</span>
				<?php edit_post_link(__( '[Edit]','notepad-theme' ) ); ?>
			</p>
			<div class="post-content">
				<?php the_content(__( 'More','notepad-theme' ) ); ?>
			</div>
			<?php wp_link_pages( array( 'before' => '<p><strong>'.__( 'Pages:','notepad-theme' ).'</strong> ', 'after' => '</p>', 'next_or_number' => 'number') ); ?>
		</div>
		<!--/post -->

		<?php comments_template(); ?>

		<p class="post-nav">
			<span class="previous">
				<?php previous_post_link( '%link' ) ?>
			</span>
			<span class="next">
				<?php next_post_link( '%link' ) ?>
			</span>
		</p>

	<?php endwhile; else: ?>

		<p>Sorry, no posts matched your criteria.</p>

	<?php endif; ?>


	</div>
	<!--/content -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>
Back to Top