Help Documentation 〉Integrations 〉

Add an Email Signup Form to Your WordPress Site

You can add your email signup form to your WordPress site—on posts, pages, templates, or anywhere the block-based editor is used.

Prerequisites

You will need:

Copy the HTML Code

In Direct Mail, open the form editor window for your signup form and click Install in the toolbar at the top of the window. Copy the HTML code that appears.

Edit Your WordPress Site

Next, navigate to your WordPress site and edit the post, page, or template you'd like to add the form to.

Use the + button in the top-left corner to add a Custom HTML block to your page. The Custom HTML block is found in the Widgets section. Paste the HTML code that you copied earlier into the block. Save your changes.

Test the Form

In your browser, reload your WordPress page and the form should appear. For pop-up forms, you can use Direct Mail's Test Form feature to help test that the form is installed and working properly.

Did you find this article helpful? Yes | No