Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Remove sidebar from pa_brand taxonomy
- function bowerspace_remove_woo_pa_brand_sidebar( $class ) {
- if ( is_tax( 'pa_brand' ) ) {
- $class = 'full-width';
- }
- return $class;
- }
- add_filter( 'wpex_post_layout_class', 'bowerspace_remove_woo_pa_brand_sidebar', 40 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement