More posts within template
-
Hello All!
First let me thank you for this amazing plugin. I found it by mistake when looking for code while implementing my own Ajax based plugin. After playing with it I just thought, yeah okay, no point in doing it myself 🙂
I have one question though. On our page ( https://tipsforholiday.com/ ) we have a sort of a blog which works in a following way.
There is one div container per 4 posts. These 4 posts are in it side by side in div wrappers (columns). I’ve made it with a custom query on the page but now when I want to move to ALM, I don’t have a clue how to do it. It would require (maybe) possibility to work with more then one post in one template.
Or maybe something like GetNextPost() so that you can do.
<div class=”container”>
<div class=”column”>
Work with first post
</div>
<php>GetNextPost();</php>
<div class=”column”>
Work with second post
</div>
</div>And then offset the next query by number of posts used in one template.
Hope it makes sense and sincerely hope it’s doable 🙂
Any help much appreciated.
Btw, I’ve seen the masonry template in examples and while it looks similar I think what I am after is a bit different, especially because the page is fluid and we wan’t more control over it. Hence the columns wrappers.
The topic ‘More posts within template’ is closed to new replies.