Reply To: The reference in the title of the full post

#3126
Anonymous
Inactive

Asteroid theme. I really like it!
However, there’s this code:

<h1 class="entry-title"><a href="<?php the_permalink(); ?>">
	<?php
		if ( the_title( '', '', false ) != '' ){
			echo the_title();
		}
		else {
			echo __('Untitled', 'asteroid');
		}
	?>
</a></h1>

Can it be replaced by:

<h1 class="entry-title"><?php echo the_title(); ?></h1>

Thank you!