Hello, I want to display a list with the post tiles of a particular custom post type in two columns. I want the items to be ordered alphabetically, going in ascending order through the first column, and then continuing in the second one, something like this:
•1 •7
•2 •8
•3 •9
•4 •10
•5 •11
•6
If I use a single row with two columns the items populate the rows first, and then overflow to the next column, looking like this:
•1 •2
•3 •4
•5 •6
•7 •8
•9 •10
•11
I thought I’d populate two separate columns, the first with the first half of the posts within the custom post type, and the second with the other half of the posts.
For this I thought I could do a calculation in the “count” field using {{dc:looper:count}} for the first column, something like
={{dc:looper:count}}/2
And then do the same for the second column, including an offset of half the count.
But so far I have not found a way to solve this.
Is there a way to solve this?
Thanks in advance