How-to Create a WordPress Custom RSS Feed to Replace the Default RSS Feed

September 17, 2013 | By Regaz | Filed in: Uncategorized.

The Tutorial Shows You Step by Step How-to Create a WordPress Custom RSS Feed to Replace the Default RSS2 Feed.

The Procedure is Especially Good when the WordPress RSS Feed Simply Do Not Work or You Just Want a Different RSS Feed instead of the Default One and So You Urge a WordPress Custom RSS Feed.

The Guide Include all the Commands and Instructions Involved in Creating a WordPress Custom RSS Feed.

The WordPress Custom RSS Feed is a Perfect Solution for WordPress Issues:

  • WordPress Feed 400 Page Not Found
  • WordPress Feed 500

Wordpress Custom RSS Feed - RSS Wave
  1. Access Your Current Template Folder
  2. Create a custom-rss.php File
  3. Inserts:
      return (preg_match('/^(.*)\W.*$/', substr($string, 0, $length+1), $matches) ? $matches[1] : substr($string, 0$
     return $string; 
    $posts = query_posts('showposts='.$numposts);
    $lastpost = $numposts - 1;
    header("Content-Type: application/rss+xml; charset=UTF-8");
    echo '';
 E-mail Update
     The latest blog posts from
     post_date_gmt) ); ?>
     post_date_gmt) ); ?>
      <?php echo get_the_title($post->ID); ?>
      ID); ?>
      post_content, 500).'

    Keep on reading$ post_date_gmt) ); ?> ID); ?>

    Set the “$numposts” Variable to Change the Number of Posts Included in Feed!

  4. Latest Make a New Page
    • The Page Address will be Url of the New RSS Feed
    • Select as Template custom-rss.php
      Wordpress Custom RSS Feed - Set Custom Template

      If Not Page Template Dropdown Issue Look:

      WordPress No Page Template
    • Publish Leaving Empty the Content!
  5. Then the Feed Should be Enabled to the Page URL