Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //// DISPLAY OUR FEATURED IMAGE AT
- $featured_image = getFeaturedImage(get_the_ID());
- ?>
- <div id="property-gallery">
- <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>
- <div id="property-info">
- <div class="left">
- <?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; ?>
- <?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; ?>
- <?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; ?>
- </div>
- <!-- /.left/ -->
- <div class="right">Töötasu: <?php echo format_property_price(get_post_meta(get_the_ID(), 'price', true), get_the_ID()); ?></div>
- </div>
- <!-- /#property-info/ -->
- </div>
- <!-- /#property-gallery/ -->
- <?php
- ///////////////////////////////////////////////////////
- //// GALLERYTHUMBS FOR RESPONSIVE DESIGN
- ///////////////////////////////////////////////////////
- get_template_part('includes/properties/single', 'gallery-responsive');
- ///////////////////////////////////////////////////////
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement