Home › Forums › Support › How to style the search results page to match other archive layouts? This topic has 3 replies, 2 voices, and was last updated 3 years, 6 months ago by Ying. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts October 14, 2022 at 12:41 pm #2373882 Sasha Hi there, My search results page uses the same content template as my archive pages, but the posts don’t appear in masonry columns as they do on the archives. How can I make the search results page consistent with the archives? Thanks! October 14, 2022 at 3:31 pm #2373967 YingStaff Customer Support Hi Sasha, You can use this snippet to enable columns for search: add_filter( 'generate_blog_columns', function( $columns ) { if ( is_search() ) { return true; } return $columns; } ); And this to add masonry: add_filter( 'generate_blog_masonry','tu_portfolio_masonry' ); function tu_portfolio_masonry( $masonry ) { if ( is_search()) { return 'true'; } return $masonry; } October 15, 2022 at 1:56 am #2374158 Sasha Another flawless solution – thanks Ying! October 16, 2022 at 11:28 am #2375524 YingStaff Customer Support You are welcome 🙂 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