How to filter maximum result of label search on Blogspot Blogger

If you have 300 blogspot posts or more and you only had 3 or 5 labels on each of them, you might find ± 100 posts result in one page on each label search result(the click result on the label), it's too much for one page if you didn't make a Jump Break separator on each post. So if you wanted to filter the search result, you can do it like this:


How to filter maximum result of label search on Blogspot Blogger

  • Login to your Blogger account
  • Open up Blogger HTML template editor.
  • Back up template editor for precaution.
  • click on the template editor » press CTRL+F, and search for data:label.url
  • You should find data:label.url between single quotes, leave them and DO NOT let them replaced or deleted, just replace every :
    data:label.url
    with :
    data:label.url + "?max-results=5"
    this code should be placed between the single quote, don't change them yet, read below first.
  • DO NOT replace the data:label.url if it is inside IF conditional tag, you can tell by looking on left side in the same line as data:label.url, for example:
    <b:if cond='data:blog.url == data:label.url'>
    
    If you found this line of code even with data:label.url just leave the code untouched.
  • Then if you done, click the orange save button and the result is every label search page will show 5 posts, you may change the number if you like.
  • If you made Navigation bar/links menu with label, you might want to change the url, just add
    ?max-results=5 at end of the URL and save the change.
Title : How to filter maximum result of label search on Blogspot Blogger
More..


Related Posts How To Fix, Free APK, Android, iOS: