Quick and Easy Way to Add Feed Links to Themes in WordPress 3.0

Attention theme developers: In case you missed this little change, WordPress 3.0 makes it extremely easy to add feed links to your theme. Previously, the process involved adding a long tag to your header file. Now all you have to do is add this to your theme’s functions.php file:

{code type=php}
add_theme_support( ‘automatic-feed-links’ );
{/code}

Much cleaner way to add feed links, isn’t it? Make sure to remove the old ones from your header when updating your theme.