-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfootnotes-propelled.php
47 lines (40 loc) · 1.33 KB
/
footnotes-propelled.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
<?php
/*
* Plugin Name: Footnotes Propelled
* Version: 0.9
* Plugin URI: http://webpropelled.com/footnotes-propelled
* Description: Easily add footnotes to your content which are inline meaning your visitor can click to view them without leaving the flow of your content.
* Author: Geoff Moss
* Author URI: http://webpropelled.com
* Requires at least: 4.0
* Tested up to: 4.0
*
* Text Domain: footnotes-propelled
* Domain Path: /lang/
*
* @package WordPress
* @author Geoff Moss
* @since 0.9
*/
if ( ! defined( 'ABSPATH' ) ) exit;
// Load plugin class files
require_once( 'includes/class-footnotes-propelled.php' );
require_once( 'includes/class-footnotes-propelled-settings.php' );
// Load plugin libraries
require_once( 'includes/lib/class-footnotes-propelled-admin-api.php' );
require_once( 'includes/lib/class-footnotes-propelled-post-type.php' );
require_once( 'includes/lib/class-footnotes-propelled-taxonomy.php' );
/**
* Returns the main instance of Footnotes_Propelled to prevent the need to use globals.
*
* @since 1.0.0
* @return object Footnotes_Propelled
*/
function Footnotes_Propelled () {
$instance = Footnotes_Propelled::instance( __FILE__, '1.0.0' );
if ( is_null( $instance->settings ) ) {
$instance->settings = Footnotes_Propelled_Settings::instance( $instance );
}
return $instance;
}
Footnotes_Propelled();