A variety of template tags related to the index/position of a post within a loop's listing of posts.
As of April 2026, Post Index Helpers is a WordPress loop plugin with 10 active installations and a 0/5 rating0. It has been downloaded 5.5K+ times in total. Requires WordPress 2.8+ and PHP false+. Available on WordPress.org since 2010. Top alternative: Elementor Custom Skin.
This plugin provides thirteen handy template tags that relate to the index/position of a post within a loop’s listing of posts.
Some of the template tags provided by this plugin relate to the position of the current post within the current loop:
c2c_is_first()c2c_is_last()c2c_is_at_index()c2c_is_even()c2c_is_odd()c2c_get_the_index()c2c_is_index_within()c2c_the_index()Other functions help you get a post (or posts) at a given position in the current loop:
c2c_get_post_by_index()c2c_get_posts_by_index()While the remaining three functions relate to index information about the loop in general:
c2c_get_last_index()c2c_is_post_in_loop()c2c_is_valid_index()Please see the Template Tags section (in some places found under the Other Notes section) for descriptions of all the…
| WordPress | 2.8+ requiredTested up to 6.8.5 |
| PHP | false+ required |
…and 1 more changes
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.