Results 1 to 1 of 1
-
9th Jan 2012, 04:14 PM #1OPMemberWebsite's:
gaaks.comMore tag in RSS feed for WordPress
Recently, i noticed that my RSS feeds were leeched by many sites, an ip ban would have been enough but not for feedburner.
Here is another solution to keep your links safe with wordpress:
Add these lines in your functions.php file (in /wp-content/themes/yourtheme/functions.php) :
PHP Code:function mytheme_content_feed($feed_type = null) {
if ( !$feed_type )
$feed_type = get_default_feed();
global $more;
$more_restore = $more;
$more = 0;
$content = apply_filters('the_content', get_the_content('Read more on yoursite.com'));
$more = $more_restore;
$content = str_replace(']]>', ']]>', $content);
return $content;
}
add_filter('the_content_feed', 'mytheme_content_feed');
Source: http://wordpress.org/support/topic/r...e-the-more-tagMelder Reviewed by Melder on . More tag in RSS feed for WordPress Recently, i noticed that my RSS feeds were leeched by many sites, an ip ban would have been enough but not for feedburner. Here is another solution to keep your links safe with wordpress: Add these lines in your functions.php file (in /wp-content/themes/yourtheme/functions.php) : function mytheme_content_feed($feed_type = null) { if ( !$feed_type ) $feed_type = get_default_feed(); Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Need RSS Feed Help
By antthenait in forum Webmasters, Money MakingReplies: 4Last Post: 8th Jan 2012, 07:07 AM -
Wordpress Feed Question
By inject0r in forum WordpressReplies: 2Last Post: 23rd Dec 2011, 05:07 PM -
RSS Feed problem in Wordpress
By Ashleyuk1984 in forum Technical Help Desk SupportReplies: 2Last Post: 11th Oct 2011, 12:20 AM -
Rss Feed Url
By sportyguy83pk in forum WordpressReplies: 3Last Post: 13th Sep 2011, 08:28 AM -
wordpress feed problem
By koullis in forum Technical Help Desk SupportReplies: 1Last Post: 19th Mar 2011, 07:24 AM
themaPoster - post to forums and...
Version 5.11 released. Open older version (or...