'main', 'footer' => 'page', ) ); add_theme_support( 'jetpack-responsive-videos' ); add_image_size( 'big-brother-logo', 912, 406 ); add_theme_support( 'site-logo', array( 'size' => 'big-brother-logo' ) ); add_theme_support( 'jetpack-content-options', array( 'blog-display' => 'content', 'author-bio' => false, 'post-details' => array( 'stylesheet' => 'big-brother-style', 'date' => '.posted-on', 'categories' => '.entry-categories', 'tags' => '.entry-tags', 'author' => '.byline', ), ) ); } add_action( 'after_setup_theme', 'big_brother_jetpack_setup' ); if ( function_exists( 'jetpack_is_mobile' ) ) { function big_brother_has_footer_widgets() { if ( is_active_sidebar( 'sidebar-1' ) && jetpack_is_mobile( '', true ) ) return true; return false; } add_filter( 'infinite_scroll_has_footer_widgets', 'big_brother_has_footer_widgets' ); } /** * Return early if Site Logo is not available. */ function big_brother_the_site_logo() { if ( ! function_exists( 'jetpack_the_site_logo' ) ) { return; } else { jetpack_the_site_logo(); } }