Remove lightbox link in post title and link to single post

If you want to have only the image link to a lightbox, and not also the title, follow these steps:

1. in WP Admin, go to Themify > General

2. paste the following in the Header Code text area

	$('.post-title a').each(function(){
		var $self = $(this),
		    $article = $self.closest('article'),
		    post_id = $article.attr('id');
		$self.attr( 'href', 'http://'+document.domain + '/?p=' + post_id.replace('post-', '') );

3. save the change and check the site.

Note that this will only work for top level domains.