page template file

This commit is contained in:
Ross Trottier 2024-08-16 09:40:31 -06:00
parent a44f339e89
commit 81d022f8e8

45
page.php Normal file
View File

@ -0,0 +1,45 @@
<?php get_header() ?>
<div class="st-article-section-topper"></div>
<main class="st-main-grid">
<section class="st-article-section-grid st-article-section-grid__article-page">
<article class="st-article">
<?php
if (have_posts()) {
while (have_posts()) {
the_post();
$post_id = get_the_ID();
?>
<h1 class="st-article__title"> <?php the_title(); ?> </h1>
<?php the_content(); ?>
<?php
}
} ?>
</article>
<section class="st-ad-section st-ad-section__article-page">
<?php
if (function_exists('the_ad_group')) {
the_ad_group(147);
the_ad_group(148);
}
?>
</section>
</section>
<section class="st-article-section-grid st-article-section-grid__article-page">
<section class="st-ad-section-long-post-end st-article">
<?php
if (function_exists('the_ad_group')) {
the_ad_group(149);
}
?>
</section>
<?php
comments_template();
?>
</section>
</main>
<?php
get_footer();
?>