Your address will show here +12 34 56 78

Home Forums WP ESTATE – Real Estate WordPress Theme FORUM Random – Featured Venues Reply To: Random – Featured Venues

#32734

crerem

Hello,

I assume you use the latest listings shortcode for the first page. This shortcode shows the featured listings first.

To change go to libs/shortcodes.php and at line 1103 change

$args = array(
‘post_type’ => $type,
‘post_status’ => ‘publish’,
‘paged’ => 0,
‘posts_per_page’ => $post_number_total,
‘meta_key’ => ‘prop_featured’,
‘orderby’ => ‘meta_value ‘,
‘order’ => ‘DESC’,
‘tax_query’ => array(
$category_array,
$action_array,
$city_array,
$area_array
)

into

$args = array(
‘post_type’ => $type,
‘post_status’ => ‘publish’,
‘paged’ => 0,
‘posts_per_page’ => $post_number_total,
‘orderby’ => ‘rand’,
‘tax_query’ => array(
$category_array,
$action_array,
$city_array,
$area_array
)

Attention – this will change ALL of these shortcode instances.

Come back with a link – would love to see how you turn wpestate into a restauran review site 🙂

Good luck