WordCamp Moscow 2016

I’m Konstantin Kovshenin, a WordPress core contributor, ex-Automattician, public speaker and consultant, enjoying life in the rainy UK. I blog about tech, WordPress and DevOps.

I do code review, training and consulting on WordPress performance, scaling and security. Schedule a call if you’re interested.

Subscribe to my newsletter and follow me on Twitter.

Recent Blog Posts

The Ultimate Guide to WP_List_Table

Without a doubt, the best WP_List_Table tutorial is in class-wp-list-table.php and the rest of the list table classes in wp-admin/includes. Seriously, you should not go looking any further :)

The Fourth Moscow WordPress Meetup

The fourth WordPress Meetup in Moscow will be held this Saturday morning. We’ll be talking about WordPress translation tools, WordPress.com versus WordPress.org, WordPress as an application platform and probably some tech talk about WP_Query. Tune it for the event and don’t forget to join the Moscow WordPress Meetup Group on Facebook.

You Don’t Know WP_Query

If you think you know WP_Query, watch this talk by Andrew Nacin at WordCamp Portland 2011. Andrew digs through stuff like query_posts, wp_the_query, pre_get_posts and more. So if you’re still using query_posts without a good reason, Andy will convince you not to.
You can find the slides on SlideShare. Enjoy!

Order By Post Meta DATE in WP_Query

Sorting by post meta in WP_Query is quite easy with the orderby argument set to meta_value. If your meta value is a number, you can use meta_value_num, however, if you run into a situation where you have a date string, like 2012-06-15, both meta_value and meta_value_num won’t give you the desired results. Luckily, you can hook into the posts_orderby filter and do some custom SQL, like this:...

US Visa

I finally got my US visa today, multiple entry, for two years! It took 11 days after the interview at the US Embassy in Moscow. Fun fact, they stapled the receipt right to my passport, hope that doesn’t render it illegal. Making travel plans for August and September :)

Hello, Jetpack Comments!

I always loved how commenting was over at WordPress.com, and the new Jetpack Comments brings all that fun stuff to WordPress.org blogs. Many of us have been waiting for this, and as announced by Tim Moore yesterday, Jetpack Comments are available as of version 1.4, along with some bug fixes. You should see an update available from your WordPress dashboard, and if you don’t, you can always...

Nacin and Westi on the Admin Menu Code

Without a doubt, the worst code in core exists in admin/menu.php, admin/includes/menu.php, and admin/menu-header.php
Andrew Nacin

And in reply to Andrew:

It’s not code, it’s bits that met and became bytes.
Peter Westwood