WordPress Developer Ukraine, Kyiv
Simple mail form use AJAX

Simple mail form use AJAX

A simple example of AJAX for an HTML form As they say, a developer does not live by WordPress alone. Today I will show an example of AJAX for a simple landing page built without the most popular CMS. The form sends an email without a page reload.
Send Custom HTML Email Templates in WordPress with wp_mail()

Send Custom HTML Email Templates in WordPress with wp_mail()

Send HTML emails from WordPress with your own template Every WordPress site sends emails: password resets, new user notifications, form submissions, order confirmations. By default wp_mail() sends them as plain text. For a branded email we need two things: HTML content type and a template that looks the same in all email clients, including Outlook.
How to Add a User to Mailchimp After a Form Submission

How to Add a User to Mailchimp After a Form Submission

Add a user to Mailchimp after a form submission A common requirement on marketing sites is to automatically subscribe a user to a Mailchimp list when they submit a contact or registration form. Mailchimp provides a straightforward API endpoint for this, and WordPress makes it easy to call it with the HTTP API.
How add checkbox to list fields in Mailchimp

How add checkbox to list fields in Mailchimp

Passing checkbox values to Mailchimp Mailchimp’s subscriber list stores more than just email addresses: you can add custom fields for names, cities and other data. But there is no checkbox field type in Mailchimp, which catches many developers off guard when they try to map a Contact Form 7 checkbox directly.
How send subscribe form on outer subscribe resource use AJAX

How send subscribe form on outer subscribe resource use AJAX

Submitting a subscribe form to an external service via AJAX When a subscription form posts directly to an external service, the browser takes the user away from the site on submit. Intercepting the form with AJAX and forwarding the data from the server lets you show a confirmation message inline without navigating away.