WordPress.org

Ready to get started?Download WordPress

Forums

amr users
[resolved] Do not list admin (3 posts)

  1. adammontague
    Member
    Posted 2 years ago #

    I'm getting on really well with the plugin and I think it's great, however I'm stuck on this...

    How do I remove/hide the site admin in the list of users?

    http://wordpress.org/extend/plugins/amr-users/

  2. adammontague
    Member
    Posted 1 year ago #

    Never mind, I figured it out on my own.

    Changed line 836 in ameta-list.php to:

    $html .= AMR_NL.'<tr class="row" id="user'.$id.'">'.$linehtml.'</tr>';

    and then just hid the ID's I wanted to in the CSS

    tr#user3{
    display:none;
    }
  3. anmari
    Member
    Plugin Author

    Posted 1 year ago #

    Hi adam,

    Nooo - don't change code - that will take you out of the upgrade path.

    Look at the settings for each user list - under 'configure the list'.

    For each field, there is an 'exclude' column where one can enter a value by which to exclude records.

    If your chosen displayed fields do not allow you to isolate the admin users, you can temporarily assign a column number to a field (eg: 'id'
    save (so it can now be configured) - then exclude the user id you wnat to exclude. then remove the column number - exclusion will still work even if the field is not displayed.

    equally you could exclude by role, or username etc...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags