add_filter( 'twentyseventeen_front_page_sections', 'prefix_custom_front_page_sections' ); function prefix_custom_front_page_sections( $num_sections ) { return 1; }