public
Last active

Remove admin management elements of your site using the Genesis Framework.

  • Download Gist
functions.php
PHP
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<?php
//* Do NOT include the opening php tag
 
//* 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' );

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.