Skip to content

Instantly share code, notes, and snippets.

@JohnBunka
Created February 5, 2013 23:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JohnBunka/4718513 to your computer and use it in GitHub Desktop.
Save JohnBunka/4718513 to your computer and use it in GitHub Desktop.
Remove admin management elements of your site using the Genesis Framework.
<?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