Add custom page templates for Home, Contact, and Services

- Created a new Contact Page template with a contact form and information section.
- Developed a Home Page template featuring a hero section, core capabilities, and pricing details.
- Introduced a Services Page template outlining core services and industry solutions.
- Added a default page template for standard pages without a custom template.
- Implemented a single post template for displaying individual blog posts.
- Created a style.css file for theme metadata and styling.
This commit is contained in:
Matt Batchelder
2026-02-19 09:10:01 -05:00
commit 9fddd43a2c
21 changed files with 2959 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="profile" href="https://gmpg.org/xfn/11">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<header class="site-header" id="site-header">
<div class="container header-inner">
<div class="site-logo" style="max-height:40px;overflow:hidden;">
<?php if ( has_custom_logo() ) : ?>
<div class="logo-constraint" style="display:flex;align-items:center;max-height:40px;max-width:180px;overflow:hidden;">
<?php the_custom_logo(); ?>
</div>
<?php else : ?>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" aria-label="OTS Signs Home">
<span class="logo-text">OTS <strong>Signs</strong></span>
</a>
<?php endif; ?>
</div>
<nav class="site-nav" id="site-nav" aria-label="Primary navigation">
<?php
wp_nav_menu( [
'theme_location' => 'primary',
'menu_class' => 'nav-menu',
'container' => false,
'fallback_cb' => 'ots_fallback_menu',
] );
?>
</nav>
<div class="header-cta">
<a href="<?php echo esc_url( home_url( '/contact' ) ); ?>" class="btn btn-primary btn-sm">Get in Touch</a>
</div>
<button class="nav-toggle" id="nav-toggle" aria-label="Toggle navigation" aria-expanded="false">
<span></span><span></span><span></span>
</button>
</div>
</header>