I am facing a very strange problem on my Blogger site. In the Settings and Layout section, I have set the number of posts to 7, but my home page only shows 2 or 3 posts. At the bottom, it says Older Posts. I checked my theme code but everything looks fine. Is this a bug in Blogger or is my theme corrupted? This is really hurting my site's look and user experience. Please help me fix this!
Why does Blogger only show 2 or 3 posts on my home page instead of 7?
Verified
I am facing a very strange problem on my Blogger site. In the Settings and Layout section, I have set the number of posts to 7 , but my ho...
Comments (8)
Why does Blogger only show 2 or 3 posts on my home page instead of 7?
<b:eval expr='snippet(data:post.body, {length: 200, links: false, linebreaks: false})' />
This will force Blogger to show only 200 characters, and you will easily see 7 to 10 posts on your home page.
1. snippet Operator: This is the best because it gives you "Precise Control." You can set exact length (like 150 or 500) and choose to remove links or linebreaks. It is very fast.
2. data:post.snippet:This is the standard Blogger tag. It gives a quick summary but you cannot change its length easily.
<b:eval expr='snippet(data:post.longSnippet, {length: 50, links: false, linebreaks: false})' />
<b:eval expr='snippet(data:post.body, {length: 200, links: false, linebreaks: false})' />
Standard short snippet (140 characters):
<data:post.snippets.short/>
Standard long snippet (400+ characters):
<data:post.snippets.long/>
3. data:post.longSnippet: This provides a much longer text preview but again, it is controlled by Blogger, not you.