9
$\begingroup$

I have a Manipulate object: Manipulate[n, {n, 1, 100}]. I want to put it in my WordPress blog post. Should I CloudDeploy it as below first?

CloudDeploy[Manipulate[n, {n, 1, 100}]]

Let say I obtain the below link as output, how can I make use of it?

CloudDeploy[https://www.wolframcloud.com/objects/abcd12345-ab12-ab12-abc123456789]

I found a related video, but that was created in 2011 and was still using Mathematica 8. Besides, it is for the entire CDF file (not just a Manipulate), and it also hasn't mentioned what plugin (some Wolfram plugin?) is required to be installed in WordPress.

How can I get it done? Many thanks!

$\endgroup$
2
2
$\begingroup$

You can use an iframe within wordpress. The ones created here are using iframe within wordpress: https://sameradeeb-new.srv.ualberta.ca/introduction-to-numerical-analysis/finding-roots-of-equations/

Based on my limited experience, I recommend using only one iframe per page.

$\endgroup$
5
  • $\begingroup$ Can you provide more details on how you set up the site and deployed the Manipulate functions? Can you also confirm that the site is still working? As of today (6/11/2020) the Manipulates sit with the "Starting interactivity..." popup indefinitely. $\endgroup$ Jun 11 '20 at 11:31
  • $\begingroup$ I think the issue is probably the number of iframes per page. I am finding embedding clouddeployed pages within iframes to be finicky. The following page has only one clouddeploy and it should work fine: sameradeeb-new.srv.ualberta.ca/… . In our new site, I am opting for links that open in new tabs rather than iframes which seem to be more stable: engcourses-uofa.ca/books/numericalanalysis/… $\endgroup$ Jun 12 '20 at 13:51
  • $\begingroup$ FWIW, I used this plugin and the documentation from EmbedCode to get a minimal working example. Per your suggestions, I didn't try more than one iframe on the page. $\endgroup$ Jun 12 '20 at 19:49
  • $\begingroup$ Can you share the link? thx. $\endgroup$ Jun 14 '20 at 13:09
  • $\begingroup$ Right now it is on a private page for testing. I can update when that changes. $\endgroup$ Jun 14 '20 at 23:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.