I would like to add a line break in the category Name with " | "
For example, in the Picture that I attached.
The category name is : North American Red Sea Cucumber 北美红参
I want it looks like this: North American Red Sea Cucumber
北美红参
The First line is English and the second line is the translate.
I know it's possible to do a character replacement so that a "|" in the backend becomes a line break
. But I don't know how.
How can I do that?
I found a useful answer here: Add a line break in Woocommerce Product Titles
Thanks.
', $Name ); // we replace '|' by '
': return $Name; } – jiankun mao Apr 21 '18 at 08:58