audiolab-theme/single.php

49 lines
916 B
PHP
Raw Normal View History

2016-12-23 20:38:21 +01:00
<?php get_header(); ?>
<div id="content" role="main" class="span-16 prepend-1 last">
<?php
if (have_posts()) {
while (have_posts()) {
the_post();
?>
<div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
<?php
if (get_post_meta($id, 'show_headline', true) !== '0') {
?><h1 class="article-title"><a href="<?php the_permalink()?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute() ?>"> <?php the_title() ?> </a></h1> <?php
}
?>
<div class="entry">
<?php the_content('Read more &raquo;'); ?>
</div>
<?php wp_link_pages(); ?>
<?php
if (file_exists(TEMPLATEPATH . '/share.php')) {
//include(TEMPLATEPATH . '/share.php');
}
?>
</div>
<?php
}
}
else {
?>
<h2>Not Found</h2>
<p>The content you have requested does not exist.</p>
<?php
}
?>
</div><!-- id="content" -->
<?php get_footer(); ?>