This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
studio-2012/wp-content/themes/studio12/single-post.php
T
2012-06-03 05:28:30 +02:00

30 lines
616 B
PHP

<?php get_header(); ?>
<?php get_sidebar(); ?>
<?php get_sidebar("right"); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div id="main-content">
<article <?php post_class("event") ?> id="post-<?php the_ID(); ?>">
<div class="entry">
<?php
if (has_post_thumbnail())
echo the_post_thumbnail("singlepost"); ?>
<h2><?php the_title(); ?></h2>
<?php
the_content();
wp_link_pages(array('before' => 'Pages: ', 'next_or_number' => 'number')); ?>
</div>
<?php edit_post_link('Edit this entry','','.'); ?>
</article>
</div>
<?php endwhile; endif; ?>
<?php get_footer(); ?>