Advertisement
Guest User

Untitled

a guest
Nov 29th, 2012
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1.  
  2.  
  3. <?php
  4. /**
  5. * @package WordPress
  6. * @subpackage Default_Theme
  7. */
  8.  
  9.  
  10. get_header(); ?>
  11. <?php dynamic_content_gallery(); ?>
  12. <div id="content" class="narrowcolumn" role="main">
  13.  
  14.  
  15. <?php if (have_posts()) : ?>
  16.  
  17. <?php $posts=query_posts($query_string . 'posts_per_page=10&offset=2'); while (have_posts()) : the_post(); ?>
  18. <div class="postcontainer">
  19. <div class="icon">
  20. <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
  21. <?php custom_field_image() ?>
  22. </div>
  23. </div>
  24.  
  25. <div class="recentpost">
  26. <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
  27. <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
  28. <span class="entry-meta"><?php the_time('F jS, Y, g:ia') ?> <!-- by <?php the_author() ?> --></span>
  29.  
  30.  
  31. <small2><?php the_content_limit(200, "lisez plus") ?></small2>
  32. <span class="entry-meta"><span class="edit-link"><?php edit_post_link('Edit', '', ' '); ?></span></span>
  33.  
  34. </div>
  35.  
  36. </div>
  37. </div>
  38. <div class="hr"><hr /></div>
  39.  
  40.  
  41. <?php endwhile; ?>
  42.  
  43. <div class="navigation">
  44. <div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
  45. <div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
  46. </div>
  47.  
  48. <?php else : ?>
  49.  
  50. <h2 class="center">Not Found</h2>
  51. <p class="center">Sorry, but you are looking for something that isn't here.</p>
  52. <?php get_search_form(); ?>
  53.  
  54. <?php endif; ?>
  55.  
  56. </div>
  57.  
  58. <?php get_sidebar(); ?>
  59.  
  60. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement