Display dots if the character size exceeds
-
Hello. I need to show 3 dots at the end of the texts when it exceeds the character size. Help me how to do this. Here is the code:
<div class=”onoodorgarchig”>
<h5>
” rel=”bookmark” title=”???? >> <?php the_title(); ?>”>
<?php $short_title = mb_substr(the_title(”,”,FALSE),0,30);
echo $short_title; if (strlen($short_title) >25){ echo ”; } ?>
</h5>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Display dots if the character size exceeds’ is closed to new replies.