Quantcast
Channel: Simon Wheatley » wp_query
Browsing all 2 articles
Browse latest View live

Ordering post meta value, numerically

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...

View Article



Laying out a grid in WordPress

For a recent project, I needed to lay items out in a series of grids, sometimes three columns, sometimes more. The CSS provided by the designer looked something like this: .columns section { float:...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images