Skip to content

Instantly share code, notes, and snippets.

@webdev1001
Forked from lmartins/woocommerce.php
Last active August 29, 2015 14:11
Show Gist options
  • Save webdev1001/a0db7350f454ceeff67e to your computer and use it in GitHub Desktop.
Save webdev1001/a0db7350f454ceeff67e to your computer and use it in GitHub Desktop.
add_action( 'genesis_meta', 'mw_force_woo_pages_layout' );
function mw_force_woo_pages_layout() {
if ( is_woocommerce() ) {
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment