December 5, 2016

You are browsing the blog archives for December 5, 2016. To see all posts, visit the archives page. You may also view archives by month or year.

Using WP_Query properties instead of an iterator

Sometimes, when running through a post loop, theme authors need to do something special, depending on the current post in the loop or the total post count. For example, displaying ad space between the first and second post. Or, as in the screenshot above, displaying posts with drastically different markup … Continue reading →