kumitheme/index.php
2018-09-01 12:24:57 +02:00

81 lines
1.7 KiB
PHP

<?php get_header(); ?>
<!-- pagebody -->
<div id="pagebody">
<!-- container -->
<div id="container">
<!-- content -->
<div id="content">
<?php
if (have_posts()):
while (have_posts()) :the_post();?>
<div class="daydate"><?php the_time(__('l, F jS, Y', 'kubrick')) ?></div>
<div class="story">
<!-- Story Title -->
<h3 class="storyTitle"><a title="<?php the_title(); ?>" href="<?php the_permalink(); ?>"><?php the_title();?></a>
</h3>
<!-- Story Date -->
<div class="storyDate"><?php the_author();?> | <?php the_date(); ?> | <a href="<?php the_permalink();?>">
<?php comments_number( 'no responses', 'one response', '% responses' ); ?>.
</a></div>
<!-- Story Content -->
<?php if (has_post_thumbnail( $post->ID ) ): ?>
<?php $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'single-post-thumbnail' ); ?>
<div class="storyContent"><img title="" height="210" alt="Staatsoper_NS" width="300" align="left" class="left" src="<?php echo $image[0]; ?>" />
<?php endif; ?>
<?php the_content('read more..'); ?>
</div>
</div>
<div class="clear"></div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
</div>
<?php else : ?>
</p>I'm not sure what you're looking for.
<?php endif; ?>
</div><!-- end of content -->
</div><!-- end of container -->
<!-- sidebar01 -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>