Ik zou dit deel vervangen
<h6><?php if (strlen($post->post_title) > 12) { echo substr(the_title($before = '', $after = '', FALSE), 0, 12) . '..'; } else { the_title(); } ?></h6>
Door:
<h6><a href="<?php the permalink(); ?>" title="<?php the_title(); ?>"><?php if (strlen($post->post_title) > 12) { echo substr(the_title($before = '', $after = '', FALSE), 0, 12) . '..'; } else { the_title(); } ?></a></h6>
Dit plaatst een link binnen de h6.