| Server IP : 198.244.165.102 / Your IP : 216.73.216.218 [ Web Server : nginx/1.24.0 System : Linux modovh-ub-01 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : colleary ( 1011) PHP Version : 8.3.23 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/midwest/public_html/wp-content/themes/midwest-vue-shell/ |
Upload File : |
<?php
/*
Template Name: Single Sports Template
*/
get_header();
?>
<?php get_template_part('template-parts/content', 'google-ads-top'); ?>
<section class="mid-content-wrap">
<div class="container">
<div class="row">
<div class="col-md-9 mid-pad-ziro">
<!-- Single Sports Content -->
<div class="mid-home-slider-wrap mid-inner-news">
<div class="mid-home-slider-inner">
<div class="row">
<div class="col-md-12">
<div class="mid-inner-content-wrap">
<?php
if (have_posts()) :
while (have_posts()) : the_post(); ?>
<h1><?php the_title(); ?></h1>
<p><span><b><?php echo get_the_date('M j, Y'); ?> | <?php echo get_the_time('g:i a'); ?></b></span></p>
<?php if (has_post_thumbnail()) : ?>
<?php the_post_thumbnail('full', ['class' => 'img-fluid']); // No link around the image ?>
<?php endif; ?>
<div class="post_content_wrap">
<?php
$content = get_the_content(); // Get the raw post content.
$content = preg_replace('/style="[^"]*"/', '', $content); // Remove inline styles.
echo apply_filters('the_content', $content); // Apply WordPress content filters.
?>
</div>
<?php endwhile;
endif; ?>
</div>
</div>
</div>
</div>
</div>
<!-- End of Single Sports Content -->
</div>
<div class="col-md-3 mid-pad--right-ziro">
<div class="mid-home-sidebar-wrap">
<?php get_template_part('template-parts/content', 'google-ads-right'); ?>
<div class="mid-fb-feed mid-news-side-fb-feed">
<img src="images/facebook-feed.jpg" alt="" class="img-fluid">
</div>
</div>
</div>
</div>
</div>
</section>
<?php get_template_part('template-parts/content', 'google-ads-bottom'); ?>
<?php get_footer('inner'); ?>