'content', // 'footer' => 'page', // ) ); // Add support for the Featured Content Plugin add_theme_support( 'featured-content', array( 'filter' => 'hueman_get_featured_posts', 'description' => __( 'The featured content section displays on the front page above the first post in the content area.', 'hueman' ), 'max_posts' => 10, ) ); } add_action( 'after_setup_theme', 'hueman_jetpack_setup' ); /** * Featured Posts * * @since Hueman 1.3.6 */ function hueman_has_multiple_featured_posts() { $featured_posts = hueman_get_featured_posts(); return is_array( $featured_posts ) && 1 < count( $featured_posts ); } function hueman_get_featured_posts() { return apply_filters( 'hueman_get_featured_posts', array() ); }