Guest User

index

a guest
Nov 4th, 2013
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 3.03 KB | None | 0 0
  1. <?php get_header(); ?>
  2.            
  3.              <div id="page-banner">
  4.         <div id="page-banner-border" class="wrap clearfix">
  5.          <div class="wrap clearfix">
  6.          
  7.     <?php include('library/banner.php'); ?>
  8.          </div>
  9.            
  10.             <div id="content">
  11.            
  12.                 <div id="inner-content" class="wrap clearfix">
  13.            
  14.                     <div id="main" class="ninecol first clearfix" role="main">
  15.  
  16.                         <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  17.  
  18.  
  19.                         <article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
  20.                        
  21.                             <header class="article-header">
  22.                            
  23.                                 <h1 class="h1 page-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
  24.                   <p class="byline vcard"><?php
  25.                     printf(__('Posted <time class="updated" datetime="%1$s" pubdate>%2$s</time> by <span class="author">%3$s</span>', 'bonestheme'), get_the_time('Y-m-j'), get_the_time(get_option('date_format')), bones_get_the_author_posts_link(), get_the_category_list(', '));
  26.                   ?></p>
  27.                        
  28.                             </header> <!-- end article header -->
  29.                    
  30.                             <section class="entry-content clearfix">
  31.                             <?php the_post_thumbnail(); ?>
  32.                                 <?php the_excerpt(); ?>
  33.                             </section> <!-- end article section -->
  34.                        
  35.                             <footer class="article-footer">
  36.                                 <p class="tags"><?php the_tags('<span class="tags-title">' . __('Tags:', 'bonestheme') . '</span> ', ', ', ''); ?></p>
  37.  
  38.                             </footer> <!-- end article footer -->
  39.        
  40.                         </article> <!-- end article -->
  41.                    
  42.                         <?php endwhile; ?> 
  43.                    
  44.                             <?php  if(function_exists('wp_paginate')) {
  45.     wp_paginate();
  46. } else { ?>
  47.                                 <nav class="wp-prev-next">
  48.                                     <ul class="clearfix">
  49.                                         <li class="prev-link"><?php next_posts_link(__('&laquo; Older Entries', "bonestheme")) ?></li>
  50.                                         <li class="next-link"><?php previous_posts_link(__('Newer Entries &raquo;', "bonestheme")) ?></li>
  51.                                     </ul>
  52.                                 </nav>
  53.                             <?php } ?>     
  54.                    
  55.                         <?php else : ?>
  56.                        
  57.                             <article id="post-not-found" class="hentry clearfix">
  58.                                 <header class="article-header">
  59.                                     <h1><?php _e("Oops, Post Not Found!", "bonestheme"); ?></h1>
  60.                                 </header>
  61.                                 <section class="entry-content">
  62.                                     <p><?php _e("Uh Oh. Something is missing. Try double checking things.", "bonestheme"); ?></p>
  63.                                 </section>
  64.                                 <footer class="article-footer">
  65.                                     <p><?php _e("This is the error message in the index.php template.", "bonestheme"); ?></p>
  66.                                 </footer>
  67.                             </article>
  68.                    
  69.                         <?php endif; ?>
  70.            
  71.                     </div> <!-- end #main --> <?php get_sidebar('sidebar2'); ?>
  72.                    
  73.                 </div> <!-- end #inner-content -->
  74.    
  75.             </div> <!-- end #content -->
  76.  
  77. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment