Created
February 5, 2013 23:01
-
-
Save JohnBunka/4718513 to your computer and use it in GitHub Desktop.
Remove admin management elements of your site using the Genesis Framework.
This file contains hidden or 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 | |
// Remove Genesis in-post SEO Settings | |
remove_action( 'admin_menu', 'genesis_add_inpost_seo_box' ); | |
// Remove Genesis Layout Settings | |
remove_theme_support( 'genesis-inpost-layouts' ); | |
// Remove Genesis menu link | |
remove_theme_support( 'genesis-admin-menu' ); | |
// Remove Genesis SEO Settings menu link | |
remove_theme_support( 'genesis-seo-settings-menu' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment