redux-framework icon indicating copy to clipboard operation
redux-framework copied to clipboard

How to remove a section in child theme for specific user roles?

Open sepano opened this issue 10 years ago • 1 comments

Hi I bought a theme that uses Redux I need to hide some sections for shopmanager through child theme's functions.php But it seems that there is not any method to remove/alter a section. I tried to add new sections in child theme but cant hide sections.

is there any way to hide a specific section in child theme for specific user roles?

sepano avatar Jul 27 '16 08:07 sepano

You'd need to use removeSection via the Redux API: https://docs.reduxframework.com/core/redux-api/

For user roles, set up conditional statements using current_user_can().

Understand, modifications for child themes are typically the theme author's responsibility. I have NO idea how the theme or the author implements Redux. For us to write that code for you would fall under premium services, a few hours worth at least.

kprovance avatar Jul 27 '16 14:07 kprovance