<?php

function mau_theme_support() {
   add_theme_support('title-tag');
   add_theme_support('post-thumbnails');
   add_theme_support('custom-logo');}

add_action('after_setup_theme', 'mau_theme_support');

function mau_register_menus() {

    $locations = array(
        'primary' => __('Primary Menu', 'mau'),
        'footerprimary' => __('FooterPrimary Menu', 'mau'),
        'footersecondary' => __('FooterSecondary Menu', 'mau'),
    );

    register_nav_menus($locations);
}

add_action('init', 'mau_register_menus');

function mau_register_styles() {
    wp_enqueue_style('mau-css', get_stylesheet_uri(), array(), '1.0.0', 'all');
}

add_action('wp_enqueue_scripts', 'mau_register_styles');

function mau_register_scripts() {
    wp_enqueue_script('mau-script', get_template_directory_uri() . '/script.js', array(), '1.0.0', true);
}

add_action('wp_enqueue_scripts', 'mau_register_scripts');

?>