Sorry, I am editing this for someone else and just realize it was totally in the wrong section.
Here is the actual code printing the Title's
PHP Code:
<a href="<?php the_permalink(); ?>">
<h1><?php the_title(); ?></h1>
</a>
I tried editing like this, but doesn't seem to work still. Can I applly substring to a function like 'the_title()' ??
PHP Code:
<?php
if (strlen(the_title()) > 50) { ?>
<a href="<?php the_permalink(); ?>">
<h1><?php substr(the_title(), 0, 50); ?>...</h1>
</a>
<?php
} else {
?>
<a href="<?php the_permalink(); ?>">
<h1><?php the_title(); ?></h1>
</a>
<?php }
?>