Created
July 8, 2014 19:48
-
-
Save alwerner/fed12f395900d0aa688a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// array starts with 0, so adding 1 will equal the count | |
<?php if( ($wp_query->current_post + 1) == ($wp_query->post_count)) : ?>foo<?php endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment