I am trying to display columns with articles on the blogger homepage.
Each column with a specific tag.
Example:
Tag Cars
post 1 - post 2 - post 3 - post 4
Tag Houses
post 1 - post 2 - post 3 - post 4
Nature Tag
post 1 - post 2 - post 3 - post 4
I have found many worpress themes that you can easily do this.
I also found themes for bloggers who use Scripts to do this.
But in the case of Blogger I'm trying to do with the blogger's own codes without using script.
In my research I found some tutorials right here on the site like these:
Display posts on blogger based on Label?
Blogger - How to limit blogger's post label
Display posts on blogger based on Label?
How to show posts of certain label or category in a row in my blogger home page?
With help I had so far the maximum I got was in this code
<b:if cond='data:blog.url == data:blog.homepageUrl'>
<b:loop values='data:post.labels' var='label'>
<b:if cond='data:label.isLast == "true"'>
<b:if cond='data:label.name == "Carros"'>
<b:include data='post' name='post' />
</b:if>
</b:if>
</b:loop>
<b:else/>
<b:include data='post' name='post' />
</b:if>
This code does exactly what I need, but it has a problem, it only shows the latest posts with the tag "cars" in case it showed only 2, I have 20 posts with this tag, but the code does not search the other posts, just the last 2.
Any possible help would be grateful to improve the code.