---
title: How To Embed CodeSandbox Codes In WordPress
description: "Now, with the help of EmbedPress, you can effortlessly embed CodeSandbox codes in WordPress using just a URL on all your favorite editors - Gutenberg, Elementor & Classic editor."
url: "https://embedpress.com/docs/how-to-embed-codesandbox-codes-in-wordpress/"
updated: "2021-08-03"
category: Embed Sources
tags:
  - settings
---

# How To Embed CodeSandbox Codes In WordPress

[**CodeSandbox**](https://codesandbox.io/) is an online code editor and prototyping tool that enables its users to create codes and share apps faster. You can now embed CodeSandbox codes into your WordPress website using [**EmbedPress**](https://embedpress.com/) in your WordPress favorite editors - **Gutenberg Editor**, [**Classic Editor**](https://wordpress.org/plugins/classic-editor/)**,**or [**Elementor Editor**](http://wpdeveloper.net/go/elementor).[https://codesandbox.io/](https://codesandbox.io/)

**EmbedPress** enables you to effortlessly embed CodeSandbox codes in your WordPress website by using just a URL. You don’t have to mess around with any embedding code anymore. All you need is the audio URL you prefer and can instantly make your site more engaging with any audio file of this site.[https://codesandbox.io/](https://codesandbox.io/)

Here’s how to embed CodeSandbox codes into your WordPress site using[** EmbedPress plugin**](https://wordpress.org/plugins/embedpress/) following the simple, easy steps below.

## **How To Collect Your CodeSandbox Codes URL?**

To collect the repair manual URL, visit the [**CodeSandbox**](https://codesandbox.io/) website. You can either create your own code or browse through the site’s library to find what you need. 

![embed CodeSandbox codes](https://embedpress.com/wp-content/uploads/2021/06/1-16.png)

Click on the code you want to embed on your website and copy the URL **from the address bar**. 

![embed CodeSandbox codes](https://embedpress.com/wp-content/uploads/2021/06/2-15.gif)

## **How To Embed CodeSandbox Codes Using The Gutenberg Editor? **

**EmbedPress** comes with its own block for embedding any type of content using [**Gutenberg editor**](https://wordpress.org/gutenberg/). To embed CodeSandbox codes using Gutenberg, follow the steps below. 

### **Step 1: Insert An EmbedPress Block **

Click on the **‘+’**icon on your post content area in the **Gutenberg editor** and select ‘EmbedPress.’ You can also insert EmbedPress from the ‘**Add Block**’ button at the top of the page. 

![embed CodeSandbox codes](https://embedpress.com/wp-content/uploads/2021/06/3-15.gif)

### **Step 2: Enter the URL into the block**

Now paste the collected CodeSandbox codes URL on the input field and click on the ‘**Embed**’ button. Your URL will automatically be transformed into an embed of your codes. 

![embed CodeSandbox codes](https://embedpress.com/wp-content/uploads/2021/06/4-19.gif)

Publish your WordPress content, and the CodeSanbox code will be embedded on the published page or post for users to see.

### **Step 3: Edit Your Lesson Embed**

Thanks to EmbedPress, you can easily **modify your embedded codes**. To edit the embed on the Gutenberg editor, click on the EmbedPress block on your Gutenberg editor. 

![embed CodeSandbox codes](https://embedpress.com/wp-content/uploads/2021/06/5-17.gif)

You can change the dimensions of the embedded code file and modify it the way you need with absolute ease on the block customizer that will appear on the side panel of the editor. 

## **How To Embed CodeSandbox Code Using Elementor Editor?**

You can effortlessly embed CodeSandbox code using EmbedPress on the [**Elementor Editor**](https://wpdeveloper.net/go/elementor). To do so, just follow the simple, easy steps given below.

### **Step 1: Look For The EmbedPress Element**

First, click on ‘**Edit with Elementor**’ at the top of your page. It will take you to the Elementor editing panel. Search for the **EmbedPress** element on the widget panel and then drag and drop the element on your page. 

![embed CodeSandbox Codes](https://embedpress.com/wp-content/uploads/2021/06/6-17.gif)

### **Step 2: Paste The URL In ‘Content Settings’ **

Now, paste the CodeSandbox code URL onto the ‘**Content Setting**’ input field. Your embedded code will automatically be uploaded onto your Elementor editor. Publish your post or page, and your website users will be able to see the embedded content. 

### ![embed CodeSandbox codes](https://embedpress.com/wp-content/uploads/2021/06/7-15.gif)
 **Step 3: Style Your Embedded Content**

You can edit the embedded code on the Elementor editor with a few easy steps. First, go to the ‘**Style**’ tab on the Elementor side panel. Here, you can change the dimensions, aspect ratios, and background color of the embed as necessary.

![embed CodeSandbox codes](https://embedpress.com/wp-content/uploads/2021/06/8-12.gif)

## **How To Embed CodeSandbox Codes Using The Classic Editor?**

You can also effortlessly embed your code file onto your [**Classic Editor**](https://wordpress.org/plugins/classic-editor/) with just a click using EmbedPress. 

### **Step 1: Paste The Link On Classic Editor**

First, paste the URL directly onto the ‘**content area**’ of the editor interface. The link will appear on the interface of the editor as shown below. 

![embed CodeSandbox codes](https://embedpress.com/wp-content/uploads/2021/06/9-14.gif)

### **Step 2: Check Embedded Post On WordPress Site**

Afterward, **'publish' and preview the post** and the CodeSandbox codes will automatically be embedded onto your WordPress website. 

![embed CodeSandbox codes](https://embedpress.com/wp-content/uploads/2021/06/10-3.png)

With these simple steps, you can embed CodeSandbox codes instantly into your WordPress website with [**EmbedPress**](https://embedpress.com/) using any of Gutenberg Editor, Classic Editor, or Elementor Editor.

If you are facing problems and require further assistance, feel free to [**contact our support**](https://embedpress.com/support/) or join our [**Facebook Community**](https://www.facebook.com/groups/wpdeveloper.net) to get in touch with WordPress experts and content creators like yourself.
