'main', 'footer' => 'page', ) ); /** * Add theme support for Responsive Videos. */ add_theme_support( 'jetpack-responsive-videos' ); } add_action( 'after_setup_theme', 'bulan_jetpack_setup' ); /** * Relocate share buttons, but need to remove it first. * * @since 1.0.0 */ function bulan_remove_sharedaddy() { remove_filter( 'the_content', 'sharing_display', 19 ); remove_filter( 'the_excerpt', 'sharing_display', 19 ); if ( class_exists( 'Jetpack_Likes' ) ) { remove_filter( 'the_content', array( Jetpack_Likes::init(), 'post_likes' ), 30, 1 ); } } add_action( 'loop_start', 'bulan_remove_sharedaddy' );