Quotation Marks
-
First of all: I Love your plugin. I had no mistakes until now. Although I am not even sure whether its the fault of your plugin.
Nevertheless: After some magic all my quotation marks in wordpress were wrong. I am using the German quotation marks –> These: ?Planet Earth“ (down at the beginning and above at the end). Suddenly the quotation marks changed. So I forced my quotation marks to the ones the Germans use, with this function:
add_filter( ‘the_content’ , ‘themename_special_replacements’ , 12);
add_filter( ‘the_title’, ‘themename_special_replacements’, 12 );
add_filter( ‘the_title_rss’, ‘themename_special_replacements’, 12 );
add_filter( ‘the_content_feed’, ‘themename_special_replacements’, 12 );
function themename_special_replacements( $text ) {
$text = str_replace( ‘“’ , ‘„’ , $text );
$text = str_replace( ‘”’ , ‘“’ , $text );
$text = str_replace( ‘‘’ , ‘‚’ , $text );
$text = str_replace( ‘’’ , ‘‘’ , $text );
return $text;
}That worked pretty good. But not for CRP. Now all quotation marks look likes this:
?Planet Earth?. I just don’t know how I can solve that. In the function.php everything looks all right. I probably forget to add the right filter. But which one? Hope you can help me. Go on with your good work!
- The topic ‘Quotation Marks’ is closed to new replies.