first commit

This commit is contained in:
root
2025-08-16 20:29:04 -04:00
commit 737e558e3f
8 changed files with 796 additions and 0 deletions

28
functions.php Normal file
View File

@@ -0,0 +1,28 @@
<?php
function my_awesome_theme_scripts() {
// Enqueue the main stylesheet.
wp_enqueue_style(
'my-awesome-theme-style', // A unique handle for the stylesheet
get_stylesheet_uri() // Gets the path to the style.css file
);
}
add_action( 'wp_enqueue_scripts', 'my_awesome_theme_scripts' );
function my_awesome_theme_setup() {
// Add support for Featured Images (Post Thumbnails)
add_theme_support( 'post-thumbnails' );
// Add support for a custom logo
add_theme_support( 'custom-logo' );
// Let WordPress manage the document title
add_theme_support( 'title-tag' );
// Register a navigation menu
register_nav_menus( array(
'primary_menu' => __( 'Primary Menu', 'my-awesome-theme' ),
) );
}
add_action( 'after_setup_theme', 'my_awesome_theme_setup' );