<?php
function ah_postrss($content) {
if(is_feed()){
$content = 'Dieser Artikel wurde von Andreas Hecht verfasst '.$content.'Schau dir DrWeb.de an';
}
return $content;
}
add_filter('the_excerpt_rss', 'ah_postrss');
add_filter('the_content', 'ah_postrss');
This feature can be used well to display advertisement or custom messages in the feed after every article.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.