---
title: "Removing Theme Navigation Links from Views"
date: 2026-04-23
author: "GravityKit"
link: "https://www.gravitykit.com/docs/gravityview/common-problems/removing-theme-navigation-links-from-views/"
---

If you see "Previous post" and "Next post" navigation links below your View that you didn't add, these come from your WordPress theme, not GravityView.

![Business directory table with names, categories, addresses, phone numbers, and years established](https://www.gravitykit.com/wp-content/uploads/2026/04/file-MqrVcdZ3bU.png)

### Why This Happens

GravityView Views are stored as a custom post type in WordPress. When you visit a View directly at its URL (e.g., `yoursite.com/view/my-view/` ), WordPress uses your theme's single post template to display it. Many themes add navigation links to this template, but for Views, these links point to other Views on your site, which usually isn't what you want.

### Solutions

**Option 1: Embed the View on a Page (Recommended)**

Instead of linking to the View URL directly, create a WordPress page and embed the View using the [ shortcode](https://www.gravitykit.com/docs/gravityview/shortcodes/using-the-shortcode/) or block. Page templates typically don't include post navigation.

**Option 2: Create a Theme Template Override**

Create a template file that applies only to Views:

- Copy your theme's `page.php` file
- Rename it to `single-gravityview.php`
- Place it in your theme folder (or child theme if using one)

WordPress will automatically use this template for Views. Since page templates typically don't include post navigation, the unwanted links will be gone.

**Note for block themes:** If you're using a Full Site Editing theme, edit the template in **Appearance → Editor** instead. You can create a custom template for the "gravityview" post type and remove the navigation block.

### Related

- [Using the  shortcode](https://www.gravitykit.com/docs/gravityview/shortcodes/using-the-shortcode/)
- [Overriding GravityView templates](https://www.gravitykit.com/docs/gravityview/customizing-your-views/overriding-gravityview-templates/)