-
Notifications
You must be signed in to change notification settings - Fork 0
/
mka-simple-slider.php
42 lines (36 loc) · 1.16 KB
/
mka-simple-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
33
34
35
36
37
38
39
40
41
42
<?php
/**
* Plugin Name: MKA Simple Slider
* Version: 1.0.0
* Description: Simple Slider by Monkey Kode.
* Author: Jull Weber
* Author URI: https://monkeykode.com/
* License: GPL2
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: mka-simple-slider
* Domain Path: /languages
*/
// If this file is called directly, abort.
defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
require_once( 'inc/class-simple-slider.php' );
require_once( 'inc/class-simple-slider-public.php' );
require_once( 'inc/class-simple-slider-admin.php' );
require_once( 'inc/class-options.php' );
require_once( 'inc/class-simple-slider-shortcode.php' );
require_once( 'inc/class-slider-post-type.php' );
define( 'THEME_NAME', 'goodwin' );
define( 'PLUGIN_VERSION', '1.0.0' );
define( 'PLUGIN_URL', plugin_dir_url( __FILE__ ) );
/**
* Initialize slider class. Check if doesn't exist.
*/
if ( ! function_exists( 'simple_slider_init' ) ) :
/**
* Init function.
*/
function simple_slider_init() {
load_plugin_textdomain( 'simple-slider', false, '/mka-simple-slider/languages/' );
SimpleSlider::run( THEME_NAME );
}
simple_slider_init();
endif;