How do I automatically replace the RSS feed with an Atom feed upon theme change?

[ad_1]

How do I change add_theme_support('automatic-feed-links) to generate Atom feeds instead of RSS?

All wordpress themes use automatic_feed_links inside the functions.php file, to add an RSS feed to the web page in the <head></head> HTML tags. However I don’t like the RSS 2.0 standard and would much rather switch over to using the Atom feeds, as I think it’s a better syndication standard.

So how can I do this so every time I change to a different theme, it’ll automatically replace the RSS feed to an Atom one?

PS. No I don’t wish to add bloginfo('atom_url') manually to every theme I use.

  • This topic was modified 2 hours, 32 minutes ago by desbest.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer