SHARE
TWEET

Untitled

a guest Dec 24th, 2012 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. function postrss($content) {
  3.     if ( is_feed() ) {
  4.         $content .= "\n\n&copy; Markus Sorger 2012\n";
  5.     }
  6. return $content;
  7. }
  8. add_filter('the_excerpt_rss', 'postrss');
  9. add_filter('the_content', 'postrss');
  10. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top