Monthly Archives

April 2014

Sorting

Order by Meta Values

Huge props to Chris McCoy A.K.A “fris” (GitHub / Twitter) for schooling me in using add_filter for this.

I needed to add custom fields to the post type: Post within WordPress. That’s not problematic, in fact it’s rather quite easy. But, ordering Posts based on the assigned value of my custom field… that isn’t super straight forward.