描述
This is a simple plugin that helps to clean up the admin side of WordPress by only showing the currently logged in user’s content the Post/Page/Media pages.
For the Media list, you can provide a list of user ID’s who’s Media will also be available to logged in users. It is highly recommended to create a user for this purpose.
Credits
This plugin was inspired by an article by Sarah Gooding on wpmudev and uses portions of that code. Please see the source code for further details.
安装
- Upload
plugin-name.php
to the/wp-content/plugins/
directory - 通过WordPress的的“Plugins”菜单激活插件
- Add any additional user id’s in the settings page.
常见问题
- Installation Instructions
-
- Upload
plugin-name.php
to the/wp-content/plugins/
directory - 通过WordPress的的“Plugins”菜单激活插件
- Add any additional user id’s in the settings page.
- Upload
- Why would I want to give users access to other users media?
-
This would allow you to create set of standard or default media available to all users. In the case where users are creating content and don’t have an image, they can choose one from the “Media Pool”.
- Why create a new user just for media?
-
If you create all of your site content with one user and allow that user’s media to be shared, then other users could get to your users content from the Media Library page and (depending on the role assiged to them) potentially modify the content.
You can use the above to your advantage by creating example content for users and uploading media to it.
评价
此插件暂无评价。
贡献者及开发者
更新日志
1.0
- plugin created
1.0.1
- bug fix for undefined variable on re-activation because I’m a hack.
- added proper cleanup if plugin is deleted – don’t know why you’d want to do something like that, but there it is.
1.0.2
- minor fixes for the Media Library limitation
1.0.3
- minor cleanup and fix
2.0
- cleanup of code base
- security fixes
- Only showing the Mine count for posts/pages – thanks for the suggestion @drbellerive!