Skip to content
This repository
Newer
Older
100755 50 lines (37 sloc) 1.438 kb
1b2c5af9 » Per Sandström
2011-03-27 Initial commit
1 <?php get_header(); ?>
2
3 <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
4
5 <article id="content" role="main" <?php post_class(); ?>>
6
22e193e8 »
2011-09-30 Blaskan 2.0
7 <header>
8 <?php if ( has_post_thumbnail() ) : ?>
9 <figure class="post-thumbnail">
152bcf94 »
2011-11-07 Remove hard coded link in post thumbnail
10 <?php the_post_thumbnail(); ?>
22e193e8 »
2011-09-30 Blaskan 2.0
11 </figure>
12 <?php endif; ?>
13
14 <?php if ( get_the_title() ): ?>
15 <h1><?php the_title(); ?></h1>
16 <?php endif; ?>
17 </header>
1b2c5af9 » Per Sandström
2011-03-27 Initial commit
18
83b5bd8f »
2011-12-30 #27 - All floats should be cleared
19 <div class="content"><?php the_content(); ?></div>
1b2c5af9 » Per Sandström
2011-03-27 Initial commit
20
21 <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'blaskan' ), 'after' => '</div>' ) ); ?>
22
034dd0fb »
2011-11-04 Fix support for post tags and categories in pages
23 <footer>
24 <?php if ( count( get_the_category() ) ) : ?>
25 <span class="categories">
26 <?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'blaskan' ), 'categories-label', get_the_category_list( ', ' ) ); ?>
27 </span>
28 <?php endif; ?>
29
30 <?php
31 $tags_list = get_the_tag_list( '', ', ' );
32 if ( $tags_list ):
33 ?>
34 <span class="tags">
35 <?php printf( __( '<span class="%1$s">Tagged with</span> %2$s', 'blaskan' ), 'tags-label', $tags_list ); ?>
36 </span>
37 <?php endif; ?>
38
39 <?php edit_post_link( __( 'Edit', 'blaskan' ), '<span class="edit-link">', '</span>' ); ?>
40 </footer>
1b2c5af9 » Per Sandström
2011-03-27 Initial commit
41
42 <?php comments_template( '', true ); ?>
43
44 </article>
45 <!-- #content -->
46
47 <?php endwhile; ?>
48
49 <?php get_sidebar(); ?>
22e193e8 »
2011-09-30 Blaskan 2.0
50 <?php get_footer(); ?>
Something went wrong with that request. Please try again.