Good morning readers, I recently had problems with setting number of post to be shown on label pages. My blog was showing 20 post per-page, sometimes it shows lesser number. This actually made my blog look scattered and i was a bit sad because if there is anything i love, it is my blog looking elegant and neat.
This made me go on a research and i worked all night for this. finally i found a way to do it, without time wasting. I tried it and it worked for, so am hoping it works for you too on your blog because i know how it feels to be in such a condition. Lets head straight to changing number of post shown on label pages in blogger.
Now if you check my label URL, above you would notice the ?max-results=10. This is because i have set the number of post shown on label pages to 10. so that's the trick here. but to add it and make it look like mine. Lets kick-off on that.
How To Set The Number Of Post Shown On Label Pages
Step 1.
In Your (New Design) Blogger Dashboard Click The Drop Down Menu For Your Blog >> Choose Template and Then Edit Html >> Now Proceed.
Step 2
Search for the below codes on your blogger templates. To show the search box, simply clink on Click Ctrl and F.
expr:href='data:label.url'
Step 3.
Once found, replace with the one below (Note: You will find the above code several times, be sure to replace all existing codes)
expr:href='data:label.url + "?max-results=10"'
Customization
Simply replace ?max-results=10 with number of post to be displayed on your label page. Mine is 10 that is why you see it as 10 above. It can be higher or lesser.
Method Two
If the above code did not work for you, simply follow the below instructions to change the number of post shown on label page.
Visit the label you want to change the number of post, the link should look like mine shown below
http://obhiabablog.blogspot.com.ng/search/label/Gossip%20n%20Events
Now if you are using custom main menu or custom blogger template, there should be a place inside you Html box, where you can change this. Instead of using the above link in your html simply replace it wiith the one written below
http://obhiabablog.blogspot.com.ng/search/label/Gossip%20n%20Events?max-results=10
Notice: In the above code, the ?max-results=10, it is set to show 10 post so be sure to change this to the number of post you wan to display.
This is how i successfully changed the number of post shown on label pages in by blog Obhiaba Blog, Add i hope this same procedure works for you seamlessly.
Woocommerce Purchased Together plugin use for bundle product purchase in woocommerce
BalasHapus