2017-02-11 16:35:20 +01:00
|
|
|
<?php
|
|
|
|
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
|
|
|
|
function theme_enqueue_styles() {
|
|
|
|
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
|
2018-01-09 16:52:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* * A simple function to control the number of Twenty Seventeen Theme Front Page Sections
|
|
|
|
* * Source: wpcolt.com
|
|
|
|
* */
|
|
|
|
|
|
|
|
function wpc_custom_front_sections( $num_sections ) {
|
|
|
|
return 5; //Change this number to change the number of the sections.
|
|
|
|
}
|
|
|
|
add_filter( 'twentyseventeen_front_page_sections', 'wpc_custom_front_sections' );
|