edited the single-posts

This commit is contained in:
Sjur Hernes committed 2012-05-29 19:25:02 +02:00
1 parent a793242bda
commit 31d42d8828
1 file changed
+1 -3
+1 -3
View File
@@ -6,15 +6,13 @@
<div id="main-content">
<article <?php post_class("event") ?> id="post-<?php the_ID(); ?>">
<h2><?php the_title(); ?></h2>
<div class="entry">
<?php
if (has_post_thumbnail())
echo the_post_thumbnail("singlepost");
<h2><?php the_title(); ?></h2>
if ($post->post_type == "event") {
$type = get_post_meta($post->ID, 'neuf_events_type', true);
echo '<div class="event-time">Starter: ' . date('H:i', get_post_meta($post->ID, 'neuf_events_starttime', true)) . '</div>';