- 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.
48 lines
1.7 KiB
PHP
48 lines
1.7 KiB
PHP
<!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>
|