Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'woo_portfolio_gallery_exclude', 'woo_custom_portfolio_gallery_slugs', 10 );
- function woo_custom_portfolio_gallery_slugs ( $slugs ) {
- if ( is_page( 'portfolio' ) ) {
- $slugs = 'lakes';
- }
- return $slugs;
- } // End woo_custom_portfolio_gallery_slugs()
Add Comment
Please, Sign In to add comment