Posted By

dottDesign on 04/29/10


Tagged

textmate wordpress title limit


Versions (?)

Wordpress Limit Title Seperately


 / Published in: Other
 

  1. <?php if (strlen($post->post_title) > 35) {
  2. echo substr(the_title($before = '', $after = '', FALSE), 0, 35) . '...'; } else {
  3. the_title();
  4. } ?>

Report this snippet  

You need to login to post a comment.