Home › Forums › Support › Removing Default Column Posts from Category This topic has 5 replies, 2 voices, and was last updated 2 years, 4 months ago by David. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts October 20, 2022 at 6:39 am #2379960 Mihail Hello, I am struggling to remove the 3 columns and the default category posts from a specific category page. I just want the Block – Page Hero element I created to appear on the specific category page. I posted the URL of the category below. How do I do this? Any help will be appreciated, Mihail. October 20, 2022 at 6:58 am #2379984 DavidStaff Customer Support Hi there, try adding this PHP Snippet to your site: add_filter( 'generate_has_default_loop', function($loop){ if ( is_category( 'no-surgery' ) ) { $loop = false; } return $loop; } ); Make sure the the no-surgery is the correct category slug. October 20, 2022 at 8:13 am #2380177 Mihail Hello David, thank you for the reply. I added the PHP Snippet to my site, and it successfully removed the columns. However, it removed the 3 columns and the default category posts from all of my category pages, not just the category with no-surgery slug. What should I do next to correct this? Thank you, Mihail. October 20, 2022 at 8:20 am #2380184 DavidStaff Customer Support Doh! – i updated the code above to fix a stupid error… October 20, 2022 at 8:31 am #2380195 Mihail Thank you David for the fast reply. This corrected the issue. Thanks a lot. October 20, 2022 at 8:35 am #2380199 DavidStaff Customer Support Awesome – glad to be of help! Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In