Guest User

event-template.php

a guest
Jan 9th, 2012
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.12 KB | None | 0 0
  1. <?php
  2. /**
  3.  * Template Name: Single Event Template
  4.  *
  5.  * This is the most generic template file in a WordPress theme
  6.  * and one of the two required files for a theme (the other being style.css).
  7.  * It is used to display a page when nothing more specific matches a query.
  8.  * E.g., it puts together the home page when no home.php file exists.
  9.  * Learn more: http://codex.wordpress.org/Template_Hierarchy
  10.  *
  11.  * @package WordPress
  12.  * @subpackage Twenty_Eleven
  13.  */
  14. global $pods;
  15.  get_header();
  16. ?>
  17.  
  18.  
  19.         <div id="contentwrap">
  20.             <div id="mainwrap">
  21.                 <div id="content" class="left">
  22.                     <?php while ( have_posts() ) : the_post(); ?>
  23.                    
  24.                     <div id="wp-content" role="main">
  25.                        
  26.                         <?php include(TEMPLATEPATH . '/events/single.php'); ?>
  27.  
  28.                     </div><!-- #content -->
  29.                     <?php endwhile; // end of the loop. ?>
  30.                 </div>
  31.            
  32.                 <div id="home_sidebar" class="right">
  33.                             <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("Home Page Right Sidebar") ){
  34.                        
  35.                             }                  
  36.                             ?>
  37.                 </div>
  38.                
  39.                 <div class="clearfix"></div>
  40.             </div>
  41.         </div>
  42.        
  43. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment