Reply To: exclude category | WP Masonry Layout

Reply To: exclude category

Home Forums Lite Version exclude category Reply To: exclude category

#11773
Anita
Participant

Hi,

I tried to exclude a category by adding a custom query, but it is not working for me. What am I doing wrong? I added this code to the custom query box:

$query->set(‘cat’,’-38′)

where 38 is the category ID. I am using Genesis with Centric Pro child theme.

Thanks for your support!