Want create site? Find Free WordPress Themes and plugins.

My Customer asked me to create a plugin to restrict the author to post in only one category, that’s time i wrote this plugin, but my friend said to me that it need to add multi-category for multi-purpose, and suitable for all my customers !

Download this plugin from WordPress.org !

My plugin will help you to restrict author in your blog post in just some category, see the screenshots below:

Admin can go to User > Edit Profile to add allowing category to user's profile

Admin can go to User > Edit Profile to add allowing categories to user’s profile

And editor/author that's been restricted will see just some alowing categories

And editor/author that’s been restricted will see just some alowing categories

If you want to remove the restriction from an author account, then simply visit their user profile again and scroll down to the Restrict Author Post to a category section. This time you need to unselect all categories to remove the restriction.

*> New update in Version 2.1, now you can restrict author using his/her own file only in Media Page:

Checkebox to allow User using all media file or his/her own media file

Checkebox to allow User using all media file or his/her own media file

I hope this article helped you restrict authors to specific categories on your WordPress site.

If you like my plugin, please make a donation !

Did you find apk for android? You can find new Free Android Games and apps.

Tôi là Jam, thâm niên 7 năm thiết kế website và làm seo, nếu các bạn thấy bài viết hay thì hãy chia sẻ cho những người khác cùng tham khảo, còn nếu muốn thiết kế website hoặc sửa web hay đặt một plugin có chức năng đặc biệt, hãy liên hệ ngay tới Jam ( thông tin ở chân trang )

Bài viết liên quan

34 nhận xét cho “Restrict Author Posting plugin”

  1. Hi man!
    I like your plugin “restrict author posting” but i want to suggest you upgrades:

    + The user can post to specific category you select to restrict. (ok)
    – but… The user can view other categories posts and edit them without problem.
    – but… The user can view all created pages and can edit them!

    In resume: Can you upgrade this plugin to simply restrict a specific user to create and edit posts in a single (or more) categories WITH limitation to view others posts from others categories and to “hide” pages that are not allowed to see and edit.

    I hope this can help you.

    Greetings.

    Marcelo Almada

    1. Dear Sir !
      Thanks you so much for suggesting me some of feature !
      Because before you install this plugin, authors ( i mean user with Author Role ) maybe posted something to other Category, so they must be allow to edit or delete them !
      To avoid User Edit or delete other Post, you may reduce User Role in user’s profile to “Author” or “Contributer” to simply restrict him/her from editing other user’s Post !
      If i am wrong, please tell me more, i simply add small code to plugin to suite your need !

      Thanks You !

  2. Hi,

    I enabled the module in WP 4.3.1, and it seems to have bug with the wp-admin/profile.php, because I cannot use the “Generate Password” button, and in inspect element, there are many jquery errors. After disabling it, the button worked again.

    Please kindly check and fix it. Thanks for an awesome module!

  3. This plugin works pretty good up to the moment, when the user that was restricted to a category creates a post, without a check-mark on that category and presses the update button. In this case the post will be published in the default category that this user didn’t have credentials to publish in.
    Maybe there are more solutions to this problem, but I would like to mention 2 here:
    1. Disable the update button unless the user chooses a category.
    2. If user is restricted to a category, the first one in the list will be chosen as a default for that user if he didn’t chose the category he wants to publish in.

  4. hi Matey! I love this pluggin, I think its awesome! I found a small bug, If I assign a category to a user, its amazing, but If i delete the category, an error pops up. If this is a bug you might be able to fix il send a donation off to you matey 🙂

  5. Hi Jam,

    I just installed WP 4.5 and installed your plugin only. When I go to look up users, I am unable to see any plugin. Also there is no longer a button to update user profiles and generate new password button does not work. When I deactivate the plugin it works again. Please help.

    Thank you

  6. I downloaded and installed this plugin and am recieving an error msg of
    Fatal error: Call to undefined function mb_convert_encoding() in /home/pbnr/public_html/wp-content/plugins/restrict-author-posting/restrict-author-posting.php on line 135

    Can you tell me what I need to do to fix this?

  7. Good, you could create a shortcode so that it can integrate with the plugin FrontierPost because with frontierpost assumes command, perhaps putting the shortcode in the form page Frontierpos the problem is solved.
    Thanks in advance.

    Buenas, podría crear un shortcode para poderlo integrar con el plugin de FrontierPost, ya que con frontierpost asume el mando, quizás poniendo el shortcode en la página del formulario de Frontierpos se soluciona el problema.
    Gracias de antemano.

  8. We are running the latest WP plugin. We have running about 25 plugins Some of which are part of a package for our theme. When I use Author Category plugin, their settings show up in the user profile. However, I do not see any of your plugin’s settings popular under that user info.

    Is there a way for you to look into this?

  9. Dear Jam,
    I appreciate very much your plugin (just a little donation has already been made), but I have a special request for you. As I have to copy lots of users from a SQL server to WP mysql table, and While I do it I create a separate category for each user and I would like each user could post only inside his own category. I made a script to move the users but I do not know how to add the flag “Restrict the categories in which this user can post to” automatically. Can you please suggest me where the flag is located (in a MySql table ? if so which one and where ?). Or isthere a tool to make a massive connection between user and its own category ? Thanks and best regards. Leonardo Pesaresi – Italy

  10. hello when i use it i get this error message

    Call to undefined function mb_convert_encoding() in /home/joeyspeaks/public_html/wp-content/plugins/restrict-author-posting/restrict-author-posting.php on line 145

  11. Thank you and congratulations. This plugin meets my needs exactly. I would simply like to be able to assign the same authorized categories to several authors at once, in a single operation. Perhaps an idea? Thank you very much.

Trả lời

Thư điện tử của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *

Lưu ý: Không đăng thông tin cá nhân của bạn như email hay số điện thoại để không bị quấy rầy, tham khảo thêm quy định khi comment !