Best practices for multiple Custom Feeds functions
Here’s what I do to keep my RSS Templates together though depending on your version of PHP this may not work but it’s pretty clean. You can add multiple feeds here. /** Register Our RSS Feeds **/ function my_rss_templates() { add_feed( ‘feedname2’, function(){ get_template_part(‘rss’, ‘feedname2”); }); // Rinse and Repeat… } add_action( ‘after_setup_theme’, ‘my_rss_templates’ ); … Read more