View difference between Paste ID: SPB3qkXe and DgQuUa1B
SHOW: | | - or go back to the newest paste.
1-
<?php if($orderby == 'modified') { ?><?php echo '<div style="font-size:11px;">' .substr($post->post_title,0,18). '</div>'; } else { ?><?php the_title(); } ?>
1+
<?php if($orderby == 'modified') { ?><?php echo '<div style="font-size:11px;">' .substr($post->post_title,0,18).(strlen($post->post_title) >= 22 ? '...':''). '</div>'; } else { ?><?php the_title(); } ?>