@ruenel that was not what I asked.
I’m just wondering how I could target the different speakers in a categorized and filterable portfolio (of regular pages instead of portfolio pages) made with The Grid?
EDIT (for people with the same question)
I found a better solution than trying to custom change the portfolio. I now use CPT UI plugin to assign different categories to REGULAR pro pages, so that they can be part of a filterable portfolio made with the grid.
CUSTOM CODE TO REMOVE SIDEBAR ON THESE PAGES WHILE STILL KEEPING IT GLOBAL ON BLOG:
funtions.php
if ( is_singular(‘your-custom-posttype’) ) {
$layout = 'full-width';
}