* @copyright Copyright (C) 2015 wpopal.com. All Rights Reserved. * @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html * * @website http://www.wpopal.com * @support http://www.wpopal.com/questions/ */ if ( ! defined( 'ABSPATH' ) ) { exit; } $query = Opalestate_Query::get_featured_properties_query( [ "posts_per_page" => $num ] ); if ( $query->have_posts() ): echo trim( $before_widget ); //Our variables from the widget settings. $title = apply_filters( 'widget_title', esc_attr( $instance['title'] ) ); if ( $title ) { echo ( $before_title ) . trim( $title ) . $after_title; } ?>
have_posts() ): $query->the_post(); $property = opalesetate_property( get_the_ID() ); $meta = $property->get_meta_shortinfo(); ?>
>
', '' ); ?>
get_price() ); ?> get_sale_price() ): ?> get_sale_price() ); ?> get_price_label() ): ?> get_price_label(); ?>