Hello Gram3000;
Thanks for the code man really helped me. Your code is working fine. I have used it on a product details page where it show all the products under a taxonomy term of the selected product. Now I need to hide the current selected product from the taxonomy term list. The code that you’ve given does not render the current post class so I can’t use css to hide it. Please advice.
Regards
Murtaza Frosh