- 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.
35 lines
705 B
PHP
35 lines
705 B
PHP
<?php
|
|
/**
|
|
* Default page template.
|
|
* Used for pages that don't specify a custom template.
|
|
*/
|
|
get_header();
|
|
?>
|
|
|
|
<div class="page-header-light"></div>
|
|
|
|
<section class="page-hero">
|
|
<div class="container">
|
|
<h1><?php the_title(); ?></h1>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="section">
|
|
<div class="container" style="max-width:800px;">
|
|
<?php
|
|
if ( have_posts() ) :
|
|
while ( have_posts() ) :
|
|
the_post();
|
|
?>
|
|
<div class="entry-content">
|
|
<?php the_content(); ?>
|
|
</div>
|
|
<?php
|
|
endwhile;
|
|
endif;
|
|
?>
|
|
</div>
|
|
</section>
|
|
|
|
<?php get_footer(); ?>
|