GravityView  1.19.4
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  * @package GravityView
7  * @license GPL2+
8  * @author Katz Web Services, Inc.
9  * @link http://gravityview.co
10  * @copyright Copyright 2015, Katz Web Services, Inc.
11  *
12  * @since 1.15
13  */
14 
16 
17  function __construct() {
18 
19  $id = 'preset_staff_profiles';
20 
21  $settings = array(
22  'slug' => 'list',
23  'type' => 'preset',
24  'label' => __( 'Staff Profiles', 'gravityview' ),
25  'description' => __( 'List members of your team.', 'gravityview' ),
26  'logo' => plugins_url( 'includes/presets/staff-profiles/logo-staff-profiles.png', GRAVITYVIEW_FILE ),
27  'preview' => 'http://demo.gravityview.co/blog/view/staff-profiles/',
28  'preset_form' => GRAVITYVIEW_DIR . 'includes/presets/staff-profiles/form-staff-profiles.xml',
29  'preset_fields' => GRAVITYVIEW_DIR . 'includes/presets/staff-profiles/fields-staff-profiles.xml',
30  );
31 
32  parent::__construct( $id, $settings );
33 
34  }
35 }
36 
const GRAVITYVIEW_DIR
"GRAVITYVIEW_DIR" "./" The absolute path to the plugin directory
Definition: gravityview.php:35
GravityView_Default_Template_List class.
const GRAVITYVIEW_FILE(!defined( 'ABSPATH'))
Plugin Name: GravityView Plugin URI: https://gravityview.co Description: The best, easiest way to display Gravity Forms entries on your website.
Definition: gravityview.php:26