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

WordPress cron save post with unfiltered html content
WordPress cron save post with unfiltered html content
This applies for method “wp_insert_post” used inside a WordPress Cron. By default WordPress checks if the user has the capability to save unfiltered HTML content if ( ! current_user_can( ‘unfiltered_html’ ) ) { which WP CRON doesn’t have.
Working with a WordPress agency: Overcome difficult moments
A new hobby for my friend’s wife I have a friend, let’s call him John, who, not unlike many of us, had a very hectic year last year. As the saying goes, it was all work and no play. Neither he nor his wife had enough time and energy to pursue any of their hobbies. […]