.ws-nowrap {white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
<div class="side-block__content ws-nowrap">
{custom limit="6" template="custom-popular"}
</div>
<?php
echo mb_strimwidth("Hello World", 0, 10, '...', 'UTF-8');
// Выведет "Hello W..."
?>