Advertisement
Guest User

Shop - main

a guest
Jan 3rd, 2013
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.66 KB | None | 0 0
  1. <?php
  2. /*
  3. Template Name: Shop
  4. */
  5. ?>
  6. <?php get_header(); ?>
  7. <?php if (have_posts()) : ?>
  8.         <?php while (have_posts()) : the_post(); ?>
  9.        
  10.         <?php $options = get_option('responsive_theme_options'); ?>
  11.         <?php if ($options['breadcrumb'] == 0): ?>
  12.         <?php echo responsive_breadcrumb_lists(); ?>
  13.         <?php endif; ?>
  14.        
  15.             <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  16.                 <h1 class="post-title"><?php the_title(); ?></h1>
  17.  
  18.                
  19.                 <div class="post-entry">
  20.                     <?php the_content(__('Read more &#8250;', 'responsive')); ?>
  21.                     <?php wp_link_pages(array('before' => '<div class="pagination">' . __('Pages:', 'responsive'), 'after' => '</div>')); ?>
  22.                 </div><!-- end of .post-entry -->    
  23.            
  24.             <div class="post-edit"><?php edit_post_link(__('Edit', 'responsive')); ?></div>
  25.             </div><!-- end of #post-<?php the_ID(); ?> -->
  26.         <?php endwhile; ?>
  27.        
  28.         <?php include "NC-shop-include.php";?>
  29.        
  30.         <?php else : ?>    
  31.         <h1 class="title-404"><?php _e('404 &#8212; Fancy meeting you here!', 'responsive'); ?></h1>
  32.         <p><?php _e('Don&#39;t panic, we&#39;ll get through this together. Let&#39;s explore our options here.', 'responsive'); ?></p>
  33.         <h6><?php _e( 'You can return', 'responsive' ); ?> <a href="<?php echo home_url(); ?>/" title="<?php esc_attr_e( 'Home', 'responsive' ); ?>"><?php _e( '&larr; Home', 'responsive' ); ?></a> <?php _e( 'or search for the page you were looking for', 'responsive' ); ?></h6>
  34.         <?php get_search_form(); ?>
  35.  
  36. <?php endif; ?>
  37. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement