Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'tribe_event_featured_image', 'photoview_feat_img_sizes' );
- function photoview_feat_img_sizes( $html ) {
- if ( ! tribe_is_photo() ) return $html;
- return str_replace( '<img ', '<img width="200" ', $html );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement