A way to toggle template by email
-
Hi,
First of all, great plugin. I appreciate how fast it is to get up and running.
One quick question: would you consider building a way to exclude certain emails from using the template? The simplest solution I can think of would be to create a shortcode, e.g. [wp-email-template-exclude] that we could stick in emails. Then you’d simply have quick search through the email contents for this shortcode before applying the template.
In my case, the use case for non-templated emails are ones sent to site Administrators from Gravity Forms after a form submission. These form field tables are printed for our records, and now include a header graphic and custom footer (from the template), extending each print-out an extra 2/3 of a page. Unfortunately, most email clients don’t support @media print styles, so I think the best solution is excluding the template altogether when indicated by a shortcode.
Thanks much,
– Micah
- The topic ‘A way to toggle template by email’ is closed to new replies.