Advertisement
chrishd

Untitled

Jun 11th, 2011
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.86 KB | None | 0 0
  1. <?php
  2.     /*
  3.     Template Name: Ask the Expert
  4.     */
  5.  
  6.     // calling the header.php
  7.     get_header();
  8.  
  9. ?>
  10.  
  11. <div id="post-<?php the_ID();
  12.     echo '" ';
  13.     if (!(THEMATIC_COMPATIBLE_POST_CLASS)) {
  14.         post_class();
  15.         echo '>';
  16.     } else {
  17.         echo 'class="';
  18.         thematic_post_class();
  19.         echo '">';
  20.     }
  21.    
  22.     // creating the post header
  23.     thematic_postheader();
  24.    
  25.     ?>
  26.    
  27.     <div class="entry-content">
  28.        
  29.         <div id="thumbnail">
  30.             <?php the_post_thumbnail(); ?>
  31.         </div>
  32.  
  33.         <?php
  34.        
  35.         the_content();
  36.        
  37.         wp_link_pages("\t\t\t\t\t<div class='page-link'>".__('Pages: ', 'thematic'), "</div>\n", 'number');
  38.        
  39.         edit_post_link(__('(Edit this page/post)', 'thematic'),'<span class="edit-link">','</span>') ?>
  40.  
  41.     </div><!-- .entry-content -->
  42. </div><!-- #post -->
  43.  
  44. <?php
  45.     // calling footer.php
  46.     get_footer();
  47. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement