/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?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"; } ?>