slowtwitch-news/page.php

45 lines
1.2 KiB
PHP
Raw Normal View History

2024-08-16 15:40:31 +00:00
<?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();
?>