|
@@ -3,3 +3,23 @@
|
|
|
|
|
|
<?php get_template_part('content', 'single');?>
|
|
|
|
|
|
+<?php /*$image = post_image_($post->ID,'medium'); */
|
|
|
+$post_images = post_images($post->ID);
|
|
|
+$imageurl = get_the_post_thumbnail_url($post->ID);
|
|
|
+?>
|
|
|
+
|
|
|
+<article id="post-<?php the_ID();?>">
|
|
|
+ <div class="image">
|
|
|
+ <?php post_badge();?>
|
|
|
+ <a href="<?php the_permalink()?>" title="<?php the_title_attribute();?>"><img src="<?php echo $imageurl ? $imageurl : $post_images[0]['large'][0]; ?>" alt="<?php the_title_attribute();?>"></a>
|
|
|
+ <h2><a href="<?php the_permalink()?>" rel="bookmark" title="Permanent link til <?php the_title_attribute();?>"><?php the_title();?></a></h2>
|
|
|
+ </div>
|
|
|
+ <div class="content">
|
|
|
+ <?php echo (is_single() . "LL"); ?>
|
|
|
+ xxx<?php the_content();?>xxx
|
|
|
+
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+</article>
|
|
|
+
|