How Do I Export a Webflow Code From WordPress?

So you’ve built a beautiful website using Webflow on WordPress, and now you’re ready to export the code. But how exactly do you go about doing that?

In this tutorial, we’ll walk you through the steps to export your Webflow code from WordPress. Let’s get started!

Step 1: Accessing the Webflow Editor

The first step is to access the Webflow Editor on your WordPress dashboard. To do this, log in to your WordPress admin panel and navigate to the page where your Webflow project is located.

Once you’re on the desired page, click on the “Edit with Webflow” button at the top of the screen. This will open up the Webflow Editor, where you can make any necessary changes before exporting the code.

Step 2: Making Changes (Optional)

If you need to make any last-minute edits or adjustments to your website before exporting the code, now is the time to do so. The Webflow Editor provides a user-friendly interface that allows you to modify various aspects of your site, such as layout, typography, colors, and more.

Note: It’s important to note that any changes made in the Webflow Editor will only affect the exported code and not your live website on WordPress.

Step 3: Exporting the Code

Once you’re satisfied with your website’s design and functionality, it’s time to export the code. To do this, click on the “Publish” button located in the top right corner of the Webflow Editor.

A modal window will appear with various publishing options. Select “Export Code” from this menu.

Note: If you want a specific version of your site, such as a staging or development version, you can choose the appropriate option from the dropdown menu.

Step 4: Configuring Export Settings

Before exporting the code, you have the option to configure some export settings. These settings allow you to customize aspects of the exported code, such as including or excluding certain files and assets.

To access these export settings, click on the “Settings” tab in the modal window.

Include/Exclude Files

If you want to include or exclude specific files from the exported code, you can do so by toggling the corresponding options in this section. For example, you may want to exclude unnecessary CSS or JavaScript files to optimize your site’s performance.

Asset Paths

In this section, you can choose how Webflow handles asset paths in your exported code. The default option is “Relative,” which means that all asset paths will be relative to your website’s root folder.

If you’re hosting your site on a subdirectory or a different domain altogether, you may need to select a different option from the dropdown menu.

Clean Markup

The “Clean Markup” option allows Webflow to remove unnecessary classes and attributes from your HTML markup. Enabling this option can help reduce file size and improve site performance.

Step 5: Exporting Your Code

Once you’ve configured your export settings, click on the “Export” button in the modal window. Webflow will then generate a ZIP file containing all of your website’s HTML, CSS, JavaScript, and asset files.

Note: The time it takes for Webflow to generate the ZIP file depends on the size and complexity of your website. Be patient and avoid refreshing or closing the page during this process.

Step 6: Extracting the ZIP File

After Webflow has finished generating the ZIP file, download it to your computer. Once downloaded, extract the contents of the ZIP file to a location of your choice.

Note: Remember to keep the folder structure intact, as it is essential for your website’s functionality.

Step 7: Uploading to WordPress

Now that you have the exported code, it’s time to upload it to your WordPress site. To do this, navigate back to your WordPress admin panel and go to “Appearance” > “Themes.”

Click on the “Add New” button at the top of the screen, followed by the “Upload Theme” button. Select the extracted folder from step 6 and click on “Install Now.” Once installed, activate the theme.


You’ve successfully exported your Webflow code from WordPress! Your website should now be live with all its design and functionality intact.

Final Thoughts

In this tutorial, we learned how to export a Webflow code from WordPress. We covered everything from accessing the Webflow Editor and making changes to configuring export settings and uploading the code back into WordPress.

If you encounter any issues during this process or need further assistance, don’t hesitate to reach out to Webflow’s support team or consult their comprehensive documentation.