Post format selector in Thematic child theme post class

Okay, I’m going on the assumption that the real question is “how do I get Thematic to add the post-format to its body classes?” Try this in your functions.php: function my_thematic_post_format_class( $classes = array() ) { $format = get_post_format(); if ( ” == $format ) $format=”standard”; $classes[] = ‘format-‘ . $format; return $classes; } add_filter( … Read more

Is there a way to do multiple ordering on a multiple meta_query?

As of WordPress 3.4.1, there is no way, out of the box, to order by multiple meta values. Since we can’t do it cleanly, we’ll have to hack something together. We can hook into posts_orderby to manually modify the ordering. It’s not altogether pretty, but it will get the job done. Here’s an example: add_filter(‘posts_orderby’, … Read more