Auto-Numbering Popular Posts Widget for Blogger

Install Popular Posts With Auto Numbering in Blogger - Today You See how to cut Snippet Popular Posts widget that is one that is recommended to be installed on the blogger.
Auto-Numbering Popular Posts Widget for Blogger


Popular Posts Widget with Auto Numbering in Blogger


This widget gives information to the reader any post or article that is often seen on the blog that can be set based on the last 7 days, 30 days, or any time.That way, readers gain more options to explore our blogger page.Which in turn will have a positive impact and add page view our blogger.

The combination of the layout between the post title, thumbnail and snippets / snippets on Popular Posts widget sometimes becomes less presentable when placed in the sidebar of the blogger.

Snippet cut Popular Posts in Blogger


1. Login to Blogger> Select then Edit HTML Template> Save the below code just above the </body>

jQuery
<Script type = 'text / javascript'>
// <! [CDATA [
$ ( '. Popular posts .item-snippet ul li'). Each (function () {
var txt = $ (this) .text (). substr (0,40);
var j = txt.lastIndexOf ( '');
if (j> 42)
$ (This) .text (txt.substr (0, j) .replace (/ [?,! \ .- :;] * $ /, '...'));
});
//]]>
</ Script>

2. The next step, replace the code that is marked with a number of letters to be displayed.

3. Click save template.

Post a Comment

Previous Post Next Post