Utiliser le thème tweenty seventeen Page mini - 404 - archive - comments - footer - front-page - functions - header - index - page - README.txt - screenshot.png - search - searchform - sidebar - single - style.css 1. Dans functions.php, ajouter require get_parent_theme_file_path( '/inc/custom-sections.php' ); 2. Créer un fichier /inc/custom-sections.php - ajouter une fonction : function twentyseventeen_onepage_sections( $wp_customize ) { } - appeler la fonction (ne pas oublier l'argument 'customize_register') : add_action( 'customize_register', 'twentyseventeen_onepage_sections' ); 3. Dans le front-page, appelez - get_template_part('index', 'minislide'); 4. Dans le fichier index-minisite.php - utilisez les variables de la manière suivante : $current_options = get_option( 'twentyseventeen_theme_options', array() );