I want to exclude 2 Portfolio categories (IDs 4 & 23) from a page using the code below but it still displays all categories. Similar code works for 'Posts' but not for 'Port' - can anyone see what I'm doing wrong?

are 4 & 23 IDs of terms in your portcat taxonomy, or the default category taxonomy? category__not_in works only with the default category taxonomy, you need a NOT IN tax query for custom taxonomies.
–
MiloApr 29 '13 at 15:48

So what would I need to add/remove from the above code so it doesn't show IDs 4 and 23 (which are PORTFOLIO categories)?
–
SamApr 30 '13 at 13:01