Schedule a Free Consultation
Replace comment notification email with Mandrill template

Replace comment notification email with Mandrill template

Read Article

Have you ever needed to replace the default email that WordPress is sending whenever a new comment is added? Recently I did.

Here’s how I did it:

To get this going you have to:

1) Install and configure WPMandrill plugin

2) Create a new template in your Mandrill account
3) Paste the php code in your functions.php file

Let me know if it worked for you.

Navigate to

Check some other articles we wrote

How To Test If Customers Will Pay For The Product You’re Building
You’ve had this business idea for a while now. You’ve even held debates with yourself on whether it’s worth the risk. Not to mention that you’ve been looking for ages to find practical and secure ways to test your ideas. But you still don’t know what the next step is. I know the feeling, I’ve […]
Add html comments using newly created user role
Add html comments using newly created user role
I was recently working on a piece of code that will: create as special user role allow that user role to insert HTML comments on posts (specifically we needed images and links) from wp-admin If I was commenting like admin, all was good – the comment with image was getting published. But if instead I […]
PHP Remote file existence
PHP Remote file existence
This is one of the good ways to check if a file exists in a remote location. Another good way to implement a similar functionality is to use CURL.