slowtwitch-wp-theme/page.php

25 lines
672 B
PHP

<?php get_header() ?>
<div class="container">
<?php
if (have_posts()) {
while (have_posts()) {
the_post();
$post_id = get_the_ID();
?>
<div class="column two-thirds">
<h1 class="article-title"> <?php the_title(); ?> </h1>
<?php
the_content();
}
}
wp_reset_postdata();
?>
</div>
<div class="column one-third">
<img class="article-sidebar-ad" src="/wp-content/themes/slowtwitch-wp/assets/images/vertical-ad-mock.jpg" alt="">
<?php dynamic_sidebar('slowtwitch-front-page'); ?>
</div>
</div>
<?php get_footer() ?>