Custom Content Type Manager
[resolved] How to hide author field from non-admin users? (4 posts)

  1. frankGraf
    Posted 3 years ago #

    I have checked author-field in custom post type basic features as I want the admin allow to change the post-author.

    However, the author drop-down field is shown to all other users having the right to publish/edit this custom post type.

    What can I do to hide the author field from non-adminstrator users?



  2. fireproofsocks
    Plugin Author

    Posted 3 years ago #

    Have you tried looking at the Role Scoper plugin? The CCTM is not focused on extending WordPress permissions -- it just tries to be transparent.

  3. frankGraf
    Posted 3 years ago #

    Yes, I have tried Role-Scoper (RS). However, I did not succed to control post_author-field with RS.

    It would make a lot of sense:

    1) to allow admin to change post_author
    2) to hide post_author-field from non-admin users!

    No great thing to introduce that small feature into CCTM-plugin? This would be great!

    I can do this manually for myself (spending some time on this), however this would generate conflicts with automated plugin-updating.

    Thanks a lot

  4. frankGraf
    Posted 3 years ago #

    Sorry, I was wrong! Role Scoper (RS) works fine indeed for this:

    RS: assigning type-specific Roles (Roles > General) I can allow the user to edit his own posts only.

    WordPress automatically hides post_author field from those users then!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom Content Type Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic