select DISTINCT product.ID,product.post_title,product.type_id
from wp_terms as terms
left join wp_term_relationships as term_rel
on terms.term_id = term_rel.term_taxonomy_id and terms.term_id in (123,120,125)
left join wp_posts as product
on product.ID = term_rel.object_id
where product.post_type = 'product' and product.post_status = 'publish' and ID <> 4219
order by FIELD(terms.term_id,123,120,125)
limit 0,10
قالب اینستاگرام لایه باز 1 فایل PSD | با موضوع شب یلدا – فروشگاه لباس
با خرید اشتراک ادمین کمک ، 90% در هزینه های خود صرفه جویی کنید