GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
class-gravityview-preset-business-listings.php
Go to the documentation of this file.
1 <?php
2 /**
3  * GravityView preset template
4  *
5  * @file class-gravityview-preset-business-listings.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_business_listings';
17 
18  function __construct() {
19  $settings = array(
20  'slug' => 'list',
21  'type' => 'preset',
22  'label' => __( 'Business Listing', 'gk-gravityview' ),
23  'description' => __( 'Display business profiles.', 'gk-gravityview' ),
24  'logo' => plugins_url( 'includes/presets/business-listings/logo-business-listings.png', GRAVITYVIEW_FILE ),
25  //'preview' => 'http://demo.gravityview.co/blog/view/business-listings/',
26  'preset_form' => GRAVITYVIEW_DIR . 'includes/presets/business-listings/form-business-listings.json',
27  'preset_fields' => GRAVITYVIEW_DIR . 'includes/presets/business-listings/fields-business-listings.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