commit d94c985d0eaf1085b6475884c1c8b6d78d5f3fb7 Author: Bruno 21 Date: Tue Apr 21 13:42:20 2020 +0200 1er commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e43b0f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store diff --git a/footer-without-widgets.php b/footer-without-widgets.php new file mode 100644 index 0000000..9c9b6e8 --- /dev/null +++ b/footer-without-widgets.php @@ -0,0 +1,30 @@ + + + + + + + + +
+ +
+ + + + + + diff --git a/functions.php b/functions.php new file mode 100644 index 0000000..14ef09a --- /dev/null +++ b/functions.php @@ -0,0 +1,34 @@ +get('Version') + ); + +} +add_action( 'wp_enqueue_scripts', 'yuzu_styles'); + +// Modifier le seuil à 3200px: +add_filter( 'big_image_size_threshold', 'modify_big_image_size_threshold', 10, 4 ); +function modify_big_image_size_threshold( $threshold, $imagesize, $file, $attachment_id ) { + return 4096; +} + +// Désactiver complètement le seuil maximum: +//add_filter( 'big_image_size_threshold', '__return_false' ); + +// Infos sur les tailles d’images actives: +//add_action( 'admin_init', 'theme_additional_images' ); +function theme_additional_images() { + global $_wp_additional_image_sizes; + echo '
' . print_r($_wp_additional_image_sizes) . '
'; +} + +?> \ No newline at end of file diff --git a/header.php b/header.php new file mode 100644 index 0000000..a1ed65d --- /dev/null +++ b/header.php @@ -0,0 +1,122 @@ + section and everything up until
+ * + * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials + * + * @package Yuzu + */ + +?> + +> + + + + + + + + + + + +> +
+ + +
+
+ +
+
+ + + +
+ +
+
+
+
+
+ +
diff --git a/page-templates/contact-page.php b/page-templates/contact-page.php new file mode 100644 index 0000000..922412f --- /dev/null +++ b/page-templates/contact-page.php @@ -0,0 +1,46 @@ + + +
+
+ + +
+ + + +
+ +
+ + +
+ +
+ +
+ +
+
+ + + +
+
+ +
> + +
+
+ + + +
+

+ + + + + +
+ + + + + +
+ + + + + + +
+ + + + + + + +
+ +
+ + + + +
+ +
+
+ +
+ +
+
+ +