Published
•
Updated
Feature Highlight: Using the [gv_entry_link] Shortcode
Welcome to Feature Highlights! In this new series, we’ll be exploring exciting features of GravityView and our related add-ons to help you get the most out of our plugins. In this edition, we’ll be focusing on one of those powerful, yet often overlooked features...
![Feature highlight: The [gv_entry_link] shortcode](https://www.gravitykit.com/wp-content/uploads/2022/04/image-61-672x372.png)
Welcome to Feature Highlights! In this new series, we’ll be exploring exciting features of GravityView and our related add-ons to help you get the most out of our plugins.
In this edition, we’ll be focusing on one of those powerful, yet often overlooked features of GravityView – The [[gv_entry_link]] shortcode!
The shortcode allows you to display a link to view, edit or delete a specific entry. You can use it anywhere on your website, including inside existing Views.
Keep reading to find out more! 👇
How to Use the [[gv_entry_link]] Shortcode
To use the [[gv_entry_link]] shortcode, all you need to do is construct the shortcode with the required parameters and paste it where you want the link to appear.
You can use the shortcode
- Inside a GravityView custom content field
- Inside WordPress Shortcode block
- In your sidebar
![The [gv_entry_link] shortcode inside a WordPress Shortcode block](https://www.gravitykit.com/wp-content/uploads/2022/04/image-59.png)
Parameters
The shortcode requires the following two parameters:
entry_id(the id of the entry)view_id(the id of the View where the entry resides)
To change the function of the link, you can use the action parameter, which takes three possible values:
read(generates a link to view the entry)edit(generates a link to edit the entry)delete(generates a link to delete the entry)
Here’s a basic template:
[gv_entry_link entry_id=“22” view_id=“34” action=“edit”]
Pro tipTo see a full list of accepted parameters, check out this article on our docs site.
Use Cases for the [[gv_entry_link]] Shortcode
The [[gv_entry_link]] shortcode is versatile and there are many ways you can use it. Here are some examples:
- Linking to a specific entry from a blog post
- Displaying a link to an entry inside another entry in GravityView
- Displaying a custom “edit entry” or “delete entry” link on your website

Get Started With the [[gv_entry_link]] Shortcode!
In this edition of Feature Highlights, we looked at the powerful, yet often overlooked [[gv_entry_link]] shortcode for GravityView. The shortcode allows you to generate a link to view, edit or delete a specific entry. You can use the shortcode anywhere on your site, including inside your Views!
If you enjoyed this post, check out more Feature Highlights!
More articles
Gravity Forms payment gateways: A guide to official and community add-ons
Want to accept payments from your WordPress site? No problem! Gravity Forms makes it easy to build a custom payment form for eCommerce transactions, nonprofit donations, subscription billing for digital products and services, and beyond. But first, you’ll need to choose one of Gravity…
Ultimate guide to using Gravity Forms with custom post types and fields
WordPress is powerful, but sometimes you need more than standard posts and pages. Using Gravity Forms with custom post types and custom fields can help you collect, organize, and display user-generated content on your site! In this guide, I’ll show you how to send…
Launch Log: GravityExport sees support for Box.com and Gravity Flow fields
This round of updates brings additional cloud storage and Gravity Flow field support to GravityExport, important search-related fixes for GravityView, and new spam prevention controls for Gravity Forms Zero Spam. Gravity Forms Zero Spam v1.7.4 This update to Gravity Forms Zero Spam adds a…

