Guest User

indexphp

a guest
Mar 26th, 2013
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.47 KB | None | 0 0
  1. <?php while ( have_posts() ) : the_post() ?>
  2.            
  3.             <div id="post-<?php the_ID() ?>" class="<?php sandbox_post_class() ?>">
  4.    
  5.            
  6.                 <h2 class="entry-title"><a href="<?php the_permalink() ?>" title="<?php printf(__('Permalink to %s', 'sandbox'), wp_specialchars(get_the_title(), 2)) ?>" rel="bookmark"><?php the_title() ?></a></h2>
  7.                 <div class="entry-date"><abbr class="published" title="<?php the_time('Y-m-d\TH:i:sO'); ?>"><?php unset($previousday); printf(__('%1$s &#8211; %2$s', 'sandbox'), the_date('', '', '', false), get_the_time()) ?></abbr></div>
  8.                 <div class="entry-content">
  9. <?php the_content(''.__('Read More <span class="meta-nav">&raquo;</span>', 'sandbox').''); ?>
  10.  
  11.                 <?php wp_link_pages('before=<div class="page-link">' .__('Pages:', 'sandbox') . '&after=</div>') ?>
  12.                 </div>
  13.                 <div class="entry-meta">
  14.                     <span class="author vcard"><?php printf(__('By %s', 'sandbox'), '<a class="url fn n" href="'.get_author_link(false, $authordata->ID, $authordata->user_nicename).'" title="' . sprintf(__('View all posts by %s', 'sandbox'), $authordata->display_name) . '">'.get_the_author().'</a>') ?></span>
  15.                     <span class="meta-sep">|</span>
  16.                     <span class="cat-links"><?php printf(__('Posted in %s', 'sandbox'), get_the_category_list(', ')) ?></span>
  17.                
  18.                     <span class="comments-link"><?php comments_popup_link(__('Comments (0)', 'sandbox'), __('Comments (1)', 'sandbox'), __('Comments (%)', 'sandbox')) ?></span>
  19.                 </div>
  20.                
  21.  
  22.             </div><!-- .post -->
Advertisement
Add Comment
Please, Sign In to add comment