Skip Navigation

[Resolved] I want to hide one custom field in admin panel from my Content Manager

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user wanted to hide a specific custom field from a user on a post page.

Solution:

It is not possible to hide a single post field from a user, this would need to be done using css by checking the user's role with php code and applying the css based on user role.
https://css-tricks.com/snippets/wordpress/apply-custom-css-to-admin-area/
So you need to check the users role then apply the css.
https://wordpress.stackexchange.com/questions/5047/how-to-check-if-a-user-is-in-a-specific-role

This support ticket is created 5 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 2 replies, has 2 voices.

Last updated by Serhii 5 years, 9 months ago.

Assisted by: Shane.

Author
Posts
#1189922

Hi, I have created a new role Poster using Toolset Access (User from this role adding new reviews casino on my site).

I have set all needs permissions except one, I need to hide one custom field (hidden link) from users who have role 'Poster' and adding new content.

But I do not understand how. The tap "Types Fields" does not give me such an opportunity. I can just two variants: show all custom fields for Poster role or hide all custom fields from Poster role.

Please help me with my problem.

#1189961

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Serhii,

Thank you for contacting our support forum.

It is not possible to hide a single post field from a user, this would need to be done using css by checking the user's role with php code and applying the css based on user role.
hidden link
So you need to check the users role then apply the css.
https://wordpress.stackexchange.com/questions/5047/how-to-check-if-a-user-is-in-a-specific-role

Please let me know if this helps.
Thanks,
Shane

#1193635

Unfortunately, Toolset doesn't have needed settings by default. In my opinion, they should be.