內容簡介
這款外掛可讓您將 Processing (p5.js) 專案上傳至 WordPress 網站。您上傳的 Processing 專案必須是包含運行專案所需檔案的 ZIP 檔案。
上傳後,您可以使用簡碼 [pp-shortcode id=”0″] 將 Processing 專案顯示在網站上的任何地方。請務必取代簡碼中的「0」為您專案的 ID。
簡碼還支援寬度和高度參數,可調整用於在網站上顯示 Processing 專案時使用的 iframe 大小,例如 [pp-shortcode id=”0″ width=”960″ height=”500″]。
您上傳的所有 Processing 專案的簡碼都將在專案表中顯示,以方便存取。
您可以在 www.rocketship.co.nz 查看此外掛前端輸出的即時演示。
外掛標籤
開發者團隊
原文外掛簡介
This plugin allows you to upload Processing (p5.js) Projects to your WordPress website. The Processing Projects you upload should be in a zip file that contains all the files required to run the project.
Uploaded Processing Projects can then be displayed anywhere on your website using the shortcode [pp-shortcode id=”0″]. Make sure to replace “0” in the shortcode with the ID of your project.
The shortcode also accepts width and height arguments. This allows you to set the size of the iframe used to display the Processing Project on your website, eg [pp-shortcode id=”0″ width=”960″ height=”500″].
The shortcodes for all the Processing Projects you upload will be displayed on the Processing Projects table for easy access.
You can view a live demo of the frontend output of this plugin at www.rocketship.co.nz.
