WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Post Index Helpers

A variety of template tags related to the index/position of a post within a loop's listing of posts.

1.2.1 (2014-08-26)

  • Die early if script is directly invoked
  • Minor plugin header reformatting
  • Change documentation links to wp.org to be https
  • Note compatibility through WP 4.0+
  • Add plugin icon

1.2

  • Fix c2c_is_odd() to return false if the loop hasn't started
  • Fix c2c_get_last_index() to explicitly check that $index arg is null before assuming current index
  • Fix to prevent warnings if invalid index(es) are sent to c2c_get_post_by_index() and c2c_get_posts_by_index()
  • Add unit tests
  • Note compatibility through WP 3.8+
  • Update copyright date (2014)
  • Minor code and documentation reformatting (spacing, bracing)
  • Change donate link
  • Add banner image

1.1.2

  • Note compatibility through WP 3.5+
  • Update copyright date (2013)

1.1.1

  • Re-license as GPLv2 or later (from X11)
  • Add 'License' and 'License URI' header tags to readme.txt and plugin file
  • Remove ending PHP close tag
  • Note compatibility through WP 3.4+

1.1

  • Add c2c_is_post_in_loop()
  • Move c2c_is_index_within() to achieve alphabetic arrangement of functions
  • Note compatibility through WP 3.3+
  • Add link to plugin directory page to readme.txt
  • Update copyright date (2012)

1.0.3

  • Note compatibility through WP 3.2+
  • Minor code formatting changes (spacing)
  • Minor readme.txt formatting changes
  • Fix plugin homepage and author links in description in readme.txt

1.0.2

  • Add link to plugin homepage to description in readme.txt

1.0.1

  • Note compatibility through WP 3.1+
  • Update copyright date (2011)
  • Minor doc tweaks

1.0

  • Initial release

Requires: 2.8 or higher
Compatible up to: 4.0
Last Updated: 2014-8-27
Downloads: 1,426

Ratings

4 stars
4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1