---
title: "Dashboard Views: Display the View title"
date: 2026-04-23
author: "GravityKit"
link: "https://www.gravitykit.com/docs/gravityview-pro/dashboard-views/display-the-view-title-dashboard-views/"
---

When displaying a View in the dashboard, there is no View title displayed.

To display a View title, use the following code snippet:

```
add_action( 'gk/gravityview/dashboard-views/view/before', function( $view ) {
	echo '' . esc_html( get_the_title( $view->ID ) ) . '';
} );
```

```
add_action( 'gk/gravityview/dashboard-views/view/before', function( $view ) {
	echo '' . esc_html( get_the_title( $view->ID ) ) . '';
} );
```

This will display the View title in a `H1` tag before any of the View is rendered.