GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
survey.php
Go to the documentation of this file.
1 <?php
2 /**
3  * Display the Quiz field type
4  *
5  * @package GravityView
6  * @subpackage GravityView/templates/fields
7  */
8 
9 // Make sure the CSS file is enqueued
10 if( class_exists( 'GFSurvey' ) && is_callable( array('GFSurvey', 'get_instance') ) ) {
11  wp_register_style( 'gsurvey_css', GFSurvey::get_instance()->get_base_url() . '/css/gsurvey.css' );
12  wp_print_styles( 'gsurvey_css' );
13 }
14 
15 echo GravityView_View::getInstance()->getCurrentField( 'display_value' );
static getInstance( $passed_post=NULL)