WordPress: Two-line headings

— by
bye bye no GIF by Sherchle
bye bye no GIF by Sherchle, giphy.com

If a two-line article or page headlinw is needed, e.g. for a dateline or simply for a more beautiful appearance, the following filter helps:

This code separates the heading if «: » (colon and space) was found in the title. It works with all post types and also here in the blog.