Posted By

YourListing on 10/27/10


Tagged

wordpress title limit characters


Versions (?)

Limit the number of characters displayed in title


 / Published in: PHP
 

URL: http://www.wpcult.com/limit-the-characters-that-display-on-the_title/

  1. <?php $title = the_title('','',FALSE); echo substr($title, 0, 20); if (strlen($title) >20){ echo '&hellip;'; } ?>

Report this snippet  

You need to login to post a comment.