diff --git a/functions.php b/functions.php index 17e07a1..7deaa16 100644 --- a/functions.php +++ b/functions.php @@ -1,82 +1,82 @@ is_main_query() ) { /** * Display all the Speakers in one single page * * See https://gitpull.it/T162 * See https://gitpull.it/T178 */ if ( is_tax( 'membertype' ) ) { $query->set( 'nopaging', true ); /** * Increase Podcasts per page * * See https://gitpull.it/T160 * See https://gitpull.it/T178 * */ } elseif( is_post_type_archive( 'podcast' ) || is_tax( 'podcastfilter' ) ) { $query->set( 'posts_per_archive_page', 16 ); } } } ); // Allow SVG upload in Border Radio website // https://gitpull.it/T591 add_filter( 'upload_mimes', function( $mimes ) { $mimes['svg'] = 'image/svg+xml'; return $mimes; } );