By default, a non logged user can contact any listing owner. If you want to force users to be logged in before contact property owner you need to do this change.

After 2.6 theme update

In wprentals/js/property.js you must add the below code


if( property_vars.logged_in==="yes" ){
jQuery('#contact_owner_modal').modal();
enable_actions_modal_contact();
}else{
login_modal_type=2;
$('#topbarlogin').trigger('click');
}