|
Revision 31, 1.1 kB
(checked in by drakewils..@gmail.com, 5 months ago)
|
headlines theme. for realz this time
|
| Line | |
|---|
| 1 |
<?php get_header(); ?> |
|---|
| 2 |
|
|---|
| 3 |
<div id="main-col"> |
|---|
| 4 |
|
|---|
| 5 |
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> |
|---|
| 6 |
|
|---|
| 7 |
<div class="post" id="post-<?php the_ID(); ?>"> |
|---|
| 8 |
|
|---|
| 9 |
<h2> |
|---|
| 10 |
<a href="<?php echo get_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title_attribute(); ?>"><?php the_title(); ?></a> |
|---|
| 11 |
</h2> |
|---|
| 12 |
|
|---|
| 13 |
<?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?> |
|---|
| 14 |
|
|---|
| 15 |
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> |
|---|
| 16 |
|
|---|
| 17 |
<p>By: <?php the_author_posts_link(); ?> |
|---|
| 18 |
<?php |
|---|
| 19 |
|
|---|
| 20 |
if(get_the_category() != null || get_the_tags() != null): |
|---|
| 21 |
|
|---|
| 22 |
?> |
|---|
| 23 |
| <?php the_category(', '); ?> |
|---|
| 24 |
|
|---|
| 25 |
<?php |
|---|
| 26 |
|
|---|
| 27 |
if(get_the_category() != null && get_the_tags() != null): |
|---|
| 28 |
|
|---|
| 29 |
?> |
|---|
| 30 |
, <?php the_tags('', ', ', ''); ?> |
|---|
| 31 |
|
|---|
| 32 |
<?php |
|---|
| 33 |
|
|---|
| 34 |
endif; |
|---|
| 35 |
|
|---|
| 36 |
endif; |
|---|
| 37 |
|
|---|
| 38 |
?> |
|---|
| 39 |
</p> |
|---|
| 40 |
|
|---|
| 41 |
</div> |
|---|
| 42 |
|
|---|
| 43 |
<?php comments_template(); ?> |
|---|
| 44 |
|
|---|
| 45 |
<?php endwhile; else: ?> |
|---|
| 46 |
|
|---|
| 47 |
<p>Sorry, no posts matched your criteria.</p> |
|---|
| 48 |
|
|---|
| 49 |
<?php endif; ?> |
|---|
| 50 |
|
|---|
| 51 |
</div> |
|---|
| 52 |
|
|---|
| 53 |
<?php include (TEMPLATEPATH . '/socialsidebar.php'); ?> |
|---|
| 54 |
|
|---|
| 55 |
<?php get_sidebar(); ?> |
|---|
| 56 |
|
|---|
| 57 |
<?php get_footer(); ?> |
|---|