תיאור
This plugin can override the Authors metabox on the post add/edit screen, letting users who can edit other people's posts, reassign a post to others user on the site.
This is especially useful in situations where you've created custom user roles that WordPress doesn't recognize as Authors. If you want to allow your content editors and administrators to assign new or existing content to anyone, you'll (hopefully) like this plugin very much indeed.
On WordPress 5.0, the metabox will appear below the main block editor (see screenshot). I will be supporting updates to the Status & Visibility box as soon as possible.
I'm not sure how far back this plugin will work, I'm saying it requires 3.5 or greater — it was originally developed using WordPress 4.1.
(Inspired by this trac ticket)
צילומי מסך
התקנה
- Upload the
better-author-metaboxfolder to the/wp-content/plugins/directory - הפעילו את התוסף.
- Visit Settings > Better Author Metabox to choose the post types where the expanded Author metabox should be made available, and users who should be included.
שאלות נפוצות
- I don't see any difference. What gives?
-
There are at least three reasons:
-
To see the better metabox, the logged-in user must have the
edit_others_postscapability. If you can't edit other people's posts, you shouldn't be able to change a post's author, right? -
You need to choose the post types where the plugin should be enabled. None are enabled by default. If a post type hasn't been enabled, it will use the default metabox.
-
If you've enabled a post type to use the better metabox, but still only see authors, select additional user roles to make sure they're included in the dropdown. This is especially useful for custom roles you've created.
-
- Can I exclude certain users without using roles?
-
This plugin doesn't support that directly, but there is a filter (
bam_wp_dropdown_users) that works just like the corewp_dropdown_usersfilter to let you edit its HTML before output.
סקירות
מפתחים
ניתן לתרגם את "Better Author Metabox" לשפה שלך.
מעוניינים בפיתוח?
עיינו בקוד, ראו את הקוד ב-SVN repository, או הירשמו ללוג פיתוח באמצעות RSS.
שינויים
1.0
- גרסה ראשונית.
1.0.1
- Fixed issue with multiple roles not being correctly merged (hat tip: WPSeeker), and a couple small issues with settings.
1.0.2
- Fixed issues in PHP strict mode (hit tip: Clifford Paulick), and other spots where notices and warnings might appear.
1.0.3
- Tested with WordPress 5.0's Gutenberg block editor, updated documentation.
1.0.4
- Code style fixes, tested on WordPress 5.1.
1.0.5
- Tested on WordPress 5.3.


