This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Full Page Width No Sidebar

By: pamr on Apr 17th, 2012  |  syntax: None  |  size: 3.58 KB  |  views: 92  |  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
  2. /**
  3.  * Full Content Template
  4.  *
  5.    Template Name:  Full Width Page (no sidebar)
  6.  *
  7.  * @file           full-width-page.php
  8.  * @package        Responsive
  9.  * @author         Emil Uzelac
  10.  * @copyright      2003 - 2011 ThemeID
  11.  * @license        license.txt
  12.  * @version        Release: 1.0
  13.  * @filesource     wp-content/themes/responsive/full-width-page.php
  14.  * @link           http://codex.wordpress.org/Theme_Development#Pages_.28page.php.29
  15.  * @since          available since Release 1.0
  16.  */
  17. ?>
  18. <?php get_header(); ?>
  19.  
  20.         <div id="content-full" class="grid col-940">
  21.        
  22. <?php if (have_posts()) : ?>
  23.  
  24.                 <?php while (have_posts()) : the_post(); ?>
  25.        
  26.         <?php $options = get_option('responsive_theme_options'); ?>
  27.                 <?php if ($options['breadcrumb'] == 0): ?>
  28.                 <?php echo responsive_breadcrumb_lists(); ?>
  29.         <?php endif; ?>
  30.        
  31.             <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  32.                 <h1><?php the_title(); ?></h1>
  33.  
  34.                 <?php if ( comments_open() ) : ?>              
  35.                 <div class="post-meta">
  36.                
  37.                    <?php if ( comments_open() ) : ?>
  38.                      <span class="comments-link">
  39.                         <span class="mdash">&mdash;</span>
  40.                     <?php comments_popup_link(__('No Comments &darr;', 'responsive'), __('1 Comment &darr;', 'responsive'), __('% Comments &darr;', 'responsive')); ?>
  41.                         </span>
  42.                                         <?php endif; ?>
  43.                 </div><!-- end of .post-meta -->
  44.                 <?php endif; ?>
  45.                
  46.                 <div class="post-entry">
  47.                     <?php the_content(__('Read more &#8250;', 'responsive')); ?>
  48.                     <?php wp_link_pages(array('before' => '<div class="pagination">' . __('Pages:', 'responsive'), 'after' => '</div>')); ?>
  49.                 </div><!-- end of .post-entry -->
  50.                
  51.                 <?php if ( comments_open() ) : ?>
  52.                 <div class="post-data">
  53.                                     <?php the_tags(__('Tagged with:', 'responsive') . ' ', ', ', '<br />'); ?>
  54.                     <?php the_category(__('Posted in %s', 'responsive') . ', '); ?>
  55.                 </div><!-- end of .post-data -->
  56.                 <?php endif; ?>            
  57.            
  58.             <div class="post-edit"><?php edit_post_link(__('Edit', 'responsive')); ?></div>
  59.             </div><!-- end of #post-<?php the_ID(); ?> -->
  60.            
  61.             <?php comments_template( '', true ); ?>
  62.            
  63.         <?php endwhile; ?>
  64.        
  65.         <?php if (  $wp_query->max_num_pages > 1 ) : ?>
  66.         <div class="navigation">
  67.                         <div class="previous"><?php next_posts_link( __( '&#8249; Older posts', 'responsive' ) ); ?></div>
  68.             <div class="next"><?php previous_posts_link( __( 'Newer posts &#8250;', 'responsive' ) ); ?></div>
  69.                 </div><!-- end of .navigation -->
  70.         <?php endif; ?>
  71.  
  72.             <?php else : ?>
  73.  
  74.         <h1 class="title-404"><?php _e('404 &#8212; Fancy meeting you here!', 'responsive'); ?></h1>
  75.         <p><?php _e('Don&#39;t panic, we&#39;ll get through this together. Let&#39;s explore our options here.', 'responsive'); ?></p>
  76.         <h6><?php _e( 'You can return', 'responsive' ); ?> <a href="<?php echo home_url(); ?>/" title="<?php esc_attr_e( 'Home', 'responsive' ); ?>"><?php _e( '&#9166; Home', 'responsive' ); ?></a> <?php _e( 'or search for the page you were looking for', 'responsive' ); ?></h6>
  77.         <?php get_search_form(); ?>
  78.  
  79. <?php endif; ?>  
  80.      
  81.         </div><!-- end of #content-full -->
  82.  
  83. <?php get_footer(); ?>
clone this paste RAW Paste Data