thanks, I’ve tried it, but it excluded nothing. I have verified, that I have the right portfolio category IDs, but nothing is excluded.

Maybe the template builder is a reason, because this page, I’m talking here about, is created as a “normal” page with a dynamic template, including some elements, text etc., and a part with a portfolio overview – sortable.

The function itself (the sorting) works fine, but it doesn’t exclude the ID 91 in my case.

I guess, this is not a matter of generally not working, I guess, that I for myself have made a mistake adding the code mentioned above. I’m not very familiar with PHP, but it seems that I have added DUDE’s code on the wrong place or have replaced not the right things. We should first solve this ;-) Thanks.