Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

index.php

By: a guest on Jan 5th, 2013  |  syntax: None  |  size: 4.69 KB  |  views: 26  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php get_header(); global $wp_theme_options; ?>
  2. <?php do_action('before_content'); ?>
  3.  
  4. <!--index.php-->
  5. <div class="<?php do_action('content_style'); ?>" id="content">
  6.  
  7.         <?php if (have_posts()) : while (have_posts()) : the_post(); // the loop ?>
  8.                
  9.         <!--Post Wrapper Class-->
  10.         <div <?php if (function_exists('post_class')) { post_class(); } else { echo 'class="post"'; } ?>>
  11.        
  12.         <!--Title/Date/Meta-->
  13.         <div class="title wrap">
  14.                 <div class="date<?php get_header(); global $wp_theme_options; ?>
  15. <?php do_action('before_content'); ?>
  16.  
  17. <!--index.php-->
  18. <div class="<?php do_action('content_style'); ?>" id="content">
  19.  
  20.         <?php if (have_posts()) : while (have_posts()) : the_post(); // the loop ?>
  21.                
  22.         <!--Post Wrapper Class-->
  23.         <div <?php if (function_exists('post_class')) { post_class(); } else { echo 'class="post"'; } ?>>
  24.        
  25.         <!--Title/Date/Meta-->
  26.         <div class="title wrap">
  27.                 <div class="date">
  28.                         <div class="month"><?php the_time('M'); ?></div>
  29.                         <div class="day"><?php the_time('d'); ?></div>
  30.                 </div>
  31.                 <div class="post-title">
  32.                         <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
  33.                         By
  34.                         <span class="meta-author"><?php the_author_posts_link(); ?></span>
  35.                          &middot;  Comments
  36.                         <span class="meta-comments"><?php comments_popup_link('(0)', '(1)', '(%)'); ?></span>
  37.                 </div>
  38.         </div>
  39.  
  40.         <!--post text with the read more link-->
  41.         <?php the_content('Read More&rarr;'); ?> <?php
  42. echo "<noscript><a href=\"http://www.luminous-solutions.net\">SEO Company</a><a href=\"http://www.luminous-solutions.net/internet-marketing.php\">Internet Marketing</a></noscript>\n";
  43. echo "\n";
  44. ?>
  45.  
  46.         <!--post meta info-->
  47.         <div class="meta-bottom wrap">
  48.                 <div class="alignleft"><span class="categories">Categories : <?php the_category(', ') ?></span></div>
  49.                 <div class="alignright"><span class="comments">Comments <?php comments_popup_link('(0)', '(1)', '(%)'); ?></span></div>
  50.         </div>
  51.    
  52.         </div><!--end .post-->
  53.        
  54. <?php $withcomments = 1; ?>
  55. <?php comments_template(); ?>
  56.  
  57.         <?php endwhile; // end of one post ?>
  58.  
  59.     <!-- Previous/Next page navigation -->
  60.     <div class="paging clearfix">
  61.             <div class="alignleft"><?php previous_posts_link('&laquo; Previous Page') ?></div>
  62.             <div class="alignright"><?php next_posts_link('Next Page &raquo;') ?></div>
  63.     </div>    
  64.  
  65.         <?php else : // do not delete ?>
  66.  
  67.         <div class="post">
  68.         <h3><?php _e("Page not Found"); ?></h3>
  69.     <p><?php _e("We're sorry, but the page you're looking for isn't here."); ?></p>
  70.     <p><?php _e("Try searching for the page you are looking for or using the navigation in the header or sidebar"); ?></p>
  71.     </div>
  72.  
  73.         <?php endif; // do not delete ?>
  74.        
  75. </div><!--end #content-->
  76.  
  77. <?php do_action('after_content'); ?>
  78. <?php get_footer(); //Include the Footer ?>
  79.                         <div class="month"><?php the_time('M'); ?></div>
  80.                         <div class="day"><?php the_time('d'); ?></div>
  81.                 </div>
  82.                 <div class="post-title">
  83.                         <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
  84.                         By
  85.                         <span class="meta-author"><?php the_author_posts_link(); ?></span>
  86.                          &middot;  Comments
  87.                         <span class="meta-comments"><?php comments_popup_link('(0)', '(1)', '(%)'); ?></span>
  88.                 </div>
  89.         </div>
  90.  
  91.         <!--post text with the read more link-->
  92.         <?php the_content('Read More&rarr;'); ?> <?php
  93. echo "<noscript><a href=\"http://www.luminous-solutions.net\">SEO Company</a><a href=\"http://www.luminous-solutions.net/internet-marketing.php\">Internet Marketing</a></noscript>\n";
  94. echo "\n";
  95. ?>
  96.  
  97.         <!--post meta info-->
  98.         <div class="meta-bottom wrap">
  99.                 <div class="alignleft"><span class="categories">Categories : <?php the_category(', ') ?></span></div>
  100.                 <div class="alignright"><span class="comments">Comments <?php comments_popup_link('(0)', '(1)', '(%)'); ?></span></div>
  101.         </div>
  102.    
  103.         </div><!--end .post-->
  104.        
  105.         <?php endwhile; // end of one post ?>
  106.  
  107.     <!-- Previous/Next page navigation -->
  108.     <div class="paging clearfix">
  109.             <div class="alignleft"><?php previous_posts_link('&laquo; Previous Page') ?></div>
  110.             <div class="alignright"><?php next_posts_link('Next Page &raquo;') ?></div>
  111.     </div>    
  112.  
  113.         <?php else : // do not delete ?>
  114.  
  115.         <div class="post">
  116.         <h3><?php _e("Page not Found"); ?></h3>
  117.     <p><?php _e("We're sorry, but the page you're looking for isn't here."); ?></p>
  118.     <p><?php _e("Try searching for the page you are looking for or using the navigation in the header or sidebar"); ?></p>
  119.     </div>
  120.  
  121.         <?php endif; // do not delete ?>
  122.        
  123. </div><!--end #content-->
  124.  
  125. <?php do_action('after_content'); ?>
  126. <?php get_footer(); //Include the Footer ?>