Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Template Name: Single Event Template
- *
- * This is the most generic template file in a WordPress theme
- * and one of the two required files for a theme (the other being style.css).
- * It is used to display a page when nothing more specific matches a query.
- * E.g., it puts together the home page when no home.php file exists.
- * Learn more: http://codex.wordpress.org/Template_Hierarchy
- *
- * @package WordPress
- * @subpackage Twenty_Eleven
- */
- global $pods;
- get_header();
- ?>
- <div id="contentwrap">
- <div id="mainwrap">
- <div id="content" class="left">
- <?php while ( have_posts() ) : the_post(); ?>
- <div id="wp-content" role="main">
- <?php include(TEMPLATEPATH . '/events/single.php'); ?>
- </div><!-- #content -->
- <?php endwhile; // end of the loop. ?>
- </div>
- <div id="home_sidebar" class="right">
- <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("Home Page Right Sidebar") ){
- }
- ?>
- </div>
- <div class="clearfix"></div>
- </div>
- </div>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment