Revision: 45787
Updated Code
at May 8, 2011 03:49 by jacksaidwhat
Updated Code
// Replace 34 with the number of characters to display. <?php $title = the_title('','',FALSE); echo substr($title, 0,34); if (strlen($title) > 34) echo "..."; ?>
Revision: 45786
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at May 8, 2011 03:45 by jacksaidwhat
Initial Code
<?php $title = the_title('','',FALSE); echo substr($title, 0,34); if (strlen($title) > 34) echo "..."; ?>
Initial URL
Initial Description
Must be used in the loop.
Initial Title
Custom WordPress Title Length
Initial Tags
wordpress
Initial Language
PHP