Wordpress: Add RSS links to section


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. /**
  2.  * Add RSS links to <head> section
  3.  * http://digwp.com/2010/03/wordpress-functions-php-template-custom-functions/
  4.  *
  5.  **/
  6. if (function_exists('feed_links')) {
  7. feed_links();
  8. } else {
  9. return;
  10. }

URL: http://digwp.com/2010/03/wordpress-functions-php-template-custom-functions/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.