外掛說明
This plugin is in early development stage. Expect bugs.
安裝方式
- Upload the
enhancedemailsfolder to/wp-content/plugins/ - Activate the plugin through the ‘Plugins’ menu in WordPress
常見問題集
Will the plugin break my current site?
This is highly unlikely to happen. The plugin enhances the way WordPress handles e-mail notifications, but it does it in a unobtrusive way. Basically, it provides a wrapper for wp_mail, which can be used for e-mail notifications. If you did override any pluggable email notification functions, make sure to use eemails_wp_mail instead of wp_mail in order to make use of the plugin functionality.
How can I create my own e-mail theme?
It’s easy – just put your email.php theme file inside your current WP theme directory (if you put it inside wp-content it should work as well, but it’s bad practice).
How does template hierarchy work for e-mails?
An example email template name looks like this: email-action1-action2. The plugin tries to locate email-action1-action2.php in your theme folder, and if it fails – it tries to use email.php from your theme. If this fails, too, the plugin will use its default email-action1-action2.php template, or if it doesn’t exist – just emails.php.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
0.1
Basic functionalities added.
0.2
- Refactored template hierarchy
- Added output sanitization
- Removed output buffering
- Added a general layout to avoid code duplication
- Theme CSS improvements
- Adjusted wp_mail wrapper to exactly fit the argument structure
- Improved documentation