I have a client who wants to show a list of their posts ordered by the numerical value of a post meta field (custom fields are referred to as post meta data in the WordPress code, so I’ll be following that convention from now on). Unfortunately there doesn’t seem to be a way to do this using query_posts or by creating a new WP_Query object, which makes life a little trickier. Continue reading ‘Ordering post meta value, numerically’
Tags
amp
barcamp
barcamp leeds
barcampmanchesteruk
conference
confluence
cornwall
Development
fitness
Food
gallery
google
leeds
leopard
love
lunch
macbook
manchester
Music
nbsp
onion
osx
os x
php
presentation
rain
recipe
running
slow cooker
Startershop
st just
talk
thyme
tinyurl
uk
unconference
unfit
usability
web
web development
wedding
wiki
wordpress
wordpress development
wordpress plugin
Elsewhere
Feeding in
Friends & Family
Listening to
- Belle and Sebastian – Sukie in the Graveyard
- Belle and Sebastian – Dress Up in You
- Belle and Sebastian – The Blues Are Still Blue
- Belle and Sebastian – White Collar Boy
- Belle and Sebastian – White Collar Boy
- Belle and Sebastian – Another Sunny Day
- Belle and Sebastian – Another Sunny Day
- Belle and Sebastian – Act of the Apostle
- Jimmy Cliff – You Can Get It If You Really Want
- Jimmy Cliff – You Can Get It If You Really Want
Categories
Archives
- January 2010
- July 2009
- May 2009
- April 2009
- March 2009
- February 2009
- October 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- March 2007
- January 2007
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- September 2005
- August 2005
- November 2004
- March 2004
- November 2003
- August 2003
- July 2003
- March 2003