AutoListicle: Automatically Update Numbered List Articles
Easily keep your listicles with numbered lists updated correctly by using this plugin’s shortcode [auto-list-number]. This will display the number 1 and increment with every use. Perfect if you write blog posts with steps or “top 10 lists”. This will allow you to easily add items to your lists or mo
Easily keep your listicles with numbered lists updated correctly by using this plugin’s shortcode [auto-list-number]. This will display the number 1 and increment with every use. Perfect if you write blog posts with steps or “top 10 lists”. This will allow you to easily add items to your lists or move elements around without worrying about updating headings with the correct numbers.
New in 1.5: the item count in post and SEO titles (“17 Best Coffee Grinders” stays correct as you add items), numbering that continues across paginated posts, a block editor panel and toolbar button, ordinal and word formats, and optional ItemList schema.
Count in titles
Put this in the post title and it shows the number of items in the post:
[auto-list-number display="total"] Best Coffee Grinders
It works in the page title, the browser tab, RSS feeds, the REST API, the titles and descriptions of Yoast SEO, Rank Math, All in One SEO, SEOPress and The SEO Framework, and the social tags of Yoast SEO, Rank Math and SEOPress. In SEO title templates you can also use %%autolisticle_total%% (Yoast, SEOPress) or %autolisticle_total% (Rank Math). The count is kept out of the URL WordPress makes from the title. Add name="my-list" to count a named list and format="words" for “Seventeen”.
Block editor
Choose “Insert list number” from the More menu (the arrow) of the text toolbar to add [auto-list-number] at the cursor. The AutoListicle panel in the post sidebar shows how many items the post has, and its “Number headings automatically” switch numbers every heading of the chosen level with no shortcodes at all.
Paginated posts
In posts split into pages with the Page Break block, numbering carries on from page to page, and countdown, position (“4 of 12”) and total displays count every page. To number a page by hand, give its first item a start value.
Number headings automatically
Add this once, above your list, and every H2 that follows gets a number in front of it:
[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