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’
Recent Posts
- Including data in the page for your plugin’s JavaScript
- Taking stock
- Eeek! The load-page-new.php and load-page.php actions have vanished!
- Live text streams for the National Care Service
- Day Notes for Tuesday 30 March, 2010
- Thickboxing in WordPress themes
- Ordering post meta value, numerically
- Problem with a PHP fatal error when saving WP profile
- Fix users with no role – data migration plugin
- Migration to bbPress – fix topic slugs
Tags
amp
barcamp
barcamp leeds
barcampmanchesteruk
cli
conference
confluence
cornwall
Development
fitness
Food
gallery
google
leeds
leopard
lunch
macbook
manchester
Music
nbsp
onion
os x
osx
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
Recent Comments