| 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 header('Content-Type: application/rss+xml; charset=' . get_option('blog_charset')); ?>
<rss version="2.0">
<channel>
<title><?php bloginfo_rss('name'); ?> - Latest Sports</title>
<link><?php bloginfo_rss('url'); ?></link>
<description><?php bloginfo_rss('description'); ?></description>
<lastBuildDate><?php echo date(DATE_RSS); ?></lastBuildDate>
<language><?php bloginfo_rss('language'); ?></language>
<?php
$args = array(
'post_type' => 'sports', // Post type for Sports
'posts_per_page' => 25, // Show latest 25 posts
'orderby' => 'date', // Order by latest date
'order' => 'DESC', // Descending order
);
$query = new WP_Query($args);
if ($query->have_posts()) :
while ($query->have_posts()) : $query->the_post(); ?>
<item>
<title><?php the_title_rss(); ?></title>
<link><?php the_permalink_rss(); ?></link>
<description><![CDATA[<?php the_excerpt_rss(); ?>]]></description>
<pubDate><?php echo get_the_date(DATE_RSS); ?></pubDate>
<guid><?php the_guid(); ?></guid>
</item>
<?php endwhile; endif; wp_reset_postdata(); ?>
</channel>
</rss>