GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
class-gravityview-preset-staff-profiles.php
Go to the documentation of this file.
1 <?php
2 /**
3  * GravityView preset template
4  *
5  * @file class-gravityview-preset-staff-profiles.php
6  * @since 1.15
7  * @license GPL2+
8  * @author GravityView <[email protected]>
9  * @link http://gravityview.co
10  * @copyright Copyright 2015, Katz Web Services, Inc.
11  *
12  * @package GravityView
13  */
14 
16  const ID = 'preset_staff_profiles';
17 
18  function __construct() {
19  $settings = array(
20  'slug' => 'list',
21  'type' => 'preset',
22  'label' => __( 'Staff Profiles', 'gk-gravityview' ),
23  'description' => __( 'List members of your team.', 'gk-gravityview' ),
24  'logo' => plugins_url( 'includes/presets/staff-profiles/logo-staff-profiles.png', GRAVITYVIEW_FILE ),
25  //'preview' => 'https://site.try.gravitykit.com/view/staff-profiles/',
26  'preset_form' => GRAVITYVIEW_DIR . 'includes/presets/staff-profiles/form-staff-profiles.json',
27  'preset_fields' => GRAVITYVIEW_DIR . 'includes/presets/staff-profiles/fields-staff-profiles.xml',
28  );
29 
30  parent::__construct( self::ID, $settings );
31  }
32 }
33 
const GRAVITYVIEW_DIR
"GRAVITYVIEW_DIR" "./" The absolute path to the plugin directory, with trailing slash ...
Definition: gravityview.php:49
GravityView_Default_Template_List class.
const GRAVITYVIEW_FILE
Full path to the GravityView file "GRAVITYVIEW_FILE" "./gravityview.php".
Definition: gravityview.php:40