WordPress integration support

Collect subscribers on your WordPress site by using a Custom HTML block.

You can use WordPress's Custom HTML blocks feature to collect subscribers for your Buttondown newsletter, all without needing to install any additional plugins.

First, create a new Custom HTML block. To learn more, read WordPress's documentation.

An example screenshot of 'Custom HTML' in the WordPress UI.

In the Custom HTML block, paste in the following code:

<form
  action="
    https://buttondown.com/api/emails/embed-subscribe/{username}
  "
  method="post"
  class="embeddable-buttondown-form"
>
  <label for="email">Email</label>
  <input
    type="email"
    name="email"
    placeholder="you@example.com"
  />
  <input type="hidden" value="1" name="embed" />
  <input type="submit" value="Subscribe" />
  <p>
    <a href="https://buttondown.com" target="_blank">
        Powered by Buttondown.
    </a>
  </p>
</form>

That's it! The new Custom HTML block will display a subscription form for your Buttondown newsletter.

Warning

If you edit the pasted markup, take care to keep the name="email" attribute intact — if it changes, submissions will silently stop reaching Buttondown. (This is the failure mode the official plugin exists to prevent.)

Buttondown is the last email platform you’ll switch to.