Advertisement
Guest User

search.php

a guest
Apr 2nd, 2012
32
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php get_header(); ?>
  2. <div id="white">
  3.   <div id="content">
  4.     <div class="post">
  5.       <div class="title">
  6.     <h2>Wyniki wyszukiwania</h2>
  7.   </div>
  8.   <?php if (have_posts()) : ?>
  9.              
  10.     <?php while (have_posts()) : the_post(); ?>
  11.     <div class="post-content" id="post-<?php the_ID(); ?>">
  12.    
  13.           <h3><a href="<?php the_permalink() ?>" rel="bookmark" title="Sta&#322y link do <?php the_title(); ?>"><?php the_title(); ?></a></h3>
  14.           <?php the_excerpt(); ?>
  15.     </div>
  16.     <?php endwhile; ?>
  17.    
  18.     <div class="navigation">
  19.       <span class="previous-entries"><?php next_posts_link('Poprzednie wpisy') ?></span> <span class="next-entries"><?php previous_posts_link('Kolejne Wpisy') ?></span>
  20.     </div>
  21.    
  22.   <?php else : ?>
  23.     <h3>Niestety, nic nie znaleziono.</h3>
  24.     <?php endif; ?>
  25.     </div><!--/content -->
  26.            
  27.   </div><!--/content -->
  28.  
  29. <?php get_sidebar(); ?>
  30.  
  31. <?php get_footer(); ?>
Advertisement
RAW Paste Data Copied
Advertisement