page template file
This commit is contained in:
parent
a44f339e89
commit
81d022f8e8
45
page.php
Normal file
45
page.php
Normal 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();
|
||||||
|
?>
|
Loading…
Reference in New Issue
Block a user