Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function postrss($content) {
- if ( is_feed() ) {
- $content .= "\n\n© Markus Sorger 2012\n";
- }
- return $content;
- }
- add_filter('the_excerpt_rss', 'postrss');
- add_filter('the_content', 'postrss');
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement