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:
23
wp-content/themes/ots-signs/404.php
Normal file
23
wp-content/themes/ots-signs/404.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
/**
|
||||
* 404 Not Found template.
|
||||
*/
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<div class="page-header-light"></div>
|
||||
|
||||
<section class="section" style="text-align:center;min-height:60vh;display:flex;align-items:center;">
|
||||
<div class="container">
|
||||
<div style="font-size:5rem;margin-bottom:1rem;">🔍</div>
|
||||
<h1 style="font-size:clamp(3rem,8vw,6rem);color:var(--color-primary);line-height:1;">404</h1>
|
||||
<h2 style="margin-bottom:1rem;">Page Not Found</h2>
|
||||
<p class="lead" style="margin-bottom:2rem;">The page you're looking for doesn't exist or has been moved.</p>
|
||||
<div class="btn-group" style="justify-content:center;">
|
||||
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="btn btn-primary">Back to Home</a>
|
||||
<a href="<?php echo esc_url( home_url( '/contact' ) ); ?>" class="btn btn-outline">Contact Us</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php get_footer(); ?>
|
||||
Reference in New Issue
Block a user