slowtwitch-wp-theme/page.php

25 lines
696 B
PHP
Raw Normal View History

2024-06-18 16:50:12 +00:00
<?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>
2024-06-04 21:37:08 +00:00
<?php get_footer() ?>