• Admin
  • Receive an Update

    You are Here in » » New way to Control number of posts in Label pages of Blogger site





    New way to Control number of posts in Label pages of Blogger site




    As you know , if you click on a label , it will redirect you to a page with all the posts on that label. If there are lots of posts for a specific label , the label page will be so long. This will annoy the reader. Blogger do not give us a simple way to control this label page's posts. So we have to do it manually. Lets see how to ,


    1. Edit your Template
    2. Now find out 


    <a expr:dir='data:blog.languageDirection' expr:href='data:label.url'>

    press 'Ctrl' + F to open your browser's search box)


    Now you will find out some code lines as


    <a expr:dir='data:blog.languageDirection' expr:href='data:label.url'>
    <data:label.name/>
    </a>
    </b:if>
    <span dir='ltr'>(<data:label.count/>)</span>


    If you already have deleted the label number count,  You may not see code 


    (<data:label.count/>) line.

    Now replace 


    <a expr:dir='data:blog.languageDirection' expr:href='data:label.url'> 

    with 


    <a expr:dir='data:blog.languageDirection' expr:href='data:label.url + &quot;?max-results=5&quot;'>


    5 
    stand for the number of posts per a label. Change it to any number ( number of posts that you are willing to show in the label page )

    Now follow the Safety Saving Steps.

    And
     

    More Articles


    Make use of Smilleys Codes

    Quick Help!

    Having issues? Need quick fix? simply email me or call me

    Learn more

    Write For Us

    Submit a guest post and see it get published real quick

    Learn more

    Advertise Here

    Place relevant banners, links, and sponsored posts at affordable rate.

    Learn more

    Get notified on FB