Thank you, that was what I was looking for!
My working code:
$postArgs = array(
'posts_per_page' => 25,
'post_type' => 'property',
'tax_query' => array(
array(
'taxonomy' => 'property-status',
'field' => 'term_id',
'terms' => '48'
)
)
);
$getListings = get_posts($postArgs);
foreach($getListings as $post) : setup_postdata($post);
?>
<a>" class="deploy-toggle-1"><?=the_title()?></a>
<div class="content"><p><?=the_content()?></p></div>
<?
endforeach;
wp_reset_postdata();