Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds apr_loopctr shortcode. #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Commits on Sep 1, 2017

  1. Adds apr_loopctr shortcode.

    Counts iterations of apr_loop[x] and returns current iteration number.
    
    Two optional variables: loop and start.
    - loop identifies which apr_loop[x] to count; e.g., loop="apr_loop2".
      loop may be specified as 'apr_loop[x]' or 'loop[x]'. If no loop specified,
      defaults to 'apr_loop'.
    - start specifies the index number for the first iteration. (For instance,
      if displaying records in batches of 50, on the second page one might
      specify [apr_loopctr start="51"].) If no start specified, defaults to 1.
    mazoola committed Sep 1, 2017
    Configuration menu
    Copy the full SHA
    8b8c4c6 View commit details
    Browse the repository at this point in the history