The gwp_parent_slug Merge Tag for Gravity Forms returns part of the slug (the url) and let’s you pick which part of the slug you want to get (which parent).

{gwp_parent_slug depth="1"}

Returns the parent slug of the current page. Default is depth=0, which return the direct parent. depth=’top’ returns the highest parent.

{gwp_parent_slug depth="top"}

Last updated: 06-12-2021

Advanced Merge Tagsv1.1

To use the functionalities described in this documentation, you'll need to get the GravityWP - Advanced Merge Tags add-on.

Read more

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.