[auto-list-number-headings]
It takes the same options as the item shortcode, plus level to pick the heading tag:
[auto-list-number-headings level="h3" display="countdown" before="#" after=""]
Numbers are wrapped in a span with the class "auto-list-number" so you can style them (set wrapper="none" to skip the span). Headings above the shortcode are left alone, and a second [auto-list-number-headings] starts a new count from where it sits.
Shortcode Usage examples
Basic usage
[auto-list-number] Item one. [auto-list-number] Item two. [auto-list-number] Item three.
Countdown example (for "Top 10" style lists)
[auto-list-number display="countdown"] Best item (displays 3) [auto-list-number display="countdown"] Second best (displays 2) [auto-list-number display="countdown"] Third best (displays 1)
Position display example
[auto-list-number display="position"] First item (displays "1 of 3") [auto-list-number display="position"] Second item (displays "2 of 3") [auto-list-number display="position"] Third item (displays "3 of 3")
Custom start number (for multi-part articles)
[auto-list-number start="11"] This displays 11 [auto-list-number] This displays 12 [auto-list-number] This displays 13
Number formats
[auto-list-number format="roman"] Displays I, II, III, IV... [auto-list-number format="alpha"] Displays A, B, C, D... [auto-list-number format="padded"] Displays 01, 02, 03...
Before and after text
[auto-list-number before="#" after=":"] Displays "#1:" [auto-list-number before="Step " after=" -"] Displays "Step 2 -"
Spaces inside the quotes are kept. An underscore also works as a space (before="Step_"), which older versions required.
Extended example using all shortcode functions.
`Here is my list of [auto-list-number display="total"] items.
[auto-list-number] Here is the first item in the list.
[auto-list-number] Make long listicles with ease.
[auto-list-number] You can even have multiple lists in one article.
[auto-list-number name="my-new-list" after=":" wrapper="span"] My new list (this will start at number one).
[auto-list-number name="my-new-list" after=":" wrapper="span"] This will be a second item.
[auto-list-number] This item will be number 4.`
Shortcode Options
auto_list_number_wrapper_tags filter.
No. WordPress does not run shortcodes in titles or SEO meta titles, only in post content.
Use the wrapper option (or the automatic heading numbering, which wraps by default) and target the "auto-list-number" class in your CSS.
Yes. Totals for countdown, position and total displays are counted from the rendered content, so shortcodes inside synced patterns are included.