這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

ProcessingJS for WordPress

描述

Embed a ProcessingJS sketch (http://processingjs.org) in your post or page with this plugin

You can use the shorttag ([pjs4wp]…[/pjs4wp]) in two different ways:

1) Put the actual ProcessingJS code in a post or page, for instance:

[pjs4wp]
void setup()
{
  size(200, 200);
  text(“Hello world!”, 50, 50);
}
[/pjs4wp]

2) Use an existing ProcessingJS .pde sketch like this:

[pjs4wp url=”/wp-content/uploads/my_sketch.js” bordercolor=”#000″][/pjs4wp]

IMPORTANT:
RENAME YOUR .pde FILE TO .js BEFORE UPLOADING!
So in the example: rename your original my_sketch.pde file to my_sketch.js!
Some servers / browsers are not happy with the .pde extension, that’s why…

Example

See a live example here:
http://rvg.cage.nl/rvglife-internet-2014/

Author

CAGE Web Design | Rolf van Gelder, Eindhoven, The Netherlands – http://cagewebdev.com – http://rvg.cage.nl

Plugin URL

http://cagewebdev.com/processingjs-for-wordpress

Download URL

https://wordpress.org/plugins/processingjs-for-wordpress

Disclaimer

NO WARRANTY, USE IT AT YOUR OWN RISK!

Plugins by CAGE Web Design | Rolf van Gelder

WordPress plugins created by CAGE Web Design | Rolf van Gelder
http://cagewebdev.com/category/news-tech-art/wordpress/

安裝

  • Upload the Plugin to the ‘/wp-content/plugins/’ directory
  • Activate the plugin in the WP Admin Panel » Plugins

常見問題

How can I change the settings of this plugin?

  • This plugin doesn’t need any settings

How do I use this plugin?

This plugin uses the [pjs4wp] shorttag

You can use the shorttag in two different ways

1) Put the actual ProcessingJS code in a post or page, for instance:

[pjs4wp]
void setup()
{
  size(200, 200);
  text(“Hello world!”, 50, 50);
}
[/pjs4wp]

2) Use an existing ProcessingJS .pde sketch like this:

[pjs4wp url=”/wp-content/uploads/my_sketch.js” bordercolor=”#000″][/pjs4wp]

IMPORTANT:
RENAME YOUR .pde FILE TO .js BEFORE UPLOADING!
So in the example: rename your original my_sketch.pde file to my_sketch.js!
Some servers / browsers are not happy with the .pde extension, that’s why…

評價

閱讀全部1個評價

貢獻者及開發者

“ProcessingJS for WordPress” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 ProcessingJS for WordPress 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

v1.2.2 [06/21/2018]

  • BUG FIX: Bug fix for entering the code directly into the post / post

v1.2.1 [06/19/2018]

  • CHANGE: Several minor changes

v1.2 [06/15/2015]

  • CHANGE: Code has been revamped

v1.1 [04/26/2015]

  • NEW: Instructions page added (from plugins page)

v1.0 [04/24/2015]

  • Initial release