I have a layout that have to show the tags horizontally. I want to be able to limit the amount of characters outputted.
Example - if I set the limit to 14 the following should happen.
Original: Cats, Dogs, Rain
New output: Cats, Dogs, Ra..
Please note that <?php the_tags ?>
returns an array. It is everything returned I want limited to 14 characters.
UPDATE In order to remove any confusion I have updated the post with a screenshot displaying why I want to set this limit. This should make it more clear what kind of solution I am searching for