The Sandbox is the possibly the most powerful and dangerous Blox addon available. It acts just like your theme’s functions.php file but gives you more control.
When enabled, the sandbox editor is accessible from the Blox Settings page. See the screenshot below.
Sandbox Custom PHP
In this text box, you can add nearly anything that you could add to your functions.php file. As the placeholder states, with great power comes responsibility. If you make errors in your PHP, there is a good chance you will break the frontend of your website. That said, you can always comeback to this page and make edits. For syntax, do not wrap your code in
?>. The textbox is expecting PHP.
Disable Custom PHP
This setting provides you with a quick and easy way to disable all Sandbox PHP.
Run on Admin
This option can be very dangerous. There are many functions you may want to run that need access to the admin, such as adding/removing Genesis layout configurations, widget areas, etc. These functions will not work correctly unless this box is checked. But if you enable, your custom PHP code is run at all times. This means that if you don’t know what you doing, you can easily break both the frontend and backend of your site. You have been warned.
Enabling the Add-on
To start using this add-on, log into your account and then click on Downloads. Then download the latest version of the add-on you are looking to use. Upload the compressed file to your WordPress website, just as you would any other plugin. Once installed, you will want to activate the add-on license. Back in your account, on the Purchases tab, you will see a link to View Licenses. See the screenshot below. Click on this link.
On the following page, hover over the key icon of the add-on you are looking to activate. See the screenshot below. This will display the license key, which you will need to copy.
Finally, back on your website, navigate to the Licenses & Addons settings page, and activate the license as you did for Blox itself. For more details on activating licenses, please check out the Licensing page.