To keep Visitor many customization in template are needed.One customization goes to label.This tutorial is asked by my blog reader.I have not disclose his name because of his request.You also can ask to my by contacting us.I really appreciate him for asking question.lets go to matter.
But why to remove number of post in label page.Logically it is because of visitor.If you have team blog there will be thousands of post in a label too.This will take too many time to load it.Making the page over loading may keep out of your visitor thus it is essential but if you are okay the tutorial is not for you.
We also can reduce the load time by Showing only post titles in label page.But the visitor asked we want to show some description and he wanted to to limit the number in post in label page.
I.Limiting the number of post in label page.
It is very easy.You can do it just by editing some CSS code.lets do it.
- Go to blogger.com(You will be in Blogger Dashboard)
- Click on Design or Template
- Click on Edit html.
- Tick on expand widget(It is necessary)
- Find this code
expr:href='data:label.url'
- Replace step I no.5 with following code.
expr:href='data:label.url + "?max-results=5"'
- If you find more code of step 5 replace the code.
II.For Label Menu Tabs.
If you use the label link you have to replace the link.
- The Label Link Usually looks like this.
http://BlogName.blogspot.com/search/label/YOURLABEL
- Replace the code like this
http://BLOGNAME.blogspot.com/search/label/YOURLABEL?max-results=15
- You can change
max-result=15to your choice. - Your blog will load faster.Byeeee with cheers
Subscribe At free
Thank you for visiting FacebookSinker.blogspot.com. Please don't miss any of the updates by subscribing to our RSS feed or email updates.
No comments:
Post a Comment