Community Forums › Forums › Archived Forums › Design Tips and Tricks › Wanting to remove Genesis options from user profile
- This topic has 7 replies, 5 voices, and was last updated 9 years, 2 months ago by
Nate.
-
AuthorPosts
-
October 21, 2013 at 8:11 pm #68122
auswebdesign
MemberIs there a way to remove options from the User Profile such as:
User Permissions
Author Archive Settings
Theme SEO Settings
Layout SettingsOctober 21, 2013 at 11:11 pm #68136auswebdesign
MemberId also like to remove this from categories as well kindly.
October 24, 2013 at 4:54 am #68583auswebdesign
MemberDo genesis folks browse these forums? I find it hard to believe that there is no way to deregister or unhook certain genesis features as part of the framework.
October 24, 2013 at 6:19 pm #68737emasai
ParticipantIn answer to your questions, this is a voluntary forum not a Genesis support forum, so any help you receive here is through good will from fellow Genesis users.
Seek and ye shall find...there is a lot of information in the snippets section, namely what you are looking for
Need Website Customization or a Responsive CSS fix? Contact Me
Lynne emasai.comOctober 24, 2013 at 6:51 pm #68740auswebdesign
MemberThanks, I have been through all these, and none of it works... I don't get it. Even disabling every single file in my child theme, and only using a functions.php and:
remove_action( 'admin_menu', 'genesis_add_inpost_seo_box' );
remove_theme_support( 'genesis-inpost-layouts' );
remove_action( 'admin_menu', 'genesis_add_inpost_seo_box' );
remove_theme_support( 'genesis-admin-menu' );
remove_theme_support( 'genesis-seo-settings-menu' );It still appears everywhere.
Is there a Genesis Support Staff area that I could get direct help?
May 10, 2014 at 2:29 am #104402Brice
MemberHello,
i've found a solution for all genesis user fields
add_action( 'admin_init', 'custom_remove_user_profile_fields' );
function custom_remove_user_profile_fields(){
remove_action( 'show_user_profile', 'genesis_user_options_fields' );
remove_action( 'edit_user_profile', 'genesis_user_options_fields' );
remove_action( 'show_user_profile', 'genesis_user_archive_fields' );
remove_action( 'edit_user_profile', 'genesis_user_archive_fields' );
remove_action( 'show_user_profile', 'genesis_user_seo_fields' );
remove_action( 'edit_user_profile', 'genesis_user_seo_fields' );
remove_action( 'show_user_profile', 'genesis_user_layout_fields' );
remove_action( 'edit_user_profile', 'genesis_user_layout_fields' );
}July 26, 2014 at 3:12 pm #115933paulb
MemberThank you! I was looking for this.
December 10, 2015 at 9:05 am #173427Nate
MemberThank you for this! I'd been looking at everything for an hour and had no idea what I was doing wrong. Didn't know I needed to wrap this in a function at
admin-init
.Thank you Tasch!
There were some formatting issues, so I've re-posted the same code here, with my fixes from ` to ':
add_action( 'admin_init', 'custom_remove_user_profile_fields' ); function custom_remove_user_profile_fields(){ remove_action( 'show_user_profile', 'genesis_user_options_fields' ); remove_action( 'edit_user_profile', 'genesis_user_options_fields' ); remove_action( 'show_user_profile', 'genesis_user_archive_fields' ); remove_action( 'edit_user_profile', 'genesis_user_archive_fields' ); remove_action( 'show_user_profile', 'genesis_user_seo_fields' ); remove_action( 'edit_user_profile', 'genesis_user_seo_fields' ); remove_action( 'show_user_profile', 'genesis_user_layout_fields' ); remove_action( 'edit_user_profile', 'genesis_user_layout_fields' ); }
Just getting started in this brave new Genesis world… Thanks in advance for all help:-).
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.