-
Notifications
You must be signed in to change notification settings - Fork 0
/
wpp-carousel.php
52 lines (46 loc) · 1.92 KB
/
wpp-carousel.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
43
44
45
46
47
48
49
50
51
52
<?php
/**
* Plugin Name: WPP Carousel
* Plugin URI: http://wppoets.com/plugins/carousel.html
* Description: TODO...
* Version: 0.9
* Author: WP Poets <[email protected]>
* Author URI: http://wppoets.com
* License: GPLv2 (dual-licensed)
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/**
* Copyright (c) 2014, WP Poets and/or its affiliates <[email protected]>
* Portions of this distribution are copyrighted by:
* Copyright (c) 2014 Michael Stutz <[email protected]>
* All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License, version 2, as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
/**
* @author Michael Stutz <[email protected]>
*/
if ( ! defined( 'ABSPATH' ) ) // We should not be loading this outside of wordpress
die();
if ( ! defined( 'WPP_CAROUSEL_VERSION_NUM' ) )
define( 'WPP_CAROUSEL_VERSION_NUM', '0.9.0' );
if ( ! defined( 'WPP_CAROUSEL_PLUGIN_FILE' ) )
define( 'WPP_CAROUSEL_PLUGIN_FILE', __FILE__ );
if ( ! defined( 'WPP_CAROUSEL_PLUGIN_PATH' ) )
define( 'WPP_CAROUSEL_PLUGIN_PATH', dirname(__FILE__ ) );
if ( ! defined( 'WPP_CAROUSEL_FILTER_FILE' ) )
define( 'WPP_CAROUSEL_FILTER_FILE', 'wpp-carousel/wpp-carousel.php' );
//Include the common functions
require_once( WPP_CAROUSEL_PLUGIN_PATH . '/src/functions/common.php' );
wpp_init_class( 'WPP_Carousel', WPP_CAROUSEL_PLUGIN_PATH . '/src/classes/class-wpp-carousel.php' );