Created
March 12, 2012 16:00
-
-
Save augustknight/2022963 to your computer and use it in GitHub Desktop.
Template page for viewing a single event from the All In One Event Calendar plugin. Simply drop this in your theme folder and you're good to go!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @package WordPress | |
* @subpackage Website | |
*/ | |
get_header(); | |
?> | |
<section id="content"> | |
<?php if (have_posts()): ?> | |
<article id="post-<?php the_ID(); ?>" class="page type-page status-publish hentry post"> | |
<section class="main"> | |
<?php the_post(); ?> | |
<h1 class="title"><?php echo the_title(); ?></h1> | |
<br/> | |
<div class="entry-content"> | |
<?php the_content(); ?> | |
</div> | |
</section> | |
</article> | |
<?php endif; ?> | |
</section> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FYI, this was customized for the Website WordPress theme by kubasto.
I was lazy and copied the article class from a normal post page so I wouldn't have to update all of the CSS for an event page.