Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * @package WordPress
- * @subpackage Default_Theme
- */
- get_header(); ?>
- <?php dynamic_content_gallery(); ?>
- <div id="content" class="narrowcolumn" role="main">
- <?php if (have_posts()) : ?>
- <?php $posts=query_posts($query_string . 'posts_per_page=10&offset=2'); while (have_posts()) : the_post(); ?>
- <div class="postcontainer">
- <div class="icon">
- <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
- <?php custom_field_image() ?>
- </div>
- </div>
- <div class="recentpost">
- <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
- <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
- <span class="entry-meta"><?php the_time('F jS, Y, g:ia') ?> <!-- by <?php the_author() ?> --></span>
- <small2><?php the_content_limit(200, "lisez plus") ?></small2>
- <span class="entry-meta"><span class="edit-link"><?php edit_post_link('Edit', '', ' '); ?></span></span>
- </div>
- </div>
- </div>
- <div class="hr"><hr /></div>
- <?php endwhile; ?>
- <div class="navigation">
- <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
- <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
- </div>
- <?php else : ?>
- <h2 class="center">Not Found</h2>
- <p class="center">Sorry, but you are looking for something that isn't here.</p>
- <?php get_search_form(); ?>
- <?php endif; ?>
- </div>
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement