Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="post" class="container">
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <div <?php post_class('feed') ?> id="post-<?php the_ID(); ?>">
- <img class="sticky" src="<?php bloginfo('stylesheet_directory'); ?>/images/sticky-post.png">
- <!-- Ribbon for Sticky Post -->
- <img class="sticky" src="<?php bloginfo('stylesheet_directory'); ?>/images/sticky-post.png">
- <!-- Ribbon for Gallery Post -->
- <div class="post-img">
- <?php
- if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
- the_post_thumbnail();
- set_post_thumbnail_size( 220, 220 );
- }
- else { ?>
- <a href="<?php the_permalink() ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/post-thumbnail.png" alt="<?php the_title(); ?>" /></a> <?php } ?>
- </div>
- <h2><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php limit_title($post->post_title, 32); ?></a></h2>
- <h4><?php include (TEMPLATEPATH . '/inc/meta.php' ); ?></h4>
- <div class="entry">
- <?php echo get_excerpt(); ?>
- </div>
- <div class="postmetadata">
- <!--<?php the_tags('Tags: ', ' ', '<br />'); ?>
- Posted in: <?php the_category(', ') ?> |
- <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>-->
- </div>
- </div>
- <?php endwhile; ?>
- <?php include (TEMPLATEPATH . '/inc/nav.php' ); ?>
- <?php else : ?>
- <h2>Not Found</h2>
- <?php endif; ?>
- </div><!-- POST CONTAINER -->
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Add Comment
Please, Sign In to add comment