proposed theme patch to have more content on the homepage
Is there a way I could add a short code in wp-content>themes>twentyseventeen>functions.php? Which would allow more content on the home page.
/**
* A simple function to control the number of Twenty Seventeen Theme Front Page Sections
*/
function wpc_custom_front_sections( $num_sections )
{
return 20; //Change this number to change the number of the sections.
}
add_filter( 'twentyseventeen_front_page_sections', 'wpc_custom_front_sections' );