Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'electro_shop_layout', 'ec_make_search_results_full_width', 20 );
- function ec_make_search_results_full_width( $layout ) {
- if ( is_search() ) {
- $layout = 'full-width';
- }
- return $layout;
- }
Add Comment
Please, Sign In to add comment