Advertisement
Guest User

heyshamsw page.php

a guest
Feb 29th, 2012
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.32 KB | None | 0 0
  1. <?php
  2.  
  3.  
  4.  
  5.     // calling the header.php
  6.  
  7.     get_header();
  8.  
  9.  
  10.  
  11.     // action hook for placing content above #container
  12.  
  13.     thematic_abovecontainer();
  14.  
  15.  
  16.  
  17. ?>
  18.  
  19.  
  20.  
  21.         <div id="container">
  22.  
  23.        
  24.  
  25.             <?php thematic_abovecontent(); ?>
  26.  
  27.        
  28.  
  29.             <div id="content">
  30.  
  31.    
  32.  
  33.                 <?php
  34.  
  35.            
  36.  
  37.                 // calling the widget area 'page-top'
  38.  
  39.                 get_sidebar('page-top');
  40.  
  41.    
  42.  
  43.                 the_post();
  44.  
  45.                
  46.  
  47.                 thematic_abovepost();
  48.  
  49.            
  50.  
  51.                 ?>
  52.  
  53.                
  54.  
  55.                 <div id="post-<?php the_ID();
  56.  
  57.                     echo '" ';
  58.  
  59.                     if (!(THEMATIC_COMPATIBLE_POST_CLASS)) {
  60.  
  61.                         post_class();
  62.  
  63.                         echo '>';
  64.  
  65.                     } else {
  66.  
  67.                         echo 'class="';
  68.  
  69.                         thematic_post_class();
  70.  
  71.                         echo '">';
  72.  
  73.                     }
  74.  
  75.                    
  76.  
  77.                     // creating the post header
  78.  
  79.                     thematic_postheader();
  80.  
  81.                    
  82.  
  83.                     ?>
  84.  
  85.                    
  86.  
  87.                     <div class="entry-content">
  88.  
  89.    
  90.  
  91.                         <?php
  92.  
  93.                        
  94.  
  95.                         the_content();
  96.  
  97.                        
  98.  
  99.                         wp_link_pages("\t\t\t\t\t<div class='page-link'>".__('Pages: ', 'thematic'), "</div>\n", 'number');
  100.  
  101.                        
  102.  
  103.                         edit_post_link(__('Edit', 'thematic'),'<span class="edit-link">','</span>') ?>
  104.  
  105.    
  106.  
  107.                     </div><!-- .entry-content -->
  108.  
  109.                 </div><!-- #post -->
  110.  
  111.    
  112.  
  113.             <?php
  114.  
  115.            
  116.  
  117.             thematic_belowpost();
  118.  
  119.            
  120.  
  121.             // calling the comments template
  122.  
  123.             if (THEMATIC_COMPATIBLE_COMMENT_HANDLING) {
  124.  
  125.                 if ( get_post_custom_values('comments') ) {
  126.  
  127.                     // Add a key/value of "comments" to enable comments on pages!
  128.  
  129.                     thematic_comments_template();
  130.  
  131.                 }
  132.  
  133.             } else {
  134.  
  135.                 thematic_comments_template();
  136.  
  137.             }
  138.  
  139.            
  140.  
  141.             // calling the widget area 'page-bottom'
  142.  
  143.             get_sidebar('page-bottom');
  144.  
  145.            
  146.  
  147.             ?>
  148.  
  149.    
  150.  
  151.             </div><!-- #content -->
  152.  
  153.            
  154.  
  155.             <?php thematic_belowcontent(); ?>
  156.  
  157.            
  158.  
  159.         </div><!-- #container -->
  160.  
  161.  
  162.  
  163. <?php
  164.  
  165.  
  166.  
  167.     // action hook for placing content below #container
  168.  
  169.     thematic_belowcontainer();
  170.  
  171.  
  172.  
  173.     // calling the standard sidebar
  174.  
  175.     thematic_sidebar();
  176.  
  177.    
  178.  
  179.     // calling footer.php
  180.  
  181.     get_footer();
  182.  
  183.  
  184.  
  185. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement