GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
class-gravityview-preset-job-board.php
Go to the documentation of this file.
1 <?php
2 /**
3  * GravityView preset template
4  *
5  * @file class-gravityview-preset-job-board.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_job_board';
17 
18  function __construct() {
19  $settings = array(
20  'slug' => 'list',
21  'type' => 'preset',
22  'label' => __( 'Job Board', 'gk-gravityview' ),
23  'description' => __( 'Post available jobs in a simple job board.', 'gk-gravityview' ),
24  'logo' => plugins_url( 'includes/presets/job-board/logo-job-board.png', GRAVITYVIEW_FILE ),
25  //'preview' => 'https://site.try.gravitykit.com/job-board/',
26  'preset_form' => GRAVITYVIEW_DIR . 'includes/presets/job-board/form-job-board.json',
27  'preset_fields' => GRAVITYVIEW_DIR . 'includes/presets/job-board/fields-job-board.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