Posted By

andrewkhunn on 06/29/09


Tagged

rss feed wordpress author


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

BrianCoyDesign
booski


Display WordPress Author RSS Feed on Author Pages Only


 / Published in: PHP
 

  1. <?php if (is_author()) { ?><?php $author = get_userdata(get_query_var('author')); ?><link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> - <?php echo $author->display_name; ?>" href="<?php bloginfo('url'); ?>/author/<?php echo $author->user_nicename; ?>/feed/" /><?php echo "\n"; } ?>

Report this snippet  

You need to login to post a comment.