Startpunkten
This commit is contained in:
24
single-post.php
Normal file
24
single-post.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php get_header(); ?>
|
||||
<main class="container">
|
||||
<section>
|
||||
<?php while ( have_posts() ) : the_post(); ?>
|
||||
<article>
|
||||
<header>
|
||||
<h2><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
|
||||
<div class="postdate">
|
||||
<?php echo the_date(); ?>
|
||||
</div> <!-- END POSTDATE -->
|
||||
</header> <!-- END INLAGG_RUBRIK -->
|
||||
<div class="texten">
|
||||
<?php the_content(); ?>
|
||||
</div> <!-- END INLAGG_TEXTEN -->
|
||||
<div class="categories">
|
||||
Postat under:
|
||||
<?php echo the_category(', ') ?>
|
||||
</div>
|
||||
</article> <!-- END INLAGG -->
|
||||
<?php endwhile; ?>
|
||||
<div class="pageScan"><p><?php posts_nav_link(' | ',' Nyare inlägg ',' Äldre inlägg '); ?></p></div>
|
||||
</section> <!-- END CONTENT -->
|
||||
</main>
|
||||
<?php get_footer(); ?>
|
||||
Reference in New Issue
Block a user