Title: Exclude Admin from widget
Last modified: August 31, 2016

---

# Exclude Admin from widget

 *  Resolved [pugman76](https://wordpress.org/support/users/pugman76/)
 * (@pugman76)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/exclude-admin-from-widget/)
 * Is there a way to exclude the admin from the suggestions on the widget?
 * [https://wordpress.org/plugins/buddypress-foaf/](https://wordpress.org/plugins/buddypress-foaf/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [quan_flo](https://wordpress.org/support/users/quan_flo/)
 * (@quan_flo)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/exclude-admin-from-widget/#post-6976959)
 * normally admin is excluded already.
    what’s the ID in the Database for your admin
   user? (row ID in table wp_users). Is the ID another than 1?
 *  Thread Starter [pugman76](https://wordpress.org/support/users/pugman76/)
 * (@pugman76)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/exclude-admin-from-widget/#post-6977129)
 * Okay for some reason that admin ID is 2, not 1. I think some security program
   changed it, and I tried to change it back to 1 in the database, but then I couldn’t
   get into the backend of wordpress (does not have permission error). Any suggestions?
 *  Plugin Author [quan_flo](https://wordpress.org/support/users/quan_flo/)
 * (@quan_flo)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/exclude-admin-from-widget/#post-6977140)
 * ID 1 is excluded and it is not usual to have admin user with ID 2. you can modify
   the plugin’s sourcecode if you want and change excluded ID 1 to 2. this will 
   do what you want.
 *  Thread Starter [pugman76](https://wordpress.org/support/users/pugman76/)
 * (@pugman76)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/exclude-admin-from-widget/#post-6977241)
 * Ok thanks for the help. I found it in the code and changed it. My userid was 
   changed to “2” from my security program. Apparently having admin as “1” makes
   it easier to get hacked. Thanks again!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Exclude Admin from widget’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/buddypress-foaf_cc9e79.svg)
 * [Buddypress Friend of a Friend (FOAF)](https://wordpress.org/plugins/buddypress-foaf/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/buddypress-foaf/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/buddypress-foaf/)
 * [Active Topics](https://wordpress.org/support/plugin/buddypress-foaf/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/buddypress-foaf/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/buddypress-foaf/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [pugman76](https://wordpress.org/support/users/pugman76/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/exclude-admin-from-widget/#post-6977241)
 * Status: resolved