Пример #1
0
 * Settings passed via shortcode:
 * $properties: either array of properties or false
 * $show_children: default true
 * $thumbnail_size: slug of thumbnail to use for overview page
 * $thumbnail_sizes: array of image dimensions for the thumbnail_size type
 * $fancybox_preview: default loaded from configuration
 * $child_properties_title: default "Floor plans at location:"
 *
 *
 *
 * @version 1.4
 * @author Andy Potanin <*****@*****.**>
 * @package WP-Property
*/
if (have_properties()) {
    $thumbnail_dimentions = WPP_F::get_image_dimensions($wpp_query['thumbnail_size']);
    ?>
 <div class="<?php 
    wpp_css('property_overview::row_view', "wpp_row_view wpp_property_view_result");
    ?>
">
  <div class="<?php 
    wpp_css('property_overview::all_properties', "all-properties");
    ?>
">
  <?php 
    foreach (returned_properties('load_gallery=false') as $property) {
        ?>

    <div class="<?php 
        wpp_css('property_overview::property_div', "property_div {$property['post_type']} clearfix");