Advertisement
Guest User

index

a guest
Jun 30th, 2012
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.51 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3. <?php get_sidebar(); ?>
  4.  
  5. <div id="container">
  6.  
  7.     <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
  8.  
  9.     <div class="post" id="post-<?php the_ID(); ?>">
  10.         <div class="date">
  11.                 <div class="date-inside">
  12.                     <div class="date-month"><?php the_time('M'); ?></div>
  13.                     <div class="date-day"><?php the_time('d'); ?></div>
  14.                 </div>
  15.         </div>
  16.         <div class="title">
  17.             <h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
  18.             <h3><?php _e('Posted by'); ?> <?php the_author(); ?> <?php _e('at'); ?> <?php the_time() ?> <?php _e('on'); ?> <?php the_time('M j, Y') ?> <?php _e('filed in'); ?> <?php the_category(', ') ?><?php _e('.'); ?></h3>
  19.         </div>
  20.         <div class="print-button">
  21.             <?php if(function_exists('wp_print')) { print_link(); } ?>
  22.         </div>
  23. </br>
  24. </br>
  25. </br>
  26. </br>
  27.         <div class="entry">
  28.             <?php the_content(); ?>
  29.             <div class="postmetadata">
  30.                 <iframe src="//www.facebook.com/plugins/like.php?href=<?php the_permalink(); ?>&send=false&layout=button_count&width=50&show_faces=false&action=like&colorscheme=light&font&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe>
  31.                 <a href="https://twitter.com/share" class="twitter-share-button" data-url="<?php the_permalink(); ?>" data-text="<?php the_title(); ?>" data-count="horizontal" data-via="frugalfamfun">Tweet</a>
  32. <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
  33.                 <a href="http://pinterest.com/pin/create/button/?url=<?php the_permalink(); ?>&media=<?php echo grab_that_image(); ?>&description=<?php the_title(); ?>" class="pin-it-button" count-layout="horizontal"><img border="0" src="//assets.pinterest.com/images/PinExt.png" title="Pin It" /></a><script type="text/javascript" src="//assets.pinterest.com/js/pinit.js"></script>
  34. </br>
  35.                 <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> <?php edit_post_link('Edit', ' | ', ''); ?>
  36.             </div>
  37.         </div>
  38.     </div>
  39. </br>
  40.     <?php endwhile; ?>
  41.  
  42.         <div class="navigation">
  43.             <?php posts_nav_link(); ?>
  44.         </div>
  45.  
  46.     <?php else : ?>
  47.  
  48.         <div class="post">
  49.             <h2><?php _e('Not Found'); ?></h2>
  50.         </div>
  51.  
  52.     <?php endif; ?>
  53.  
  54. <div class="clearfooter"></div>
  55.  
  56. </div>
  57.  
  58. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement