Préparer le thème
À présent, pour créer un thème personnalisé, nous allons partir du thème WordPress Twenty Twenty. Pour cela, dupliquez le thème et renommez le dossier « twentytwenty » en « paget », puis activez-le dans l’administration.
Éditez le fichier style.css et changez l’en-tête : style.css
/*
Theme Name: Nathalie Paget
Author: Laurent Dumoulin
Description: Site de Nathalie Paget - Psychologue à Boulogne
Billancourt
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've
learned with others.
*/
Faites une capture d’écran du site en HTML pour remplacer le fichier screenshot.png. screenshot.png
Page Apparence - Thèmes, pour activer le thème