Hello,
In portfolio section of WooPress, when the categories are too much or when the title is too long, the pagination is not perfect because the grid becomes broken. To maintain the grid still perfect (with all post aligned on the same rows) I need to shorten the two text blocks of text (namely “Project Name” and “ByLine”, as you call them in the theme option).
I thought it was very simple… I tried these scripts:
http://www.wpbeginner.com/wp-themes/how-to-truncate-wordpress-post-titles-with-php/
and
http://wpsnipp.com/index.php/cat/truncate-description-within-categories-admin-panel/
But they don’t work on my portfolio page. What is it the right syntax in this case?
I would like to obatin, jst to example,
from:
[PICTURE]
Category One, Category Two, Catogory three
Very Long Titles Because Many Many Words
to:
[PICTURE]
Category One, Category…
Very Long Titles Because…
with … instead of too many characters