Share Pastebin
Guest
Public paste!

Untitled

By: a guest | May 1st, 2008 | Syntax: None | Size: 2.15 KB | Hits: 22 | Expires: Never
Copy text to clipboard
  1. <code>
  2. < ?php if (have_posts()) : ?>
  3.                 < ?php query_posts("showposts=1"); ?>
  4.  
  5.                 < ?php while (have_posts()) : the_post(); ?>
  6.                                 < ?php do_action('awp_die');?>
  7.  
  8.                         <div class="post" id="post-<?php the_ID(); ?>“>
  9.                        
  10.                 <div class="barre_titre">
  11.  
  12.   <h2 class="post_title"><a href="<?php the_permalink() ?>” rel=”bookmark” title=”Lien permanent vers < ?php the_title_attribute(); ?>“>< ?php the_title(); ?></a></h2>
  13.  
  14.         </div>      
  15.                 <div class="entry">
  16.                                         < ?php the_content('Lire le reste de cet article »'); ?>
  17.                                 </div>
  18.                                 <p class="postmetadata"> <img src="<?php print get_bloginfo('wpurl') ?/>/wp-content/themes/blogsound/images/commentaire.jpg” align=”top” alt=”Commentaire pour < ?php the_title(); ?>“/>< ?php comments_popup_link(' Aucun commentaire', ' 1 commentaire', ' % commentaires', 'comments-link', 'Les commentaires sont fermés'); ?>                
  19.            
  20.                                 < ?php edit_post_link('<img src="http://.../wp-content/themes/blogsound/images/edition.jpg" align="top" /> Edit’, ”, ‘ ‘); ?>
  21.                                
  22.                                 </p>
  23.                         </div>
  24.                 < ?php endwhile; ?>
  25.                
  26.         < ?php query_posts("showposts&offset=1");?>
  27.  
  28.                 < ?php while (have_posts()) : the_post(); ?>
  29.                                 < ?php do_action('awp_live');?>
  30.  
  31.                         <div class="post" id="post-<?php the_ID(); ?>“>
  32.                        
  33.                 <div class="barre_titre">      
  34.   <h2 class="post_title"><a href="<?php the_permalink() ?>” < ?php do_action('awp_title'); ?> rel=”bookmark” title=”Lien permanent vers < ?php the_title_attribute(); ?>“>< ?php the_title(); ?></a></h2>
  35.         </div>      
  36.                 <div class="entry">
  37.                                         < ?php the_content('Lire le reste de cet article »'); ?>
  38.                                 </div>
  39.                                 <p class="postmetadata"> <img src="<?php print get_bloginfo('wpurl') ?/>/wp-content/themes/blogsound/images/commentaire.jpg” align=”top” alt=”Commentaire pour < ?php the_title(); ?>“/>< ?php comments_popup_link(' Aucun commentaire', ' 1 commentaire', ' % commentaires', 'comments-link', 'Les commentaires sont fermés'); ?>                
  40.            
  41.                                 < ?php edit_post_link('<img src="http:/.../wp-content/themes/blogsound/images/edition.jpg" align="top" /> Edit’, ”, ‘ ‘); ?>
  42.                                
  43.                                 </p>
  44.                         </div>
  45.                
  46.                 < ?php endwhile; ?></code>