Using Template in wpMandrill
-
When I use a template in wpMandrill, what tells Mandrill to replace that text with the message from WordPress?
Is there a certain word phrase that I need to use?
For example, http://wpmu.org/pretty-and-responsive-wordpress-emails/#comment-143871
If you use Premium WPMU Dev’s HTML Email Plugin, the placeholder “MESSAGE” will be replaced by the message that WordPress is sending to the recipient.For Mandrill, what do I use?
-
All you need is a HTML container with an editable region called ‘main’:
<div mc:edit="main"></div>This thread might help you understand Mandrill templates and Merge Vars and how to use them in wpMandrill:
http://ww.wp.xz.cn/support/topic/understanding-wpmandrillmail?replies=6#post-4244274Also, this KB article has interesting information on editable regions:
http://help.mandrill.com/entries/21694286-How-do-I-add-dynamic-content-using-editable-regions-in-my-template-Do I need the “div tags” or can I just have mc:edit=”main” anywhere?
Nevermind, I got it!
I don’t know how to add content to a template, for user registration email. Can you please tell me what tag to add?
I try <div mc:edit=”main”></div> but no result.
If a don’t select any template, the email is sent ok, with the right text content.
But if I select a template, no custom text is added to the message.Hi mcserban,
Use this as a starting point please:
http://ww.wp.xz.cn/support/topic/understanding-wpmandrillmail?replies=6#post-4244274
The topic ‘Using Template in wpMandrill’ is closed to new replies.