I am trying to build a kind of archive of my client’s projects, to display at the bottom of each page, exactly like is done in the ‘Experience’ section here: http://toth.com/#experience – except that in my case I only need the full list of projects, not the sub-headings or any other structure.
I have things setup so that each of my client’s projects is a post. So I need a way to display the titles of the posts, from the category I’ve created ‘Work Archive’ (so that the client can add and remove things from the archive easily, by checking/unchecking the category box in each post), in vertical alphabetical order, across four columns which automatically resize to fill the container equally. Each post title in the archive also needs to link to the post, obviously.
I have been scouring the net for this for days, and while I’ve found pieces of code which look like they’ll help, it seems impossible (with my limited PHP knowledge) to integrate them to fulfill all of my requirements. I have also looked into many WordPress plugins, with again no success. While I’ll accept any solution, this is something that ideally I’d rather solve at the PHP/template level, to keep things as hidden from the client backend as possible.
Any help on this VERY much appreciated.
It sounds like the best way to do this might be to set up a new WP Query object. More info on this here:
http://codex.wordpress.org/Class_Reference/WP_Query
Finish it off w/ some CSS!
To fix the opened ul change the condition for this :
It will prevent the closing of the ul on the first pass