Home Forums Travel WordPress Theme Some problems with the the theme on my website… Reply To: Some problems with the the theme on my website…

#2758

Johnny
Participant

-change comment author link:
open file functions.php, find this:
<a href="<?php comment_author_url(); ?>"><?php comment_author(); ?></a>
to:

<?php if(strlen(get_comment_author_url())>0){ ?>
		   <a href="<?php comment_author_url(); ?>"><?php comment_author(); ?></a>
         <?php }else{ ?>
           <?php comment_author(); ?>
         <?php } ?>