I’m attempting to construct a sortable archive page. I’ve been searching through the forums for the past two hours looking for how-tos or plugins to achieve this, and so far I’ve found very little that does what I’m after. My theory on my lack of success is that I’ve just not been looking for the right information. Eitherway, I’ll mention what I’m after then include what I *think* is the solution, and last I’ll ask for help 🙂
I’m trying to alter the archive so that the articles are sortable based up what I believe WP calls “custom fields.” My aim is to archive video game reviews and allow them to be sortable based upon the fields: name, date, platform (pc, ps2, xbox, etc), and rating (a decimal value: 6.5, etc).
I’m wondering if the road I need to travel is to create the appropriate custom fields with the afore mentioned “keys”, then insert the appropriate “values” for each review/article. As for sorting them, I was thinking this ( http://codex.wordpress.org/Displaying_Posts_Using_a_Custom_Select_Query ) might be the instruction I need. However given the volume of reading envolved I was wondering if anyone might confirm my assumption before I potentially waste a lot of time on it.
Also, if anyone has done something similar to what I’m after or knows of a better way to do it… I’m all ears (so to speak).
- The topic ‘How do I create a sortable archive with custom fields?’ is closed to new replies.