That’s not a bad idea. I’ve been wanting to do some code refactoring on the plugin for a while now, and I think I can include this feature.
Just to be clear: you want to make the open graph meta box available only to specific roles you choose, such as editor, admin, author or contributor?
Let me know if I understand that correctly.
But I don’t have an E.T.A. I’m sorry to report. Due to time constraints I am only addressing issues that are critical when I have the time.
Stay tuned.
PS: If it’s absolutely critical that you have this now and can’t wait, and you don’t mind editing code, you could edit line 85 of _open_graphite.php to limit or expand the roles.
$allowed_roles = array('editor', 'administrator', 'author'); /* Show metabox to these roles */
-
This reply was modified 4 years, 4 months ago by
Rocket Apps.
-
This reply was modified 4 years, 4 months ago by
Rocket Apps.
Yeah, that’s exactly what I’m looking for. I have a site with 50 writers, 16 editors, and 3 EIC, I definitely don’t want to give full access to the writers or even editors. But I do want to encourage them to use OGP to the fullest.