Show Specific Number Of Posts in Single Label Page

This is also one of the reason why people move to "Wordpress". When you open a label page the blogger shows 20 posts(if you have) per page and provides a link called "Older posts" to view other posts. As a result it takes lot of time to load or sometimes your browser doesn't respond.

With this hack you will be able to "Show specific number of posts in a Single Label Page"


Login to blogger account

Dashboard --> Layout --> Html

Search for <a expr:href='data:label.url'> (Use Ctrl+F for easy searching)

Now where ever you fine <a expr:href='data:label.url'> add the following after that(I found two depends on your template you might find one):

+ "?max-results=4"

So it should look the this:


<a expr:href='data:label.url + "?max-results=4"'>

Note: The digit 4 shows number of posts to be Shown in a Single Labels Page.
Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz DesignFloat Delicious BlinkList Furl

Related Posts

18 comments: on "Show Specific Number Of Posts in Single Label Page"

Shiva said...

cool
i think i did it without messing up with html!

Shiva

CrAzYbLoG ,
v.CoL

Shantharam Shenoy K said...

hey this template is really good... its sooo simple....will definitely try it...

Abhinav Viswambharan said...

quite a good crack...you found it on your own?

Dan* said...

@ abhi

yes when i was installing page navigation hack :D from Gagan

Gagan said...

Hi DAN ~

Nice tutorial !!

And cool design !!


Good going !! \m/

Majid said...

wow thankx !

Arjun... said...

Yeah..!! I too felt that....
Nice hack...

Cheers..!!
Arjun

Sidrah said...

wow, very informative..keep up the good work..will be bck 4 more tips..cya!^^

Vinayak said...

u have a nice blog I liked the 1st theme of ur blog...
It was better than this...
just giving u a suggestion to change ur theme,now ur wish to do that or not.

Dan* said...

@ vinayak

thankyou for your suggestion ......will think about it :)

Arjun said...

& abt this i have done this as you specifies ,but i am getting the errors when i do save template , i need it bro , do tell me

Danzyworld.blogspot.com Rocks Danzy Rocks

Dan* said...

@ Arjun

you dont have to delete n e thing ........i think you forgot to close it with '

it should look like this

'data:label.url +"?max-results4"'

Arjun said...

ya Dan i have done it now , thank you very very much, grt man now that will increase page impressions of mine

Orkut Themes said...

Thanks a lot. It's helpful.

But just let me tell you that this tricks works only with the labels under the post. it does not work with the label widget provided by blogger. So, the trick is, make a new HTML/Javascript widget, type all your labels there, and manually give hyperlink to them. In the end of the label links, just add ?max-results=4
Example : http://danzyworld.blogspot.com/search/label/Magic?max-results=4
Of course, you can play with the no 4.
And yup, in that way the leabel counts won't show up, but that does not matter a lot, does it? ;)

Dan* said...

well it did that for my menu bar it takes a much more time :P

Post a Comment