Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I've tried a number of solutions available on the internet, but none seem to work in WP 3.1.1.

Thanks!

share|improve this question

1 Answer

up vote 3 down vote accepted
remove_action('wp_head', 'feed_links', 2); 
add_action('wp_head', 'my_feed_links');

function my_feed_links() {
  if ( !current_theme_supports('automatic-feed-links') ) return;

  // post feed 
  ?>
  <link rel="alternate" type="<?php echo feed_content_type(); ?>" 
        title="<?php printf(__('%1$s %2$s Feed'), get_bloginfo('name'), ' &raquo; '); ?>"
        href="<?php echo get_feed_link(); ?> " />
  <?php 
}
share|improve this answer
works great, thanks! – pereyra Jul 3 '11 at 1:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.