Add status to properties search form
<p><label><?php _e( 'Status', 'rc_repl' ); ?>:</label>
<?php
$property_status = 'rc_repl_status';
$status_selected = isset($_POST['rc_repl_status']) ? $_POST['rc_repl_status'] : '';
wp_dropdown_categories( array(
'show_option_all' => __( 'Any', 'rc_repl'),
'taxonomy' => $property_status,
'name' => $property_status,
'orderby' => 'name',
'show_count' => true,
'hide_empty' => false,
'selected' => $status_selected,
)
);
?>
</p>