if ( is_singular( 'post' ) ) {
add_filter('the_content', 'replace_content');
}
şeklinde çözüm olabilir diye düşünüyorum