Multiple Lines Title
-
My blog titles are quite long. I’d like them to be displayed in three lines on the Index page.
My titles are almost all calibrated the same, for example:
Article 001 – Doctrine and Discipline of Divorce, John Milton
I’d like to see such a title displayed as follow :
Article 001
Doctrine and Discipline of Divorce
John MiltonThat is, removing the ” – ” and the “, ” (with the spaces before and after) and replacing them (for the display only) by a carriage return.
How can I change the PHP of my index.php and single.php files so that my long titles will be replaced by three-lines titles? Naturally, if a title doesn’t contain ” – ” and “, ” I’d like it to remain unchanged.
The topic ‘Multiple Lines Title’ is closed to new replies.