Enable Views to be hierarchical (parent/child)

If you want to define a View as a parent to another View, you should add the following code to your functions.php file:

add_filter( 'gravityview_is_hierarchical', '__return_true' );

Read here how to add these code samples to your website: Where to put code samples.

There will be no functionality changes to GravityView by enabling this configuration.

If you experience 404 errors after adding this code:

You need to re-save "permalinks" on your site by:

  1. Going to your Dashboard
  2. Clicking on the Settings menu item in the sidebar
  3. Clicking on "Permalinks"
  4. Clicking the "Save Changes" button to save the form

That should fix the 404s.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us