Add a filterable portfolio in WordPress very easily with help of Ultimate Blocks plugin. You won't have to go through a lot of complex procedures. Just install and add content toggle block. Then| Ultimate Blocks