31 lines
1.0 KiB
PHP
Executable File
31 lines
1.0 KiB
PHP
Executable File
<?php
|
|
// Copyright 2026 Umbra Tools (umbratools.com)
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
/**
|
|
* BDMurphy-Bookshelf functions and definitions
|
|
*/
|
|
|
|
function bdmurphy_bookshelf_scripts() {
|
|
wp_enqueue_style( 'bdmurphy-bookshelf-style', get_template_directory_uri() . '/style.css', array(), '1.0.0' );
|
|
wp_enqueue_script( 'bdmurphy-bookshelf-app', get_template_directory_uri() . '/app.js', array(), '1.0.0', true );
|
|
}
|
|
add_action( 'wp_enqueue_scripts', 'bdmurphy_bookshelf_scripts' );
|
|
|
|
function bdmurphy_theme_setup() {
|
|
add_theme_support( 'custom-logo', array(
|
|
'height' => 250,
|
|
'width' => 250,
|
|
'flex-height' => true,
|
|
'flex-width' => true,
|
|
) );
|
|
add_theme_support( 'custom-header', array(
|
|
'default-image' => get_template_directory_uri() . '/assets/images/ReadingThroughTimeBanner_1538x250.png',
|
|
'width' => 1538,
|
|
'height' => 250,
|
|
'flex-height' => true,
|
|
'flex-width' => true,
|
|
) );
|
|
}
|
|
add_action( 'after_setup_theme', 'bdmurphy_theme_setup' );
|