Advertisement
Guest User

Untitled

a guest
Nov 17th, 2014
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.24 KB | None | 0 0
  1. <?php
  2. /*
  3. Template Name: Fullwidth
  4. */
  5. get_header(); ?>
  6.  
  7.     <section class="page-content primary unit whole" role="main">
  8.    
  9.         <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  10.    
  11.             <div class="post-content">
  12.  
  13.                 <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  14.            
  15.                 <h1 class="page-title"><?php
  16.  
  17.                     if ( is_singular() ) :
  18.                         the_title();
  19.                     else : ?>
  20.  
  21.                         <a href="<?php echo esc_url( get_permalink() ); ?>" rel="bookmark"><?php
  22.                             the_title(); ?>
  23.                         </a><?php
  24.  
  25.                     endif; ?>
  26.  
  27.                 </h1>
  28.  
  29.                    
  30.                    
  31.                     <?php the_content(__("Continue Reading", "site5framework")); ?>
  32.  
  33.                     <div class="post-aside"><?php
  34.  
  35.                         wp_link_pages(
  36.                             array(
  37.                                 'before'           => '<div class="linked-page-nav"><p>' . sprintf( __( '<em>%s</em> is separated in multiple parts:', 'site5framework' ), get_the_title() ) . '<br />',
  38.                                 'after'            => '</p></div>',
  39.                                 'next_or_number'   => 'number',
  40.                                 'separator'        => ' ',
  41.                                 'pagelink'         => __( '&raquo; Part %', 'site5framework' ),
  42.                             )
  43.                         );
  44.                         ?>
  45.  
  46.  
  47.                     </div>
  48.  
  49.                     <?php endwhile; ?>
  50.                    
  51.                     </div>
  52.                    
  53.                 <?php endif; ?>
  54.        
  55.         </article>
  56.  
  57.     </section>
  58.  
  59. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement