WordPress.org

Make WordPress Core

Opened 3 months ago

Last modified 3 months ago

#50158 assigned feature request

Hide columns in the list of posts for user levels

Reported by: vejapixel Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.4.1
Component: Administration Keywords: 2nd-opinion
Focuses: ui Cc:

Description

On the page all posts, columns of information are shown (Titles, Author, Categories, Tags, ...). And there may be some columns that we don't want to show to all user levels, for example on my website I have installed the “Search Exclude” plugin and they insert a column in the list of posts to inform whether each post is hidden or visible, https://prnt.sc/sab4vw
But, this column is not required to be shown to users who are not Administrators or even Editor levels. So, I would like to hide this column for Author, Contributor, Subscriber and ect levels. But the plugin does not offer this option, and with that I have no option to hide.

The WP has the “Screen options” feature where each user can hide certain columns. However, this feature applies individually to each user, that is, each user hides the column only for him. And what I wanted, as a site administrator, is to have the control to hide columns for all levels of users and to control which levels of users I want. In fact, I, as an administrator, could even have the control to hide columns for certain users (I select the column I want to hide and then select the users to whom that column should be hidden).

WP does not offer this feature. So I would like to leave this suggestion to the development staff.

Thank you!
Rodrigo Carlos

Change History (2)

#1 @SergeyBiryukov
3 months ago

  • Component changed from General to Administration
  • Focuses ui added
  • Keywords 2nd-opinion added

Hi there, welcome to WordPress Trac! Thanks for the ticket.

But, this column is not required to be shown to users who are not Administrators or even Editor levels. So, I would like to hide this column for Author, Contributor, Subscriber and ect levels. But the plugin does not offer this option, and with that I have no option to hide.

I think it would be a good idea to suggest this enhancement to the author of the plugin in question, core already provides all the functions they might need to implement this.

Hiding specific list table columns for specific user roles also seems like plugin territory to me, as there might be a lot of different use cases that would be best implemented in a plugin.

#2 @vejapixel
3 months ago

Hi @SergeyBiryukov,

Thanks for your reply.

Asking each user to remove the column is a bit annoying.

Yes, I also believe that there must be a plugin that does this job. But installing more plugins will make my site slow down, and the job looks so simple

There are many small customizations that we would like to do and that usually have plugins for that. But, the problem is that installing plugin for any customization we want, there will come a time when we will have hundreds of plugins installed and the site will be slow.

Therefore, it would be a solution for WP to offer the maximum backend customization feature to avoid installing plugins as much as possible.

Note: See TracTickets for help on using tickets.