Hide editing posts/templates from the front end for “author” role user

Posted in: Newspaper
Post count: 242

Hello,

I would like to hide edit posts/templates buttons (https://i.ibb.co/nwd3XJr/SCREENSHOT.png) from the front end for “author” role user (or any other role except admin). If there’s a possibility to do it without installing plugins (like code to add to functions.php…) it would be better.

Thank you in advance.

Post count: 27744

Hello,

The button will not work if the author did not create the posts.

Thank you!

Post count: 242

Hello,

Thank you but I would like those buttons not to be displayed for any user but administrator, is it possible via functions.php?

Thank you!

Post count: 27744

Hello,

Unfortunately, no.

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.