Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter('body_class', 'full_width_events', 50);
- function full_width_events(array $classes) {
- if (tribe_is_event() and !in_array('full-width', $classes)) $classes[] = 'full-width';
- return $classes;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement