Changing the View slug

By default, the plugin presents Views using the following url structure:

http://your.site.com/view/my-view-name/
		

If you'd like to change the part of the URL (known as a "slug") from view to a different name, then add the following code to your theme's functions.php:

add_filter( 'gravityview_slug', 'my_gravityview_slug', 10, 1 );
function my_gravityview_slug( $slug ) {
    return 'my-new-slug'; //set your new slug here
}
		

If the code doesn't work immediately:

After adding this to your theme, you may need to flush the rewrite rules. You could do it manually by saving the permalink options under [your_site_url]/wp-admin/options-permalink.php.