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

Language PHP Lines 56
MD5 Hash 4d644107c97cc4d96876faac33e3c9a8 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
<?php get_header(); ?>

		<?php get_sidebar(); ?>

	<div id="content" class="narrowcolumn" style="margin:0px; ">

  <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
	
		<div class="navigation">
			<div class="alignleft"><?php previous_post_link( '%link', _x( '&laquo; ', 'Previous post link', 'whiteasmilk' ) . '%title' ); ?></div>
			<div class="alignright"><?php next_post_link( '%link', '%title' . _x( ' &raquo;', 'Next post link', 'whiteasmilk' ) ); ?></div>
		</div>

		<div <?php post_class(); ?>>
			<h2 id="post-<?php the_ID(); ?>"><a href="<?php echo get_permalink() ?>" rel="bookmark" title="<?php echo esc_attr( sprintf( __( 'Permanent Link: %s', 'whiteasmilk' ), the_title_attribute( 'echo=0' ) ) ); ?>"><?php the_title(); ?></a></h2>
			<small><?php the_time(get_option('date_format')) ?> <!-- by <?php the_author() ?> --></small>
	
			<div class="entry">
				<?php the_content('<p class="serif">'.__('Read the rest of this entry &raquo;','whiteasmilk').'</p>'); ?>
	
				<?php link_pages(__('<p><strong>Pages:</strong> ','whiteasmilk'), '</p>', 'number'); ?>
	
				<p class="postmetadata alt">
					<small>
						<?php _e('This entry was posted on','whiteasmilk'); ?>
						<?php /* This is commented, because it requires a little adjusting sometimes.
							You'll need to download this plugin, and follow the instructions:
							http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
							/* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?> 
						<?php the_time(get_option('date_format')) ?> <?php _e('at','whiteasmilk'); ?> <?php the_time() ?>
						<?php _e('and is filed under','whiteasmilk'); ?> <?php the_category(', ') ?>.
						 
						<?php  edit_post_link(__('Edit this entry.','whiteasmilk'),'',''); ?>

						<br />
						<?php the_tags( '<br />Tags: ', ', ', ''); ?>
						
					</small>
				</p>
	
			</div>
		</div>
		
	<?php comments_template(); ?>
	
	<?php endwhile; else: ?>
	
		<p><?php _e('Sorry, no posts matched your criteria.','whiteasmilk'); ?></p>
	
<?php endif; ?>

	</div>

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