WolframCDF

The Wolfram CDF Plugin is no longer being updated. For embedding CDF documents on your WordPress site (via the cloud or plugin), Wolfram recommends the third-party plugin Mathematica Toolbox.
The Wolfram CDF Plugin adds a CDF button to the WordPress HTML and visual post editors.
To use this plugin, open up a post you wish to edit. Click in the editor where you want the CDF content to be displayed and click the CDF button. Placeholder text will appear in the place of your selection.
The placeholder will appear as:
[WolframCDF source=”” width=”320″ height=”415″ altimage=”” altimagewidth=”” altimageheight=””]
After editing the placeholder, click the Publish/Update post button or the Preview button to view the content, in order to confirm that the placeholder was parsed and replaced by the CDF. While some attributes must be set in order for your CDF to appear on the page, others are optional:
source
- Required: Yes
- Input type(s): file name with extension, url
- Description: ‘source’ holds the CDF file name or the url where the file is located. To enter just the file’s name, you must first add the file to WordPress using the file uploader.
width
- Required: Yes
- Input type(s): integer
- Description: ‘width’ holds an integer that describes the width in pixels of the CDF on your WordPress blog.
height
- Required: Yes
- Input type(s): integer
- Description: ‘height’ holds an integer that describes the height in pixels of the CDF on your WordPress blog.
altimage
- Required: No
- Input type(s): file name with extension, url
- Description: ‘altimage’ stores an image that will be displayed if the client does not have the CDF plugin installed. If left blank, a generic placeholder will appear.
altimagewidth
- Required: No
- Input type(s): integer
- Description: ‘altimagewidth’ holds an integer that describes the width in pixels of the alternate image, which may be different than the width of the CDF itself.
altimageheight
- Required: No
- Input type(s): integer
- Description: ‘altimageheight’ holds an integer that describes the height in pixels of the alternate image, which may be different than the height of the CDF itself.
When using Mathematica 9.0.1 (or higher), you can use the CDF Deployment Wizard (http://www.wolfram.com/cdf/adopting-cdf/deploying-cdf/) to generate your individual CDF files and alt images. The generated alt image includes an overlaid CDF Player logo, and when a user clicks on the image, they are taken to the download site for the CDF plugin. Once installed, the alt image disappears and the interactive CDF content is displayed.
Download & install the zip archive
The plugin package installer can be downloaded from the WP2E project tab called “code”.
1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.
2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.
3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.
- Give a name to your project
- Download the Installer Package
- Install & activate the plugin locally
- Install the suggested dependencies
Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.



