• I noticed that this plugin doesn’t have support for editable regions in templates which I found really weird.

    We use mailchimp with a hand full of regions and I thought it would be great to add to this so I went ahead and hacked it up a bit and got it working.

    To get this working simply copy the code from: http://pastebin.com/VMxkMSFS

    And replace the static function sendEmail on line 1665

    then to pass it the $html array is just the editable region and the content so

    $html = array('message' => 'Blah Blah');

    Now I haven’t done a ton of testing on this but so far its letting my regular e-mails and my special array emails through and its working so YAY!

    For people wanting to see what I exactly changed its around line 113-161 of that pastebin

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

  • The topic ‘Adding Support for Editable Regions’ is closed to new replies.