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

Language PHP Lines 67
MD5 Hash 66d7611dc4467d617cfd283213d95b79 Estimated Cost $609 (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
<?php get_header(); ?>

	<div id="content">
				
  <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
	
		<div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
			<h2 class="single"><a href="<?php echo get_permalink() ?>" rel="bookmark" title="<?php echo esc_attr( sprintf( __( 'Permanent link to %s' ), the_title_attribute( 'echo=0' ) ) ); ?>"><?php the_title(); ?></a></h2>
	
			<div class="entry">
				<?php the_content('<p class="serif">' . __('Read the rest of this entry &raquo;', 'daydream') . '</p>'); ?>
	
				<?php link_pages('<p><strong>'.__('Pages','daydream').':</strong> ', '</p>', 'number'); ?>
	
			</div>
		</div>
		
		<p id="single" class="postmetadata">
			<small>
				<?php printf(__('This entry was posted %1$s on %2$s at %3$s and is filed under %4$s.', 'daydream'), $time_since, get_the_time(__('l, F jS, Y', 'daydream')), get_the_time(), get_the_nice_category(', ', ' ' . __('and', 'daydream') . ' ')); ?> <?php the_tags( __( 'Tagged' ) . ': ', ', ', '. '); ?>

				<?php if (get_option('dd_tags_cats') == "both" && function_exists('UTW_ShowTagsForCurrentPost')) { ?>
				 
				 <?php _e('Tagged with', 'daydream'); ?> <?php UTW_ShowTagsForCurrentPost("commalist") ?>.
				
				<?php } ?>				
				
				<?php printf(__('You can <a href="%s">feed</a> this entry.', 'daydream'), get_post_comments_feed_link()); ?>
				
				<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
					// Both Comments and Pings are open ?>
					<?php printf(__('You can <a href="#respond">leave a response</a>, or <a href="%s" rel="trackback">trackback</a> from your own site.', 'daydream'), get_trackback_url()); ?>
				
				<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
					// Only Pings are Open ?>
					<?php printf(__('Responses are currently closed, but you can <a href="%s" rel="trackback">trackback</a> from your own site.', 'daydream'), get_trackback_url()); ?>
				
				<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
					// Comments are open, Pings are not ?>
					<?php _e('You can skip to the end and leave a response. Pinging is currently not allowed.', 'daydream'); ?>
	
				<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
					// Neither Comments, nor Pings are open ?>
					<?php _e('Both comments and pings are currently closed.', 'daydream'); ?>
				
				<?php } edit_post_link(__('Edit this entry.', 'daydream'),'',''); ?>
				
			</small>
		</p>
		
	<?php comments_template(); ?>
	
	<?php endwhile; else: ?>
	
		<p><?php _e('Sorry, no posts matched your criteria.','daydream'); ?></p>
	
<?php endif; ?>

	<div class="navigation">
		<div class="alignleft"><?php previous_post_link('&laquo; %link') ?></div>
		<div class="alignright"><?php next_post_link('%link &raquo;') ?></div>
	</div>
	
	</div>

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