2024-05-29 01:20:50 +00:00
|
|
|
<?php
|
|
|
|
add_action('after_setup_theme', 'slowtwitch_theme_support');
|
|
|
|
|
|
|
|
function slowtwitch_theme_support() {
|
|
|
|
add_theme_support('title-tag');
|
|
|
|
}
|
|
|
|
|
|
|
|
add_action('wp_enqueue_scripts', 'slowtwitch_register_styles');
|
|
|
|
|
|
|
|
function slowtwitch_register_styles() {
|
2024-05-30 14:40:39 +00:00
|
|
|
wp_enqueue_style('slowtwitch-styles', get_template_directory_uri() . '/style.css', array(), wp_get_theme()->get('version'), 'all');
|
|
|
|
//wp_enqueue_style('slowtwitch-skeleton', get_template_directory_uri() . '/assets/css/skeleton.css', array(), '1.0', 'all');
|
|
|
|
//wp_enqueue_style('slowtwitch-normalize', get_template_directory_uri() . '/assets/css/normalize.css', array(), '1.0', 'all');
|
2024-05-29 01:20:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
add_action( 'init', 'slowtwitch_menus' );
|
|
|
|
|
|
|
|
function slowtwitch_menus() {
|
|
|
|
$locations = array(
|
|
|
|
'primary' => 'Primary Menu',
|
|
|
|
'footer' => 'Footer Menu'
|
|
|
|
);
|
|
|
|
|
|
|
|
register_nav_menus($locations);
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|