slowtwitch-news/page.php

45 lines
1.3 KiB
PHP
Raw Permalink 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
2024-09-11 19:00:24 +00:00
if ( function_exists('the_ad_placement') ) {
the_ad_placement('ads-small-a');
the_ad_placement('ads-small-b');
2024-08-16 15:40:31 +00:00
}
?>
</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
2024-09-11 19:00:24 +00:00
if( function_exists('the_ad_placement') ) {
the_ad_placement('ads-long');
2024-08-16 15:40:31 +00:00
}
?>
</section>
<?php
comments_template();
?>
</section>
</main>
<?php
get_footer();
?>