forked from tommcfarlin/wp-gist
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwordpress-gist.php
More file actions
52 lines (42 loc) · 1.35 KB
/
wordpress-gist.php
File metadata and controls
52 lines (42 loc) · 1.35 KB
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
/**
* WordPress Gist.
*
* Adds support for GitHub Gist embeds in WordPress.
*
* @package WordPress_Gist
* @author Michael Novotny <manovotny@gmail.com>
* @license GPL-3.0+
* @link https://github.com/manovotny/wordpress-gist
* @copyright 2013 Michael Novotny
*
* @wordpress-plugin
* Plugin Name: WordPress Gist
* Plugin URI: https://github.com/manovotny/wordpress-gist
* Description: Adds support for GitHub Gist embeds in WordPress.
* Version: 2.0.0
* Author: Michael Novotny
* Author URI: http://manovotny.com
* Text Domain: English
* License: GPL-3.0+
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Domain Path: /lang
*/
/*
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ CONTENTS /\/\/\/\/\/\/\/\/\/\/\/\/\/\//\/\/\/\/\
1. Access
3. Instantiation
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\//\/\/\/\/\/\/\/\/\/\
*/
/* Access
---------------------------------------------------------------------------------- */
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
} // end if
/* Instantiation
---------------------------------------------------------------------------------- */
// Include plugin files.
require_once( plugin_dir_path( __FILE__ ) . 'classes/class-wordpress-gist.php' );
// Create plugin instance.
WordPress_Gist::get_instance();