Ok, so it turns out that I needed to use the the_excerpt_rss
filter and to modify the code so that it only applies to the R category I just added a is_category("R")
. Below you can find the altered Full Text Feed plugin:
function ff_restore_text ($content) {
if ( is_feed() & is_category("R")) {
global $post, $page, $pages;
if ( !empty($post->post_password) ) { // if there's a password
if ( stripslashes($_COOKIE['wp-postpass_'.COOKIEHASH]) != $post->post_password ) { // and it doesn't match the cookie
$content = get_the_password_form();
return $content;
}
}
if ( $page > count($pages) )
$page = count($pages);
$content = preg_replace('/<!--more(.*?)?-->/', '', $pages[$page-1]);
}
return $content;
}
add_filter('the_excerpt_rss', 'ff_restore_text');