If a content title is too long, WordPress goes to a second line in the content title. How can this be forced ? I read an idea to use the “|” in the title e.g.
This is a title with a | custom break
and than add
<?php echo str_replace(' | ', '<br />', get_the_title()); ?>
somewhere. I tried to use Elements > Hooks > after_entry_title or before_entry_title, but nothing is replaced.
Is there a solution that works ?
Frans
(tests on local WAMP system)