---
title: "Using Page Templates with GravityView"
date: 2026-04-23
author: "GravityKit"
link: "https://www.gravitykit.com/docs/gravityview/customizing-your-views/using-page-templates-with-gravityview/"
---

Do you have a page template you want to use with GravityView? A full-width page layout, for example?

WordPress allows you to use your theme's page templates for GravityView. [Learn more about Post Type Templates](https://make.wordpress.org/core/2016/11/03/post-type-templates-in-4-7/).

Adding support just requires one small modification to your theme's template file:

**Before**:

```

```

```
php
/*
Template Name: Full-Width Layout
*/
```

**After** (notice the new `Template Post Type` line):

```

```

```
php
/*
Template Name: Full-Width Layout
Template Post Type: page, gravityview
*/
```

This will add a "Post Attributes" box to your Edit View screen that will allow you to select the layout:

![Post Attributes metabox](https://www.gravitykit.com/wp-content/uploads/2026/04/2Fz1kPFi.png)