How to add row numbers to a View
The simplest way to add row numbers to a GravityView View is with the built-in Result Number field. This dedicated field displays a sequential number for each entry, similar to row numbers in a spreadsheet, and includes options for setting a custom start number, reversing the order, and linking to the single entry page.
For more advanced use casesโsuch as embedding a row number inside a Custom Content field alongside other text or merge tagsโyou can use the {sequence} ย ย merge tag instead.
This article covers both methods.
Prefer to watch the video? #
Method 1: Using the Result Number field #
The easiest way to add row numbers is with GravityView’s built-in Result Number field. This is a dedicated field designed specifically for sequential numbering.
1. Open your View for editing
Go to Views in your WordPress admin and open the View you want to edit.
2. Add the Result Number field
In the Multiple Entries layout tab, click Add Field. Select Result Number from the list of available fields.

3. Configure the field settings
The Result Number Settings panel has several options:
- First Number in the Sequenceย โ The starting number for the sequence. Defaults toย
1ย . For example, set this toย101ย ย if you want numbering to start at 101. - Reverse the order of the number sequence (high to low)ย โ Check this to count down instead of up (e.g., 10, 9, 8โฆ).

Under Label, check Show Label and optionally enter a Custom Label (e.g., # ย ย or Row ย ).
4. Position the field and save
Drag the Result Number field to the first position in your field list so it appears as the leftmost column, then click Update.

Method 2: Using the sequence merge tag #
Theย {sequence} ย merge tag outputs an incrementing number for each entry displayed in your View. The first entry showsย 1 ย , the second showsย 2 ย , and so on.
Key things to know aboutย {sequence} ย :
- The number reflects theย current display order, not the entry ID. If a visitor sorts the table by a different column, the sequence still countsย
1, 2, 3โฆย ย from top to bottom. - If your View uses pagination, the sequence continues across pages. For example, if page 1 shows entries 1โ25, page 2 starts at 26.
- The merge tag works insideย field valuesย only (such as aย Custom Contentย field). It does not work in View widgets or outside of a View (for example, in Gravity Forms email notifications).
Follow these steps to add a row number column usingย {sequence} ย :
1. Open your View for editing
Go to GravityKit > Allย Viewsย in your WordPress admin and open the View you want to edit.
2. Add a Custom Content field
In theย Multiple Entriesย layout tab, clickย Add Fieldย to add a new field. Selectย Custom Contentย from the list of available fields.

3. Enter theย {sequence} ย ย merge tag
In theย Custom Contentย field settings, typeย {sequence} ย into the content area.

4. Set a field label
Give the field a label such asย # ย ย orย Row ย ย so the column has a clear header in your table.
5. Position the field
Drag theย Custom Contentย field to the first position in your field list so the row number appears as the leftmost column.
6. Save your View
Clickย Updateย to save your changes. Your View now displays a numbered row for each entry.

Limitations
- Field values only:ย
{sequence}ย ย works inside field values such asย Custom Contentย fields. It does not work in View widgets (header, footer, or sidebar areas) or outside of a View. - Display order only:ย The number reflects the order entries appear on screen, not a permanent or stored value. Sorting, filtering, or paginating the View changes which number an entry receives.
- Not available in notifications:ย You cannot useย
{sequence}ย ย in Gravity Forms email notifications or confirmations because it depends on the context of a rendered View.
Note: If a visitor sorts the table byย Date, the row numbers still display as 1, 2, 3 from top to bottom โ they do not stay attached to specific entries.