2024-06-18 16:50:12 +00:00
|
|
|
<?php get_header() ?>
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
<div class="column two-thirds">
|
|
|
|
<h1>Oops, this page doesn't exist.</h1>
|
|
|
|
<p>Check out some of our articles below.</p>
|
|
|
|
<?php
|
|
|
|
$post_section_two_args = array(
|
|
|
|
'showposts' => 10,
|
|
|
|
'offset' => 0,
|
|
|
|
'orderby' => 'post_date',
|
|
|
|
'order' => 'DESC',
|
|
|
|
'post_type' => 'post',
|
|
|
|
'post_status' => 'publish'
|
|
|
|
);
|
|
|
|
query_posts($post_section_two_args);
|
|
|
|
?>
|
|
|
|
<div style="text-align: center;" class="four-o-four-post-grid">
|
|
|
|
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
|
|
|
|
<?php
|
|
|
|
$category = get_the_category()[0];
|
|
|
|
?>
|
|
|
|
<div class="four-o-four-post-grid-card">
|
|
|
|
<a href="<?php the_permalink(); ?>">
|
|
|
|
<img src="<?php the_post_thumbnail_url(); ?>">
|
|
|
|
</a>
|
|
|
|
<a href="<?php echo home_url($category->slug) ?>">
|
|
|
|
<p><?php echo $category->name; ?></p>
|
|
|
|
</a>
|
|
|
|
<a style="text-decoration: none; color: black;" href="<?php the_permalink(); ?>">
|
|
|
|
<h6><?php the_title(); ?></h6>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<?php
|
|
|
|
endwhile;
|
|
|
|
wp_reset_postdata();
|
|
|
|
endif;
|
|
|
|
?>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</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() ?>
|