├── LICENSE.txt ├── README.txt ├── admin ├── class-mailtpl-admin.php ├── css │ └── mailtpl-admin.css ├── index.php ├── js │ ├── mailtpl-admin.js │ ├── mailtpl-pointer.js │ └── mailtpl-public.js ├── templates │ ├── default.php │ └── partials │ │ ├── default-message.php │ │ ├── email-content.php │ │ ├── footer.php │ │ └── header.php └── test.php ├── assets ├── css │ ├── customizer-icon-select.css │ ├── customizer-range-value-control.css │ ├── customizer-repeater-control.css │ ├── customizer-styles.css │ ├── customizer-toggle-switch-control.css │ └── fonts │ │ ├── iconpicker.eot │ │ ├── iconpicker.svg │ │ ├── iconpicker.ttf │ │ ├── iconpicker.woff │ │ ├── woomail-social.eot │ │ ├── woomail-social.svg │ │ ├── woomail-social.ttf │ │ ├── woomail-social.woff │ │ └── woomail-social.woff2 ├── fonts │ ├── iconpicker.eot │ ├── iconpicker.svg │ ├── iconpicker.ttf │ └── iconpicker.woff ├── images │ ├── WooCommerce-wordpress-01.png │ ├── WooCommerce-wordpress-02.png │ ├── attendees.xlsx │ ├── black │ │ ├── digg.png │ │ ├── dribbble.png │ │ ├── facebook.png │ │ ├── google-plus.png │ │ ├── instagram.png │ │ ├── link.png │ │ ├── linkedin.png │ │ ├── pinterest.png │ │ ├── rss.png │ │ ├── stumbleupon.png │ │ ├── tumblr.png │ │ ├── twitter.png │ │ ├── vimeo.png │ │ ├── vk.png │ │ ├── whatsapp.png │ │ └── youtube.png │ ├── gray │ │ ├── digg.png │ │ ├── dribbble.png │ │ ├── facebook.png │ │ ├── google-plus.png │ │ ├── instagram.png │ │ ├── link.png │ │ ├── linkedin.png │ │ ├── pinterest.png │ │ ├── rss.png │ │ ├── stumbleupon.png │ │ ├── tumblr.png │ │ ├── twitter.png │ │ ├── vimeo.png │ │ ├── vk.png │ │ ├── whatsapp.png │ │ └── youtube.png │ ├── icon-128x128.png │ ├── image-1-01.png │ ├── image-2-02.png │ ├── kt_flat_template.jpg │ ├── kt_full_template.jpg │ ├── kt_skinny_template.jpg │ └── white │ │ ├── digg.png │ │ ├── dribbble.png │ │ ├── facebook.png │ │ ├── google-plus.png │ │ ├── instagram.png │ │ ├── link.png │ │ ├── linkedin.png │ │ ├── pinterest.png │ │ ├── rss.png │ │ ├── stumbleupon.png │ │ ├── tumblr.png │ │ ├── twitter.png │ │ ├── vimeo.png │ │ ├── vk.png │ │ ├── whatsapp.png │ │ └── youtube.png └── js │ ├── customizer-range-value-control.js │ ├── customizer-repeater-control.js │ ├── customizer-scripts.js │ └── customizer-toggle-switch-control.js ├── email-templates.php ├── includes ├── class-customizer-mailtplimportexport-control.php ├── class-customizer-mailtplinfoblock-control.php ├── class-customizer-mailtplsendemail-control.php ├── class-customizer-mailtpltemplateload-control.php ├── class-customizer-range-value-control.php ├── class-customizer-repeater-control.php ├── class-customizer-toggle-control.php ├── class-mailtpl-activator.php ├── class-mailtpl-customizer.php ├── class-mailtpl-deactivator.php ├── class-mailtpl-i18n.php ├── class-mailtpl-loader.php ├── class-mailtpl-mailer.php ├── class-mailtpl-woomail-customizer.php ├── class-mailtpl-woomail-import-export.php ├── class-mailtpl-woomail-import-option.php ├── class-mailtpl-woomail-preview.php ├── class-mailtpl-woomail-settings.php ├── class-mailtpl-woomail-woo.php ├── class-mailtpl.php ├── customize-controls │ ├── class-font-size-customize-control.php │ └── class-send-mail-customize-control.php └── index.php ├── index.php ├── languages ├── email-templates-de_DE.mo ├── email-templates-es_ES.mo ├── email-templates-fa_IR.mo ├── email-templates-fr_FR.mo ├── email-templates-nl_NL.mo ├── email-templates-pt_BR.mo ├── email-templates-ru_RU.mo ├── email-templates-zh_CN.mo ├── email-templates.mo └── email-templates.po ├── preview.php ├── templates ├── wcmp │ └── vendor-new-order.php └── woo │ └── emails │ ├── admin-cancelled-order.php │ ├── admin-failed-order.php │ ├── admin-new-order.php │ ├── admin-new-renewal-order.php │ ├── admin-payment-retry.php │ ├── cancelled-subscription.php │ ├── customer-completed-order.php │ ├── customer-completed-renewal-order.php │ ├── customer-completed-switch-order.php │ ├── customer-invoice.php │ ├── customer-new-account.php │ ├── customer-note.php │ ├── customer-on-hold-order.php │ ├── customer-payment-retry.php │ ├── customer-processing-order.php │ ├── customer-processing-renewal-order.php │ ├── customer-refunded-order.php │ ├── customer-renewal-invoice.php │ ├── customer-reset-password.php │ ├── email-addresses.php │ ├── email-customer-details.php │ ├── email-downloads.php │ ├── email-footer.php │ ├── email-header.php │ ├── email-order-details.php │ ├── email-order-items.php │ ├── email-styles.php │ ├── subscription-info.php │ └── waitlist-mailout.php ├── uninstall.php └── wpml-config.xml /README.txt: -------------------------------------------------------------------------------- 1 | === Email Templates Customizer and Designer for WordPress and WooCommerce === 2 | Contributors: wpexpertsio 3 | Tags: Email templates, email designer, email customizer, email, woocommerce email 4 | Requires at least: 7.4 5 | Tested up to: 6.1.1 6 | Stable tag: 1.4 7 | License: GPLv2 or later 8 | License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 | 10 | Send beautiful emails with the WordPress Email Templates plugin 11 | == Description == 12 | 13 | Send beautiful emails with the WordPress Email Templates plugin. Choose your template style, add a logo or some text, change colors, edit footer and start sending nice emails in WordPress. 14 | 15 | Email Template plugin uses Customizer to make it easier. Preview your changes or send a test email with just a few clicks. **Requires WordPress 4.0.0** 16 | 17 | Compatible with : [Post SMTP](https://wordpress.org/plugins/post-smtp/) 18 | 19 | = Help with translations = 20 | 21 | Send your translations to [Transifex](https://www.transifex.com/projects/p/wp-email-templates/) 22 | 23 | = Currently Available in: = 24 | * English 25 | * Spanish 26 | * French 27 | * Chinese 28 | * Portuguese 29 | * Dutch 30 | * Persian 31 | * Russian 32 | * German 33 | 34 | = Collaborate in Github = - [https://github.com/wpexpertsio/wordpress-email-templates](https://github.com/wpexpertsio/wordpress-email-templates) 35 | 36 | == Installation == 37 | 38 | 1. Upload the plugin in /wp-admin/plugin-install.php 39 | 2. Activate the plugin through the 'Plugins' menu in WordPress 40 | 3. Click on Email Templates -> "WordPress Email" to start editing 41 | 4. Click on Email Templates -> "WooCommerce Email" to start editing 42 | 43 | == Frequently Asked Questions == 44 | 45 | = How to add a custom template? = 46 | 47 | Copy the templates folder into your theme , then in functions.php add the following: 48 | 49 | `add_filter(‘mailtpl/customizer_template’, function(){ 50 | return get_stylesheet_directory() . “/admin/templates/default.php”; 51 | });` 52 | 53 | == Screenshots == 54 | 55 | 1. Email Templates - Settings 56 | 2. Boxed layout 57 | 3. Full-width layout 58 | 4. Email Notification 59 | 5. Email Type 60 | 6. Background Color 61 | 7. Bundle Icon 62 | 8. Send Preview Email 63 | 9. Email Type and Text 64 | 10. Font Family 65 | 11. WooCommerce Emails 66 | 67 | == Changelog == 68 | 69 | = 1.4 = 70 | * NEW - WooCommerce Email Customizer Added 71 | 72 | = 1.3.2.1 = 73 | * Emails not being send when multiple emails where being sent at the same time 74 | 75 | = 1.3.2 = 76 | * Support for multiple templates PR #29 77 | * Fix Increase priority for the preview template 78 | 79 | = 1.3.1.2 = 80 | * Fixed css width 81 | * new filter for default message 82 | 83 | = 1.3.1.1 = 84 | * Only filter non html messages 85 | * Fixed bug introduced on 1.3.1 86 | 87 | = 1.3.1 = 88 | * Security fix to prevent html injection 89 | * Filter attributes for images 90 | 91 | = 1.3 = 92 | * Instead of multiple filters we now just modify wp_mail to make plugin more compatible 93 | with transactional mail plugins 94 | 95 | = 1.2.2.3 = 96 | * Fixed issue with maxwith not working on certain installs. 97 | 98 | = 1.2.2.2 = 99 | * Fixed issue with boxed layout 100 | 101 | = 1.2.2.1 = 102 | * Text domain update 103 | 104 | = 1.2.2 = 105 | * Added image support in header text 106 | * Fixed issue with spaces on gravity forms ( gravity plugin needs to be >= 2.2.1.5 ) 107 | 108 | = 1.2.1 = 109 | * Added shortcode support in header/footer 110 | * Header text now it's used for alt image when using images 111 | * Fixed bug where image was not responsive on mobile devices 112 | 113 | = 1.2 = 114 | * Added custom css support on template section 115 | * Added link color in body section 116 | * Updated templates with changes above 117 | * Mailgun / sengrid integration 118 | 119 | = 1.1.4 = 120 | 121 | * Added body size to template section 122 | * Leaving emtpty from name & from email will let you use other plugins settings now 123 | * Logo alt text is now site description by default 124 | * Removed other panels showing on email templates customizer 125 | * Removed email templates panel from normal customizer 126 | 127 | = 1.1.3.1 = 128 | * Fixed woocommerce preview link 129 | 130 | = 1.1.3 = 131 | * Fixed bug with some links missing or not clickable 132 | * Added more languages and updated some 133 | * Added more action hooks for devs 134 | 135 | = 1.1.2.1 = 136 | * Remove "powered by" by default 137 | * Updated languages 138 | 139 | = 1.1.2 = 140 | * Fixed bug with powered by still showing on some mail clients 141 | * Added new languages 142 | 143 | = 1.1.1 = 144 | * Added Postman SMTP compatibility 145 | * Added WP SMTP compatibility 146 | * Added Easy WP SMTP compatibility 147 | * Added Easy SMTP Mail compatibility 148 | 149 | = 1.1 = 150 | * Fixed bug with wpmandrill 151 | * Added chinese, spanish and portuguese languages 152 | * Added new font size control 153 | * WooCommerce Integration 154 | * Easy Digital Downloads Integration 155 | * Added Email body settings 156 | 157 | = 1.0.2 = 158 | 159 | * Fixed email link on retrieve password emails from WP 160 | 161 | = 1.0.1 = 162 | 163 | * Bug - Template is cached to avoid issues when sending multiple emails 164 | * Added fallback text email for non html email clients and to improve inbox hits 165 | * Added site url to the logo/text logo in header 166 | * Fixed some typos in descriptions 167 | * Added Emails templates menu using add_submenu_page 168 | 169 | 170 | = 1.0 = 171 | * First release 172 | -------------------------------------------------------------------------------- /admin/css/mailtpl-admin.css: -------------------------------------------------------------------------------- 1 | /** 2 | * All of the CSS for your admin-specific functionality should be 3 | * included in this file. 4 | */ 5 | .font_value { 6 | float: left; 7 | BACKGROUND-COLOR: #fff; 8 | padding: 5px; 9 | margin-right: 10px; 10 | margin-top: -4px; 11 | border: 1px solid #E6E6E6; 12 | } -------------------------------------------------------------------------------- /admin/index.php: -------------------------------------------------------------------------------- 1 | ' ); 27 | } else { 28 | $( '#logo a' ).html( '' ); 29 | } 30 | } ); 31 | } ); 32 | wp.customize( 'mailtpl_opts[header_logo_text]', function( value ) { 33 | value.bind( function( newval ) { 34 | if( newval.length && ! $('#logo img.mailtpl_img').length ) 35 | $( '#logo a' ).html( newval ); 36 | if( newval.length && $('#logo img').length ) 37 | $( '#logo img' ).prop('alt', newval ); 38 | } ); 39 | } ); 40 | wp.customize( 'mailtpl_opts[header_aligment]', function( value ) { 41 | value.bind( function( newval ) { 42 | if( newval.length ) 43 | $( '#logo' ).css( 'text-align', newval ); 44 | } ); 45 | } ); 46 | wp.customize( 'mailtpl_opts[header_bg]', function( value ) { 47 | value.bind( function( newval ) { 48 | if( newval.length ) 49 | $( '#template_header' ).css( 'background-color', newval ); 50 | } ); 51 | } ); 52 | wp.customize( 'mailtpl_opts[header_text_size]', function( value ) { 53 | value.bind( function( newval ) { 54 | if( newval.length ) 55 | $( '#logo' ).css( 'font-size', newval +'px' ); 56 | } ); 57 | } ); 58 | wp.customize( 'mailtpl_opts[header_text_color]', function( value ) { 59 | value.bind( function( newval ) { 60 | if( newval.length ) 61 | $( '#logo a' ).css( 'color', newval ); 62 | } ); 63 | } ); 64 | 65 | wp.customize( 'mailtpl_opts[email_body_bg]', function( value ) { 66 | value.bind( function( newval ) { 67 | if( newval.length ) 68 | $( '#mailtpl_body_bg' ).css( 'background-color', newval ); 69 | } ); 70 | } ); 71 | wp.customize( 'mailtpl_opts[body_text_size]', function( value ) { 72 | value.bind( function( newval ) { 73 | if( newval.length ) 74 | $( '#mailtpl_body' ).css( 'font-size', newval +'px' ); 75 | } ); 76 | } ); 77 | wp.customize( 'mailtpl_opts[body_text_color]', function( value ) { 78 | value.bind( function( newval ) { 79 | if( newval.length ) 80 | $( '#mailtpl_body' ).css( 'color', newval ); 81 | } ); 82 | } ); 83 | wp.customize( 'mailtpl_opts[body_href_color]', function( value ) { 84 | value.bind( function( newval ) { 85 | if( newval.length ) 86 | $( '#template_body a' ).css( 'color', newval ); 87 | } ); 88 | } ); 89 | wp.customize( 'mailtpl_opts[footer_aligment]', function( value ) { 90 | value.bind( function( newval ) { 91 | if( newval.length ) 92 | $( '#credit' ).css( 'text-align', newval ); 93 | } ); 94 | } ); 95 | wp.customize( 'mailtpl_opts[footer_bg]', function( value ) { 96 | value.bind( function( newval ) { 97 | if( newval.length ) 98 | $( '#template_footer' ).css( 'background-color', newval ); 99 | } ); 100 | } ); 101 | 102 | wp.customize( 'mailtpl_opts[footer_text_size]', function( value ) { 103 | value.bind( function( newval ) { 104 | if( newval.length ) 105 | $( '#credit' ).css( 'font-size', newval +'px' ); 106 | } ); 107 | } ); 108 | wp.customize( 'mailtpl_opts[footer_text_color]', function( value ) { 109 | value.bind( function( newval ) { 110 | if( newval.length ) 111 | $( '#credit' ).css( 'color', newval ); 112 | } ); 113 | } ); 114 | 115 | 116 | wp.customize( 'mailtpl_opts[footer_text]', function( value ) { 117 | value.bind( function( newval ) { 118 | $( '#credit' ).html( newval ); 119 | } ); 120 | } ); 121 | 122 | wp.customize( 'mailtpl_opts[footer_powered_by]', function( value ) { 123 | value.bind( function( newval ) { 124 | if( newval == 'off' ) { 125 | $( '#powered' ).hide(); 126 | } else { 127 | $( '#powered' ).show(); 128 | } 129 | } ); 130 | } ); 131 | 132 | 133 | })( jQuery ); 134 | -------------------------------------------------------------------------------- /admin/templates/default.php: -------------------------------------------------------------------------------- 1 |
2 | 3 |leave a nice review on WordPress. It will be a tremendous help for us!', 'mailtpm' ), 'https://wordpress.org/support/view/plugin-reviews/email-templates?filter=5');?>
4 | 5 |
49 |
|
58 |
Powered by Email Templates Plugin
66 | 67 | 68 | 69 | 70 | 71 |