How to Embed a Flodesk Opt-in Form in WordPress

How to Embed a Flodesk Opt-in Form in WordPress

In this post, I’ll show you how to embed opt-in forms from Flodesk to your WordPress site so you can get subscribers.

We’ll do things more manually here as compared to other email marketing providers that have their own WordPress plugin. You’ll add the code yourself to your site instead. Let me show you how.

Not on Flodesk yet? Sign up through my link and get 50% off your first year!

Step 1. Create your opt-in form.

For a start, have everything ready inside Flodesk.

That includes:

That’s where most of the work is done, and embedding the forms is the final step. It’s also quite quick and easy. So make sure you do everything correctly before that.

Step 2. Get the embed code.

Once you have at least one form, let’s get its code. 

Inside Flodesk, go to Forms, click on the 3 dots for the form you’d like to add, and press Embed.

flodesk embed a form on your wordpress site


You’ll see 3 options on the window that pops up. Let’s go for an inline form, which means adding a sign-up box inside a blog post on your site.

adding an inline form from flodesk to your wordpress site

The interesting thing here is that you’ll need to add both the Header code and the Inline code. The first action happens once and in your theme settings, and the second is done for every individual blog post or section of your site like footer or sidebar. 

Both snippets must be added for the form to appear and function correctly, so let’s see how to do that. There are 2 options.

Step 3. Add the Header code.

Option 1 (manually): Add via your theme

You can use a header/footer plugin for that, but you can also do it manually.

  • From your WordPress dashboard, go to Appearance Theme File Editor (sometimes called “Editor”).
  • On the right, click header.php.
flodesk tutorial - add header code manually via your theme
  • Look for the line that says: </head>
  • Paste your Flodesk header code just above that line.
  • Click Update File to save.

Done. The code is now active sitewide. For each opt-in form embed, you will see the same header code, so you don’t need to add it again.

Some themes allow inserting code from the customization options too (Appearance > Customize). This is much easier.

The other way is to install a plugin.

Option 2 (safer) : Use a header/footer plugin

I went for this option. For that, we’ll need a simple WordPress plugin that allows us to insert code in the header or footer of our site.

I chose WPCode. It’s the most popular one so you can’t go wrong with it.

Here are the steps.

  • Install and activate WPCode (or a similar plugin).
wp code plugin
  • Find it in your WP Dashboard under Code Snippets.
  • Go to Code Snippets > Header & Footer.
wp code plugin - where to find in wordpress
  • Copy the Header code from Flodesk.
flodesk form - copy header code
  • Insert it in the Header section inside the plugin.
flodesk opt-in forms tutorial
  • Save changes.

Step 4. Add the Inline code.

Now that we’ve added the header code, we can also add the inline one.

Copy it from Flodesk.

flodesk forms

Pick a blog post and a section inside you’d want your opt-in form to appear in and insert the inline code form Flodesk.

Step  5. Test your opt-in form.

Finally, don’t forget to test your newly inserted form as if you’re a subscriber. 

You can also check how it appears on mobile and from another browser, then sign up for it with another email you have and see if everything works well.

Look for a success message, see if you receive a welcome email right away and if every link is working in it, and all the other details.

So that’s how you embed a Flodesk opt-in form in WordPress.

Want 25% off your first year on Flodesk? Grab it here through my link.

Let me know if you have any questions. 

Learn how to embed Flodesk opt-in forms in WordPress and grow your email list fast! I’ll show you step-by-step how to add the header and inline code so your forms work perfectly. Perfect for bloggers who want more subscribers without relying on plugins.

#Flodesk #WordPressTips #EmailMarketing #EmailListGrowth #BloggingTips #OptInForm #LeadGeneration #BloggerLife #GrowYourList #FlodeskTutorial #ContentMarketing #MomBloggers #WordPressBlogging

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *