The [form_entries] shortcode
Put [form_entries] in a page or post to list entries in a table.
[form_entries builder="cf7" form-id="123" cols="your-name,your-subject,your-message" per-page="10" search="yes"]
| Attribute | Default | Meaning |
|---|---|---|
builder | cf7 | Only cf7 exists in this version. |
form-id | The Contact Form 7 form ID. | |
form-name | Alternative to form-id: the form's title. | |
cols | first 4 fields | Comma-separated field names to show. |
col-labels | field labels | Comma-separated headings, in the same order as cols. |
limit | none | Maximum number of entries shown. |
per-page | 10 | Rows per page (up to 100). |
sortable | yes | Click headings to sort. Sorting covers all pages. |
pager | yes | Page links. |
search | no | A search box. |
export | no | An "Export CSV" button, shown only to people who may export. |
date-from, date-to | Fixed date limits, YYYY-MM-DD, in your site timezone. | |
show-filters | no | Date filter inputs for the viewer. |
show-created | yes | A date column. |
empty-message | No entries found. | Text when there is nothing to show. |
Use the Shortcode generator to build one without remembering these.