web/wp-content/themes/seoblogsystem/single.php
changeset 1 0d28b7c10758
equal deleted inserted replaced
0:0d9a58d2c515 1:0d28b7c10758
       
     1 <?php get_header(); ?>
       
     2 <?php get_sidebar(1); ?>
       
     3 <?php get_sidebar(2); ?>
       
     4 
       
     5 				<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
       
     6 					<div class="navigation">
       
     7 						<div class="alignleft"><?php previous_post_link('&laquo; %link') ?></div>
       
     8 						<div class="alignright"><?php next_post_link('%link &raquo;') ?></div>
       
     9 						<div class="clear"></div>
       
    10 					</div>
       
    11 					<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
       
    12 						<div class="bg-top"><div class="bg-bot"><div class="bg-left"><div class="bg-right">
       
    13 					<div class="corner-left-top"><div class="corner-right-top"><div class="corner-left-bot"><div class="corner-right-bot">
       
    14 						<div class="indent">
       
    15 						
       
    16 								<div class="title">
       
    17 									
       
    18 										
       
    19 									<h2><?php the_title(); ?></h2>
       
    20 									
       
    21 									<div class="author">
       
    22 									posted by <?php the_author_link() ?>
       
    23 								</div>
       
    24 								
       
    25 								<div class="date">
       
    26 									<?php the_time('l, F j, Y') ?> 
       
    27 								</div>
       
    28 									
       
    29 								</div>
       
    30 								
       
    31 								<div class="text-box">
       
    32 									<?php the_content('<div class="more-link"><a href="#">Continue Reading</a></div>'); ?>
       
    33 								</div>
       
    34 								<div class="postmetadata">
       
    35 									<?php the_tags('Tags: ', ', ', '<br />'); ?>
       
    36 								</div>
       
    37 								<div class="postmetadata alt">
       
    38 									<small>
       
    39 										This entry was posted
       
    40 										<?php /* This is commented, because it requires a little adjusting sometimes.
       
    41 											You'll need to download this plugin, and follow the instructions:
       
    42 											http://binarybonsai.com/archives/2004/08/17/time-since-plugin/ */
       
    43 											/* $entry_datetime = abs(strtotime($post->post_date) - (60*120)); echo time_since($entry_datetime); echo ' ago'; */ ?>
       
    44 										on <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>
       
    45 										and is filed under <?php the_category(', ') ?>.
       
    46 										You can follow any responses to this entry through the <?php post_comments_feed_link('RSS 2.0'); ?> feed.
       
    47 										<?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
       
    48 											// Both Comments and Pings are open ?>
       
    49 											You can <a href="#respond">leave a response</a>, or <a href="<?php trackback_url(); ?>" rel="trackback">trackback</a> from your own site.
       
    50 										<?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) {
       
    51 											// Only Pings are Open ?>
       
    52 											Responses are currently closed, but you can <a href="<?php trackback_url(); ?> " rel="trackback">trackback</a> from your own site.
       
    53 										<?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
       
    54 											// Comments are open, Pings are not ?>
       
    55 											You can skip to the end and leave a response. Pinging is currently not allowed.
       
    56 										<?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) {
       
    57 											// Neither Comments, nor Pings are open ?>
       
    58 											Both comments and pings are currently closed.
       
    59 										<?php } edit_post_link('Edit this entry','','.'); ?>
       
    60 									</small>
       
    61 								</div>
       
    62 								
       
    63 							
       
    64 							
       
    65 						</div>
       
    66 						</div></div></div></div>
       
    67 					</div></div></div></div>
       
    68 					
       
    69 					<?php comments_template(); ?>
       
    70 					
       
    71 					</div>
       
    72 				<?php endwhile; else: ?>
       
    73 					<h2 class="pagetitle">Sorry, no posts matched your criteria.</h2>
       
    74 				<?php endif; ?>
       
    75 	
       
    76 		
       
    77 <?php get_footer(); ?>