The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › order WP posts by columns
I am working on a wp powered site, and I am looking for a way to order my post headlines in three columns.
Here is a screenshort of what I want to achieve:
Do you have any idea on how to achieve this?
Yep set up 3 separate loops and use the ‘offset’ parameter in query_posts.
php query_posts('posts_per_page=8') ?>
php query_posts('posts_per_page=8&offset=8') ?>
php query_posts('posts_per_page=8&offset=16'> ?>
Use each of those at the start of their own loop. Put each loop into a column and float each one in the CSS.