Senin, 22 Agustus 2016

How To Make Recent Comments...?



To add recent comments widget follow this step
  1. on Dashbord Blogger Click Layout
  2. Click Add a Gadget
  3. Choose HTML/Javascript
  4. Copy this Code:

    <div id="rcentcomnets"></div>
    <script type='text/javascript'>
    jQuery("#rcentcomnets").RecentComments();
    </script>
  5. Click Save
(Default) Complete Javascript to call Recent Comments like this code:
jQuery("#ID_Place_To_Load_Plugin").RecentComments({
blogURL:"",
numComments:4,
characters:100,
avatarSize:50,
Showimage:true,
defaultAvatar:"https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYDc0Ki9vP7jWYacDlKATQUXWdf3yQc97cP4HhNonnhT43v3_G59UpwOzlWGDmwx8gKqC4-FJSQ_l6fh6vUFyLWlT2pPJb5VnonKwts2sul0RjhQsoLIrTVnuLWbtokAgl8yHgmbT1JB-a/s70/user-anonymous-icon.png",
MonthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],
maxfeeds:50,
adminBlog:""
});
PropertyDescription
blogURLYours blog URL or you can leave it blank to load where this script load.
numCommentsmaximum number of recent comment
charactersNumber of summary characters to show. if set 0, will not show summary
avatarSizeImage thumbnail size/avatar size
ShowimageShow or hide the avatar. Value : true or false
defaultAvatarBackup image if comment author don't have avatar image
MonthNamesFormat month name
maxfeedsMaximum feed to load
adminBlogControl to show or hide author/admin comment. ex: if you don't want to show your comment, simply just write yours blogger name like this adminBlog:"satank MKR"
Load disqus comments

0 komentar