WordPress.org

Ready to get started?Download WordPress

Forums

Adminimize
Hide personal info in profile (7 posts)

  1. Stergos
    Member
    Posted 2 years ago #

    Hi, I am trying to hide "personal info" in profile for some roles but without success. I tried #your-profile .form-table:first and #your-profile h3:first but it didn't work, any suggestions would be very helpful, thank you very much!

    http://wordpress.org/extend/plugins/adminimize/

  2. Frank
    Member
    Plugin Author

    Posted 2 years ago #

    what si "personal info"; see http://www.diigo.com/item/image/1j30r/qpwn

  3. Stergos
    Member
    Posted 2 years ago #

    Ops you are right my mistake apologize I mean "Personal Options" table.

  4. Stergos
    Member
    Posted 2 years ago #

    No one knows that?

  5. Frank
    Member
    Plugin Author

    Posted 2 years ago #

    i think no, this part has no an identifier to use with css.

  6. Stergos
    Member
    Posted 2 years ago #

    At least any code to remove complete the features in there?

    For example to remove the Keyboard Shortcuts I am using #comment_shortcuts but the text "Keyboard Shortcuts" and "Enable keyboard shortcuts for comment moderation. More information" is still there. Same with Visual Editor I am using #rich_editing but the text "Visual Editor" and "Disable the visual editor when writing" is there only the tick boxes is removed.

  7. abmcr
    Member
    Posted 1 year ago #

    I have successful used this little code

    function utente_js(){
    		echo '
    		<script type="text/javascript">
    		jQuery(document).ready(function($) {
    
    			$(\'.form-table\').first().remove();
    		});
    		</script>';
    }
    
    		add_action('admin_footer', 'utente_js');

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags