Fix option to hide gallery/portfolio posts.