Home › Forums › Support › Disable columns on specific archive pages This topic has 3 replies, 2 voices, and was last updated 3 years, 5 months ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts October 29, 2020 at 2:41 am #1508942 Fabien Hi, I’ve setup (using the customizer) a 3 columns layout for my blog archive page. Is it possible to disable (using a php function) the columns for specific post types ? Thanks ! October 29, 2020 at 2:42 am #1508945 Fabien (Just to add something, I want to remove columns on my search result page) October 29, 2020 at 2:43 am #1508946 Fabien I’ve found a solution ! add_filter( 'generate_blog_columns','tu_portfolio_columns' ); function tu_portfolio_columns( $columns ) { if ( is_search() ) { return false; } return $columns; } October 29, 2020 at 3:45 am #1509024 DavidStaff Customer Support Glad to hear you found the solution! Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In