Created
October 24, 2012 17:13
-
-
Save bradp/3947399 to your computer and use it in GitHub Desktop.
Hides the ePanel on any Elegant Themes, drop into mu-pluings in /wp-content/
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: Disable ePanel on Frontend | |
Description: Hides/removes the stupid Elegant Themes ePanel | |
Author: bradparbs | |
Author URI: http://bradparbs.com/ | |
*/ | |
function disable_epanel_on_frontpage(){ | |
?><style>#et-control-panel{ display: none !important; }</style><?php | |
} | |
add_action('wp_head','disable_epanel_on_frontpage'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment