[Resolved] Limit characters in title of the post
Hi, I have Yarp plugin 4.0.6 and I’m trying to limit characters. Currently it shows only up to 2 lines when displayed as horizontal thumbs.
I have tried adding: substr(get_the_title(), 0, 90) instead of: get_the_title(). I have added this in template-thumbnails.php on line #45. When I set up max 4 it will work but I need to show ENTIRE title and some of my titles are too long.
I also tried playing with CSS, thiniking there is not enough space to display. I was able to have very long box for thumbnail but text still was limited to 2 line. I have changed font size but still nothing.
I have moved template files OUT of the plugin folder directly to my theme and still nothing.
Running out of option to try 🙁
- The topic ‘[Resolved] Limit characters in title of the post’ is closed to new replies.