Skip to content

Instantly share code, notes, and snippets.

@cre8tivediva
Last active Jan 16, 2021
Embed
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