Advertisement
sandy786

eSell theme by wRock.Org

Feb 1st, 2014
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.76 KB | None | 0 0
  1. <?php get_header(); ?>
  2.     <!-- BEGIN PAGE -->
  3.     <div id="page">
  4.     <div id="page-inner" class="clearfix"><?php if ( of_get_option('esell_banner_top') <> "" ) {echo'<div id="banner-top">'; echo stripslashes(of_get_option('esell_banner_top')); echo'</div>'; } ?>
  5.         <div id="content">     
  6.         <?php if(have_posts()) : ?><?php while(have_posts())  : the_post(); ?>
  7.                     <article id="pagepost-<?php the_ID(); ?>" <?php post_class(); ?> itemscope="itemscope" itemtype="http://schema.org/Article">               
  8.                     <h1 class="entry-title" itemprop="name headline"><a itemprop="url" href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
  9.             <?php if(is_page(array ('cart','checkout') )){
  10.    echo '<ul id="navlist">
  11. <li id="s1">1: Add to cart</li>
  12. <li id="s2">2: View Cart</li>
  13. <li id="s3">3: proceed to checkout</li>
  14. <li id="s4">4: Detail & Payment</li>
  15. <li id="s5">5: Download Now ! </li>
  16. </ul>';
  17. }
  18. ?>
  19.                     <div class="entry" class="clearfix">
  20.                                                                
  21.                                 <span itemprop="articleBody"><?php the_content(); ?></span>
  22.                                 <?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'esell' ), 'after' => '</div>' ) ); ?>
  23.                             </div> <!-- end div .entry -->
  24.     <div class="gap"></div><?php if (of_get_option('esell_author' ) =='1' ) {load_template(get_template_directory() . '/includes/author.php'); } ?>
  25.                             <div class="comments">
  26.                                 <?php comments_template(); ?>
  27.                             </div> <!-- end div .comments -->
  28.             </article>
  29.  
  30.             <?php endwhile; ?>
  31.             <?php else : ?>
  32.                 <div class="post">
  33.                     <h3><?php _e('404 Error&#58; Not Found', 'esell'); ?></h3>
  34.                 </div>
  35.             <?php endif; ?>
  36.                                                        
  37.         </div> <!-- end div #content -->
  38.             <?php get_sidebar(); ?>
  39. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement