-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsection-slider.php
32 lines (27 loc) · 964 Bytes
/
section-slider.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
/***
* Plugin Name: Section Slider
* Plugin URI: https://kreelabs.com
* Description: Create sections within a post and display it in an interactive slider.
* Version: 0.0.0
* Author: KreeLabs
* Author URI: https://github.com/kreelabs
* Text Domain: section-slider
* Domain Path: /languages
*
* Copyright (c) 2020 KreeLabs <[email protected], @kreelabs>.
*/
//Avoid direct calls to this file
if ( ! defined( 'ABSPATH' ) ) {
header( 'Status: 403 Forbidden' );
header( 'HTTP/1.1 403 Forbidden' );
die( 'Access Forbidden' );
}
define( 'SS_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'SS_PLUGIN_URL', plugins_url( '', __FILE__ ) );
define( 'SS_TEMPLATE_DIR', SS_PLUGIN_DIR . 'templates/' );
include SS_PLUGIN_DIR . 'bootstrap/class-loader.php';
include SS_PLUGIN_DIR . 'bootstrap/template-loader.php';
include SS_PLUGIN_DIR . 'bootstrap/freemius-loader.php';
/** Initialize the awesome */
new \SectionSlider\Section_Slider();