I am looking for a way to break a WordPress site title over two lines at a specific point in the text.
Since the WordPress content filter 'wpautop' disables the `
` tag (also known as `
` or `
`), I'm wondering what the best alternative method is for line breaking using CSS instead of the traditional tag.
To be clear, I want to achieve this without using the <br>
tag:
<a href="https://example.com/">This is a<br>Site Title</a>
EDIT: I would prefer not to hard-code the site title with markup so that users can still edit the title in the admin settings. Is there a way to wrap after a certain number of words or characters using CSS, for example?