WordPress.org

Ready to get started?Download WordPress

Forums

wpMandrill
How to add content to templates? (3 posts)

  1. MarceFX
    Member
    Posted 1 year ago #

    Hi,

    I'm trying to make Madrill work with a contact form I am using. But... I don't know how to inser content to the template.

    I load the template from my Mailchimp account and mails are being sent properly, but I just get the text what's on the template.

    I can modify the $headers, $subject and $message from the plugin, but I have no idea how to insert the context of $message into the Mandrill template.

    Thanks

    http://wordpress.org/extend/plugins/wpmandrill/

  2. MarceFX
    Member
    Posted 1 year ago #

    Sorry, I just noticed mc:edit="main" needs to be added to the template. Although this is not a perfect solution, since all content goes in the same section.

  3. MC_Will
    Member
    Plugin Author

    Posted 1 year ago #

    Hi!

    Sorry for the delay.

    Actually, you can inject code in more than one section. The main one is just the default.

    This blog post will probably help you:
    http://blog.mandrill.com/own-your-wordpress-email-with-mandrill.html

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic