Created
November 3, 2014 04:49
-
-
Save ryandonsullivan/bafe1bf4d45cfc1504f8 to your computer and use it in GitHub Desktop.
File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Genesis Simple Logo | |
Description: Lets you easily add a logo to your Genesis website using the WordPress customizer. | |
Version: 1.0.8.1 | |
License: GPL version 2 or any later version | |
Plugin URI: http://flagshipwp.com/plugins/genesis-simple-logo/ | |
Git URI: https://github.com/wpbacon/genesis-simple-logo | |
Author: Flagship | |
Author URI: http://flagshipwp.com/ | |
Text Domain: genesis-simple-logo | |
GitHub Plugin URI: https://github.com/wpbacon/genesis-simple-logo | |
GitHub Branch: master | |
========================================================================== | |
Copyright 2013-2014 Flagship | |
This program is free software; you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation; either version 2 of the License, or | |
(at your option) any later version. | |
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
*/ | |
// Exit if accessed directly | |
defined( 'WPINC' ) or die; | |
// Grab this directory. | |
$_genlogo_dir = plugin_dir_path( __FILE__ ); | |
// Include our core plugin files. | |
include( $_genlogo_dir . 'includes/install.php' ); | |
include( $_genlogo_dir . 'includes/plugin.php' ); | |
// Clean up. | |
unset( $_genlogo_dir ); | |
// Handy function for grabbing the plugin instance. | |
function genesis_simple_logo() { | |
return new Genesis_Simple_Logo; | |
} | |
// Initialize the plugin. | |
genesis_simple_logo()->run(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment