The Tutorial Show Step by Step How-to Create a WordPress Custom RSS Feed with Imaget to Replace the Default RSS2 Feed with.
The Procedure is Especially Good when the Default RSS Feed 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 Instuctions Involved in Creating a WordPress Custom RSS Feed.

- Access Your Current Template Folder
- Create a custom-feed.php File
- Inserts:
$length) return (preg_match('/^(.*)\W.*$/', substr($string, 0, $length+1), $matches) ? $matches[1] : substr($string, 0, $length)) . $replacer; return $string; } function catch_that_image() { global $post, $posts; $first_img = ''; ob_start(); ob_end_clean(); $output = preg_match_all('/
/i', $post->post_content, $matches); $first_img = $matches[1][0]; return $first_img; } $posts = query_posts('showposts='.$numposts); $lastpost = $numposts - 1; header("Content-Type: application/rss+xml; charset=UTF-8"); echo ''; ?> mydomain.com E-mail Update http://tutorialforlinux.com/The latest blog posts from mydomain.com. en-us post_date_gmt) ); ?> post_date_gmt) ); ?> dan.gax@gmx.fr - //Entry modified Adding CDATA... And Now Working!! ;):)
ID).']]>'; ?> ID); ?>post_title.' - mydomain.com" height=328px />
'.yoast_rss_text_limit($post->post_content, 500).'
Keep on reading: '.get_the_title($post->ID).''.']]>'; ?>post_date_gmt) ); ?> ID); ?> Replace mydomain.com with Your Domain!
Set the “$numposts” Variable to Change the Number of Posts Included in Feed!Thanks to: yoast.com & tutorialforlinux.com
- //Entry modified Adding CDATA... And Now Working!! ;):)
-
Last Make a New Page
- The Page Address will be Url of the New RSS Feed
- Select as Template custom-rss.php
- Leave Empty the Content!
- Publish the Page!
-
Then Your Barely New Feed is Accessible at:
http://mydomain.com/mypage/
http://tutorialforlinux.com/rssfeed/