Files
OTSSigns-Website/wp-content/themes/ots-signs/single.php
Matt Batchelder 9fddd43a2c 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.
2026-02-19 09:10:01 -05:00

38 lines
1002 B
PHP

<?php
/**
* Single post template.
*/
get_header();
?>
<div class="page-header-light"></div>
<section class="page-hero">
<div class="container">
<h1><?php the_title(); ?></h1>
<p class="lead" style="color:rgba(255,255,255,.6);"><?php echo get_the_date(); ?></p>
</div>
</section>
<section class="section">
<div class="container" style="max-width:800px;">
<article>
<div class="entry-content" style="line-height:1.8;color:var(--color-text-muted);">
<?php
if ( have_posts() ) :
while ( have_posts() ) :
the_post();
the_content();
endwhile;
endif;
?>
</div>
</article>
<div style="margin-top:3rem;">
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="btn btn-outline">&larr; Back to Home</a>
</div>
</div>
</section>
<?php get_footer(); ?>