I would like to be able to truncate the blog post titles (on the main blog page) so that they each appear as no more than 30 characters followed by an ellipsis ('...').
Is there a way to achieve this, perhaps by adding a function to the functions.php file?
Hi,
I would like to be able to truncate the blog post titles (on the main blog page) so that they each appear as no more than 30 characters followed by an ellipsis ('...').
Is there a way to achieve this, perhaps by adding a function to the functions.php file?
Many thanks,
Chris
Hi Chris,
Can you try out this code, paste it in your functions.php file:
Best regards,
Laborator Team
That works a treat, thanks Art!
Glad to hear that GIdsey
Best regards,
Laborator Team