How to hide links inside comments in blogger
Senin, 30 September 2013
0
komentar
Hide links inside comments: Now a days it becomes the headache of Bloggers and other content publishers that readers are spamming their links inside the comments. Sometimes a single reader put a lot of links in only one comment.So this looks quite ugly in professional Blog, obliviously every want his blog to be professional so its the time to hide links in your comments it will surely become a cause of you blog grooming.
How To Hide Links In Comments
- First go to blogger dashboard.
- Click on your site and then on Template tab.
- Now click on the edit HTML tab there.
- Proceed in the coding of the template.
- And find </body> code by pressing ctrl+f.
- If you haven,t have jQuery script in your blog then copy and paste the below code above
</body> tag.
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js'/>
- If you have already added JQuery script to your blog then simply paste the below code above the </body> tag.
<script>
$('.comment-content a[rel$=nofollow]').replaceWith(function(){return ($(this).text());});
</script>
If you want to Completely Remove the Links(Additional)
- Then instead of pasting the above code.
- Paste the below code above the </body> tag.
<script>
$('.comment-content a[rel$=nofollow]').hide());
</script>
- Now hit the save template button.
- Thats it! you have done removing spammers.
TERIMA KASIH ATAS KUNJUNGAN SAUDARA
Judul: How to hide links inside comments in blogger
Ditulis oleh Unknown
Rating Blog 5 dari 5
Semoga artikel ini bermanfaat bagi saudara. Jika ingin mengutip, baik itu sebagian atau keseluruhan dari isi artikel ini harap menyertakan link dofollow ke http://topandroidnexus7.blogspot.com/2013/09/how-to-hide-links-inside-comments-in.html. Terima kasih sudah singgah membaca artikel ini.Ditulis oleh Unknown
Rating Blog 5 dari 5
0 komentar:
Posting Komentar