Hi I have a membership based WordPress blog using Tagdiv NewsPaper theme, currently there are dozens of people who have registered as writers on it.
However some of the members have a habit to choose their own post template, that’s giving me more job to re-edit the template to the default post template.
My question is how to disable post template settings only for certain role member so it won’t appear when writing a post to my member with a certain role only.
Thank you very much
Me
Hello @Romi!
Unfortunately, the theme doesn’t control these permissions. You can change the roles and capabilities of your users from here: https://wordpress.org/support/article/roles-and-capabilities/
Only administrators and editors should be able to edit posts and with the TagDiv Composer.
Thank you!
I have followed to the link you recommended yet couldn’t find the answer of my question, I even have installed a WordPress plugin called “Capabilites” but no menu to disable the Post Settings.
Anyway, just put it this way, I don’t need to disable the Post Settings only to a certain ROLE, but to the all roles…How can I achieve this. And Post Settings only exists in Tagdiv NewsPaper theme, that means its existence due to be added by Tagdiv. So I would like to know how to disable this Post Settings option because it gives me an additional work to revert to the default theme, because some of my blog’s members keep changing the blog’s template.
Hello @romi!
You can set their account as Author or Subscriber by accessing Users -> choose an user, click Edit -> change the role of your user from this dropdown: https://www.screencast.com/t/RoJkyHjLJzng
Hope that helps you!
Thank you!
Hi Romi, there is a solution, but this will hide the post templates for all users that are not admin. For this you need to use this code:
-> https://pastebin.com/zcB66QAi
You need to set it in functions.php, I recommend to set it in the child theme functions.php.
I hope this will help you!
Hello @romi!
My colleague already mentioned above that this will hide the post templates for all users that are not admin.
Please note that customization is not covered by the support team: https://forum.tagdiv.com/newspaper-theme-support/
For customization and other services you can contact our custom work team here: https://tagdiv.com/premium-customization-services/
Thank you for understanding!
Hi Bettina
Yes, I said in my previous post that non-Admin (not Admin) roles still has this option, even after I applied the code from Calin.
Is making a certain option, such as Post Template, disabled not covered by the support forum? Because basically I am not asking for customization only asking for disabling the already available option.
Thank you.
-
This reply was modified 4 years by
Romi.
This is the part of code shared by Calin: .td-meta-box-row:first-child Does this code work only on child theme? If it does, I don’t know how to make child theme.
Let’s make it easier for me, how about give me the code that can work on Parent Template, so that I can simpy paste the code and save, done without the need to make child theme.
Thank you
Romi
Hello @romi!
We recommend child theme because any change you make in the files after update will be overwritten and you have to make the changes again. Please take a look in the documentation: https://forum.tagdiv.com/the-child-theme-support-tutorial/
Thank you!