SHARE
TWEET

search.php mistreci

a guest Sep 16th, 2019 99 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php get_header(); ?>
  2.  
  3.     <!-- Content Starts -->
  4.     <div class="content archive">
  5.  
  6.         <div id="single-post" class="fl">
  7.  
  8.             <?php if (have_posts()) : $count = 0; ?>
  9.                 <h2 class="arh"><?php _e('Search results', 'woothemes' ) ?></h2>
  10.             <?php while (have_posts()) : the_post(); $count++; ?>
  11.  
  12.                 <!-- Post Starts -->
  13.                 <div class="box-bg">
  14.                 <div class="single-post post box">
  15.  
  16.                     <h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
  17.                    
  18.                     <div style="text-align: center;" >
  19.                         <a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"> <?php woo_get_image('image',220,330,null,100,null,'img'); ?> </a>
  20.                     </div>
  21.                     <p class="post-details"><?php _e('Posted on', 'woothemes' ); ?> <?php the_time( get_option( 'date_format' ) ); ?> <?php _e('by', 'woothemes' ); ?> <?php the_author_posts_link(); ?> <?php _e('in', 'woothemes' ); ?> <?php the_category(', ') ?></p>
  22.  
  23.                     <?php the_excerpt(); ?>
  24.                     <?php the_tags('<p class="tags">Tags: ', ', ', '</p>'); ?>
  25.  
  26.                 </div>
  27.                 </div>
  28.                 <!-- Post Ends -->
  29.  
  30.                 <?php endwhile; else: ?>
  31.                     <p><?php _e('Sorry, no posts matched your criteria.', 'woothemes' ) ?></p>
  32.                 <?php endif; ?>
  33.  
  34.                 <div class="more_entries">
  35.                     <?php if (function_exists('wp_pagenavi')) wp_pagenavi(); else { ?>
  36.                     <div class="alignleft bg"><?php previous_posts_link(__('&laquo; Newer Entries ', 'woothemes' )) ?></div>
  37.                     <div class="alignright bg"><?php next_posts_link(__(' Older Entries &raquo;', 'woothemes' )) ?></div>
  38.                     <br class="fix" />
  39.                     <?php } ?>
  40.                 </div>
  41.                 <div class="fix"></div>
  42.  
  43.         </div><!-- .col-left ends -->
  44.  
  45.         <?php get_sidebar(); ?>
  46.          <div class="fix"></div>
  47.     </div><!-- Content Ends -->
  48.  
  49. <?php get_footer(); ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top