"i am using the_content filter on the category pages like cat=1" I am appending --N in the content. But due the the theme functionality it strip the content after some number of characters therefore in post with the less content i can see the "--N" string but with the large content i cant see "--N" string as the "content" is being stripped. I want to append the '--N' string every time.
Is there is any other way to append the content?
Code
function rate_post_content($content) {
if(is_category()){
global $post;
return $content."---N"; // here any test can come
}
return $content;
}
add_filter('the_content', 'rate_post_content');
the_content()
? It appears that it is callingthe_excerpt()
in the screenshot. – Chip Bennett Oct 10 '13 at 12:01