function WP_RE_list_properties($atts)
{
    extract(shortcode_atts(array('list_type' => 'sale', 'bar' => 'something else'), $atts));
    $p_list_sidebar = get_option('p_list_sidebar');
    $et_re_adv_flds = get_option('et_re_adv_flds');
    $p_pro_id_display = get_option('p_pro_id_display');
    $paged = get_query_var('paged') ? get_query_var('paged') : 1;
    $pro_args_pag = array('posts_per_page' => -1, 'orderby' => 'post_date', 'order' => 'DESC', 'meta_key' => 'et_er_adtype', 'meta_value' => $list_type, 'post_type' => 'property', 'post_status' => 'publish', 'suppress_filters' => true);
    $pro_list_pag = get_posts($pro_args_pag);
    $pro_args = array('posts_per_page' => get_option('et_re_pp_listing'), 'paged' => $paged, 'orderby' => 'post_date', 'order' => 'DESC', 'meta_key' => 'et_er_adtype', 'meta_value' => $list_type, 'post_type' => 'property', 'post_status' => 'publish', 'suppress_filters' => true);
    $pro_list = get_posts($pro_args);
    #print_r($pro_list);
    $pro_return = '';
    foreach ($pro_list as $propertyQuery) {
        $pro_return .= '<div id="PropertyQuickView">
  <div class="QVImage">';
        $property_imgs = get_property_images_ids(true, $propertyQuery->ID);
        $pro_return .= '<a href="' . get_permalink($propertyQuery->ID) . '" title="' . $propertyQuery->post_title . '"> ' . wp_get_attachment_image($property_imgs['property_image1'], 'thumbnail') . '</a>
</div>
<div class="QVProInfo">
<h2 class="h2typelist"><a href="' . get_permalink($propertyQuery->ID) . '">' . $propertyQuery->post_title . '</a></h2>';
        if ($p_pro_id_display == 1) {
            $pro_return .= translate('Property ID: ', 'wp-real-estate') . $propertyQuery->ID . '<br>';
        }
        if (get_post_meta(get_the_ID(), 'et_er_built_size', true) != '0') {
            $pro_return .= translate('Built Up: ', 'wp-real-estate') . get_post_meta($propertyQuery->ID, 'et_er_built_size', true) . '<br>';
        }
        $pro_return .= translate('For ', 'wp-real-estate') . $list_type . ': ' . ET_RE_Currency . get_post_meta($propertyQuery->ID, 'et_er_price', true) . '<br>';
        if (get_post_meta($propertyQuery->ID, 'et_er_bedroom', true) != 'Not Applicable') {
            $pro_return .= translate('Bedrooms: ', 'wp-real-estate') . get_post_meta($propertyQuery->ID, 'et_er_bedroom', true) . '<br>';
        }
        if (get_post_meta($propertyQuery->ID, 'et_er_bathroom', true) != 'Not Applicable') {
            $pro_return .= translate('Bathrooms: ', 'wp-real-estate') . get_post_meta($propertyQuery->ID, 'et_er_bathroom', true) . '<br>';
        }
        $pro_return .= '<div style="float:left; width:100px; bottom:0px;"><a href="' . get_permalink($propertyQuery->ID) . '"><img src="' . ET_RE_URL . '/images/view_details_button.png" /></a></div>
  </div>
<br style="clear:both;" />
<div class="SpacerDiv"></div>
</div>';
    }
    $big = 999999999;
    // need an unlikely integer
    $totalp = ceil(count($pro_list_pag) / get_option('et_re_pp_listing'));
    $pro_return .= paginate_links(array('base' => str_replace($big, '%#%', esc_url(get_pagenum_link($big))), 'format' => '?paged=%#%', 'current' => max(1, get_query_var('paged')), 'total' => $totalp));
    wp_reset_postdata();
    return $pro_return;
}
function get_multi_property_images_src($small = 'thumbnail', $large = 'full', $thumbnail = false, $id = false)
{
    if ($id) {
        $images = $thumbnail ? get_property_images_ids(true, $id) : get_property_images_ids(false, $id);
    } else {
        $images = $thumbnail ? get_property_images_ids(true) : get_property_images_ids();
    }
    $o = array();
    foreach ($images as $k => $i) {
        $o[$k] = array(wp_get_attachment_image_src($i, $small), wp_get_attachment_image_src($i, $large));
    }
    return $o;
}
<?php

$property_imgs_ids = $property_imgs_ids ? $property_imgs_ids : get_property_images_ids();
$imgUrls = array();
foreach ($property_imgs_ids as $imgId) {
    $url = getIMGUrl($imgId);
    if ($url) {
        array_push($imgUrls, $url);
    }
}
$imgCount = count($imgUrls);
?>
<div class="image-slide-show-container">
  <div class="slide-show terrero-slideshow">
    <div class="carousel flexslider">
      <ul class="slides">          
        <?php 
foreach ($imgUrls as $imgURL) {
    ?>

        <li>            
          <div class="carousel-img" style="background-image: url(<?php 
    echo $imgURL;
    ?>
)"></div>
        </li>
        
        <?php 
}
?>
<?php

// VARIABLES
$address = getMetaAddress();
$listingType = getMetaData('et_er_type');
$paymentType = getMetaData('et_er_adtype');
$secondaryTitle = $listingType . ' for ' . $paymentType;
$rentAmount = getMetaData('et_er_rent_price');
$saleAmount = getMetaData('et_er_price');
$paymentAmount = $paymentType == 'Rent' ? $rentAmount : $saleAmount;
$paymentFrequency = getMetaData('et_er_rent_tenure');
$property_imgs_ids = get_property_images_ids();
?>
<div class="banner-container cf">
  <div class="column">
    <div class='title'>
        <?php 
the_title();
?>
    </div>

    <div>

      <?php 
echo $address;
?>
    </div>
  </div>
  
  <div class="column">