-
Open up wp_list_comments.php file from dashboard>appearance>editor or from wp-contents/themes/sahifa/includes and replace all the texts with following code
http://pastebin.com/bueS7nn9Now, user pro is fully integrated with sahifa comments. If you want to make the avatars round then open the style.css file and search for
PHP1234567891011121314.comment-avatar {overflow:hidden;width:45px;height:45px;margin:0 10px 5px -30px;background: white;padding: 2px;-moz-border-radius: 1px;-webkit-border-radius: 1px;box-shadow: 0 0 3px #B5B5B5;-moz-box-shadow: 0 0 3px #b5b5b5;-webkit-box-shadow: 0 0 3px #B5B5B5;float:left;}Now replace the whole code with the following
PHP123456789101112131415.comment-avatar {overflow:hidden;width:60px;height:60px;margin:0 10px 5px -30px;background: white;border-radius: 999px;padding: none;-moz-border-radius: 1px;-webkit-border-radius: 1px;box-shadow: 0 0 3px #B5B5B5;-moz-box-shadow: 0 0 3px #b5b5b5;-webkit-box-shadow: 0 0 3px #B5B5B5;float:left;}Regards
AMAZING !
Thanks a lot Ananya. Sticky required for this post, Sahifa is one of the most used theme!
Solved by adding
<?php printf( __( '%1$s at %2$s', 'tie' ), get_comment_date(), get_comment_time() ); ?></a><?php edit_comment_link( __( '(Edit)', 'tie' ), ' ' ); ?>
Ok, here is the new code to replace wp_list_comments.php
and CSS
PHP1234567891011121314.comment-avatar {overflow:hidden;width:45px;height:45px;margin:0 10px 5px -30px;background: white;padding: 2px;-moz-border-radius: 1px;-webkit-border-radius: 1px;box-shadow: 0 0 3px #B5B5B5;-moz-box-shadow: 0 0 3px #b5b5b5;-webkit-box-shadow: 0 0 3px #B5B5B5;float:left;}Replace with following
PHP123456789101112131415161718192021.comment-avatar {overflow:hidden;width:60px;height:60px;margin:0 10px 5px -30px;background: white;padding: none;-moz-border-radius: 1px;-webkit-border-radius: 1px;box-shadow: 0 0 3px #B5B5B5;-moz-box-shadow: 0 0 3px #b5b5b5;-webkit-box-shadow: 0 0 3px #B5B5B5;float:left;}.comment-date {float: right;padding-top: 5px;}.comment-edit {float: right;}
You must be logged in to reply to this topic.