/blog/wp-content/themes/contempt/index.php
PHP | 47 lines | 37 code | 10 blank | 0 comment | 4 complexity | 22573c906c2da170a660395aa0907c83 MD5 | raw file
Possible License(s): GPL-2.0, GPL-3.0, AGPL-1.0, LGPL-2.1
- <?php get_header(); ?>
- <div id="content">
- <?php if (have_posts()) : ?>
-
- <?php while (have_posts()) : the_post(); ?>
-
- <div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
- <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'contempt'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>
- <small><?php the_time(get_option('date_format')) ?></small><br />
-
-
- <div class="entry">
- <?php the_content(__('Read the rest of this entry »','contempt')); ?>
- <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
- </div>
-
- <p class="postmetadata">
- <img src="<?php bloginfo('stylesheet_directory'); ?>/images/blog/speech_bubble.gif" alt="" /> <?php comments_popup_link(__('Leave a Comment »','contempt'),__('1 Comment','contempt'),__('% Comments','contempt')); ?>
- | <img src="<?php bloginfo('stylesheet_directory'); ?>/images/blog/documents.gif" alt="" /> <?php the_category(', ') ?>
- <?php the_tags( ' | ' . __( 'Tagged:' ) . ' ', ', ', ''); ?>
- | <img src="<?php bloginfo('stylesheet_directory'); ?>/images/blog/permalink.gif" alt="" /> <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php echo esc_attr( sprintf( __( 'Permanent Link to %s', 'contempt' ), the_title_attribute( 'echo=0' ) ) ); ?>"><?php _e('Permalink','contempt'); ?></a>
- <br /><img src="<?php bloginfo('stylesheet_directory'); ?>/images/blog/figure_ver1.gif" alt="" /> <?php printf(__('Posted by %s', 'contempt'), get_the_author()); ?>
- </p>
- </div>
- <hr />
- <?php endwhile; ?>
- <div class="navigation">
- <div class="alignleft"><?php next_posts_link(__('« Previous Entries','contempt')) ?></div>
- <div class="alignright"><?php previous_posts_link(__('Next Entries »','contempt')) ?></div>
- </div>
-
- <?php else : ?>
- <h2 class="center"><?php _e('Not Found','contempt'); ?></h2>
- <p class="center"><?php _e("Sorry, but you are looking for something that isn't here.","contempt"); ?></p>
- <?php include (TEMPLATEPATH . "/searchform.php"); ?>
- <?php endif; ?>
- </div>
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>