• Resolved Marko6548

    (@marko6548)


    Hello,

    How to hide/exclude Admin user from the authors list as it is hard to find the admin ID and exclude it.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WPKube

    (@wpkube)

    Hi @marko6548

    The admin ID is usually 1, it’s the first user. Unless the administrator you want to hide is made after the original first admin user.

    [authors_list exclude="1"]

    Alternatively you can define the specific roles you want to use:

    [authors_list roles="editor,author"]

    That would exclude the users with administrator roles.

    Thread Starter Marko6548

    (@marko6548)

    Thank you very much.

    The [authors_list roles=”editor,author”] worked fine for me.

    Plugin Author WPKube

    (@wpkube)

    You’re welcome.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to hide Admin from the authors list’ is closed to new replies.