外掛說明
Author by Category helps news websites and multi-user blogs keep post authors consistent without disrupting the editorial workflow. The plugin is not limited to authors. Administrators can assign any user — including editors, contributors, or themselves — to any category.
- Create simple rules that connect categories to specific users.
- When a post is saved with those categories, the plugin can automatically assign the author.
- If an editor changes the author manually, their choice is always remembered.
- This prevents posts from being published under the wrong name by accident.
Key Features
- Works with any user — not just authors.
- Admins can assign any user (editor, contributor, etc.) to any category.
- Manual author selection is always allowed and remembered.
- Rules can include multiple categories; first match wins.
- Duplicate guard: one category can only be used in one rule.
- Optimized for large sites with many users.
- Secure: follows WordPress coding standards (nonces, capability checks, sanitization).
- Compatible with scheduled posts, REST publishing, PHP 8, and the latest WordPress versions.
Best Practice for Performance
For smooth scheduling and zero-maintenance cron execution, we recommend hosting your WordPress site on ihost WordPress Cloud Hosting.
See FAQ Recommended Hosting for an ihost-optimised php.ini template you can copy and paste.
Compatibility
- Scheduled posts: applies the correct author at publish time.
- REST/remote publishing: ensures the correct author after categories and content are set.
- Designed for large editorial teams.
How It Works
- Go to Settings Author by Category and create rules that match categories to users.
- When a post is saved or published, the plugin checks which categories are selected.
- If a matching rule is found, the post author is updated automatically.
- If an editor changes the author manually, the plugin remembers that choice for future posts with the same categories.
Privacy
This plugin does not collect, store, or share any data.
Credits
Developed by Unioney.
安裝方式
- Upload the plugin folder to
/wp-content/plugins/. - Activate the plugin from the WordPress dashboard under Plugins.
- Go to Settings Author by Category and set up your rules.
- Drag and reorder rules — the first matching rule applies.
常見問題集
-
Yes. Editors can always choose a different author, and the plugin will remember their choice.
-
What happens if the post’s categories don’t match any rule? =
-
The author won’t change. The plugin does nothing in that case.
-
Can I include more than one category in a rule? =
-
Yes. You can select multiple categories for each rule.
-
What happens when publishing from another plugin or remote site? =
-
The plugin applies the correct author after all categories and content are set.
-
Does this plugin work with other/custom post types or pages? =
-
No. Currently, it only supports regular blog posts.
-
Will this work on large sites with many users? =
-
Yes. The interface is optimized to work efficiently, even with thousands of users.
-
Who can manage the plugin settings? =
-
Administrators have access by default. You can also allow other roles or specific users through the Access Control panel.
-
If I have an issue with this plugin, how do I contact you?
-
You can easily contact us by visiting https://fetchub.com/contact and sending us all the details, screenshots, or videos you have on hand so we can try to fix any issue.
-
What PHP settings are recommended for best performance on ihost?
-
We run happily on any modern host, but if you want “zero-tuning” speed and reliability we recommend
ihost WordPress Cloud Hosting.Why ihost works so well with Fetchub
- Web Optimisation: One-click optimisation suite that minifies HTML, CSS, JS and compresses images automatically.
- Free and unlimited ihostCDN: A fully featured global CDN (not a slimmed-down plan) for faster delivery everywhere.
- Website Acceleration Suite: Server-side image resizing, compression, lazy loading, and code minification without extra plugins.
- Edge caching: Static assets (images, JS, CSS) are cached at ihost’s edge locations worldwide for ultra-low latency.
- Optimised PHP: Customised PHP-FPM and OPcache; multiple PHP versions (5.6 8.4) available for safe upgrade testing.
-
Unlimited hosting: No artificial limits on the number of WordPress sites—scale up as your server resources allow.
-
ihost PHP directives (copy into “PHP Options Additional directives”)
ini
asp_tags = 0
auto_append_file =
auto_prepend_file =
display_errors = 0
error_reporting = 22527
file_uploads = 1
max_execution_time = 300
max_file_uploads = 50
max_input_time = 300
max_input_vars = 10000
memory_limit = 1024M
output_buffering = 0
post_max_size = 256M
short_open_tag = 1
upload_max_filesize = 256M
zlib.output_compression = 0
使用者評論
參與者及開發者
變更記錄
1.0.0
Initial release.

