A variety of template tags related to the index/position of a post within a loop's listing of posts.
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:
Other functions help you get a post (or posts) at a given position in the current loop:
While the remaining three functions relate to index information about the loop in general:
Please see the Template Tags section (in some places found under the Other Notes section) for descriptions of all the functions and their arguments.
Note that index counting begins at 0, which means the first item has an index of 0. An index of -1 indicates no posts were found.
Requires: 2.8 or higher
Compatible up to: 4.5.4
Last Updated: 8 months ago
Active Installs: 70+
Got something to say? Need help?