forked from ThematoSoup/Sticky-Header
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sticky-header.php
executable file
·35 lines (32 loc) · 1.04 KB
/
sticky-header.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
<?php
/**
* The WordPress Plugin Boilerplate.
*
* A foundation off of which to build well-documented WordPress plugins that also follow
* WordPress coding standards and PHP best practices.
*
* @package Sticky_Header
* @author ThematoSoup <[email protected]>
* @license GPL-2.0+
* @link http://thematosoup.com
* @copyright 2013 ThematoSoup
*
* @wordpress-plugin
* Plugin Name: Sticky Header
* Plugin URI: http://thematosoup.com
* Description: Adds sticky header to your WordPress website
* Version: 1.0.0
* Author: ThematoSoup
* Author URI: http://thematosoup.com
* Text Domain: thsp-sticky-header
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Domain Path: /languages
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
require_once( plugin_dir_path( __FILE__ ) . 'class-sticky-header.php' );
require_once( plugin_dir_path( __FILE__ ) . 'sticky-header-settings.php' );
add_action( 'plugins_loaded', array( 'Sticky_Header', 'get_instance' ) );