source: trunk/www.guidonia.net/wp/wp-content/themes/default/index.php@ 44

Last change on this file since 44 was 44, checked in by luciano, 14 years ago
File size: 1.6 KB
Line 
1<?php
2/**
3 * @package WordPress
4 * @subpackage Default_Theme
5 */
6
7get_header(); ?>
8
9 <div id="content" class="narrowcolumn" role="main">
10
11 <?php if (have_posts()) : ?>
12
13 <?php while (have_posts()) : the_post(); ?>
14
15 <div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
16 <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php printf(__('Permanent Link to %s', 'kubrick'), the_title_attribute('echo=0')); ?>"><?php the_title(); ?></a></h2>
17 <small><?php the_time(__('F jS, Y', 'kubrick')) ?> <!-- by <?php the_author() ?> --></small>
18
19 <div class="entry">
20 <?php the_content(__('Read the rest of this entry &raquo;', 'kubrick')); ?>
21 </div>
22
23 <p class="postmetadata"><?php the_tags(__('Tags:', 'kubrick') . ' ', ', ', '<br />'); ?> <?php printf(__('Posted in %s', 'kubrick'), get_the_category_list(', ')); ?> | <?php edit_post_link(__('Edit', 'kubrick'), '', ' | '); ?> <?php comments_popup_link(__('No Comments &#187;', 'kubrick'), __('1 Comment &#187;', 'kubrick'), __('% Comments &#187;', 'kubrick'), '', __('Comments Closed', 'kubrick') ); ?></p>
24 </div>
25
26 <?php endwhile; ?>
27
28 <div class="navigation">
29 <div class="alignleft"><?php next_posts_link(__('&laquo; Older Entries', 'kubrick')) ?></div>
30 <div class="alignright"><?php previous_posts_link(__('Newer Entries &raquo;', 'kubrick')) ?></div>
31 </div>
32
33 <?php else : ?>
34
35 <h2 class="center"><?php _e('Not Found', 'kubrick'); ?></h2>
36 <p class="center"><?php _e('Sorry, but you are looking for something that isn&#8217;t here.', 'kubrick'); ?></p>
37 <?php get_search_form(); ?>
38
39 <?php endif; ?>
40
41 </div>
42
43<?php get_sidebar(); ?>
44
45<?php get_footer(); ?>
Note: See TracBrowser for help on using the repository browser.