Home » Blogger Tutorials, Tricks and Hacks » Blogger Labels Tricks » Adjust The Number Of Posts In Blogger’s Label Page

Welcome to our AllBlogTools.com v.3 new version, We are still in beta, please contact us to report an error.

|| View All Tutorials ||

Adjust The Number Of Posts In Blogger’s Label Page

Adjust The Number Of Posts In Blogger’s Label Page

1 Star2 Stars3 Stars4 Stars5 Stars

Report Error

1,047 views

Here’s a helpful tutorial from Peter of bloggertipsandtricks that some of you might find useful. It’s a Blogger hack that lets you adjust the number of displayed blog posts in the label / category page.

The process is simple, especially if you’ve done a lot of tweaking with your blog’s template code.The instructions below will include the usual steps on how to get into the coding proper.

Go to the ‘Template’ section in your Blogger dashboard and then click on ‘Edit HTML

Put a check inside the ‘Expand Widget Templates’ box by clicking on it

Look for the following code below by pressing ‘Ctrl+F

expr:href=’data:label.url’

And then edit it by adding + “?max-results=50” at the end, just before the single quote. So basically, it should then look like this:

expr:href=’data:label.url + “?max-results=50”

(NOTE: There will be multiple instances of this code, so be sure you edit them all. In the Simple template, there’s likely to be 3 of them, other templates may contain either more or less.)

“50” is the number of posts to be displayed in the label/category page. Of course you can assign any number you want according to your preferences. By increasing the value, you can display you can show all posts with the same label, whereas decreasing it can hasten your page’s load time.

Hope you find Peter’s tip useful. Cheers!

Liked It ? Please Share

Comments

3 Responses | Post A Comment | Subscribe To Comments RSS Feed

  1. efan says:

    why i dont have expr:href=’data:label.url’ at my template..

  2. Yahya says:

    I don’t have expr:href=’data:label.url’ in my template! Plz help!!!

Comments will be closed off on this post 365 days (1 year) after it is published. Apologies to this, but it's all about avoiding a growing comment spam problem. See our most recent posts where you can comment here