• 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

    ADSENSE CODE HERE

    Make use of Smilleys Codes

    Contact

    Oyo, Nigeria.

    08053151099

    azeeztechofficial@gmail.com

    Mondays to Saturdays 09:00 - 18:00 (GMT +01:00)

    About

    Azeeztech is a Nigerian-based Tech. support platform where anybody can get free solutions to device issues & questions.

    Azeeztech

    Get notified on FB