Header Ads

Breaking News
recent

Fix max result in blogger

Hi readers,  



Some of you maybe are annoyed by 20 max result when someone are click your label or tag of Blogger, and it makes your page of the blog very long to the bottom. Blogger set it defaultly to 20 and it may be slow your PC when you see 20 post in the same time. How to change it? There is no configuration about it in Blogger Settings.
Now, today we going to fix this problem.

Get to Dashboard and click 'Layout' of Blog which you wish to chaning its max result.
Now, go to 'Edit HTML' then check 'Expand Widget Templates'

Find this code:

expr:href='data:label.url '

Replace all with following code:

expr:href='data:label.url + "?max-results=8"'

The '8' in the code above means that a page will show 8 post per (on each) page. You may change to any ammount you want. But we recommend to make the ammount same as how many the first page of your Blog show the post. 

Now save the layout and enjoy.

Remember above code will change your tags and laber url .
For example :
If your Label url :- ' http://www.o2tricks.in/search/label/Windows '
It changed to :- ' http://www.o2tricks.in/search/label/Windows?max-results=8 '

Hope you like this one, Like it, Tweet it & Share it ...

Please give me your feedback in comment box, Don't be Silent reader's...

No comments:

Powered by Blogger.