کدش به این صورته
<div class="new-posts clearfix">
<div class="title-main clearfix"><h3><?php _e('محصولات تخفیف خورده'); ?></h3>
</div>
<div class="swiper-container swiper33">
<div class="swiper-wrapper">
<?php
$arms = array(
'post_type' => 'product',
'posts_per_page' => '12',
'offset' => 0,
'order' => 'DESC',
'post_status' => 'publish',
'meta_query' => array(
'relation' => 'OR',
array( // Simple products type
'key' => '_sale_price',
'value' => 0,
'compare' => '>',
'type' => 'numeric'
),
array( // Vari