Skip to content

Instantly share code, notes, and snippets.

Last active January 16, 2021 18:40
What would you like to do?
Force full width layout on search resuls page
//* Force Full Width Layout on Search Results Pages
function c8d_posts_full_layout() {
if( is_search () ){
return 'full-width-content';
add_filter( 'genesis_site_layout', 'c8d_posts_full_layout' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment