Fix The Number Of Posts Displayed On Blogger Labels Pages


Fix The Number Of Posts Displayed On Blogger Labels Pages
When you do blogging in Blogger.com then you feel one problem is that blogger.com does not give a look like a website. Hence, I have comes with a new trick this will help to change the whole look of your blog as a professional website. People can enjoy reading your blog. To add a custom menu in blogger.com you can refer this link. By reading this link you can create a good looking menu for your blog.


After creating good menu you have to link your label with menu.


How to link your Label with Custom Menu :

1. Upgrade your interface of your blog. (Google is going to delete older blogger interface in some days, hence better to use upgraded interface of blog.)
2. Go to Layout of your Blog.
2. Click on Edit button of "HTML/JavaScript" (as highlighted in above screenshot).
3. Here replace page link which is marked with #, with your label links and save. (For getting Label link just right click on a label and click on "Copy link address").
4. Save the templates and now view your blog.

Here, you will face a problem when you will click on Menu Link (which is replaced with your Label Link), then you will see all the post which is on that Label you have posted. Here, suppose you have posted 100 post with a label name Computer. When you will click on it then browser will show all 100 posts in a single window and page will get hanged. What is solution? You have to fix the number of posts displayed on blogger labels.

Fix The Number Of Posts Displayed On Blogger Labels Pages

5. For upgraded blogger interface go to templates tab of your blog. Click on "Edit HTML".
For older blogger interface go to Blogger Dashboard click Design > Edit Html > Tick the Expand Widget Templates box.
6. Search   using Ctrl and F in your HTML Code.
7. Replace them all with following code : 
8. Here, we have put max-results=6, you can choose your own maximum number per label to display.

Save your templates and you have done. Now when you will click on any label of your blog then its will show 6 pages only (we have defined here, it may different in your post).

If by means of any reason you are unable to find  then go to step 3 and put the ?max-results=6 after every label link.

If your facing any problem then just leave a comment, i will help you soon.

0 comments:

Post a Comment

Share