commit 5c8561558d9333ee00b4424faee9076b7ac23518 Author: Ross Trottier Date: Thu Jun 20 09:33:25 2024 -0600 create initial theme diff --git a/functions.php b/functions.php new file mode 100644 index 0000000..99ab825 --- /dev/null +++ b/functions.php @@ -0,0 +1,33 @@ +get('version'), 'all'); +} + +// set up menu areas + +add_action( 'init', 'slowtwitch_menus' ); + +function slowtwitch_menus() { + $locations = array( + 'primary' => 'Primary Menu', + 'footer' => 'Footer Menu' + ); + + register_nav_menus($locations); +} + +add_action( 'widgets_init', 'my_widgets_init' ); + +function my_widgets_init() { + + register_sidebar( array( + 'id' => 'slowtwitch-front-page', + 'name' => 'Widgets for Front Page', + ) ); + +} diff --git a/style.css b/style.css new file mode 100644 index 0000000..f9b154a --- /dev/null +++ b/style.css @@ -0,0 +1,6 @@ +/* + Theme Name: Slowtwitch News Theme + Text Domain: Slowtwitch + Version: 1.0.0 + Author: Ross Trottier +*/ \ No newline at end of file