Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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