Phân trang cho blog

Step 1. Go to Blogger Dashboard > Template > click on the Edit HTML button:
Step 2.
Click anywhere inside the code area and press the CTRL + F keys to open the Blogger search box, type or paste the following tag inside the search box and hit Enter to find it: ]]></b:skin>. Now copy the code below. Just above ]]></b:skin> paste the code of the style.
Step 3. Now find (CTRL + F) this tag: </body>. Add the following script just above it:

Configuration
After installing, you might want to change these default settings:
perPage: 7,
numPages: 6,
var firstText ='First';
var lastText ='Last';
var prevText ='« Previous';
var nextText ='Next »';
}
Click on the Save Template button and that's it ! Enjoy !

No comments:

Post a Comment