Monday 21 April 2014

How to Show Specific Number of Posts per Label in Blogger


Display Number of Post per Label in blogger
This post will be all about how can we customize blogger label to show minimum or maximum posts per label. Sometime you might be get in trouble whenever need to show number of selected posts by single label in blogger blog. There are a lot of factors effected when we want to display more posts per label. In this way our blog could be easily compel on loading time in result we will lose massive traffic from search engine. So be default all custom and blogger templates are showing all the posts which accommodated by a single label that we have assigned to it. So in short i would say whenever we click on a label in blogger template it show mostly up-to 20 posts or in somewhere you will see less than twenty posts. So to reduce the number of posts on per label inside the blogger template we will use a piece of chunk code which will display specific number of posts which we assign to it. So in today article, we will show you how to display specific number of posts per label in blogger blog.
 

Why we Need to Display Specific number of Post per Label in Blogger ?

As i have already discuss in the above para, there are many factors effected if we display more than 20 posts or less than 10 post per label. To show maximum post per label it is clear that your blog will compel on loading time. It would not increase your pageviews instead you will lose hundred of readers. However if we show less and less posts on per label then this time you are losing the pageviews by your own hands. So make there balance so that you there is no loading time and also maintain the page views.

Show Specific Number of Post Per Label In Blogger

One of our reader have requested how to do this in blogger blog. So i was thinking to give the best answer why not to share a complete tutorial about this issue. Most of newbies blogger face this problem and do not know how to resolve this problem.
Display Number of Post per Label

If you want to know how to show and display targeted number of posts in blogger you will must replace some of the default label code with customize one to make it perfect for showing all the post on single label. Follow the below simple steps to add the code in your template.

  • Go to Blogger Dashboard
  • Go to Template >> Edit/Html
  • Now for  data:label.url
  • Replace data:label.url with this >> data:label.url + "?max-results=n"
  • In the above code replace n with the number of posts you want to show or display. If you want to show just 10 posts for a label simply then replace n with 10
  • Save your template
  • You done almost


Need Help

This is all about how can we customize blogger label setting to display specific number of posts by a single label. We hope this tutorial would help you a lot for your blogger blog. If anyone face problem during implementation then do not hesitate to post your query in the comment section. All comments will must back reply within 24 hours. We would love to share your thoughts with us. Thanks buddies.