I have some custom codes which convert ” | ” into <br /> tags in titles
I found out when I enabled this plugin, if the character just before or after
| ” is a Chinese punctuation mark. My codes won’t work.
Any idea and solutions? Thanks a lot~~
function line_break_for_posts_filter($title){
return str_replace(' | ', '<br />', $title);
}
add_filter('the_title', 'line_break_for_posts_filter');
]]>
Just here to say a big THANK YOU!
]]>