daily pastebin goal
39%
SHARE
TWEET

Untitled

a guest Jan 19th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. page.php code
  2. <?php get_header(); ?>
  3.  
  4. <div id="content">
  5.     <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
  6.         <div id="post-<?php the_ID(); ?>" <?php post_class('page'); ?>>
  7.             <article>
  8.                
  9.                
  10.                 <?php if ( has_post_thumbnail() ) { /* loades the post's featured thumbnail, requires Wordpress 3.0+ */ echo '<div class="featured-thumbnail">'; the_post_thumbnail(); echo '</div>'; } ?>
  11.    
  12.                 <div class="post-content page-content">
  13.                     <?php the_content(); ?>
  14.                     <?php wp_link_pages('before=<div class="pagination">&after=</div>'); ?>
  15.                 </div><!--.post-content .page-content -->
  16.             </article>
  17.  
  18.            
  19.         </div><!--#post-# .post-->
  20.  
  21.        
  22.  
  23.     <?php endwhile; ?>
  24. </div><!--#content-page-->
  25. <?php get_sidebar(); ?>
  26. <?php get_footer(); ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top