How to display latest products, but excluding a specific category?

Guys with that I get the latest products added:

[recent_products]

With that I can in a certain category:

Read More
[product_category category = "book"]

QUESTION:

How do I get the product “recent_products” excluding a certain category, the one above for example.

I tried it and not getting results:

[recent_products per_page="10" category="book" operator="NOT IN"]

Related posts

1 comment

  1. You can use query_posts. And also refer this link.
    query_posts( 'cat=-3' ); This will category id 3

Comments are closed.