SHARE
TWEET

Untitled

a guest Aug 5th, 2013 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3.         //// DISPLAY OUR FEATURED IMAGE AT
  4.         $featured_image = getFeaturedImage(get_the_ID());
  5.  
  6. ?>
  7.  
  8. <div id="property-gallery">
  9.  
  10.         <a class="image" href="<?php echo $featured_image[0] ?>" rel="lightbox[gal]" title="<?php the_title(); ?>"><img src="<?php echo ddTimthumb($featured_image[0], 680, 450) ?>" title="<?php the_title(); ?>" alt="<?php the_title(); ?>" /></a>
  11.    
  12.     <div id="property-info">
  13.                                
  14.         <div class="left">
  15.             <?php if(get_post_meta(get_the_ID(), 'bedrooms', true)!='') : ?><span class="beds"><?php echo get_post_meta(get_the_ID(), 'bedrooms', true); ?></span><?php endif; ?>
  16.             <?php if(get_post_meta(get_the_ID(), 'bathrooms', true)!='') : ?><span class="baths"><?php echo get_post_meta(get_the_ID(), 'bathrooms', true); ?></span><?php endif; ?>
  17.             <?php if(get_post_meta(get_the_ID(), 'car_spaces', true)!='') : ?><span class="cars"><?php echo get_post_meta(get_the_ID(), 'car_spaces', true); ?></span><?php endif; ?>
  18.         </div>
  19.         <!-- /.left/ -->
  20.        
  21.         <div class="right">Töötasu: <?php echo format_property_price(get_post_meta(get_the_ID(), 'price', true), get_the_ID()); ?></div>
  22.    
  23.     </div>
  24.     <!-- /#property-info/ -->
  25.  
  26. </div>
  27. <!-- /#property-gallery/ -->
  28.  
  29.  
  30.                
  31. <?php
  32.  
  33.         ///////////////////////////////////////////////////////
  34.         //// GALLERYTHUMBS FOR RESPONSIVE DESIGN
  35.         ///////////////////////////////////////////////////////
  36.        
  37.         get_template_part('includes/properties/single', 'gallery-responsive');
  38.        
  39.         ///////////////////////////////////////////////////////
  40.  
  41. ?>
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