Using the GravityView View Details block

The GravityView View Details block allows you to display specific metadata about a GravityView View directly within a page or post. This is especially useful for providing summary information or pagination-related details about your View.

screenshot of an embedded View block with the block editor sidebar visible. The settings described below are visible.
The GravityView View Details block

Getting started

1. Add the Block

  • Open the WordPress Block Editor (Gutenberg).
  • Click the “+” icon to add a new block.
  • Search for and select GravityView View Details.

2. Select a View

  • In the block’s sidebar settings under Main Settings, select the GravityView View you want to display data from using the View dropdown.

💡 You must have an existing View already created in GravityView. If needed, click Edit View to make changes.

About the "Detail" options

Under the Detail dropdown, you can choose which type of View information to display:

Option Description
Total Entries Shows the total number of entries visible in the View.
First Entry Displays the entry number of the first item on the current page.
Last Entry Displays the entry number of the last item on the current page.
Page Size Indicates how many entries are displayed per page (based on View settings).

Preview toggle

Enable the Preview toggle to see sample data inside the editor. This helps visualize how the block will appear on the front end.

With Preview disabled, you will see a placeholder.

Use cases

  • Display a summary count of how many experts are listed in your View.
  • Show the current page range (e.g., entries 11–20) in a directory.
  • Indicate how many items per page are shown, useful for user expectations.

Example

You want to quickly view the number of form submissions made today, at a glance.

Create Filtered Views

  • Create or edit a View for your form.
  • In the View's Settings box, click on Filter & Sort. Set the Filter by Start Date to yesterday and Filter by End Date to tomorrow .

Add the GravityView View Details block

Now, add the block to a page on your site and see a live-updating number of submissions from today.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us