Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Full Width Pages on WooCommerce
- function themeprefix_cpt_layout() {
- if( is_page ( array( 'cart', 'checkout' )) || is_shop() || 'product' == get_post_type() ) {
- return 'full-width-content';
- }
- }
- add_filter( 'genesis_site_layout', 'themeprefix_cpt_layout' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement