SHARE
TWEET

Untitled

a guest Dec 23rd, 2012 15 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function postrss($content) {
  2.     if ( is_feed() ) {
  3.         $content .= "\n\n© Markus Sorger 2012\n";
  4.     }
  5. return $content;
  6. }
  7. add_filter('the_excerpt_rss', 'postrss');
  8. add_filter('the_content', 'postrss');
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top